Function at 0x41c000
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66dcc0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x726100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp + 8]
call fcn.0040f740
mov byte [ebp - 4], 1
test eax, eax
je 0x41c04a
add eax, 4
jmp 0x41c04c
xor eax, eax
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404750
add eax, 0x10
mov dword [ebp - 0x34], vtable.CPathEx.0
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 0xc]
call fcn.00409750
lea ecx, [ebp - 0x34]
call fcn.004117a0
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov dword [ebp - 0x1c], vtable.CStringEx.0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c0a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
sub esp, 8
mov edi, esp
add eax, 0xfffffff0
mov dword [ebp - 0x14], edi
push eax
lea esi, [edi + 4]
mov dword [ebp - 0x14], esi
call fcn.00404750
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x1c]
mov dword [edi], vtable.CPathEx.0
push eax
call fcn.00417b50
add esp, 0xc
mov byte [ebp - 4], 3
test eax, eax
je 0x41c0e8
add eax, 4
jmp 0x41c0ea
xor eax, eax
push eax
lea ecx, [ebp + 0xc]
call fcn.00409750
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.004117a0
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.0040ed80
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov dword [ebp - 0x1c], vtable.CStringEx.0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c12e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0x72de44
mov dword [0x72de3c], 0
call fcn.00404830
push 0xa
lea ecx, [ebp - 0x50]
call fcn.0042aec5
push 0x5c
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 8]
call fcn.0040faa0
lea ecx, [ebp + 8]
call fcn.0040ff00
test al, al
mov edx, 0x6910b0
mov ecx, 0x691de4
cmove ecx, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403110
mov dword [ebp - 0x2c], vtable.CPathEx.0
mov ebx, dword [ebp - 0x4c]
mov edi, 1
mov byte [ebp - 4], 5
test ebx, ebx
je 0x41c29f
nop dword [eax]
mov eax, ebx
test ebx, ebx
je 0x41c335
mov eax, dword [eax + 8]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov ebx, dword [ebx]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x41c1d1
cmp ecx, dword [esi]
jne 0x41c1d1
lock inc dword [eax]
jmp 0x41c212
mov eax, dword [ecx]
lea edx, [esi + 4]
push 2
push dword [edx]
mov dword [ebp - 0x10], edx
call dword [eax]
mov esi, eax
test esi, esi
je 0x41c330
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov eax, dword [eax]
lea ecx, [eax*2 + 2]
push ecx
push dword [ebp - 0x14]
lea eax, [eax*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.00420890
add esp, 0x10
lea eax, [esi + 0x10]
mov dword [ebp - 0x1c], vtable.CISPath.0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ecf0
cmp edi, 1
jle 0x41c270
cmp edi, 2
jg 0x41c245
lea ecx, [ebp + 8]
call fcn.0040ff00
test al, al
jne 0x41c270
push 0
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41c270
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x72de3c], eax
cmp eax, 0xb7
jne 0x41c2cd
mov dword [0x72de3c], 0
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov dword [ebp - 0x1c], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c296
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
test ebx, ebx
jne 0x41c1a0
mov bl, 1
lea ecx, [ebp - 0x2c]
call fcn.004117a0
lea ecx, [ebp - 0x50]
call fcn.0042aeeb
lea ecx, [ebp + 8]
call fcn.004117a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
mov dword [ebp - 0x24], vtable.CPathEx.0
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
mov ecx, 0x72de44
call fcn.00409750
lea ecx, [ebp - 0x24]
call fcn.004117a0
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov dword [ebp - 0x1c], vtable.CStringEx.0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c329
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x41c2a1
call fcn.00404b10
call fcn.00425820
int3