Function at 0x100011bc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, edx
push esi
push edi
mov dword [ebp - 0x2c], ebx
cmp byte [ebx], 0x50
jne 0x10001993
cmp byte [ebx + 1], 0x4b
jne 0x10001993
push 4
lea ecx, [ebp - 0x7c]
call fcn.1000199f
xor eax, eax
mov dword [ebp - 0x14], 0xe1e87df2
mov dword [ebp - 4], eax
jmp 0x10001204
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + edx*4], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x100011f8
push 3
mov dword [ebp - 0x14], eax
pop esi
jmp 0x10001246
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x7c]
cmp dword [edx + ecx*4], eax
jne 0x1000124e
mov dword [ebp - 4], eax
jmp 0x1000123e
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x1000123b
push eax
call dword [sym.imp.USER32.dll_CharNextW]
xor eax, eax
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jle 0x10001229
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jle 0x10001212
mov edx, dword [ebp - 0x7c]
test edx, edx
je 0x10001267
push edx
call fcn.10048a74
xor esi, esi
pop ecx
push 3
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
pop esi
mov cl, byte [ebx + 3]
movzx edi, byte [ebx + 2]
mov byte [ebp - 0xd], cl
add edi, 4
push 2
lea ecx, [ebp - 0x88]
call fcn.1000199f
mov dword [ebp - 0x20], 0xf7a73d2d
xor eax, eax
mov dword [ebp - 0x34], 0xbd4dfbd6
mov dword [ebp - 0xc], eax
jmp 0x100012a5
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x88]
mov dword [ecx + edx*4], esi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x10001296
mov dword [ebp - 0xc], eax
jmp 0x100012bd
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x10c], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x100012b0
inc dword [ebp - 0x20]
cmp dword [ebp - 0x88], eax
je 0x100012ea
push dword [ebp - 0x88]
call fcn.10048a74
xor eax, eax
pop ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
add ebx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], eax
jmp 0x10001309
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x60], 0xf054a20a
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x100012fb
mov dword [ebp - 4], 0xb
jmp 0x1000146d
mov dword [ebp - 8], eax
mov dword [ebp - 8], eax
jmp 0x10001460
push 4
lea ecx, [ebp - 0x94]
call fcn.1000199f
xor eax, eax
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x18], eax
jmp 0x10001354
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x94]
mov dword [ecx + edx*4], 8
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x10001341
mov esi, dword [ebp - 0x94]
or dword [esi + 0xc], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], eax
jl 0x10001430
mov dword [ebp - 0xc], 0xb00868bb
mov dword [ebp - 0xc], eax
jmp 0x100013bd
mov dword [ebp - 0x14], 0xfffffff6
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], eax
jl 0x100013a9
mov ecx, dword [ebp - 0xc]
cmp dword [ebp + ecx*4 - 0x60], eax
jne 0x100013a9
dec dword [ebp - 0x14]
jns 0x1000139b
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + ecx*4 - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x60], edx
xor ecx, ecx
inc dword [ebp - 0xc]
inc ecx
cmp dword [ebp - 0xc], ecx
jle 0x1000138c
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], eax
jl 0x10001427
mov dword [ebp - 0x14], 0xd13d8c53
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], eax
jmp 0x100013f6
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x100013f3
push eax
push 0xbc1
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
xor ecx, ecx
xor eax, eax
inc ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jle 0x100013d9
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], eax
jl 0x10001422
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov ecx, dword [ebp + ecx*4 - 0x60]
test ecx, ecx
setne dl
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
dec dword [ebp - 0x14]
jns 0x10001403
xor ecx, ecx
inc ecx
dec dword [ebp - 0xc]
jns 0x100013ca
dec dword [ebp - 0x18]
jns 0x10001380
inc dword [esi + 0xc]
cmp dword [esi + 0xc], 7
jl 0x10001364
push dword [ebp - 0x94]
call fcn.10048a74
xor eax, eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
inc dword [ebp - 8]
pop ecx
cmp dword [ebp - 8], 0x18
jle 0x10001326
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1b
jl 0x1000131b
push 2
lea ecx, [ebp - 0xac]
add edi, 0x18
call fcn.1000199f
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 8], esi
jmp 0x100014a4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xac]
mov dword [eax + ecx*4], 0xfffffff7
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x10001491
mov eax, dword [ebp - 0xac]
push eax
mov dword [eax + 4], 0xffffffe6
call fcn.10048a74
movzx eax, byte [ebp - 0xd]
pop ecx
push 2
lea ecx, [ebp - 0x58]
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
add edi, eax
mov dword [ebp - 0xa4], esi
call fcn.1000199f
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x100014f7
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x58]
mov dword [ecx + edx*4], 0x55bb2c21
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 2
jl 0x100014e7
mov dword [ebp - 0xc], eax
jmp 0x1000150f
mov ecx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0xcc], eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x10001502
xor esi, esi
inc esi
mov dword [ebp - 0xc4], esi
cmp dword [ebp - 0xc4], eax
jl 0x10001597
mov dword [ebp - 8], 0xfffffffc
mov dword [ebp - 8], eax
jmp 0x10001565
mov dword [ebp - 4], esi
mov dword [ebp - 4], eax
jmp 0x1000154a
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x58]
mov dword [ecx + edx*4], 0x358bd4df
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x1000153a
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x10001562
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor eax, eax
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jle 0x10001532
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x1000158f
push 0x24ee
push 0x4b8
push 0x1703
push 0x1111
call dword [sym.imp.USER32.dll_CheckRadioButton]
xor eax, eax
dec dword [ebp - 0xc4]
jns 0x10001526
cmp dword [ebp - 0x58], 0
je 0x100015b3
push dword [ebp - 0x58]
call fcn.10048a74
xor esi, esi
pop ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
jmp 0x100015b5
xor esi, esi
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx]
call fcn.100011b0
push dword [ebp - 0x34]
movdqa xmm0, xmmword [0x1006e720]
lea ecx, [ebp - 0x48]
mov ebx, eax
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x2c]
add eax, edi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x40], esi
push eax
push esi
movdqu xmmword [ebp - 0xf4], xmm0
call fcn.10001ac3
mov dword [ebp - 8], 0xd4081c29
xor esi, esi
mov dword [ebp - 0x28], 0x562b994b
inc esi
mov dword [ebp - 0x28], esi
xor eax, eax
mov dword [ebp - 4], esi
push 3
mov dword [ebp - 8], eax
pop edi
cmp dword [ebp - 8], edi
jg 0x10001646
push 7
pop ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], ecx
inc dword [ebp - 4]
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jle 0x10001623
cmp dword [ebp - 0x48], eax
je 0x1000165f
push dword [ebp - 0x48]
call fcn.10048a74
xor eax, eax
pop ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xfffffffc
mov dword [ebp - 8], eax
jmp 0x1000167c
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xe4], 0xf0ea
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x1000166b
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x100016a3
push eax
push 0x3bd
push 0x9f3
push 0x4bb
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100016b7
mov ecx, dword [ebp - 4]
cmp dword [ebp + ecx*4 - 0xe4], eax
jne 0x100016bc
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jle 0x100016a8
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [ebp - 0x28], 0x2799ac78
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x100016db
push eax
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor eax, eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x100016ee
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
xor eax, eax
mov dword [ebp - 0x28], esi
mov ecx, 0xa4ee
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x3638ecf5
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x18], 8
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0x477a
mov dword [ebp - 4], 0x5618d7c5
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], ecx
shr ebx, 2
mov dword [ebp - 0xb4], ecx
inc ebx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], eax
jmp 0x10001761
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x100], 9
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x10001750
dec dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x11
jne 0x10001835
mov dword [ebp - 0x14], 0x630de2fd
mov dword [ebp - 8], eax
jmp 0x10001790
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x4c], 0x46406ccc
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x10001782
mov dword [ebp - 8], 6
jmp 0x1000181b
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], 0xf4914d86
cmp dword [ebp - 0xc], eax
jne 0x10001825
mov esi, dword [ebp - 0x100]
mov ecx, eax
imul ecx, ecx, 0x6b35
neg ecx
sbb ecx, ecx
neg ecx
cmp ecx, 0xc76bf08e
sbb ecx, ecx
xor edx, edx
neg ecx
sub esi, ecx
mov ecx, dword [ebp - 0x28]
cmp esi, ecx
setl dl
xor ecx, ecx
cmp edx, 0xfffffffe
setge cl
xor edx, edx
cmp ecx, 0xde68
setne dl
sub edx, dword [ebp - 4]
jne 0x100017f6
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ebx, ebx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
cmp ecx, edx
push 1
setne bl
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
dec dword [ebp - 8]
pop esi
cmp dword [ebp - 8], 0xfffffff7
jge 0x1000179e
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x11
je 0x10001776
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov edi, eax
mov ecx, dword [edx]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0xd8], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0xd0], ecx
test ebx, ebx
je 0x10001998
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0x2c], eax
or eax, 0xffffffff
mov dword [ebp - 8], 0x9a97
mov dword [ebp - 0x70], eax
lea ecx, [ebp - 0xa0]
push 2
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
pop ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0x9adb8213
push ebx
call fcn.1000199f
mov dword [ebp - 0xc], esi
jmp 0x100018af
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x3c], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jl 0x100018a1
mov dword [ebp - 0xc], esi
jmp 0x100018cc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xa0]
mov dword [eax + ecx*4], 0x32e26595
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jl 0x100018b9
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp - 0x64]
cmp ecx, eax
setg dl
xor ebx, ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x64]
sub ecx, eax
mov eax, dword [ebp - 0x64]
imul edx, ecx
mov ecx, dword [ebp - 0x3c]
cmp edx, eax
mov eax, dword [ebp - 0x64]
setl bl
xor edx, edx
sub ecx, ebx
cmp ecx, eax
mov eax, dword [ebp - 8]
setl dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 8]
setge cl
xor edx, edx
cmp ecx, eax
setle dl
xor ebx, ebx
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
cmp eax, edx
mov eax, dword [ebp - 0x3c]
setle bl
xor ecx, ecx
cmp eax, ebx
mov eax, dword [ebp - 0x6c]
setle cl
add eax, ecx
jne 0x1000193d
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xa0]
push eax
mov dword [eax], 0xa98ceef9
call fcn.10048a74
mov ebx, dword [ebp - 0x20]
mov edx, edi
and edx, 3
mov dword [ebp - 0xa0], esi
pop ecx
mov dword [ebp - 0x9c], esi
mov ecx, dword [ebx]
mov edx, dword [ebp + edx*4 - 0xdc]
mov dword [ebp - 0x98], esi
call fcn.100011b0
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + ecx], eax
add ebx, 4
inc edi
mov dword [ebp - 0x20], ebx
cmp edi, dword [ebp - 0x30]
jb 0x10001870
jmp 0x10001998
mov eax, dword [ebp + 8]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret