Function at 0x402660
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x40e162
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x415060]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push ebp
push edi
mov eax, dword [0x415060]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov eax, dword [esp + 0x474]
mov ebp, dword [esp + 0x470]
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x458], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x104
lea ecx, [esp + 0x30]
push ecx
push 0x104
lea edx, [esp + 0x140]
push edx
push 0x104
lea eax, [esp + 0x250]
push eax
push 0x104
lea ecx, [esp + 0x360]
push ecx
lea ecx, [esp + 0x480]
mov byte [esp + 0x478], 3
call dword [sym.imp.mfc90.dll_Ordinal_2692]
push eax
call dword [sym.imp.MSVCR90.dll__splitpath_s]
mov edi, dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x24
cmp byte [esp + 0x46c], bl
je 0x402763
lea eax, [esp + 0x23c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402732
sub eax, edx
lea edx, [esp + 0x23c]
push edx
mov byte [esp + eax + 0x23f], bl
lea eax, [esp + 0x348]
push eax
lea ecx, [esi + 0x80]
push 0x413190
push ecx
call edi
add esp, 0x10
cmp byte [esp + 0x468], bl
je 0x402787
mov edx, dword [esp + 0x460]
push edx
push 0x3ee
mov ecx, esi
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_6559
push 0x41356b
lea ecx, [esp + 0x468]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4027d2
mov eax, dword [esp + 0x464]
mov ecx, dword [esi + 0x124]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x4131ac
push edx
call edi
add esp, 0x10
push ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_2691]
push eax
call dword [sym.imp.MSVCR90.dll__mkdir]
add esp, 4
jmp 0x4027e8
mov eax, dword [esi + 0x124]
push eax
lea ecx, [esp + 0x14]
push 0x4131b4
push ecx
call edi
add esp, 0xc
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x138]
push eax
push ecx
lea edx, [esp + 0x28]
push str._s_s_s_
push edx
call edi
add esp, 0x14
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x41356b
lea ecx, [esp + 0x468]
mov byte [esp + 0x45c], 5
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x134]
push eax
push ecx
je 0x402889
mov edx, dword [esp + 0x46c]
mov eax, dword [esi + 0x128]
push edx
push eax
lea ecx, [esp + 0x24]
push str.__s__s__s_s_
push ecx
call edi
mov ecx, dword [esp + 0x47c]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x150]
push eax
push ecx
lea edx, [esp + 0x3c]
push str._s_s_s
push edx
call edi
add esp, 0x2c
jmp 0x4028bb
mov edx, dword [esi + 0x128]
push edx
lea eax, [esp + 0x20]
push str.__s__s_s_
push eax
call edi
add esp, 0x14
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x20]
push str._s_s
push eax
call edi
add esp, 0x10
push ebx
lea ecx, [esp + 0x464]
mov dword [esp + 0x24], ebx
call dword [sym.imp.mfc90.dll_Ordinal_2691]
push eax
lea ecx, [esp + 0x24]
call section..text
add esp, 4
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], ebx
call dword [sym.imp.mfc90.dll_Ordinal_2691]
push eax
push ebx
lea ecx, [esp + 0x468]
call dword [sym.imp.mfc90.dll_Ordinal_2691]
push eax
lea ecx, [esp + 0x2c]
call fcn.004014a0
add esp, 8
cmp eax, 0xffffffff
jne 0x40291f
push 0x10
push str.Error__
push str.Unable_to_create_destination_file..._nMake_sure_destination_folder_exist...
mov ecx, esi
call sub.mfc90.dll_Ordinal_4502
jmp 0x402976
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push ebx
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_2691]
push eax
push ebx
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_2691]
push ebx
lea ecx, [esp + 0x470]
mov edi, eax
call dword [sym.imp.mfc90.dll_Ordinal_2691]
push eax
mov edx, edi
mov ecx, esi
call fcn.004029f0
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x460]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x464]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0040d1a8
add esp, 0x44c
ret 0x18