Function at 0x440158
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502451
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp + 0xc]
call fcn.00458a80
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x2c]
call fcn.004671b8
mov byte [ebp - 4], 2
push 0
push 0x545768
push 0x54576c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004dcd93
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x68]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.004dcd93
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
call fcn.00458a80
push eax
lea ecx, [ebp - 0x2c]
call fcn.0046727b
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004dcafe
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004dcafe
cmp dword [ebp - 0x10], 0
je 0x440425
lea ecx, [ebp - 0x2c]
call fcn.0046749b
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00467693
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
push ecx
push 0x545770
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.004dcd93
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004dcd2d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.004dcafe
lea ecx, [ebp - 0x38]
push ecx
push 0x545774
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004dcd93
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.004dcd2d
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x48]
call fcn.004dcafe
lea ecx, [ebp - 0x2c]
call fcn.00467462
test eax, eax
jne 0x4403fc
lea ecx, [ebp - 0x2c]
call fcn.00445960
test eax, eax
je 0x440387
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
lea edx, [ebp - 0x34]
push edx
call fcn.004dc873
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x30]
push edx
call fcn.004dc873
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0xb
call fcn.00440158
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jne 0x440385
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.004dcafe
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004dcafe
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dcafe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004671f5
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004dcafe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004dcafe
mov eax, dword [ebp - 0x54]
jmp 0x440456
jmp 0x4403fc
push 0
lea ecx, [ebp - 0x34]
call fcn.00458a80
push eax
lea ecx, [ebp - 0x30]
call fcn.00458a80
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4403fc
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.004dcafe
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004dcafe
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dcafe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004671f5
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004dcafe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004dcafe
mov eax, dword [ebp - 0x58]
jmp 0x440456
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.004dcafe
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004dcafe
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.004dcafe
jmp 0x440209
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004671f5
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004dcafe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004dcafe
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8