Function at 0x41034f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add eax, 0x14c
push eax
lea ecx, [ebp - 0x10]
call fcn.00431d2a
mov dword [ebp - 4], 0
push 0x44f2b0
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
push ecx
call fcn.00408540
and eax, 0xff
test eax, eax
je 0x410515
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x15c], 0
je 0x4103d2
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x15c], 0
je 0x410515
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x158], 0
je 0x410515
push 0x44f2b4
mov edx, dword [ebp - 0x38]
add edx, 0x14c
push edx
call fcn.00408540
and eax, 0xff
test eax, eax
je 0x410515
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00402c80
sub eax, 1
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00408520
movsx eax, al
cmp eax, 0x5c
jne 0x4104b9
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
call fcn.00408520
movsx ecx, al
cmp ecx, 0x5c
jne 0x4104a0
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00402c80
sub eax, 1
push eax
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x38]
add edx, 0x150
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator_1
jmp 0x4104b7
mov eax, dword [ebp - 0x38]
add eax, 0x150
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator_1
jmp 0x410515
push 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
call fcn.00408520
movsx ecx, al
cmp ecx, 0x5c
jne 0x4104eb
mov edx, dword [ebp - 0x38]
add edx, 0x150
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator_1
jmp 0x410515
push 0x449d28
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00431d84
mov eax, dword [ebp - 0x38]
add eax, 0x150
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::operator_1
push 0x44f2b8
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
push ecx
call fcn.0040ccb0
and eax, 0xff
test eax, eax
je 0x41055b
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x24]
jmp 0x410709
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.0040cdc0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x410659
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00402c80
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x18]
push edx
push 0x5c
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x4105b2
jmp 0x410659
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
call fcn.0040cdc0
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x28], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x28]
and eax, 0xff
test eax, eax
je 0x410644
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
call fcn.0040cdc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jl 0x410590
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x154], 0
je 0x4106b2
push 0x44f2bc
mov ecx, dword [ebp - 0x38]
add ecx, 0x150
push ecx
call fcn.00408540
and eax, 0xff
test eax, eax
je 0x410697
lea ecx, [ebp - 0x10]
call fcn.0040cdc0
push eax
call fcn.004085c0
mov ecx, eax
call fcn.00413d0a
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.0040cdc0
push eax
call fcn.004085c0
mov ecx, eax
call fcn.00413d47
mov ecx, dword [ebp - 0x38]
call fcn.00410743
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.0040cdc0
push eax
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x160]
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x160]
mov eax, dword [edx]
call dword [eax]
push 0
push 0x2bc
push 0x65
mov ecx, dword [ebp - 0x38]
call fcn.004109f0
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret