Function at 0x42e5b0
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 0x42e615
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 0x42e644
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 0x42e665
or esi, 0xffffffff
jmp 0x42e67f
push 0x5c
push esi
call fcn.0045d189
add esp, 8
test eax, eax
jne 0x42e679
or esi, 0xffffffff
jmp 0x42e67f
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 0x42e6c2
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 0x42e70f
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 0x42e9ca
push 0x5c
push ebx
call fcn.0045d189
add esp, 8
test eax, eax
je 0x42e9ca
sub eax, ebx
sar eax, 1
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x42e9ca
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 0x42e7ac
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42e79e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42e79e
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 0x42e795
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 0x42e7ac
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 0x42e7d1
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 0x42e844
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42e836
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42e836
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 0x42e82d
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 0x42e844
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 0x42e869
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 0x42e8ad
cmp eax, dword [esi]
jne 0x42e8ad
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42e8e8
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 0x42e9c5
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.0042ea90
add esp, 4
test eax, eax
jne 0x42e906
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 0x42e979
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42e967
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42e967
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 0x42e95e
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 0x42e979
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 0x42e99e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
jle 0x42e9ca
push 0x5c
push ebx
call fcn.0045d189
add esp, 8
test eax, eax
je 0x42e9ca
sub eax, ebx
sar eax, 1
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x42e9ca
jmp 0x42e741
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 0x42e9f8
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 0x42ea1d
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 0x42ea42
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 0x42ea6a
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