Function at 0x1002ea7b
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b071
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002edbd
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x50], 0x1aa8
cmp dword [ebp - 0x50], 0x4f6
jge 0x1002ecc5
mov dword [ebp - 0x90], 0x3b
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001832e
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], eax
and dword [ebp - 4], 0
push dword [ebp - 0x58]
push 0x3b
lea ecx, [ebp - 0x88]
call fcn.100388e2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x9c]
call fcn.1000ebfd
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 2
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x8c]
push eax
push 0x1000813c
call fcn.10050b5b
pop ecx
pop ecx
and dword [ebp - 0x2c], 0
jmp 0x1002eb49
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x8c]
jg 0x1002ebfe
lea eax, [ebp - 0x34]
push eax
push 0x1000813c
call fcn.10050b5b
pop ecx
pop ecx
cmp dword [ebp - 0x2c], 0
jne 0x1002eb70
jmp 0x1002eb42
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cmp eax, 1
jle 0x1002eb85
cmp dword [ebp - 0x34], 1
jle 0x1002eb85
mov byte [ebp - 0xd], 1
and dword [ebp - 0x18], 0
jmp 0x1002eb92
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x34]
jge 0x1002ebea
push 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x88]
call fcn.10038909
mov ecx, eax
call fcn.1000ec02
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov esi, edx
add esi, dword [ebp - 0x1c]
push 1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x88]
call fcn.10038909
mov ecx, eax
call fcn.1000ec02
mov dword [eax], esi
jmp 0x1002eb8b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
jmp 0x1002eb42
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002ecab
push 0x10008504
call fcn.10050eec
pop ecx
mov dword [ebp - 0x24], 1
jmp 0x1002ec25
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
jge 0x1002ec54
push 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x88]
call fcn.10038909
mov ecx, eax
call fcn.1000ec02
push dword [eax]
push 0x10008328
call fcn.10050d76
pop ecx
pop ecx
jmp 0x1002ec1e
push 0x100080a5
call fcn.10050eec
pop ecx
mov dword [ebp - 0x28], 1
jmp 0x1002ec6f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x14]
jge 0x1002ec9e
push 1
push dword [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.10038909
mov ecx, eax
call fcn.1000ec02
push dword [eax]
push 0x10008328
call fcn.10050d76
pop ecx
pop ecx
jmp 0x1002ec68
push 0x100080a5
call fcn.10050eec
pop ecx
jmp 0x1002ecb6
push 0x10008510
call fcn.10050eec
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10038904
lea eax, [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x60], 0x196f
cmp dword [ebp - 0x60], 0x666
jge 0x1002ed47
and dword [ebp - 0x30], 0
and dword [ebp - 0x38], 0
and dword [ebp - 0x3c], 0
and dword [ebp - 0x40], 0
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x30]
push eax
push 0x10008184
call fcn.10050b5b
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
js 0x1002ed38
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x10008490
call fcn.10050b5b
add esp, 0x10
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x44]
cmp eax, 1
jle 0x1002ed36
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
jmp 0x1002ecff
push dword [ebp - 0x38]
push 0x10008184
call fcn.10050d76
pop ecx
pop ecx
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x1002ed9b
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x1002ed7f
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 4
jge 0x1002ed99
mov eax, dword [ebp - 0x20]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.1000ec02
or dword [eax], 0xffffffff
jmp 0x1002ed74
jmp 0x1002edbb
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x1002edbb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1002edc5
push 0
call fcn.1002fdb9
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret