Function at 0x4038e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x42a180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push edi
mov ebp, dword [esp + 0x2c]
add ebp, 0xfffffff0
xor ebx, ebx
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebp
call fcn.00401a00
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0xc], edi
mov eax, dword [edi - 0xc]
cmp eax, ebx
mov byte [esp + 0x24], 1
jne 0x40397e
add edi, 0xfffffff0
mov byte [esp + 0x24], bl
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403946
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403af4
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x403b08
cmp ecx, eax
jg 0x403b08
mov cl, byte [ecx + edi]
cmp cl, 0x5c
je 0x4039a8
push 0x5c
lea ecx, [esp + 0x10]
call fcn.00401d20
mov edi, dword [esp + 0xc]
push 0x42c88e
lea ecx, [esp + 0x14]
call fcn.00402d60
mov byte [esp + 0x24], 2
push esi
lea esp, [esp]
mov eax, dword [edi - 0xc]
test eax, eax
jl 0x403a91
push 0x42c890
push edi
call fcn.0040f7d7
add esp, 8
test eax, eax
je 0x403a91
sub eax, edi
mov esi, eax
cmp esi, 0xffffffff
je 0x403a91
sub eax, ebx
inc eax
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402080
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.004023c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403a39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test esi, esi
lea ebx, [esi + 1]
jl 0x403a87
mov ebp, dword [edi - 0xc]
cmp esi, ebp
jge 0x403a87
cmp dword [edi - 4], 1
jle 0x403a6a
mov ecx, ebp
push ecx
lea ecx, [esp + 0x14]
call fcn.004014a0
mov edi, dword [esp + 0x10]
test ebp, ebp
mov byte [esi + edi], 0x7c
jl 0x403a87
cmp ebp, dword [edi - 8]
jg 0x403a87
mov dword [edi - 0xc], ebp
mov byte [edi + ebp], 0
mov ebp, dword [esp + 0x1c]
jmp 0x4039c0
push 0x80070057
call fcn.00401200
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403ab4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add edi, 0xfffffff0
mov byte [esp + 0x28], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403ad3
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x28], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403af3
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
pop esi
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
push 0x80070057
call fcn.00401200
int3