Function at 0x45d033
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
push edi
push 3
pop edi
mov dword [ebp - 0x38], ecx
xor ebx, ebx
mov dword [ebp - 0x14], 0x1dfe4b28
lea ecx, [ebp - 0x34]
push edi
mov dword [ebp - 0x28], ebx
call fcn.0042ec30
xor esi, esi
lea ecx, [ebp - 0x50]
inc esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], 9
push esi
call fcn.0042ec30
push 2
lea ecx, [ebp - 0x44]
call fcn.0042ec30
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x10], 0xfffffffa
mov dword [ebp - 8], edi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0x3e1243b3
mov dword [ebp - 0x28], 0x38a8
mov dword [ebp - 8], ebx
jmp 0x45d0b1
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
mov dword [eax + ecx*4], 0x4ed383de
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x45d0a1
mov dword [ebp - 8], ebx
jmp 0x45d0cb
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x50]
mov dword [eax + ecx*4], 0x75e3aa9c
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x45d0bb
mov dword [ebp - 8], ebx
jmp 0x45d0e5
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x44]
mov dword [eax + ecx*4], 0x6007675e
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x45d0d5
push 6
pop edx
cmp dword [ebp - 0x14], ebx
jne 0x45d132
mov eax, ebx
cmp edx, eax
sbb eax, eax
inc eax
imul eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
test eax, eax
jne 0x45d10c
mov edx, ebx
cmp dword [ecx + 8], ebx
je 0x45d10e
mov edx, esi
xor eax, eax
cmp edx, dword [ecx]
setg al
imul eax, dword [ecx + 8]
test eax, eax
je 0x45d129
cmp dword [ecx + 4], ebx
je 0x45d129
mov eax, esi
cmp dword [ebp - 0x14], ebx
jne 0x45d12b
mov eax, ebx
mov dword [ebp - 0x18], eax
mov ecx, ebx
jmp 0x45d134
mov ecx, esi
mov eax, dword [ebp - 0x50]
xor edx, edx
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov eax, dword [eax]
add eax, 0xe3a5207f
add ecx, eax
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x34]
setge dl
xor ecx, ecx
cmp edx, dword [eax + 4]
mov eax, dword [ebp - 0x50]
setle cl
imul ecx, dword [eax]
test ecx, ecx
je 0x45d17b
xor ecx, ecx
mov byte [ebp - 1], cl
cmp byte [ebp - 1], cl
je 0x45d1cf
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor ecx, ecx
jmp 0x45d1cf
xor ecx, ecx
mov dword [ebp - 0x14], ecx
jmp 0x45d18c
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x78], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x45d182
mov byte [ebp - 1], cl
cmp byte [ebp - 1], cl
je 0x45d1b1
push ecx
push ecx
push 0x570
push 0x881
call ebx
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ecx, ecx
cmp dword [ebp - 0x78], ecx
je 0x45d1c9
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x74], ecx
jne 0x45d1c9
mov eax, dword [ebp - 0x44]
mov dword [eax], esi
mov eax, dword [ebp - 0x78]
mov eax, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x34]
cmp dword [edi + 8], ecx
je 0x45d1de
mov edx, esi
cmp dword [ebp - 0xc], ecx
jne 0x45d1e0
mov edx, ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax + 4], ecx
jne 0x45d1f7
cmp dword [ebp - 0x1c], ecx
je 0x45d1f0
mov eax, dword [ebp - 0x10]
mov eax, ecx
cmp dword [ebp - 0x10], ecx
je 0x45d1f9
mov eax, esi
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ecx
jne 0x45d20a
mov eax, dword [ebp - 0x34]
cmp dword [eax], ecx
mov eax, ecx
je 0x45d20c
mov eax, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffe
add eax, edx
cmp eax, ecx
jg 0x45d234
test ecx, ecx
jne 0x45d234
xor eax, eax
jmp 0x45d236
mov eax, esi
mov esi, dword [ebp - 0x44]
cmp eax, dword [esi]
jg 0x45d247
cmp dword [esi], 0
je 0x45d247
xor ecx, ecx
inc ecx
jmp 0x45d249
xor ecx, ecx
xor eax, eax
cmp ecx, 0xfbb2
setl al
sub eax, 0xddf8
je 0x45d261
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
xor eax, eax
cmp edx, dword [esi]
sete al
xor ecx, ecx
cmp eax, dword [esi]
setne cl
xor eax, eax
cmp ecx, edx
setne al
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], ecx
je 0x45d2f7
mov dword [ebp - 0xc], 0x35acb962
xor edi, edi
mov dword [ebp - 0x1c], 0xffffffff
inc edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
cmp dword [eax], ecx
je 0x45d2b6
mov eax, edi
cmp dword [ebp - 0x10], ecx
jne 0x45d2b8
mov eax, ecx
mov dword [ebp - 8], 0xffffffff
xor edx, edx
mov ecx, dword [ebp - 0x28]
imul ecx, eax
sub ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
setle dl
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
jmp 0x45d314
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp dword [edi + 8], eax
sete cl
xor edi, edi
mov dword [ebp - 0x10], ecx
inc edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x44]
call fcn.0042ed02
lea ecx, [ebp - 0x50]
call fcn.0042ed02
lea ecx, [ebp - 0x34]
call fcn.0042ed02
mov esi, dword [ebp - 0x38]
push esi
push 0x4a73
push 0x5bb7
push edi
push edi
push 0x6544
push 0x2459
push edi
push edi
call fcn.00452251
movdqa xmm0, xmmword [0xa91670]
lea eax, [ebp - 0x90]
add esp, 0x24
mov dword [ebp - 0x14], 0x7c87
mov dword [ebp - 8], 0xffffffff
lea ecx, [ebp - 0xa8]
movdqu xmmword [ebp - 0xa0], xmm0
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0042ed30
push ecx
lea ecx, [ebp - 0x90]
push dword [eax + 4]
push dword [eax]
call fcn.0042ecdc
mov dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp - 0x5c]
push edi
call fcn.0042ec30
mov dword [ebp - 0x18], 0xf0b53cf5
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
jmp 0x45d3da
push dword [ebp - 0x10]
lea ecx, [ebp - 0x5c]
call fcn.0042ed1e
mov dword [eax], 0xfffffff7
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x45d3c6
cmp dword [ebp - 0x14], 0
je 0x45d3eb
dec dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push edi
lea ecx, [ebp - 0x90]
call fcn.0042ed1e
mov ecx, dword [ebp - 8]
mov edi, eax
xor edx, edx
cmp dword [edi], ecx
setg dl
imul ecx, edx, 0xf89
mov dword [edi], edx
cmp ecx, dword [ebp - 8]
jne 0x45d543
mov dword [ebp - 0x24], 4
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x10], 0x4acc0136
mov dword [ebp - 0x20], 0x3da550e8
mov dword [ebp - 0x28], 0xb6f85a06
push 1
call fcn.0042ec30
xor esi, esi
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x10], esi
jmp 0x45d45e
push dword [ebp - 0x10]
lea ecx, [ebp - 0x84]
call fcn.0042ed1e
mov dword [eax], esi
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 1
jl 0x45d44b
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
dec dword [ebp - 0x18]
cmp ecx, eax
je 0x45d48f
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 8]
cmp ecx, eax
setne dl
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 8]
je 0x45d48c
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
push esi
call fcn.0042ed1e
push esi
lea ecx, [ebp - 0x84]
inc dword [eax]
call fcn.0042ed1e
mov ecx, dword [ebp - 0x1c]
mov esi, eax
xor eax, eax
push 6
cmp ecx, dword [esi]
mov ecx, dword [ebp - 8]
setl al
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 8]
setge dl
xor ecx, ecx
cmp edx, dword [edi]
setle cl
xor edx, edx
imul eax, ecx
cmp eax, dword [esi]
mov eax, dword [ebp - 0x24]
setle dl
xor ecx, ecx
cmp eax, edx
setle cl
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
neg ecx
pop eax
sbb ecx, ecx
inc ecx
cmp eax, ecx
sbb eax, eax
xor edx, edx
inc eax
imul ecx, eax, 0xfffffff6
mov eax, dword [ebp - 0x24]
cmp eax, ecx
setg dl
inc edx
neg edx
sbb edx, edx
inc edx
mov dword [esi], edx
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 0
je 0x45d533
push 0xffa
push 0x25dc
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea ecx, [ebp - 0x84]
call fcn.0042ed02
mov esi, dword [ebp - 0x38]
jmp 0x45d564
xor eax, eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], al
je 0x45d564
push eax
push 0xc09
push eax
push 0x3b5
push 0x1432
call dword [sym.imp.GDI32.dll_ExtCreatePen]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 8], 0xfffffffb
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, 0xa128
push 0
setge cl
imul ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x5c]
call fcn.0042ed1e
mov edx, dword [ebp - 0x24]
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
setne bl
add ebx, dword [eax]
jne 0x45d5ae
cmp dword [edi], ebx
jne 0x45d5b0
mov eax, ebx
jmp 0x45d5b3
xor ebx, ebx
xor eax, eax
inc eax
lea ecx, [ebp - 0x5c]
mov dword [edi], eax
call fcn.0042ed02
lea ecx, [ebp - 0x90]
call fcn.0042ed02
push esi
call fcn.0042bd2d
pop ecx
push 1
lea ecx, [ebp - 0x68]
mov edi, eax
call fcn.0042ec30
mov dword [ebp - 0xc], 0x60b4ffb8
mov dword [ebp - 0xc], ebx
jmp 0x45d5fb
push dword [ebp - 0xc]
lea ecx, [ebp - 0x68]
call fcn.0042ed1e
mov dword [eax], 0xfffc
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 1
jl 0x45d5e7
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x45d611
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], ebx
jl 0x45d63a
push dword [ebp - 0xc]
lea ecx, [ebp - 0x68]
call fcn.0042ed1e
push dword [ebp - 0xc]
lea ecx, [ebp - 0x68]
mov esi, eax
call fcn.0042ed1e
mov ecx, dword [esi]
mov dword [eax], ecx
dec dword [ebp - 0xc]
jns 0x45d619
lea ecx, [ebp - 0x68]
call fcn.0042ed02
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret