Function at 0x10027d10
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1003a778
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10043330]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x28], ebp
xor ebx, ebx
mov dword [esp + 0x8c], ebx
mov eax, 0xf
mov dword [ebp], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 3
call fcn.10002de0
push 1
lea edi, [esp + 0x4c]
call fcn.10028790
mov edi, eax
cmp edi, 0xffffffff
je 0x10027e3d
push edi
xor ecx, ecx
lea esi, [esp + 0x30]
lea edx, [esp + 0x4c]
call fcn.10015bc0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x98], 4
call fcn.10002de0
mov byte [esp + 0x8c], 3
cmp dword [esp + 0x44], 0x10
jb 0x10027df8
mov ecx, dword [esp + 0x30]
push ecx
call fcn.1002b322
add esp, 4
mov ecx, dword [esp + 0x5c]
cmp edi, ecx
ja 0x10027e1c
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x50]
call fcn.10003090
lea edx, [esp + 0x64]
push edx
lea esi, [esp + 0x18]
call fcn.10018e00
jmp 0x10027da1
mov eax, edi
push ebx
sub eax, ecx
lea edi, [esp + 0x4c]
call fcn.10027bc0
lea edx, [esp + 0x64]
push edx
lea esi, [esp + 0x18]
call fcn.10018e00
jmp 0x10027da1
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
mov edi, dword [esp + 0x1c]
je 0x10027e85
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10027e81
mov ecx, dword [esp + 0x24]
push ecx
lea eax, [edi - 0x1c]
call fcn.100160b0
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 4
sub edi, 0x1c
mov dword [esp + 0x1c], edi
cmp ecx, ebx
jne 0x10027e89
xor eax, eax
jmp 0x10027ea0
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax - 1]
cmp esi, 0xffffffff
je 0x10027f16
lea ebp, [esi*8]
sub ebp, esi
add ebp, ebp
add ebp, ebp
jmp 0x10027ec8
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x10027ee5
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10027eee
call fcn.1002b928
mov ecx, dword [esp + 0x18]
cmp dword [ecx + ebp + 0x18], 0x10
jb 0x10027efb
mov ecx, dword [ecx + ebp + 4]
jmp 0x10027eff
lea ecx, [ecx + ebp + 4]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
sub esi, 1
sub ebp, 0x1c
cmp esi, 0xffffffff
jne 0x10027ec0
mov ebp, dword [esp + 0x28]
cmp byte [esp + 0xb4], bl
mov eax, dword [esp + 0x9c]
je 0x10027f78
cmp byte [esp + 0xb8], bl
je 0x10027f5d
mov esi, 0x10
cmp dword [esp + 0xb0], esi
jae 0x10027f44
lea eax, [esp + 0x9c]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x10027fd1
cmp dword [esp + 0xb0], 0x10
jae 0x10027f6e
lea eax, [esp + 0x9c]
push ebx
push 0x80
push 3
jmp 0x10027fbd
cmp byte [esp + 0xb8], bl
je 0x10027fa4
cmp dword [esp + 0xb0], 0x10
jae 0x10027f92
lea eax, [esp + 0x9c]
push ebx
push 0x80
push 4
push ebx
push 1
push 0x80000000
jmp 0x10027fc5
cmp dword [esp + 0xb0], 0x10
jae 0x10027fb5
lea eax, [esp + 0x9c]
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, 0x10
mov dword [ebp], eax
cmp dword [ebp], 0xffffffff
mov eax, dword [esp + 0x18]
jne 0x10028070
cmp eax, ebx
je 0x10028001
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push edx
call fcn.100160b0
mov eax, dword [esp + 0x1c]
push eax
call fcn.1002b322
add esp, 8
cmp dword [esp + 0x60], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jb 0x10028020
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.1002b322
add esp, 4
cmp dword [esp + 0x7c], esi
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x10028044
mov edx, dword [esp + 0x68]
push edx
call fcn.1002b322
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x10028069
mov eax, dword [esp + 0x9c]
push eax
call fcn.1002b322
add esp, 4
xor al, al
jmp 0x100280f9
cmp eax, ebx
je 0x1002808f
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
push ecx
call fcn.100160b0
mov edx, dword [esp + 0x1c]
push edx
call fcn.1002b322
add esp, 8
cmp dword [esp + 0x60], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jb 0x100280ae
mov eax, dword [esp + 0x4c]
push eax
call fcn.1002b322
add esp, 4
cmp dword [esp + 0x7c], esi
mov edi, 0xf
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x100280d2
mov ecx, dword [esp + 0x68]
push ecx
call fcn.1002b322
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x100280f7
mov edx, dword [esp + 0x9c]
push edx
call fcn.1002b322
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1002b6af
add esp, 0x7c
ret 0x28