Function at 0x523cf0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d1c5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5f88c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
call fcn.00503240
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x38]
push esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00524540
add esp, 0xc
test al, al
je 0x523f6e
mov esi, dword [ebp - 0x30]
mov ecx, dword [esi - 4]
cmp ecx, 7
jbe 0x523d9e
mov eax, dword [esi - 0x18]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x523d94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x523f91
mov eax, edx
push ecx
push eax
call fcn.0054b2c7
add esp, 8
xor eax, eax
mov dword [esi - 8], 0
mov dword [esi - 4], 7
xorps xmm0, xmm0
mov word [esi - 0x18], ax
sub dword [ebp - 0x30], 0x18
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 1
lea edi, [eax + eax*2]
mov eax, dword [ebp - 0x34]
shl edi, 3
mov dword [ebp - 0x40], edi
lea ecx, [edi + eax]
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
je 0x523e65
lea edx, [ebp - 0x28]
lea esi, [eax + 0x18]
cmp edx, eax
je 0x523e0e
mov ecx, eax
cmp dword [ecx + 0x14], 7
jbe 0x523dfc
mov eax, dword [eax]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403260
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
cmp esi, ecx
je 0x523e65
mov edi, dword [ebp - 0x3c]
nop word [eax + eax]
cmp dword [0x603fc4], 7
lea ecx, [ebp - 0x28]
push dword [0x603fc0]
mov eax, 0x603fb0
cmova eax, dword [0x603fb0]
push eax
call fcn.00403b40
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x523e4c
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403b40
add esi, 0x18
cmp esi, edi
jne 0x523e20
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebp - 0x38]
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp eax, esi
je 0x523f24
sub esi, eax
nop dword [eax + eax]
cmp dword [0x603fc4], 7
lea ecx, [ebp - 0x28]
push dword [0x603fc0]
mov eax, 0x603fb0
cmova eax, dword [0x603fb0]
push eax
call fcn.00403b40
mov eax, dword [ebp - 0x34]
add eax, edi
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x523ec1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403b40
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x54]
movlpd qword [ebp - 0x54], xmm0
push eax
call fcn.005255c0
add esp, 8
test eax, eax
je 0x523f18
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00570c09
add esp, 4
test eax, eax
je 0x523f08
call fcn.0055fbef
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x44]
call fcn.00523a60
add esp, 0xc
add edi, 0x18
sub esi, 1
jne 0x523e90
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x523f5a
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x523f50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x523f91
push ecx
push edx
call fcn.0054b2c7
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x34]
call fcn.00419510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret
call fcn.0055fb01
int3