Function at 0x1002973c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fd72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100297fe
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x100297ae
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x100297ac
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x100297f9
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x100297dc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x100297f9
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x4c]
call fcn.1002e222
mov dword [eax], 0xfffffff7
jmp 0x100297d1
jmp 0x1002992b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0x4751
mov dword [ebp - 0x5c], 0x10009c68
cmp dword [ebp - 0x28], 0x4a96
jle 0x100298d5
and dword [ebp - 0x18], 0
jmp 0x10029832
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5c4e
jge 0x100298d5
and dword [ebp - 0x1c], 0
jmp 0x1002984c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3803
jge 0x100298d0
and dword [ebp - 0x20], 0
jmp 0x10029862
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6429
jge 0x100298cb
and dword [ebp - 0x24], 0
jmp 0x10029878
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1556
jge 0x100298c9
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sar esi, cl
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x24]
mov ecx, edx
shl esi, cl
mov eax, esi
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
push dword [ebp - 0x60]
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.1000d7c0
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.1002e04f
push eax
call fcn.1004a056
pop ecx
lea ecx, [ebp - 0x7c]
call fcn.1002e045
jmp 0x10029871
jmp 0x1002985b
jmp 0x10029845
jmp 0x1002982b
push dword [ebp - 0x54]
push 0x1183
push 0x1de
push dword [ebp - 0x58]
push 1
call fcn.10017d13
add esp, 0x14
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x43cd
jge 0x10029905
push dword [ebp - 0x5c]
call fcn.1004a056
pop ecx
jmp 0x10029921
or dword [ebp - 4], 0xffffffff
jmp 0x1002992b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret