Function at 0x406f02
Capabilities:
Create directory

Disassembly:
push 0x69c
mov eax, 0x43c5d9
call fcn.00423c42
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x406f21
xor al, al
jmp 0x407295
push esi
lea ecx, [ebp - 0x690]
call fcn.00407618
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x406f3b
mov esi, dword [esi]
push 0x5c
pop ecx
cmp word [esi + eax*2 - 2], cx
je 0x406fa4
xor eax, eax
mov dword [ebp - 0x634], 7
push 0x444e50
mov dword [ebp - 0x638], ebx
mov word [ebp - 0x648], ax
call fcn.0041e3c2
pop ecx
push eax
push 0x444e50
lea ecx, [ebp - 0x648]
call fcn.00403888
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x648]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x690]
call fcn.00403a7e
push ebx
push 1
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], bl
call fcn.00403735
cmp dword [ebp - 0x67c], 8
lea ecx, [ebp - 0x618]
mov edx, 0x100
lea eax, [ebp - 0x690]
cmovae eax, dword [ebp - 0x690]
push edx
push ecx
push edx
lea ecx, [ebp - 0x418]
push ecx
push edx
lea ecx, [ebp - 0x218]
push ecx
push 3
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.004223cd
add esp, 0x24
mov dword [ebp - 0x650], ebx
xor eax, eax
mov word [ebp - 0x660], ax
push 7
pop esi
push 0x444e50
mov dword [ebp - 0x64c], esi
call fcn.0041e3c2
pop ecx
push eax
push 0x444e50
lea ecx, [ebp - 0x660]
call fcn.00403888
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x634], esi
mov dword [ebp - 0x638], ebx
mov word [ebp - 0x648], ax
cmp word [ebp - 0x18], ax
jne 0x40703b
mov eax, ebx
jmp 0x407045
lea eax, [ebp - 0x18]
push eax
call fcn.0041e3c2
pop ecx
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x648]
call fcn.00403888
lea eax, [ebp - 0x660]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x648]
lea ecx, [ebp - 0x678]
call fcn.00408082
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x648]
call fcn.00403735
push ebx
push 1
lea ecx, [ebp - 0x660]
mov byte [ebp - 4], 6
call fcn.00403735
xor eax, eax
mov dword [ebp - 0x61c], esi
mov dword [ebp - 0x620], ebx
mov word [ebp - 0x630], ax
cmp word [ebp - 0x218], ax
jne 0x4070b4
mov eax, ebx
jmp 0x4070c1
lea eax, [ebp - 0x218]
push eax
call fcn.0041e3c2
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x630]
call fcn.00403888
lea ecx, [ebp - 0x678]
mov byte [ebp - 4], 7
call fcn.00406e37
test al, al
je 0x407267
cmp dword [ebp - 0x620], 0
je 0x407267
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
push 0x5c
cmovae eax, dword [ebp - 0x630]
pop ecx
cmp word [eax], cx
jne 0x40714f
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
lea ecx, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
cmovae ecx, dword [ebp - 0x630]
test eax, eax
jne 0x40713d
mov eax, ebx
jmp 0x407141
sub eax, ecx
sar eax, 1
push 1
push eax
lea ecx, [ebp - 0x630]
call fcn.00403c8e
push ecx
push ecx
lea ecx, [ebp - 0x630]
call fcn.00407640
mov esi, eax
jmp 0x40725c
push esi
push ecx
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x630]
call fcn.004076c4
lea eax, [esi + 1]
mov byte [ebp - 4], 8
push eax
push ebx
lea ecx, [ebp - 0x630]
call fcn.00403c8e
xor eax, eax
mov dword [ebp - 0x64c], 7
mov esi, 0x444e50
mov dword [ebp - 0x650], ebx
push esi
mov word [ebp - 0x660], ax
call fcn.0041e3c2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x660]
call fcn.00403888
lea eax, [ebp - 0x660]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x648]
lea ecx, [ebp - 0x6a8]
call fcn.004080cc
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x678]
mov byte [ebp - 4], 0xa
call fcn.00403a7e
push ebx
push 1
lea ecx, [ebp - 0x6a8]
call fcn.00403735
push ebx
push 1
lea ecx, [ebp - 0x660]
mov byte [ebp - 4], 8
call fcn.00403735
lea ecx, [ebp - 0x678]
call fcn.00406e37
test al, al
jne 0x40723b
cmp dword [ebp - 0x664], 8
lea eax, [ebp - 0x678]
cmovae eax, dword [ebp - 0x678]
push eax
call fcn.004225c7
pop ecx
test eax, eax
jne 0x40729b
push ecx
push ecx
lea ecx, [ebp - 0x630]
call fcn.00407640
push ebx
push 1
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 7
mov esi, eax
call fcn.00403735
cmp esi, 0xffffffff
jne 0x407163
mov bl, 1
xor esi, esi
lea ecx, [ebp - 0x630]
push esi
push 1
call fcn.00403735
push esi
push 1
lea ecx, [ebp - 0x678]
call fcn.00403735
push esi
push 1
lea ecx, [ebp - 0x690]
call fcn.00403735
mov al, bl
call fcn.00423bf1
ret
push ebx
push 1
lea ecx, [ebp - 0x648]
call fcn.00403735
jmp 0x407267