Function at 0x1002b233
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002b378
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], 0x7c2
mov dword [ebp - 0x9c], 0x10009828
cmp dword [ebp - 0x2c], 0x9ad
jle 0x1002b34c
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_GetCharWidthW]
and dword [ebp - 0x28], 0
jmp 0x1002b288
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x391c
jge 0x1002b344
and dword [ebp - 0x24], 0
jmp 0x1002b2a2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4605
jge 0x1002b33f
and dword [ebp - 0x14], 0
jmp 0x1002b2bc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2ea8
jge 0x1002b33a
and dword [ebp - 0x20], 0
jmp 0x1002b2d2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x72d7
jge 0x1002b335
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
shl eax, cl
cdq
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xd8]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0xd8]
call fcn.1002281d
jmp 0x1002b2cb
jmp 0x1002b2b5
jmp 0x1002b29b
jmp 0x1002b281
push 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push 1
push dword [ebp - 0x44]
push 0x762c
call fcn.1002b627
add esp, 0xc
cmp dword [ebp - 0x2c], 0x684
jge 0x1002b373
push dword [ebp - 0x9c]
call fcn.10077843
pop ecx
jmp 0x1002b622
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1002b54c
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x34], 0x59ec
mov dword [ebp - 0x74], 0x10009870
cmp dword [ebp - 0x34], 0x5c62
jle 0x1002b4a9
push 0
push 0
call dword [sym.imp.GDI32.dll_SetTextColor]
and dword [ebp - 0xc], 0
jmp 0x1002b436
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x4a3f
jge 0x1002b49f
and dword [ebp - 0x1c], 0
jmp 0x1002b44c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2bb3
jge 0x1002b49d
and dword [ebp - 8], 0
jmp 0x1002b462
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x72e9
jge 0x1002b49b
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
shl eax, cl
cdq
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], edx
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1002b45b
jmp 0x1002b445
jmp 0x1002b42f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x34], 0x5882
jge 0x1002b4c8
mov edx, dword [ebp - 0x74]
mov ecx, 0x10092b78
call fcn.10025597
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002b4f3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jg 0x1002b547
push 0x489e
push dword [ebp - 0x48]
push 1
push 0
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push 1
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push 0x72de
push dword [ebp - 4]
push 0x334f
call fcn.10028345
add esp, 0x30
push 0x2575
push 0x1e6f
push 0
push 0x1b69
push 1
call fcn.10029193
add esp, 0x14
jmp 0x1002b4e8
jmp 0x1002b622
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x38], 0x53ac
mov dword [ebp - 0x98], 0x100098d4
cmp dword [ebp - 0x38], 0x56eb
jle 0x1002b5e8
and dword [ebp - 0x10], 0
jmp 0x1002b594
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1ca0
jge 0x1002b5e2
and dword [ebp - 0x18], 0
jmp 0x1002b5aa
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2e15
jge 0x1002b5e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
sar eax, cl
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1002b5a3
jmp 0x1002b58d
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
imul esi, dword [eax], 0xa
mov ecx, dword [ebp - 0x90]
call fcn.100236bd
movsx eax, byte [eax]
lea eax, [esi + eax - 0x30]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
mov dword [ecx], eax
cmp dword [ebp - 0x38], 0x519c
jge 0x1002b622
mov edx, dword [ebp - 0x98]
mov ecx, 0x10092b78
call fcn.10025597
pop esi
mov esp, ebp
pop ebp
ret