Function at 0x40900e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x40938c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x48]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x409327
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x40924e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x4091b3
mov eax, 0xfffa
test eax, eax
je 0x4091b3
mov dword [ebp - 0x2c], 1
jmp 0x4091b7
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jne 0x4091ca
mov dword [ebp - 0x3c], 1
jmp 0x4091ce
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jl 0x4091e1
mov dword [ebp - 0x20], 1
jmp 0x4091e5
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
imul eax, dword [ecx]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
je 0x409208
mov dword [ebp - 0x4c], 1
jmp 0x40920c
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xb83d
jle 0x40921e
mov dword [ebp - 0x34], 1
jmp 0x409222
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 5
jbe 0x409231
mov dword [ebp - 0x6c], 1
jmp 0x409235
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
je 0x40924e
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x40924e
mov dword [ebp - 0x44], 1
jmp 0x409252
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
push 2
mov ecx, dword [ebp - 0x84]
call fcn.00416f95
cmp dword [eax], 0xa862
jge 0x409278
mov dword [ebp - 0x24], 1
jmp 0x40927c
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jle 0x40928f
mov dword [ebp - 0x28], 1
jmp 0x409293
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
dec eax
cmp eax, 0x784865e5
jne 0x4092a7
mov dword [ebp - 0x38], 1
jmp 0x4092ab
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jne 0x4092c8
mov dword [ebp - 0x40], 1
jmp 0x4092cc
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [eax]
jne 0x4092ef
mov eax, dword [ebp - 0x8c]
cmp dword [eax], 0
jne 0x4092ef
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x4092ef
and dword [ebp - 0x1c], 0
jmp 0x4092f6
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [ebp - 0x1c], 0x38cf49c
jl 0x409310
mov dword [ebp - 0x50], 1
jmp 0x409314
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
imul eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x94]
mov dword [ecx], eax
jmp 0x40938a
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x40936a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x40938a
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0xbc]
call fcn.00416f95
mov dword [eax], 0xf72d4ea6
jmp 0x40935f
jmp 0x4093fb
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xcc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
je 0x4093bf
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4093bd
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x4093fb
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x4093fb
push 0
push 0x1eb5
push 0x19c1
push 0x1340
call dword [sym.imp.GDI32.dll_GetDIBColorTable]
mov esp, ebp
pop ebp
ret