Function at 0x1001c12a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], edx
push edi
test cl, cl
je 0x1001c24f
mov dword [ebp - 0x1c], 0xffffffff
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x1c], 0x57e8b72f
mov dword [ebp - 0x1c], 0x2edc7555
mov dword [ebp - 0x1c], 0x9ac196a1
mov dword [ebp - 0x1c], 0x14173bf3
mov dword [ebp - 4], ebx
jmp 0x1001c182
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x8c], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001c171
push 4
mov dword [ebp - 4], ebx
pop edi
jmp 0x1001c1a0
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x9c], 0x8bffbefa
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x1001c18f
dec dword [ebp - 0x90]
mov dword [ebp - 0xc], 0x4e94f934
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 2
mov dword [ebp - 4], ebx
jmp 0x1001c1cf
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x50], 0x89a9
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001c1c1
mov dword [ebp - 4], ebx
jmp 0x1001c1e6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xa8], ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x1001c1d9
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
push ebx
setl dl
cmp edx, 0x8e1b8814
sbb eax, eax
xor edx, edx
neg eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
setne dl
xor ecx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, 0x126c
setge cl
imul ecx, dword [ebp - 0x50]
mov dword [ebp - 0xa0], ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x1001c78c
push 1
pop esi
mov dword [ebp - 4], 0x5d6c05ba
push 3
mov dword [ebp - 0x14], 0xfffffffb
mov dword [ebp - 4], ebx
pop edi
jmp 0x1001c2fd
mov dword [ebp - 0xc], ebx
jmp 0x1001c27e
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x2c], 0x3c6fe23a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x1001c270
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 4], ebx
jne 0x1001c291
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x2c], esi
jl 0x1001c2f5
mov dword [ebp - 0xc], 0x2d50fa8f
mov ecx, esi
mov dword [ebp - 0x10], 0x550e3526
mov dword [ebp - 0x28], 0xbb08
cmp dword [ebp - 4], ebx
jne 0x1001c2d0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
inc eax
sub eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
inc eax
cmp ecx, eax
jg 0x1001c2e6
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp eax, esi
setl cl
mov dword [ebp - 0x10], ecx
jmp 0x1001c2fa
cmp dword [ebp - 0x28], ebx
jne 0x1001c307
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffe6
jge 0x1001c26b
mov byte [ebp - 5], bl
cmp byte [ebp - 5], bl
je 0x1001c316
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0xfffffff8
mov byte [ebp - 5], bl
cmp byte [ebp - 5], bl
je 0x1001c331
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], ebx
jmp 0x1001c3b1
mov dword [ebp - 0x18], 0x32fd2d1a
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
cmp dword [ebp - 4], ebx
jne 0x1001c34e
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, 0xfffffffd
setg cl
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 4], ebx
je 0x1001c38b
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], 0x6d5d64f6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], ebx
je 0x1001c3a2
mov dword [ebp - 0x10], 0xaedf47f2
jmp 0x1001c3a9
mov dword [ebp - 0x10], 0xafca8629
cmp dword [ebp - 0x10], ebx
jne 0x1001c3bb
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffff5
jne 0x1001c336
mov dword [ebp - 0x10], ebx
mov eax, 0x51c3
mov dword [ebp - 0x10], 0x20398070
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], 0x974b666a
mov dword [ebp - 0x10], 0x9a92
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
push 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xc], ebx
pop edi
jmp 0x1001c3fc
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xe8], ebx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x1001c3ef
inc dword [ebp - 0x5c]
mov byte [ebp - 5], bl
cmp byte [ebp - 5], bl
je 0x1001c42f
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0xb7
push 0x49e
push 0x1c49
push 0x1e61
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov eax, dword [ebp - 0x1c]
mov dword [eax], ebx
cmp dword [eax], esi
jg 0x1001c692
mov eax, 0x4e401d93
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0xc], 0x68ab8ac2
mov dword [ebp - 0xc], ebx
jmp 0x1001c480
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0xb4], 9
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jl 0x1001c46f
mov eax, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 4]
cmp eax, 0xffffffff
mov eax, dword [ebp - 4]
setle cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 4]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 0x15bb
setle al
xor edx, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
cmp eax, ecx
mov eax, dword [ebp - 0x4c]
setle dl
add eax, edx
je 0x1001c567
cmp dword [ebp - 0x48], ebx
je 0x1001c567
mov dword [ebp - 0x10], 0x88ad
mov eax, 0x14be495e
mov dword [ebp - 0x18], 0x8c74c3ee
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 5], bl
cmp byte [ebp - 5], bl
je 0x1001c529
push ebx
push 0x1cae
push 0x1315
push 0x7e1
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x14], 9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, 0xa8d6e859
setg dl
cmp eax, edx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x1001c5ba
mov dword [ebp - 0xc], ebx
jmp 0x1001c59f
cmp byte [ebp - 5], bl
je 0x1001c588
push ebx
push 0x2474
push ebx
push 0xad1
push 0x4a0
call dword [sym.imp.GDI32.dll_ExtCreatePen]
mov byte [ebp - 5], bl
cmp byte [ebp - 5], bl
je 0x1001c59c
push 0x299
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
mov byte [ebp - 5], bl
jle 0x1001c56c
cmp byte [ebp - 5], bl
je 0x1001c5ba
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov dword [ebp - 0x14], 0xc03342eb
mov dword [ebp - 0x10], 0xfffffffd
mov dword [ebp - 0x10], 0xfffffffc
mov dword [ebp - 0x10], 0xc1e1
mov dword [ebp - 4], ebx
jmp 0x1001c5ec
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xf8], 0x7ab89bdd
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x1001c5db
mov dword [ebp - 4], ebx
jmp 0x1001c607
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xd8], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x1001c5f6
mov dword [ebp - 0x14], ebx
jmp 0x1001c677
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], ebx
jmp 0x1001c631
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x108], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x1001c620
mov dword [ebp - 4], ebx
jmp 0x1001c64c
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xc0], 0x7ae2718b
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x1001c63b
mov dword [ebp - 0xc], ebx
jmp 0x1001c665
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x78], 0xae88b149
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x1001c657
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0xbc]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 6
jge 0x1001c612
mov eax, dword [ebp - 0x1c]
dec dword [ebp - 0x68]
inc dword [eax]
cmp dword [eax], esi
mov eax, 0x4e401d93
jle 0x1001c441
mov dword [ebp - 0x1c], 0x3edb
mov dword [ebp - 0x14], 0x19c2
mov dword [ebp - 0x18], 0x1efae07d
push 0xfffffffffffffff9
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ebx
jmp 0x1001c6d6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x20], 0x26595ad3
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001c6c8
mov dword [ebp - 4], ebx
jmp 0x1001c6f1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xd0], 0x2a7fad54
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x1001c6e0
imul eax, dword [ebp - 0x1c], 0xfffffff8
cmp eax, esi
ja 0x1001c704
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
cmp eax, esi
setl cl
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x14]
cmp eax, 0xa9864ba8
mov eax, dword [ebp - 0x3c]
sbb ecx, ecx
xor edx, edx
neg ecx
sub ecx, eax
mov eax, dword [ebp - 0x3c]
sub ecx, eax
mov eax, dword [ebp - 0x30]
imul ecx, ecx, 0xe213
cmp ecx, eax
setne dl
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xcc], ebx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
neg ecx
sbb ecx, ecx
neg ecx
sub ecx, eax
cmp ecx, dword [ebp - 0x3c]
jle 0x1001c76b
cmp dword [ebp - 0x10], ebx
je 0x1001c770
cmp dword [ebp - 0x20], ebx
jne 0x1001c772
mov esi, ebx
mov eax, 0xdb3fa3ce
cmp eax, esi
mov eax, dword [ebp - 0x10]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setne dl
sub edx, dword [ebp - 0x38]
mov dword [ebp - 0xc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret