Function at 0x1001412f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008018c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001457f
mov dword [ebp - 0x58], 0x38de
mov dword [ebp - 0x60], 0x10007a98
cmp dword [ebp - 0x58], 0x3ace
jle 0x100141ea
and dword [ebp - 0x24], 0
jmp 0x1001417e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5ff1
jge 0x100141e4
and dword [ebp - 0x2c], 0
jmp 0x10014194
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x5ab2
jge 0x100141e2
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
lea ecx, [ebp - 0xf0]
call fcn.1001098e
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
call fcn.100208b8
push eax
call fcn.1006abb3
pop ecx
lea ecx, [ebp - 0xf0]
call fcn.100208ae
jmp 0x1001418d
jmp 0x10014177
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea eax, [ebp + 0x10]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x58], 0x3500
jge 0x10014202
push dword [ebp - 0x60]
call fcn.1006abb3
pop ecx
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10014566
mov dword [ebp - 0xc4], 0x4a8b
mov dword [ebp - 0x40], 0x7f8f
mov dword [ebp - 0x74], 0x10007ad8
cmp dword [ebp - 0x40], 0x81a4
jle 0x100142c1
and dword [ebp - 0x18], 0
jmp 0x10014242
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2b6f
jge 0x100142b7
and dword [ebp - 0x1c], 0
jmp 0x10014258
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4959
jge 0x100142b5
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea ecx, [ebp - 0x108]
call fcn.1001098e
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.100208b8
push eax
call fcn.1006abb3
pop ecx
lea ecx, [ebp - 0x108]
call fcn.100208ae
jmp 0x10014251
jmp 0x1001423b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xd4], 0xfffffff8
cmp dword [ebp - 0x40], 0x7dc0
jge 0x100142dd
push dword [ebp - 0x74]
call fcn.1006abb3
pop ecx
mov dword [ebp - 0x50], 0x6cff
mov dword [ebp - 0x94], 0x10007b20
cmp dword [ebp - 0x50], 0x7059
jle 0x10014375
push 0
push 0
call dword [sym.imp.GDI32.dll_SetBkColor]
and dword [ebp - 0x20], 0
jmp 0x1001430e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1888
jge 0x10014375
and dword [ebp - 0x28], 0
jmp 0x10014324
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6c18
jge 0x10014373
and dword [ebp - 0x30], 0
jmp 0x1001433a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1081
jge 0x10014371
mov eax, dword [ebp - 0x20]
and eax, dword [ebp - 0x28]
or eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
mov ecx, 0x10085b58
call fcn.100208d8
jmp 0x10014333
jmp 0x1001431d
jmp 0x10014307
mov dword [ebp - 0x7c], 7
cmp dword [ebp - 0x50], 0x6cb4
jge 0x10014395
mov edx, dword [ebp - 0x94]
mov ecx, 0x10085b58
call fcn.10023628
mov dword [ebp - 0xb8], 0x1fc3eee
push 3
lea ecx, [ebp - 0xa0]
call fcn.10020bf2
and dword [ebp - 4], 0
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0xd8], 0x8963ec58
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xc0], 0xee24b2e8
push 1
lea ecx, [ebp - 0xd0]
call fcn.10020bf2
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0x16709e14
push 0
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x449b
push 0x719a
push 1
push 0x478e
call fcn.100193b6
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x10014423
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10014439
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xb4], 0xdbbe
jmp 0x1001441c
push 1
push 1
push 0x1ccd
push 0x7f53
push 0x337
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10013f59
add esp, 0x1c
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xb4]
inc eax
mov dword [ebp - 0x48], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0xb4], ecx
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x48], eax
je 0x10014491
mov dword [ebp - 0x38], 1
jmp 0x10014495
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xffffffff
jbe 0x100144a4
mov dword [ebp - 0x3c], 1
jmp 0x100144a8
and dword [ebp - 0x3c], 0
push 1
lea ecx, [ebp - 0xa0]
call fcn.10020c90
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xb4]
cmp dword [ebp - 0x34], eax
jle 0x100144db
mov dword [ebp - 0x44], 1
jmp 0x100144df
and dword [ebp - 0x44], 0
imul eax, dword [ebp - 0x44], 0x3671
cmp eax, 0xb5e4
jne 0x100144f6
mov dword [ebp - 0x4c], 1
jmp 0x100144fa
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0x38e5
jg 0x1001450c
mov dword [ebp - 0x54], 1
jmp 0x10014510
and dword [ebp - 0x54], 0
push 2
lea ecx, [ebp - 0xa0]
call fcn.10020c90
mov eax, dword [eax]
cmp eax, dword [ebp - 0x54]
je 0x1001452d
mov dword [ebp - 0x5c], 1
jmp 0x10014531
and dword [ebp - 0x5c], 0
mov esi, dword [ebp - 0x64]
add esi, dword [ebp - 0x5c]
push 2
lea ecx, [ebp - 0xa0]
call fcn.10020c90
mov dword [eax], esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.10020c74
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.10020c74
jmp 0x1001457d
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
push eax
push 0
push 0x21b
call fcn.10015b68
add esp, 0xc
jmp 0x1001459b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x70]
call fcn.10013f08
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret