Function at 0x479a70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53834a
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x57c54c]
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 esi, ecx
xor edi, edi
mov dword [ebp - 0x67c], edi
cmp dword [esi + 0x10], edi
jne 0x479ab4
xor al, al
jmp 0x479e07
push esi
lea ecx, [ebp - 0x678]
call fcn.0040d350
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x479ad2
mov esi, dword [esi]
cmp word [esi + eax*2 - 2], 0x5c
je 0x479b16
push 0x55eb5c
lea ecx, [ebp - 0x648]
call fcn.00408080
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x479af8
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x678]
call fcn.0040ac90
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 0
call fcn.00407f80
cmp dword [ebp - 0x664], 8
lea ecx, [ebp - 0x418]
push 0x100
push ecx
push 0x100
lea ecx, [ebp - 0x618]
push ecx
push 0x100
lea ecx, [ebp - 0x218]
push ecx
push 3
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x678]
cmovae eax, dword [ebp - 0x678]
push ecx
push eax
call fcn.00518ab3
add esp, 0x24
lea ecx, [ebp - 0x694]
push 0x55eb5c
call fcn.00408080
mov esi, eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x648]
call fcn.00408080
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x660]
call fcn.0047a4f0
add esp, 4
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 5
call fcn.00407f80
lea ecx, [ebp - 0x694]
mov byte [ebp - 4], 6
call fcn.00407f80
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x630]
call fcn.00408080
lea ecx, [ebp - 0x660]
mov byte [ebp - 4], 7
call fcn.00479910
test al, al
je 0x479dd3
mov ebx, dword [ebp - 0x620]
test ebx, ebx
je 0x479dd3
mov ecx, dword [ebp - 0x61c]
lea eax, [ebp - 0x630]
mov edx, dword [ebp - 0x630]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x479c6b
cmp ecx, 8
lea esi, [ebp - 0x630]
lea eax, [ebp - 0x630]
cmovae esi, edx
cmovae eax, edx
sub esi, eax
sar esi, 1
cmp ebx, esi
jb 0x479e23
mov eax, ebx
mov edx, 1
sub eax, esi
cmp eax, edx
cmovb edx, eax
cmp ecx, 8
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
sub ebx, edx
mov dword [ebp - 0x620], ebx
sub ebx, esi
lea ecx, [eax + esi*2]
lea eax, [ebx*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.00504000
add esp, 0xc
sub esp, 8
lea ecx, [ebp - 0x630]
call fcn.00479fa0
mov esi, eax
cmp esi, 0xffffffff
je 0x479dc0
push esi
push 0
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x630]
call fcn.00407da0
mov byte [ebp - 4], 8
lea edx, [esi + 1]
mov eax, dword [ebp - 0x620]
lea ecx, [ebp - 0x630]
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x61c], 8
cmovae ecx, dword [ebp - 0x630]
sub eax, edx
mov dword [ebp - 0x620], eax
lea eax, [eax*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.00504000
add esp, 0xc
lea ecx, [ebp - 0x6ac]
push 0x55eb5c
call fcn.00408080
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x648]
cmp dword [ebp - 0x634], 8
push dword [ebp - 0x638]
cmovae ecx, dword [ebp - 0x648]
push ecx
push ecx
mov ecx, eax
call fcn.0046f880
push eax
lea ecx, [ebp - 0x694]
call fcn.0040d310
or edi, 2
mov ecx, eax
mov dword [ebp - 0x67c], edi
cmp dword [eax + 0x14], 8
jb 0x479d32
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x660]
call fcn.0040ac90
and edi, 0xfffffffd
lea ecx, [ebp - 0x694]
mov dword [ebp - 0x67c], edi
mov byte [ebp - 4], 9
call fcn.00407f80
lea ecx, [ebp - 0x6ac]
mov byte [ebp - 4], 8
call fcn.00407f80
lea ecx, [ebp - 0x660]
call fcn.00479910
test al, al
jne 0x479d98
cmp dword [ebp - 0x64c], 8
lea eax, [ebp - 0x660]
cmovae eax, dword [ebp - 0x660]
push eax
call fcn.0051a33a
add esp, 4
test eax, eax
jne 0x479dc4
sub esp, 8
lea ecx, [ebp - 0x630]
call fcn.00479fa0
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 7
mov esi, eax
call fcn.00407f80
cmp esi, 0xffffffff
jne 0x479c84
mov bl, 1
jmp 0x479dd5
lea ecx, [ebp - 0x648]
mov byte [ebp - 4], 7
call fcn.00407f80
xor bl, bl
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 6
call fcn.00407f80
lea ecx, [ebp - 0x660]
mov byte [ebp - 4], 0
call fcn.00407f80
lea ecx, [ebp - 0x678]
mov dword [ebp - 4], 0xffffffff
call fcn.00407f80
mov al, bl
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.00500b45
mov esp, ebp
pop ebp
ret
call fcn.0040bc10
int3