Function at 0x47c820
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x57ba88
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov ecx, dword [0x5f288c]
mov esi, ecx
call fcn.004600b0
test eax, eax
jne 0x47c877
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47c877
push 0x5f23e8
mov ecx, 0x5f288c
call fcn.00402310
call fcn.00530e1f
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x47c893
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], esi
call fcn.00530e1f
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x47c8c1
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c], 1
call fcn.00530e1f
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x47c8f0
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov byte [esp + 0x2c], 2
mov bl, 3
test esi, esi
push ebp
jne 0x47c925
mov ecx, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push str._s_s
push edx
call fcn.00405480
add esp, 0x10
jmp 0x47c93d
mov eax, dword [esp + 0x3c]
push esi
push eax
lea ecx, [esp + 0x48]
push str._s_d_s
push ecx
call fcn.00405480
add esp, 0x14
push 0x5958a8
lea edx, [esp + 0x24]
push 0x5f288c
push edx
call fcn.00401ba0
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x38], bl
call fcn.00401ae0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 4
call fcn.00402310
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c99e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c9c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.004600b0
test eax, eax
je 0x47c9da
add esi, 1
jmp 0x47c907
mov ecx, dword [esp + 0x34]
push 1
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov esi, dword [esp + 0x3c]
je 0x47ca1f
mov edx, dword [0x5f288c]
push edx
push esi
lea eax, [esp + 0x1c]
push 0x5abda8
push eax
call fcn.00405480
mov ecx, dword [0x5f2620]
mov eax, dword [esp + 0x24]
add esp, 0x10
add ecx, 0x9544
call fcn.004c4910
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ca40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ca65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ca89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc