Function at 0x527270
Capabilities:
Create directory

Disassembly:
push 0x6a4
mov eax, 0x5dac5e
call fcn.0056df1d
mov esi, ecx
lea edi, [esi + 0x10]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x527291
xor al, al
jmp 0x5277fd
push esi
lea ecx, [ebp - 0x678]
mov dword [ebp - 0x678], ebx
mov dword [ebp - 0x668], ebx
mov dword [ebp - 0x664], ebx
call fcn.00407eca
mov dword [ebp - 4], ebx
cmp dword [esi + 0x14], 8
jb 0x5272ba
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 0x527382
and dword [ebp - 0x630], 0
lea ecx, [ebp - 0x630]
and dword [ebp - 0x620], 0
xor eax, eax
push 0x6058cc
mov dword [ebp - 0x61c], 7
mov word [ebp - 0x630], ax
call fcn.004089a4
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.004092f8
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x61c]
cmp eax, 8
jb 0x527382
mov ecx, dword [ebp - 0x630]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 0x6ac], ecx
cmp eax, edi
jb 0x527379
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x6ac]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x6b0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6ac]
push eax
push ecx
call fcn.0056d0c8
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.0059076f
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 0x6058cc
mov dword [ebp - 0x64c], esi
call fcn.004089a4
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.004089a4
lea eax, [ebp - 0x660]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x630]
push eax
push dword [ebp - 0x6ac]
lea ecx, [ebp - 0x690]
call fcn.004f74a0
mov eax, dword [ebp - 0x61c]
cmp eax, 8
jb 0x527497
mov ecx, dword [ebp - 0x630]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x52748e
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.0056d0c8
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 0x527509
mov ecx, dword [ebp - 0x660]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x5274fd
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.0056d0c8
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.004089a4
lea ecx, [ebp - 0x690]
mov byte [ebp - 4], 7
call fcn.00527184
test al, al
je 0x527730
cmp dword [ebp - 0x638], 0
je 0x527730
cmp dword [ebp - 0x634], 8
lea eax, [ebp - 0x648]
push 0x5c
cmovae eax, dword [ebp - 0x648]
pop ecx
cmp word [eax], cx
jne 0x5275b1
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.00527883
push ecx
push ecx
lea ecx, [ebp - 0x648]
call fcn.00527859
mov esi, eax
jmp 0x52771a
push esi
push 0
lea eax, [ebp - 0x6a8]
push eax
lea ecx, [ebp - 0x648]
call fcn.0043bb55
lea eax, [esi + 1]
mov byte [ebp - 4], 8
push eax
push 0
lea ecx, [ebp - 0x648]
call fcn.0043bd8c
and dword [ebp - 0x660], 0
lea ecx, [ebp - 0x660]
and dword [ebp - 0x650], 0
xor eax, eax
push 0x6058cc
mov dword [ebp - 0x64c], 7
mov word [ebp - 0x660], ax
call fcn.004089a4
lea eax, [ebp - 0x6a8]
mov byte [ebp - 4], 9
push eax
push ecx
lea ecx, [ebp - 0x660]
call fcn.004bd8b3
push eax
lea ecx, [ebp - 0x630]
call fcn.00444a6a
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.004092f8
lea ecx, [ebp - 0x630]
call fcn.00403730
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x64c]
cmp eax, 8
jb 0x5276ce
mov ecx, dword [ebp - 0x660]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x5276c5
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
lea ecx, [ebp - 0x690]
call fcn.00527184
test al, al
jne 0x5276fc
cmp dword [ebp - 0x67c], 8
lea eax, [ebp - 0x690]
cmovae eax, dword [ebp - 0x690]
push eax
call fcn.005a7f4b
pop ecx
test eax, eax
jne 0x527725
push ecx
push ecx
lea ecx, [ebp - 0x648]
call fcn.00527859
lea ecx, [ebp - 0x6a8]
mov byte [ebp - 4], 7
mov esi, eax
call fcn.00403730
cmp esi, 0xffffffff
jne 0x5275c5
jmp 0x527732
lea ecx, [ebp - 0x6a8]
call fcn.00403730
xor bl, bl
mov eax, dword [ebp - 0x634]
cmp eax, 8
jb 0x527784
mov ecx, dword [ebp - 0x648]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x52777b
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.0056d0c8
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.00403730
mov eax, dword [ebp - 0x664]
cmp eax, 8
jb 0x5277fb
mov ecx, dword [ebp - 0x678]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x6ac], eax
mov dword [ebp - 0x6b0], ecx
cmp eax, edi
jb 0x5277f2
lea eax, [ebp - 0x6ac]
push eax
lea eax, [ebp - 0x6b0]
push eax
call fcn.0040379f
mov eax, dword [ebp - 0x6ac]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x6b0]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
mov al, bl
call fcn.0056decc
ret