Function at 0x1007b520
Capabilities:
Copy file
Create process on windows
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xa8
push esi
mov esi, ecx
lea ecx, [ebp - 0x6c]
push edi
mov edi, edx
mov dword [ebp - 0x3c], esi
push 0
mov edx, esi
call fcn.1007b3f0
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.1000d2e0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x1007b59c
mov ecx, dword [ebp - 0x6c]
inc edx
push 1
call fcn.1000d8e0
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x6c], 0
je 0x1007b772
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
push esi
call fcn.100f7d16
add esp, 8
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
cmovae eax, dword [ebp - 0x38]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x1012486c
push esi
call fcn.100f2222
mov esi, eax
add esp, 8
test esi, esi
je 0x1007b772
push 0
push 0xd4880
push esi
call fcn.100f5d3b
add esp, 0xc
mov dword [ebp - 0x20], 0x278805c7
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0xe700006b
mov word [ebp - 0x18], 0x4d
push esi
push 0xa
push 1
push eax
call fcn.100f5e70
push 0
push 0xee5c0
push esi
call fcn.100f5d3b
add esp, 0x1c
lea eax, [ebp - 0xb8]
xorps xmm0, xmm0
movups xmmword [ebp - 0xb8], xmm0
push esi
push 0xa
push 4
push eax
movups xmmword [ebp - 0xa8], xmm0
movq qword [ebp - 0x98], xmm0
call fcn.100f5e70
add esp, 0x10
cmp dword [ebx + 8], 0xffffffff
je 0x1007b73d
push esi
call fcn.100f5816
add esp, 4
mov ecx, esi
call fcn.1000e760
test eax, eax
je 0x1007b73d
mov cx, word [0x10124870]
xorps xmm0, xmm0
mov word [ebp - 0x90], cx
mov cl, byte [0x10124872]
mov byte [ebp - 0x8e], cl
lea ecx, [ebp - 0x8e]
push 0x10
push ecx
push eax
movups xmmword [ebp - 0x8d], xmm0
mov dword [ebp - 0x75], 0
movq qword [ebp - 0x7d], xmm0
mov word [ebp - 0x71], 0
call fcn.100f6399
add esp, 0xc
lea ecx, [ebp - 0x54]
mov edx, str.Debugging
push 0x1011f824
push str.ExtraCRC
call fcn.1000dd00
mov byte [ebp - 4], 1
cmp dword [ebp - 0x44], 0
je 0x1007b701
push 0x10122054
lea ecx, [ebp - 0x54]
call fcn.1000c7e0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x54]
call fcn.1000c7e0
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
push str.._sfall.ini
cmovae eax, dword [ebp - 0x54]
push eax
push str.ExtraCRC
push str.Debugging
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.1000d8a0
push esi
call fcn.100f22af
add esp, 4
mov ecx, edi
push 9
push str.__restart
call fcn.1000c6b0
cmp dword [edi + 0x14], 0x10
jb 0x1007b75c
mov edi, dword [edi]
push 0xa
push 0
push edi
push dword [ebp - 0x3c]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov al, 1
jmp 0x1007b774
xor al, al
mov edx, dword [ebp - 0x24]
mov byte [ebp - 0x11], al
cmp edx, 0x10
jb 0x1007b78d
mov ecx, dword [ebp - 0x38]
inc edx
push 1
call fcn.1000d8e0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4