Function at 0x42299c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4611ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 0x348]
cmp edx, dword [ecx + 0x34c]
jle 0x422a3e
mov eax, dword [ebp - 0x50]
add eax, 0x39c
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x34c]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + edx*4 + 0x1b8]
push ecx
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx + 8]
call fcn.0040a3c3
test eax, eax
jne 0x422a17
push 0x8000
push 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x358]
push ecx
call dword [sym.imp.libdxxmt.dll_Ordinal_55]
add esp, 0xc
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x34c]
add eax, 1
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x34c], eax
mov edx, dword [ebp - 0x50]
mov dword [edx + 0x19c], 4
jmp 0x422e0e
mov eax, dword [ebp - 0x50]
add eax, 0x1a8
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x1a4
push ecx
mov edx, esp
mov dword [ebp - 0x18], esp
push ecx
mov ecx, edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
call fcn.0043ecaa
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x422a88
push 9
push 0
mov ecx, dword [ebp - 0x50]
call fcn.004222e2
xor eax, eax
jmp 0x422e13
mov ecx, dword [ebp - 0x50]
add ecx, 0x1a4
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x1ac
call fcn.0045e12e
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x1a8], 0
jne 0x422b3c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x1a4
push ecx
mov edx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
call fcn.0043f1b6
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x422b1b
push 9
push 0
mov ecx, dword [ebp - 0x50]
call fcn.004222e2
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0045dfd8
mov eax, dword [ebp - 0x20]
jmp 0x422e13
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x1ac
call fcn.0045e12e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0045dfd8
mov edx, dword [ebp - 0x50]
add edx, 0x1ac
push edx
push 0x47917c
push 0x479180
push 0x479190
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
add ecx, 0x61c
push ecx
lea edx, [ebp - 0x24]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x28]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x2c]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x30]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x1b0
call fcn.0045e12e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.0045dfd8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0045dfd8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0045dfd8
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x1a8], 0
jne 0x422d1f
mov eax, dword [ebp - 0x50]
add eax, 0x1ac
push eax
push 0x47919c
push 0x4791a0
push 0x4791b0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 4]
add edx, 0x61c
push edx
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x38]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x90]
push edx
lea eax, [ebp - 0x3c]
push eax
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x98]
push edx
lea eax, [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xa0]
push edx
mov ecx, dword [ebp - 0x50]
add ecx, 0x1b0
call fcn.0045e12e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.0045dfd8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.0045dfd8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0045dfd8
push 0
mov ecx, dword [ebp - 0x50]
add ecx, 0x1b0
call fcn.00412270
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x1a4
push ecx
mov edx, esp
mov dword [ebp - 0x44], esp
push ecx
mov ecx, edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
call fcn.004427bd
cmp dword [ebp - 0x10], 0
je 0x422e02
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 8]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x4791bc
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], 9
mov ecx, dword [ebp - 0x50]
add ecx, 0x1ac
push ecx
mov edx, esp
mov dword [ebp - 0x4c], esp
push ecx
mov ecx, edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
call fcn.0044b767
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x422df4
push 0xa
push 6
mov ecx, dword [ebp - 0x50]
call fcn.004222e2
mov eax, 1
jmp 0x422e13
push 6
push 3
mov ecx, dword [ebp - 0x50]
call fcn.004222e2
jmp 0x422e0e
push 9
push 0
mov ecx, dword [ebp - 0x50]
call fcn.004222e2
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret