Function at 0x403b10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547d68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5ac1b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00404ba0
push 0x58bfbc
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00404ba0
mov byte [ebp - 4], 1
mov esi, 1
mov eax, dword [ebp - 0x10]
test esi, esi
js 0x403b8a
cmp esi, dword [eax - 0xc]
jg 0x403b8a
lea eax, [eax + esi*2]
push 0x58be64
push eax
call fcn.0052fa29
mov esi, eax
add esp, 8
test esi, esi
je 0x403b8a
sub esi, dword [ebp - 0x10]
sar esi, 1
jmp 0x403b8d
or esi, 0xffffffff
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00403fb0
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov ebx, dword [ebp + 8]
add ebx, 0xfffffff0
lea edi, [edx - 0x10]
cmp edi, ebx
je 0x403c52
cmp dword [ebx + 0xc], 0
jl 0x403c46
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x403c46
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x403be5
cmp ecx, dword [edi]
jne 0x403be5
mov eax, 1
lock xadd dword [edx], eax
jmp 0x403c27
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x14], edx
test edx, edx
je 0x403d1a
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.0052f14c
mov edi, dword [ebp - 0x14]
add esp, 0x10
or eax, 0xffffffff
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x403c3e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [edi + 0x10]
mov dword [ebp + 8], eax
jmp 0x403c52
push dword [edx - 0xc]
lea ecx, [ebp + 8]
push edx
call fcn.00404a50
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x18]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403c75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, 0x58bfbc
mov edx, eax
nop
mov di, word [edx]
cmp di, word [ecx]
jne 0x403ca6
test di, di
je 0x403ca2
mov di, word [edx + 2]
cmp di, word [ecx + 2]
jne 0x403ca6
add edx, 4
add ecx, 4
test di, di
jne 0x403c80
xor ecx, ecx
jmp 0x403cab
sbb ecx, ecx
or ecx, 1
test ecx, ecx
setne cl
test cl, cl
je 0x403cc0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp + 8]
test esi, esi
jg 0x403b60
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403ce5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x403d06
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00404c60
int3