Function at 0x489644
Capabilities:
Create directory
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x48964c
push ecx
push ebx
mov eax, 0x4893dc
call fcn.004064d0
mov ebx, dword [0x48c338]
xor eax, eax
push ebp
push 0x489ae1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
call fcn.0043e8fc
mov ecx, dword [0x48c38c]
mov eax, dword [ebx]
mov edx, dword [0x4892d4]
call fcn.0043e914
lea edx, [ebp - 0x18]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408d58
lea eax, [ebp - 0x14]
mov edx, 0x489af8
call fcn.0040440c
mov eax, dword [ebp - 0x14]
call fcn.00408c9c
test al, al
jne 0x4896f7
lea edx, [ebp - 0x24]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408d58
lea eax, [ebp - 0x20]
mov edx, 0x489af8
call fcn.0040440c
mov eax, dword [ebp - 0x20]
call fcn.00404604
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.0040433c
mov eax, dword [ebp - 0x1c]
call fcn.00408ebc
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00408d58
lea eax, [ebp - 0x28]
mov edx, 0x489b04
call fcn.0040440c
mov eax, dword [ebp - 0x28]
call fcn.00404604
push eax
lea edx, [ebp - 0x34]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.00408d58
lea eax, [ebp - 0x30]
mov edx, 0x489b14
call fcn.0040440c
mov eax, dword [ebp - 0x30]
call fcn.00404604
push eax
call sub.kernel32.dll_MoveFileA
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408d58
lea eax, [ebp - 0x38]
mov edx, 0x489b14
call fcn.0040440c
mov eax, dword [ebp - 0x38]
call fcn.00404604
push eax
call sub.kernel32.dll_CreateDirectoryA
lea edx, [ebp - 0x44]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00408d58
lea eax, [ebp - 0x40]
mov edx, 0x489b28
call fcn.0040440c
mov eax, dword [ebp - 0x40]
call fcn.00404604
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408d58
lea eax, [ebp - 0x48]
mov edx, 0x489b48
call fcn.0040440c
mov eax, dword [ebp - 0x48]
call fcn.00404604
push eax
call sub.kernel32.dll_MoveFileA
lea edx, [ebp - 0x54]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.00408d58
lea eax, [ebp - 0x50]
mov edx, 0x489b64
call fcn.0040440c
mov eax, dword [ebp - 0x50]
call fcn.00404604
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00408d58
lea eax, [ebp - 0x58]
mov edx, 0x489b84
call fcn.0040440c
mov eax, dword [ebp - 0x58]
call fcn.00404604
push eax
call sub.kernel32.dll_MoveFileA
lea edx, [ebp - 0x64]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00408d58
lea eax, [ebp - 0x60]
mov edx, 0x489ba0
call fcn.0040440c
mov eax, dword [ebp - 0x60]
call fcn.00404604
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00408d58
lea eax, [ebp - 0x68]
mov edx, 0x489bc4
call fcn.0040440c
mov eax, dword [ebp - 0x68]
call fcn.00404604
push eax
call sub.kernel32.dll_MoveFileA
lea edx, [ebp - 0x74]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.00408d58
lea eax, [ebp - 0x70]
mov edx, 0x489be4
call fcn.0040440c
mov eax, dword [ebp - 0x70]
call fcn.00404604
push eax
lea edx, [ebp - 0x7c]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00408d58
lea eax, [ebp - 0x78]
mov edx, 0x489c0c
call fcn.0040440c
mov eax, dword [ebp - 0x78]
call fcn.00404604
push eax
call sub.kernel32.dll_MoveFileA
lea edx, [ebp - 0x84]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.00408d58
lea eax, [ebp - 0x80]
mov edx, 0x489c30
call fcn.0040440c
mov eax, dword [ebp - 0x80]
call fcn.00404604
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.00408d58
lea eax, [ebp - 0x88]
mov edx, 0x489c4c
call fcn.0040440c
mov eax, dword [ebp - 0x88]
call fcn.00404604
push eax
call sub.kernel32.dll_MoveFileA
lea edx, [ebp - 0x94]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.00408d58
lea eax, [ebp - 0x90]
mov edx, 0x489c6c
call fcn.0040440c
mov eax, dword [ebp - 0x90]
call fcn.00404604
push eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.00408d58
lea eax, [ebp - 0x98]
mov edx, 0x489c88
call fcn.0040440c
mov eax, dword [ebp - 0x98]
call fcn.00404604
push eax
call sub.kernel32.dll_MoveFileA
lea edx, [ebp - 0xa8]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.00408d58
lea eax, [ebp - 0xa4]
mov edx, 0x489ca8
call fcn.0040440c
mov eax, dword [ebp - 0xa4]
call fcn.00404604
mov edx, eax
lea eax, [ebp - 0xa0]
call fcn.0040433c
mov eax, dword [ebp - 0xa0]
call fcn.00408cc0
lea edx, [ebp - 0xb4]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.00408d58
lea eax, [ebp - 0xb0]
mov edx, 0x489cc4
call fcn.0040440c
mov eax, dword [ebp - 0xb0]
call fcn.00404604
mov edx, eax
lea eax, [ebp - 0xac]
call fcn.0040433c
mov eax, dword [ebp - 0xac]
call fcn.00408cc0
push 0
lea edx, [ebp - 0xbc]
mov eax, dword [ebx]
call fcn.0043eeb8
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.00408d58
lea eax, [ebp - 0xb8]
mov edx, 0x489ce0
call fcn.0040440c
mov eax, dword [ebp - 0xb8]
call fcn.00404604
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebx]
call fcn.0043e994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489ae8
lea eax, [ebp - 0xbc]
mov edx, 0x2b
call fcn.00404168
ret