Function at 0x42e8e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x57fde8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4a44]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00403050
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], 0
mov ecx, dword [edi - 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x42eb50
cmp eax, ecx
jg 0x42eb50
mov al, byte [eax + edi]
cmp al, 0x5c
je 0x42e954
push 0x5c
lea ecx, [esp + 0x20]
call fcn.00402c80
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
call fcn.0040d5f0
mov byte [esp + 0x54], 1
call fcn.00454925
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42e97d
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x54], 2
mov eax, dword [edi - 0xc]
xor ecx, ecx
mov byte [esp + 0x5c], 0
mov dword [esp + 0x20], ecx
test eax, eax
jg 0x42ea3a
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
cmp edi, eax
jbe 0x42e9bd
call fcn.005519ed
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x30]
mov ebx, eax
cmp dword [esp + 0x3c], eax
jbe 0x42e9ce
call fcn.005519ed
test ebp, ebp
je 0x42e9d8
cmp ebp, dword [esp + 0x30]
je 0x42e9dd
call fcn.005519ed
cmp edi, ebx
je 0x42eb6a
test ebp, ebp
jne 0x42eb5a
call fcn.005519ed
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42e9fe
call fcn.005519ed
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne byte [esp + 0x5c]
test ebp, ebp
jne 0x42eb62
call fcn.005519ed
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42ea29
call fcn.005519ed
mov eax, dword [esp + 0x40]
add edi, 4
jmp 0x42e9c1
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
test ecx, ecx
jl 0x42eb50
cmp ecx, eax
jg 0x42eb50
mov bl, byte [ecx + edi]
cmp bl, 0x5c
je 0x42ea87
cmp ecx, eax
jg 0x42eb50
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x42ea7f
push edi
lea ecx, [esp + 0x1c]
call fcn.00403000
mov esi, dword [esp + 0x18]
mov byte [esi + ebp], bl
jmp 0x42eb23
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x42ea93
xor ecx, ecx
jmp 0x42ea9c
mov ecx, dword [esp + 0x44]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x40]
mov edi, eax
sub edi, edx
sar edi, 2
cmp edi, ecx
mov edi, eax
jae 0x42ead8
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, 1
call fcn.0040fd30
add esp, 0x10
add edi, 4
mov dword [esp + 0x40], edi
jmp 0x42eafa
cmp edx, eax
jbe 0x42eae1
call fcn.005519ed
mov eax, dword [esp + 0x30]
push edi
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
call fcn.0040d970
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x42eb1f
push edi
lea ecx, [esp + 0x1c]
call fcn.00403000
mov esi, dword [esp + 0x18]
mov byte [esi + ebp], 0x5c
test edi, edi
jl 0x42eb50
cmp edi, dword [esi - 8]
jg 0x42eb50
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esi - 0xc], edi
mov byte [edi + esi], 0
mov eax, dword [edx - 0xc]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x42ea32
jmp 0x42e9a8
push 0x80070057
call fcn.004010d0
mov eax, dword [ebp]
jmp 0x42e9f4
mov eax, dword [ebp]
jmp 0x42ea1f
add esi, 0xfffffff0
mov byte [esp + 0x54], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42eb8b
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x54], 0
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x42ebd4
mov eax, dword [esp + 0x40]
mov edi, eax
cmp esi, eax
je 0x42ebcb
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ebc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x42eba2
mov esi, dword [esp + 0x3c]
push esi
call fcn.00450d0a
add esp, 4
mov ecx, dword [esp + 0x30]
xor eax, eax
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
call fcn.00450d0a
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ec17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 4