Function at 0x4f52ed
Capabilities:
Create directory

Disassembly:
push 0x6a4
mov eax, 0x5c8a57
call fcn.00542a0f
mov esi, ecx
lea edi, [esi + 0x10]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x4f530e
xor al, al
jmp 0x4f5878
push esi
lea ecx, [ebp - 0x678]
mov dword [ebp - 0x678], ebx
mov dword [ebp - 0x668], ebx
mov dword [ebp - 0x664], ebx
call fcn.00408766
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 8
jb 0x4f5337
mov esi, dword [esi]
mov eax, dword [edi]
xor ebx, ebx
push 0x5c
pop ecx
inc ebx
mov edi, 0x1000
cmp word [esi + eax*2 - 2], cx
je 0x4f53ff
and dword [ebp - 0x630], 0
lea ecx, [ebp - 0x630]
and dword [ebp - 0x620], 0
xor eax, eax
push 0x5fb124
mov dword [ebp - 0x61c], 7
mov word [ebp - 0x630], ax
call fcn.00409240
mov byte [ebp - 4], bl
lea eax, [ebp - 0x630]
cmp dword [ebp - 0x61c], 8
lea ecx, [ebp - 0x678]
push dword [ebp - 0x620]
cmovae eax, dword [ebp - 0x630]
push eax
call fcn.00409b94
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x61c]
cmp eax, 8
jb 0x4f53ff
mov ecx, dword [ebp - 0x630]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 0x6ac], ecx
cmp eax, edi
jb 0x4f53f6
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x6ac]
push eax
call fcn.00403fef
mov eax, dword [ebp - 0x6b0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6ac]
push eax
push ecx
call fcn.00541bf5
pop ecx
pop ecx
cmp dword [ebp - 0x664], 8
lea ecx, [ebp - 0x418]
mov edx, 0x100
lea eax, [ebp - 0x678]
cmovae eax, dword [ebp - 0x678]
push edx
push ecx
push edx
lea ecx, [ebp - 0x618]
push ecx
push edx
lea ecx, [ebp - 0x218]
push ecx
push 3
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.005689e0
and dword [ebp - 0x660], 0
lea ecx, [ebp - 0x660]
and dword [ebp - 0x650], 0
add esp, 0x24
xor eax, eax
mov word [ebp - 0x660], ax
push 7
pop esi
push 0x5fb124
mov dword [ebp - 0x64c], esi
call fcn.00409240
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x630]
and dword [ebp - 0x630], 0
xor eax, eax
and dword [ebp - 0x620], 0
mov word [ebp - 0x630], ax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x61c], esi
call fcn.00409240
lea eax, [ebp - 0x660]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x690]
push eax
call fcn.004c7fc0
add esp, 0xc
mov eax, dword [ebp - 0x61c]
cmp eax, 8
jb 0x4f5512
mov ecx, dword [ebp - 0x630]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x4f5509
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.00403fef
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.00541bf5
pop ecx
pop ecx
and dword [ebp - 0x620], 0
xor eax, eax
push 7
pop ecx
mov dword [ebp - 0x61c], ecx
mov word [ebp - 0x630], ax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64c]
cmp eax, 8
jb 0x4f5584
mov ecx, dword [ebp - 0x660]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x4f5578
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.00403fef
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.00541bf5
pop ecx
pop ecx
push 7
pop ecx
and dword [ebp - 0x650], 0
xor eax, eax
and dword [ebp - 0x648], eax
and dword [ebp - 0x638], eax
mov word [ebp - 0x660], ax
mov word [ebp - 0x648], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x64c], ecx
mov dword [ebp - 0x634], ecx
lea ecx, [ebp - 0x648]
push eax
call fcn.00409240
lea ecx, [ebp - 0x690]
mov byte [ebp - 4], 7
call fcn.004f5200
test al, al
je 0x4f57ab
cmp dword [ebp - 0x638], 0
je 0x4f57ab
cmp dword [ebp - 0x634], 8
lea eax, [ebp - 0x648]
push 0x5c
cmovae eax, dword [ebp - 0x648]
pop ecx
cmp word [eax], cx
jne 0x4f562c
cmp dword [ebp - 0x634], 8
lea eax, [ebp - 0x648]
lea ecx, [ebp - 0x648]
cmovae eax, dword [ebp - 0x648]
push eax
lea eax, [ebp - 0x6ac]
push eax
call fcn.004f58fe
push ecx
push ecx
lea ecx, [ebp - 0x648]
call fcn.004f58d4
mov esi, eax
jmp 0x4f5795
push esi
push 0
lea eax, [ebp - 0x6a8]
push eax
lea ecx, [ebp - 0x648]
call fcn.0043e4ec
lea eax, [esi + 1]
mov byte [ebp - 4], 8
push eax
push 0
lea ecx, [ebp - 0x648]
call fcn.0043e723
and dword [ebp - 0x660], 0
lea ecx, [ebp - 0x660]
and dword [ebp - 0x650], 0
xor eax, eax
push 0x5fb124
mov dword [ebp - 0x64c], 7
mov word [ebp - 0x660], ax
call fcn.00409240
lea eax, [ebp - 0x6a8]
mov byte [ebp - 4], 9
push eax
push ecx
lea ecx, [ebp - 0x660]
call fcn.004ba543
push eax
lea ecx, [ebp - 0x630]
call fcn.00444eb9
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x630]
cmp dword [ebp - 0x61c], 8
lea ecx, [ebp - 0x690]
push dword [ebp - 0x620]
cmovae eax, dword [ebp - 0x630]
push eax
call fcn.00409b94
lea ecx, [ebp - 0x630]
call fcn.00403f80
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x64c]
cmp eax, 8
jb 0x4f5749
mov ecx, dword [ebp - 0x660]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x4f5740
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.00403fef
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.00541bf5
pop ecx
pop ecx
lea ecx, [ebp - 0x690]
call fcn.004f5200
test al, al
jne 0x4f5777
cmp dword [ebp - 0x67c], 8
lea eax, [ebp - 0x690]
cmovae eax, dword [ebp - 0x690]
push eax
call fcn.00581729
pop ecx
test eax, eax
jne 0x4f57a0
push ecx
push ecx
lea ecx, [ebp - 0x648]
call fcn.004f58d4
lea ecx, [ebp - 0x6a8]
mov byte [ebp - 4], 7
mov esi, eax
call fcn.00403f80
cmp esi, 0xffffffff
jne 0x4f5640
jmp 0x4f57ad
lea ecx, [ebp - 0x6a8]
call fcn.00403f80
xor bl, bl
mov eax, dword [ebp - 0x634]
cmp eax, 8
jb 0x4f57ff
mov ecx, dword [ebp - 0x648]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x4f57f6
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.00403fef
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.00541bf5
pop ecx
pop ecx
and dword [ebp - 0x638], 0
lea ecx, [ebp - 0x690]
xor eax, eax
mov dword [ebp - 0x634], 7
mov word [ebp - 0x648], ax
call fcn.00403f80
mov eax, dword [ebp - 0x664]
cmp eax, 8
jb 0x4f5876
mov ecx, dword [ebp - 0x678]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x4f586d
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.00403fef
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.00541bf5
pop ecx
pop ecx
mov al, bl
call fcn.005429be
ret