Function at 0x4056b8
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0xc
call fcn.004481fd
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0x80000301
push 0
push 0xb
push 1
mov ebx, 0x1c
mov eax, 0x452d20
call fcn.00448b00
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x308
call sub.KERNEL32.DLL_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00449940
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405769
push ebx
call fcn.00448209
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x405779
push ebx
call fcn.00448209
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40578d
push ebx
call fcn.00448209
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4057b6
push 6
call fcn.004481f1
add esp, 4
push 0x48c52b
push dword [ebp - 4]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4057f3
push 6
call fcn.004481f1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405803
push ebx
call fcn.00448209
add esp, 4
push str.....TemporaryFile
push dword [ebp - 4]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x405842
push 6
call fcn.004481f1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x405852
push ebx
call fcn.00448209
add esp, 4
push 0x48c52b
push dword [ebp - 4]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0xc], eax
push str.TemporaryFile
push dword [ebp - 4]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4058a7
push 6
call fcn.004481f1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4058b7
push ebx
call fcn.00448209
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4058c7
push ebx
call fcn.00448209
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4058da
mov eax, 0x48c313
push eax
push 1
mov ebx, 0x238
call fcn.0044a0e0
add esp, 0x10
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x405902
mov eax, 0x48c313
push eax
push 1
mov ebx, 0x24c
call fcn.0044a120
add esp, 0x10
and eax, 1
xor eax, 1
jmp 0x405920
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405931
push ebx
call fcn.00448209
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.00448209
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4