Function at 0x470410
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b86d
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push esi
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 2
push 0
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_423
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 4
mov eax, dword [ebp + 8]
push eax
push 0x528600
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0xc
push 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_4188
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4707ab
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_4207
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x28]
call fcn.004584d0
test eax, eax
je 0x47059f
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_7317
test eax, eax
jne 0x47059f
mov edx, dword [ebp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_4936
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 6
push ecx
mov esi, esp
mov dword [ebp - 0x38], esp
mov ecx, dword [ebp - 0x7c]
push ecx
push 0x528608
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x84]
push edx
push esi
call fcn.004206a0
add esp, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push ecx
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_4939
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x6c]
call fcn.00470410
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x4707a6
push 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_4936
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x98]
push ecx
push 0x52860c
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.004206a0
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xa8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_4939
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp + 0x14], 0
je 0x4707a6
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_4936
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xb4]
push edx
push 0x528610
push 0x528614
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.004206a0
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xcc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_4939
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x47049b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call sub.mfc100.dll_Ordinal_979
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10