Function at 0x468160
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e227e
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004684f0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4681a6
mov al, 1
jmp 0x4684d2
mov edx, dword [0x534b64]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x5337a4]
cmp edx, dword [ecx + 4]
jle 0x468210
push 0x5337a4
call fcn.00494bb0
add esp, 4
cmp dword [0x5337a4], 0xffffffff
jne 0x468210
mov dword [ebp - 4], 0
push 0x4ec29c
mov ecx, 0x53378c
call fcn.0043db50
push 0x4e6510
call fcn.00494246
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5337a4
call fcn.00494b66
add esp, 4
mov eax, dword [0x534b64]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x5337c0]
cmp eax, dword [edx + 4]
jle 0x468279
push 0x5337c0
call fcn.00494bb0
add esp, 4
cmp dword [0x5337c0], 0xffffffff
jne 0x468279
mov dword [ebp - 4], 1
push 0x4ec2a0
mov ecx, 0x5337a8
call fcn.0043db50
push 0x4e6500
call fcn.00494246
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5337c0
call fcn.00494b66
add esp, 4
push 0x53378c
push 0x5337a8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00468800
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.00469a00
movsx edx, byte [eax]
cmp edx, 0x5c
je 0x4682a9
push 0x5c
mov ecx, dword [ebp + 8]
call fcn.00467e70
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x310]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp + 8]
call fcn.004053c0
push eax
call fcn.00467160
add esp, 0x14
mov dword [ebp - 0x384], eax
cmp dword [ebp - 0x384], 0
je 0x4682ec
xor al, al
jmp 0x4684d2
lea ecx, [ebp - 0x314]
push ecx
lea ecx, [ebp - 0x344]
call fcn.0043db50
mov dword [ebp - 4], 2
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x344]
call fcn.0043fa40
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x37c], 0
mov eax, 1
test eax, eax
je 0x4684b3
mov ecx, dword [ebp - 0x380]
push ecx
push 0x53378c
lea ecx, [ebp - 0x344]
call fcn.004478b0
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0xffffffff
je 0x4684ac
mov edx, dword [ebp - 0x37c]
push edx
push 0
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x344]
call fcn.0040c620
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x37c]
add ecx, 1
mov dword [ebp - 0x380], ecx
push 0xffffffffffffffff
push 0x4ec2a4
lea ecx, [ebp - 0x32c]
call fcn.0046a0a0
mov esi, eax
lea ecx, [ebp - 0x32c]
call fcn.00407730
sub eax, 1
cmp esi, eax
jne 0x4683ca
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x32c]
call fcn.00405530
jmp 0x46832b
push 0x30
push 0
lea edx, [ebp - 0x374]
push edx
call fcn.004ad050
add esp, 0xc
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x32c]
call fcn.004053c0
push eax
call fcn.004c0e46
add esp, 8
test eax, eax
jne 0x468440
movzx ecx, word [ebp - 0x36e]
and ecx, 0x4000
jne 0x46843e
mov byte [ebp - 0x375], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x32c]
call fcn.00405530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x344]
call fcn.00405530
mov al, byte [ebp - 0x375]
jmp 0x4684d2
jmp 0x468489
lea ecx, [ebp - 0x32c]
call fcn.004053c0
push eax
call fcn.004c0e5c
add esp, 4
cmp eax, 0xffffffff
jne 0x468489
mov byte [ebp - 0x376], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x32c]
call fcn.00405530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x344]
call fcn.00405530
mov al, byte [ebp - 0x376]
jmp 0x4684d2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x32c]
call fcn.00405530
jmp 0x46832b
jmp 0x4684b3
mov byte [ebp - 0x377], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x344]
call fcn.00405530
mov al, byte [ebp - 0x377]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret