Function at 0x401440
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4932b4
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
mov eax, dword [0x4d01d4]
xor eax, esp
mov dword [esp + 0x8dc], eax
push ebx
push esi
push edi
mov eax, dword [0x4d01d4]
xor eax, esp
push eax
lea eax, [esp + 0x8f0]
mov dword fs:[0], eax
mov edi, dword [esp + 0x900]
mov esi, dword [esp + 0x904]
mov dword [esp + 0x14], 0
test edi, edi
je 0x401819
test esi, esi
je 0x401819
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
lea ecx, [esp + 0x70]
call fcn.0048d350
mov dword [esp + 0x8f8], 0
lea ecx, [esp + 0x6c]
call fcn.0048cd60
mov eax, dword [eax + 0x14]
push 0xffffffffffffffff
dec eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x78]
call fcn.0048d640
mov byte [esp + 0x8f8], 1
mov ebx, 1
push 0x49f804
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.0048d040
test al, al
je 0x401544
lea ecx, [esp + 0x6c]
call fcn.0048cd60
mov eax, dword [eax + 0x14]
push 0xffffffffffffffff
dec eax
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x78]
call fcn.0048d640
mov dword [esp + 0x8f8], 2
mov ebx, 3
push 0x49f808
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.0048d040
mov byte [esp + 0x13], 1
test al, al
jne 0x401549
mov byte [esp + 0x13], 0
mov dword [esp + 0x8f8], 1
test bl, 2
je 0x401569
and ebx, 0xfffffffd
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], ebx
call fcn.0048cfe0
mov dword [esp + 0x8f8], 0
test bl, 1
je 0x401589
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0048cfe0
cmp byte [esp + 0x13], 0
je 0x40159e
push 0x49f804
lea ecx, [esp + 0x70]
call fcn.0048d1e0
push edi
lea ecx, [esp + 0x38]
call fcn.0048d350
mov byte [esp + 0x8f8], 3
lea ecx, [esp + 0x34]
call fcn.0048cd60
mov eax, dword [eax + 0x14]
push 0xffffffffffffffff
dec eax
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x40]
call fcn.0048d640
mov byte [esp + 0x8f8], 4
or ebx, 4
push 0x49f804
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.0048d040
test al, al
je 0x401632
lea ecx, [esp + 0x34]
call fcn.0048cd60
mov eax, dword [eax + 0x14]
push 0xffffffffffffffff
dec eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
call fcn.0048d640
mov dword [esp + 0x8f8], 5
or ebx, 8
push 0x49f808
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.0048d040
mov byte [esp + 0x13], 1
test al, al
jne 0x401637
mov byte [esp + 0x13], 0
mov dword [esp + 0x8f8], 4
test bl, 8
je 0x401657
and ebx, 0xfffffff7
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0048cfe0
mov dword [esp + 0x8f8], 3
test bl, 4
je 0x401677
and ebx, 0xfffffffb
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], ebx
call fcn.0048cfe0
cmp byte [esp + 0x13], 0
je 0x40168c
push 0x49f804
lea ecx, [esp + 0x38]
call fcn.0048d1e0
push 0x49f80c
lea ecx, [esp + 0x38]
call fcn.0048d1e0
lea ecx, [esp + 0x88]
call fcn.0048b2e0
mov byte [esp + 0x8f8], 6
push 0
lea ecx, [esp + 0x38]
call fcn.0048cdd0
push eax
lea ecx, [esp + 0x90]
call fcn.0048b320
movzx eax, al
test eax, eax
je 0x4017e0
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov bl, 7
lea esp, [esp]
lea ecx, [esp + 0x88]
call fcn.0048b490
test al, al
je 0x401704
lea ecx, [esp + 0x88]
call fcn.0048b030
movzx esi, al
jmp 0x4017cc
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x54]
call fcn.0048d290
mov byte [esp + 0x8f8], bl
push 0x200
lea edx, [esp + 0x4f0]
push edx
lea ecx, [esp + 0x90]
call fcn.0048b260
lea eax, [esp + 0x4ec]
push eax
lea ecx, [esp + 0x54]
call fcn.0048d1e0
push 0x200
lea ecx, [esp + 0x4f0]
push ecx
lea ecx, [esp + 0x90]
call fcn.0048b140
lea ecx, [esp + 0x88]
call fcn.0048b470
lea ecx, [esp + 0x50]
test al, al
je 0x40179a
call fcn.0048cdb0
push eax
call fcn.0048a980
add esp, 4
lea ecx, [esp + 0x50]
call fcn.0048cdb0
push eax
lea edx, [esp + 0x4f0]
push edx
call fcn.00401440
add esp, 8
jmp 0x4017ac
push 0
call fcn.0048cdb0
push eax
lea eax, [esp + 0x4f4]
push eax
call edi
lea ecx, [esp + 0x88]
call fcn.0048b030
movzx esi, al
mov byte [esp + 0x8f8], 6
lea ecx, [esp + 0x50]
call fcn.0048cfe0
test esi, esi
jne 0x4016e0
lea ecx, [esp + 0x88]
call fcn.0048afe0
mov byte [esp + 0x8f8], 3
lea ecx, [esp + 0x88]
call fcn.0048b2c0
mov byte [esp + 0x8f8], 0
lea ecx, [esp + 0x34]
call fcn.0048cfe0
mov dword [esp + 0x8f8], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.0048cfe0
mov ecx, dword [esp + 0x8f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8dc]
xor ecx, esp
call fcn.00470f4c
add esp, 0x8ec
ret