Function at 0x409620
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4176c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x4314
call fcn.00416730
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push eax
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
call fcn.00401170
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.00401260
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x80]
push 0
push ecx
lea ecx, [ebp - 0x124]
call fcn.004015f0
mov edx, dword [ebp - 0x60]
push 0
push 0
push 0
lea eax, [edx + 1]
push 0
push eax
push 0x420da0
push 0
lea ecx, [ebp - 0x124]
call fcn.004015f0
push 0x400
push 0x4205a0
push 0xffffffffffffffff
push 0x420da0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x60]
mov ax, word [eax*2 + 0x42059e]
cmp ax, 0x2f
je 0x4098ad
cmp ax, 0x5c
je 0x4098ad
mov eax, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x324]
push 0
lea edx, [ebp - 0x30]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll__wsplitpath]
add esp, 0x14
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041634a
lea edx, [ebp - 0x324]
mov byte [ebp - 4], 2
push edx
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42u.DLL_operator_2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
mov edi, 0x4205a0
xor esi, esi
cmp esi, dword [ebp - 0x60]
jge 0x4097b8
mov ax, word [esi*2 + 0x4205a0]
cmp ax, 0x2f
je 0x409752
cmp ax, 0x5c
jne 0x4097b5
lea ecx, [ebp - 0x1c]
push 1
push ecx
lea ecx, [ebp - 0x14]
mov word [esi*2 + 0x4205a0], 0
call sub.MFC42u.DLL_CString::Right
mov edx, dword [eax]
push 0x41d264
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
lea ecx, [ebp - 0x1c]
test eax, eax
setne bl
call sub.MFC42u.DLL_CString::CString
test bl, bl
je 0x409796
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00416476
push edi
lea ecx, [ebp - 0x14]
call fcn.00416332
mov eax, dword [ebp - 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, dword [ebp - 0x18]
lea edi, [esi*2 + 0x4205a2]
inc esi
jmp 0x409739
lea ecx, [ebp - 0x14]
push 0x5c
lea edx, [ebp - 0x20]
push ecx
push edx
call sub.MFC42u.DLL_operator_1
push edi
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push eax
call sub.MFC42u.DLL_operator_2
mov eax, dword [eax]
push 0x1001
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CFile::CFile_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x124]
call fcn.004014a0
lea ecx, [ebp - 0x4324]
push 0x4000
push ecx
lea ecx, [ebp - 0x124]
call fcn.00401630
mov esi, eax
test esi, esi
jle 0x40983a
lea edx, [ebp - 0x4324]
push esi
push edx
lea ecx, [ebp - 0x40]
call sub.MFC42u.DLL_CFile::Write
cmp esi, 0x4000
jne 0x409855
lea eax, [ebx + 0x504]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x40980d
lea ecx, [ebx + 0x504]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x409882
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00416002
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
jmp 0x4098d3
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x40]
push edx
push eax
lea ecx, [ebp - 0x124]
call fcn.00401e50
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00416002
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x124]
call fcn.004012a0
test al, al
je 0x4098d3
lea ecx, [ebx + 0x504]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x409673
lea ecx, [ebp - 0x124]
call fcn.004011e0
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0
call fcn.00401850
lea edx, [ebx + 0x504]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x40990a
mov dword [ebx + 0x510], 0x80010001
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4