Function at 0x403ed0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fffd
mov eax, dword fs:[0]
push eax
sub esp, 0x9b4
mov eax, dword [0x469f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x9a8], eax
lea ecx, [ebp - 0x950]
xor ebx, ebx
push ecx
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x984], ebx
push ecx
lea ecx, [ebp - 0x330]
mov byte [ebp - 0x20], bl
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0040f435
lea edx, [ebp - 0x640]
add esp, 0x14
mov esi, edx
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x403f40
lea edi, [ebp - 0x330]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403f50
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x950]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x403f70
lea edi, [ebp - 0x330]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403f80
mov ecx, edx
lea eax, [ebp - 0x330]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0040f197
mov edx, eax
add esp, 4
mov ecx, edx
mov dword [ebp - 0x9a0], edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403fb2
sub ecx, esi
xor eax, eax
test ecx, ecx
jle 0x403fd0
cmp byte [edx + eax], 0x5c
jne 0x403fcb
mov byte [edx + eax], 0x2f
inc eax
cmp eax, ecx
jl 0x403fc1
xor esi, esi
mov edi, edx
push 0x2f
push edi
call fcn.00408500
add esp, 8
mov dword [ebp - 0x9a4], eax
test eax, eax
je 0x4041b6
cmp eax, edi
je 0x4041a6
mov edi, dword [ebp - 0x9a0]
mov byte [eax], 0
cmp byte [ebp - 0x20], 0
je 0x40411d
mov ecx, edi
mov dword [ebp - 0x994], 0
xor edx, edx
mov dword [ebp - 0x99c], edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404020
sub ecx, esi
lea esi, [ecx + 1]
test esi, esi
jle 0x404051
push 0
call fcn.00406ae1
add esp, 4
push esi
call fcn.00406d16
mov edx, eax
mov dword [ebp - 0x994], esi
add esp, 4
mov dword [ebp - 0x99c], edx
mov ecx, edi
sub edx, edi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x404055
mov dword [ebp - 0x998], esi
or ebx, 1
mov dword [ebp - 4], 0
xor edx, edx
mov dword [ebp - 0x984], ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x988], 0
mov dword [ebp - 0x990], edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404090
sub ecx, esi
lea esi, [ecx + 1]
test esi, esi
jle 0x4040c1
push 0
call fcn.00406ae1
add esp, 4
push esi
call fcn.00406d16
mov edx, eax
mov dword [ebp - 0x988], esi
add esp, 4
mov dword [ebp - 0x990], edx
lea ecx, [ebp - 0x20]
mov eax, ecx
sub edx, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x4040d0
mov dword [ebp - 0x98c], esi
lea eax, [ebp - 0x99c]
mov dword [ebp - 4], 1
or ebx, 2
lea edx, [ebp - 0x990]
push eax
lea ecx, [ebp - 0x9b4]
mov dword [ebp - 0x984], ebx
call fcn.00403db0
add esp, 4
or ebx, 4
mov edi, 0x458e5e
mov eax, dword [eax]
test eax, eax
cmovne edi, eax
lea eax, [ebp - 0x980]
xor esi, esi
push eax
push edi
call fcn.0040fe17
add esp, 8
test eax, eax
je 0x404142
push edi
call fcn.0040fe8a
add esp, 4
neg eax
sbb esi, esi
jmp 0x404154
test dword [ebp - 0x97a], 0x4000
mov eax, 0xffffffff
cmove esi, eax
test bl, 4
je 0x40416a
push dword [ebp - 0x9b4]
and ebx, 0xfffffffb
call fcn.00406ae1
add esp, 4
test bl, 2
je 0x404180
push dword [ebp - 0x990]
and ebx, 0xfffffffd
call fcn.00406ae1
add esp, 4
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x40419d
push dword [ebp - 0x99c]
and ebx, 0xfffffffe
call fcn.00406ae1
add esp, 4
mov eax, dword [ebp - 0x9a4]
mov byte [eax], 0x2f
lea edi, [eax + 1]
test esi, esi
je 0x403fd4
jmp 0x404377
cmp byte [ebp - 0x20], 0
je 0x4042ef
xor edx, edx
mov dword [ebp - 0x988], 0
lea ecx, [ebp - 0x330]
mov dword [ebp - 0x990], edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4041e0
sub ecx, esi
lea esi, [ecx + 1]
test esi, esi
jle 0x404211
push 0
call fcn.00406ae1
add esp, 4
push esi
call fcn.00406d16
mov edx, eax
mov dword [ebp - 0x988], esi
add esp, 4
mov dword [ebp - 0x990], edx
lea ecx, [ebp - 0x330]
mov eax, ecx
sub edx, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x404220
mov dword [ebp - 0x98c], esi
or ebx, 8
mov dword [ebp - 4], 2
xor edi, edi
mov dword [ebp - 0x984], ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x994], 0
mov dword [ebp - 0x99c], edi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404260
sub ecx, edx
lea esi, [ecx + 1]
test esi, esi
jle 0x404291
push 0
call fcn.00406ae1
add esp, 4
push esi
call fcn.00406d16
mov edi, eax
mov dword [ebp - 0x994], esi
add esp, 4
mov dword [ebp - 0x99c], edi
lea ecx, [ebp - 0x20]
mov edx, edi
mov eax, ecx
sub edx, eax
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x4042a0
mov dword [ebp - 0x998], esi
lea eax, [ebp - 0x990]
mov dword [ebp - 4], 3
or ebx, 0x10
lea edx, [ebp - 0x99c]
push eax
lea ecx, [ebp - 0x9c0]
mov dword [ebp - 0x984], ebx
call fcn.00403db0
add esp, 4
or ebx, 0x20
mov ecx, 0x458e5e
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
jmp 0x4042fb
mov ecx, dword [ebp - 0x9a8]
mov edi, dword [ebp - 0x99c]
lea eax, [ebp - 0x980]
mov dword [ebp - 0x984], ecx
push eax
push ecx
xor esi, esi
call fcn.0040fe17
add esp, 8
test eax, eax
je 0x40432b
push dword [ebp - 0x984]
call fcn.0040fe8a
add esp, 4
neg eax
sbb esi, esi
jmp 0x40433d
test dword [ebp - 0x97a], 0x4000
mov eax, 0xffffffff
cmove esi, eax
test bl, 0x20
je 0x404353
push dword [ebp - 0x9c0]
and ebx, 0xffffffdf
call fcn.00406ae1
add esp, 4
test bl, 0x10
je 0x404364
push edi
and ebx, 0xffffffef
call fcn.00406ae1
add esp, 4
test bl, 8
je 0x404377
push dword [ebp - 0x990]
call fcn.00406ae1
add esp, 4
push dword [ebp - 0x9a0]
call fcn.0040ea44
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00406aa2
mov esp, ebp
pop ebp
ret