Function at 0x10028120
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1003a718
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10043330]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov dword [esp + 0x28], ecx
xor eax, eax
mov dword [esp + 0x94], eax
mov dword [ecx], eax
mov ecx, 7
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], ax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov word [esp + 0x50], ax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 3
call fcn.10003860
lea ecx, [ecx]
push 1
lea ebx, [esp + 0x50]
call fcn.10027b20
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1002830b
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
lea esi, [esp + 0x34]
call fcn.10016b90
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
mov byte [esp + 0x9c], 4
call fcn.10003860
mov ebp, 8
mov byte [esp + 0x94], 3
cmp dword [esp + 0x48], ebp
jb 0x1002820b
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1002b322
add esp, 4
mov eax, dword [esp + 0x60]
cmp ebx, eax
ja 0x1002822f
or eax, 0xffffffff
lea esi, [esp + 0x4c]
call fcn.100039d0
lea ecx, [esp + 0x68]
push ecx
lea esi, [esp + 0x1c]
call fcn.10002d30
jmp 0x100281b0
or edx, 0xffffffff
sub ebx, eax
sub edx, eax
cmp edx, ebx
ja 0x10028243
call fcn.1002b28c
mov eax, dword [esp + 0x60]
test ebx, ebx
jbe 0x100282f8
lea esi, [eax + ebx]
cmp esi, 0x7ffffffe
jbe 0x1002825f
call fcn.1002b28c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
cmp ecx, esi
jae 0x10028298
push eax
push esi
lea eax, [esp + 0x54]
push eax
call fcn.10003a60
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
test esi, esi
jbe 0x100282f8
cmp ebx, 1
jne 0x100282c4
cmp ecx, ebp
mov ecx, dword [esp + 0x50]
jae 0x10028290
lea ecx, [esp + 0x50]
mov word [ecx + eax*2], 0
jmp 0x100282e0
test esi, esi
jne 0x1002827d
cmp ecx, ebp
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], esi
jae 0x100282ac
lea eax, [esp + 0x50]
lea ecx, [esp + 0x68]
push ecx
lea esi, [esp + 0x1c]
mov word [eax], 0
call fcn.10002d30
jmp 0x100281b0
cmp ecx, ebp
mov ecx, dword [esp + 0x50]
jae 0x100282d0
lea ecx, [esp + 0x50]
lea edi, [ecx + eax*2]
xor eax, eax
mov ecx, ebx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], esi
jae 0x100282f2
lea eax, [esp + 0x50]
mov word [eax + esi*2], 0
lea ecx, [esp + 0x68]
push ecx
lea esi, [esp + 0x1c]
call fcn.10002d30
jmp 0x100281b0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
xor ebx, ebx
cmp ecx, ebx
je 0x10028355
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 0x10028351
mov ecx, dword [esp + 0x2c]
push ecx
lea eax, [edi - 0x1c]
call fcn.10003dc0
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 4
sub edi, 0x1c
mov dword [esp + 0x20], edi
cmp ecx, ebx
jne 0x10028359
xor esi, esi
jmp 0x10028370
mov esi, edi
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, 0xffffffff
cmp esi, 0xffffffff
je 0x100283e1
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ebx, [esi*8]
sub ebx, esi
add ebx, ebx
add ebx, ebx
jmp 0x10028398
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100283b5
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 0x100283be
call fcn.1002b928
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + ebx + 0x18], 8
jb 0x100283cb
mov ecx, dword [ecx + ebx + 4]
jmp 0x100283cf
lea ecx, [ecx + ebx + 4]
push 0
push ecx
call ebp
sub esi, 1
sub ebx, 0x1c
cmp esi, 0xffffffff
jne 0x10028390
xor ebx, ebx
cmp byte [esp + 0xb8], 0
mov eax, dword [esp + 0xa0]
je 0x1002844e
cmp byte [esp + 0xbc], 0
je 0x10028433
mov esi, 8
cmp dword [esp + 0xb4], esi
jae 0x10028411
lea eax, [esp + 0xa0]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [esp + 0x28]
mov dword [edx], eax
jmp 0x100284bb
cmp dword [esp + 0xb4], 8
jae 0x10028444
lea eax, [esp + 0xa0]
push ebx
push 0x80
push 3
jmp 0x100284a1
cmp byte [esp + 0xbc], 0
je 0x10028488
cmp dword [esp + 0xb4], 8
jae 0x10028469
lea eax, [esp + 0xa0]
push ebx
push 0x80
push 4
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [esp + 0x28]
mov dword [edx], eax
jmp 0x100284b6
cmp dword [esp + 0xb4], 8
jae 0x10028499
lea eax, [esp + 0xa0]
push ebx
push 0x80
push 4
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov esi, 8
mov edx, dword [esp + 0x28]
cmp dword [edx], 0xffffffff
mov eax, dword [esp + 0x1c]
jne 0x10028565
cmp eax, ebx
je 0x100284ee
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
push ecx
call fcn.10003dc0
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.1002b322
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jb 0x1002850d
mov eax, dword [esp + 0x50]
push eax
call fcn.1002b322
add esp, 4
cmp dword [esp + 0x80], esi
mov edi, 7
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x10028535
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.1002b322
add esp, 4
cmp dword [esp + 0xb4], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x1002855e
mov edx, dword [esp + 0xa0]
push edx
call fcn.1002b322
add esp, 4
xor al, al
jmp 0x100285f9
cmp eax, ebx
je 0x10028587
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
push ecx
call fcn.10003dc0
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.1002b322
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jb 0x100285a6
mov eax, dword [esp + 0x50]
push eax
call fcn.1002b322
add esp, 4
cmp dword [esp + 0x80], esi
mov edi, 7
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x100285ce
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.1002b322
add esp, 4
cmp dword [esp + 0xb4], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
jb 0x100285f7
mov edx, dword [esp + 0xa0]
push edx
call fcn.1002b322
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1002b6af
add esp, 0x84
ret 0x24