Function at 0x1002319e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002333a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
movzx eax, byte [eax]
test eax, eax
je 0x100231de
push 0
push 0
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
jmp 0x10023335
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x10023206
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x12
jg 0x10023335
mov byte [ebp - 2], 0
mov dword [ebp - 0x3c], 0x6b06
mov dword [ebp - 0xb0], 0x10007ef8
cmp dword [ebp - 0x3c], 0x6db2
jle 0x1002330d
and dword [ebp - 0x24], 0
jmp 0x10023241
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x56f2
jge 0x1002330d
and dword [ebp - 0x10], 0
jmp 0x1002325b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x5d8d
jge 0x10023308
and dword [ebp - 0x2c], 0
jmp 0x10023275
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x5eb
jge 0x10023303
and dword [ebp - 0x14], 0
jmp 0x1002328f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xb3
jge 0x100232fe
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x10]
mov eax, edx
cdq
idiv dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0xc0], ax
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
lea ecx, [ebp - 0xf4]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xf4]
call fcn.100252df
jmp 0x10023288
jmp 0x1002326e
jmp 0x10023254
jmp 0x1002323a
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1002331b
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
cmp dword [ebp - 0x3c], 0x6897
jge 0x10023330
push dword [ebp - 0xb0]
call fcn.1008287d
pop ecx
jmp 0x100231fb
jmp 0x1002366e
lea eax, [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x34], 0x3da5
mov dword [ebp - 0xac], 0x10007f20
cmp dword [ebp - 0x34], 0x3fae
jle 0x10023422
and dword [ebp - 0x18], 0
jmp 0x100233a1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1397
jge 0x10023422
and dword [ebp - 0x20], 0
jmp 0x100233b7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x62c3
jge 0x1002341d
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd8], eax
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x10c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.100252df
jmp 0x100233b0
jmp 0x1002339a
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10023631
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
inc eax
cmp eax, 1
jne 0x100234cb
mov dword [ebp - 0x44], 1
jmp 0x100234cf
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
jne 0x100234e8
mov eax, 0xd3c5
test eax, eax
jne 0x100234e8
and dword [ebp - 0x64], 0
jmp 0x100234ef
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x64]
je 0x10023502
mov dword [ebp - 0x28], 1
jmp 0x10023506
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
cmp dword [ebp - 0x28], 0xffffffff
jle 0x10023528
mov dword [ebp - 0x4c], 1
jmp 0x1002352c
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0x9f111191
ja 0x1002353e
mov dword [ebp - 0x5c], 1
jmp 0x10023542
and dword [ebp - 0x5c], 0
push 2
mov ecx, dword [ebp - 0xc]
call fcn.10025597
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [eax]
jg 0x1002355c
mov dword [ebp - 0x38], 1
jmp 0x10023560
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xfffffffa
jb 0x1002356f
mov dword [ebp - 0x40], 1
jmp 0x10023573
and dword [ebp - 0x40], 0
push 2
mov ecx, dword [ebp - 0xc]
call fcn.10025597
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax]
jge 0x10023595
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10023595
mov dword [ebp - 0x48], 1
jmp 0x10023599
and dword [ebp - 0x48], 0
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10025597
mov ecx, dword [ebp - 0x48]
sub ecx, dword [eax]
je 0x100235b3
mov eax, 0x8a9a2627
test eax, eax
jne 0x100235be
or eax, 0xffffffff
jne 0x100235be
and dword [ebp - 0x50], 0
jmp 0x100235c5
mov dword [ebp - 0x50], 1
push 2
mov ecx, dword [ebp - 0xc]
call fcn.10025597
mov eax, dword [eax]
cmp eax, dword [ebp - 0x50]
je 0x100235df
mov dword [ebp - 0x30], 1
jmp 0x100235e3
and dword [ebp - 0x30], 0
push 2
mov ecx, dword [ebp - 0xc]
call fcn.10025597
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jne 0x10023605
mov dword [ebp - 0x60], 1
jmp 0x10023609
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x60], eax
jl 0x1002361c
mov dword [ebp - 0x68], 1
jmp 0x10023620
and dword [ebp - 0x68], 0
imul eax, dword [ebp - 0x68], 0x2174
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], eax
jmp 0x10023659
mov byte [ebp - 1], 0
push 0x1b1
push 0x5e8b
push 0x1641
push 0x2ef7
push 0
lea eax, [ebp - 1]
push eax
push 0
call fcn.10015624
add esp, 0x1c
cmp dword [ebp - 0x34], 0x3a37
jge 0x1002366e
push dword [ebp - 0xac]
call fcn.1008287d
pop ecx
mov esp, ebp
pop ebp
ret