Function at 0x4437f0
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4866d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x443830
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.00406820
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.00469a14
add esp, 8
or ebp, 0xffffffff
test eax, eax
je 0x443872
sub eax, esi
cmp eax, ebp
jne 0x4438a6
lea eax, [esi - 0x10]
mov dword [esp + 0x24], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x44388f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
add eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405f00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.00406820
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4438eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.lnkback_
lea ecx, [esp + 0x14]
push 0x4b90c8
push ecx
call fcn.00406070
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
push eax
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44392e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x443948
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
test edi, edi
mov ebx, 2
mov byte [esp + 0x24], bl
jne 0x443983
push str.lnkback0_
lea ecx, [esp + 0x1c]
push 0x4b90c8
push ecx
call fcn.00406070
add esp, 0xc
mov byte [esp + 0x24], 3
jmp 0x4439c6
cmp edi, 1
jne 0x4439a6
push str.lnkback1_
lea ecx, [esp + 0x1c]
push 0x4b90c8
push ecx
call fcn.00406070
add esp, 0xc
mov byte [esp + 0x24], 4
jmp 0x4439c6
cmp edi, ebx
jne 0x4439f3
push str.lnkback2_
lea ecx, [esp + 0x1c]
push 0x4b90c8
push ecx
call fcn.00406070
add esp, 0xc
mov byte [esp + 0x24], 5
push eax
lea ecx, [esp + 0x14]
call fcn.00406820
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4439f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push 0
push ecx
call esi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00405fb0
mov eax, dword [eax]
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
add esp, 0xc
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443a44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443a68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x443a89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4