Function at 0x41c7e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x48e468
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b5a50]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
push eax
call fcn.00401e30
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x3c], 1
call fcn.0043e9ec
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c845
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x3c], 2
call fcn.0043e9ec
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c874
push 0x80004005
call fcn.004010b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x3c], 3
mov eax, dword [esi - 0xc]
test eax, eax
jg 0x41c895
or esi, 0xffffffff
jmp 0x41c8af
push 0x5c
push esi
call fcn.0045d189
add esp, 8
test eax, eax
jne 0x41c8a9
or esi, 0xffffffff
jmp 0x41c8af
sub eax, esi
sar eax, 1
mov esi, eax
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00410b70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.00401b30
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c8f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x4c]
call fcn.00401750
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.00401b30
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c93f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], 0
jle 0x41cbfa
push 0x5c
push ebx
call fcn.0045d189
add esp, 8
test eax, eax
je 0x41cbfa
sub eax, ebx
sar eax, 1
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x41cbfa
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.00410b70
mov byte [esp + 0x3c], 6
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41c9dc
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41c9ce
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41c9ce
push eax
call fcn.00401e30
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41c9c5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x1c], ebp
jmp 0x41c9dc
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401d30
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ca01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x49a9b0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00401800
add esp, 0xc
mov byte [esp + 0x3c], 7
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41ca74
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41ca66
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41ca66
push eax
call fcn.00401e30
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41ca5d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x41ca74
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401d30
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ca99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00411980
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x41cadd
cmp eax, dword [esi]
jne 0x41cadd
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41cb18
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41cbf5
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0045d0bb
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
call fcn.0041d040
add esp, 4
test eax, eax
jne 0x41cb36
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebx - 0xc]
sub eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
dec eax
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00401750
mov byte [esp + 0x3c], 8
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x41cba9
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41cb97
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41cb97
push eax
call fcn.00401e30
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41cb8e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea ebx, [ebp + 0x10]
mov dword [esp + 0x18], ebx
jmp 0x41cba9
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00401d30
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cbce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
jle 0x41cbfa
push 0x5c
push ebx
call fcn.0045d189
add esp, 8
test eax, eax
je 0x41cbfa
sub eax, ebx
sar eax, 1
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x41cbfa
jmp 0x41c971
call fcn.00401ea0
mov ecx, dword [esp + 0x44]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebx - 0x10]
mov byte [esp + 0x3c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cc28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cc9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret