Function at 0x5fd810
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70fa23
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x76e964]
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, ecx
mov eax, dword [ebp + 8]
shr eax, 0xe
and al, 1
je 0x5fda93
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 4]
call fcn.005f5000
mov esi, dword [ebp - 0x18]
mov eax, 0x92492493
mov edi, dword [ebp - 0x1c]
mov ecx, esi
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5fda33
mov eax, 0xf
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0x560c40
mov byte [ebp - 4], 1
cmp edi, esi
je 0x5fd9ef
nop dword [eax]
push edi
lea ecx, [ebp - 0x12c]
call fcn.005f34e0
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x5c]
call fcn.005f3740
mov edx, dword [ebp - 0x114]
mov byte [ebp - 4], 1
mov dword [ebp - 0x12c], 0x560c38
cmp edx, 0x10
jb 0x5fd93f
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x5fd931
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5fdb2d
push edx
push ecx
call fcn.006dd246
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.005f3eb0
test al, al
jne 0x5fd9db
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x40], xmm0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x562678
xor esi, 0x4000
movups xmmword [ebp - 0x30], xmm0
call fcn.005f34e0
mov dword [ebp - 0x20], 0
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.005fd810
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x40], 0x562678
test ecx, ecx
je 0x5fd9a5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x3c], 0x560c38
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x5fd9c5
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0059aa90
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x18]
add edi, 0x1c
cmp edi, esi
jne 0x5fd8d0
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], 0x560c38
cmp eax, 0x10
jb 0x5fda33
mov ecx, dword [ebp - 0x58]
lea edx, [eax + 1]
mov eax, ecx
mov byte [ebp - 4], 6
cmp edx, 0x1000
jb 0x5fda23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5fdb2d
push edx
push ecx
call fcn.006dd246
mov esi, dword [ebp - 0x18]
add esp, 8
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 4], 7
test edi, edi
je 0x5fda76
cmp edi, esi
je 0x5fda54
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
add edi, 0x1c
cmp edi, esi
jne 0x5fda42
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
lea ecx, [ebp - 0x1c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.0059ad00
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.006dd760
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x5fda9e
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x5fda76
push 0xac
lea ecx, [ebp - 0x108]
call fcn.0059a350
call fcn.005f2d00
push eax
call fcn.005f2d00
push eax
call fcn.005f2d00
push eax
call fcn.005f2d00
push eax
push 0x3ec
lea ecx, [ebp - 0x108]
call fcn.005f3480
mov dword [ebp - 4], 8
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x108]
call fcn.005fe1f0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x108]
call fcn.005f4ef0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.005f33e0
push 0x75087c
lea eax, [ebp - 0x1d8]
push eax
call fcn.006f37e7
call fcn.0060e3b4
int3