Function at 0x100520d4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090f30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
jmp 0x1005210e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x100526aa
push 4
lea ecx, [ebp - 0x88]
call fcn.100254f9
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xfffffffc
mov dword [ebp - 0x98], 0x2c593c86
mov dword [ebp - 0x94], 0xfffffffb
mov dword [ebp - 0xc8], 0xb4b5a9ce
mov dword [ebp - 0xd8], 0x578cca6
mov dword [ebp - 0x54], 0x7601
mov dword [ebp - 0x78], 0x1000b798
cmp dword [ebp - 0x54], 0x7707
jle 0x10052223
and dword [ebp - 0x28], 0
jmp 0x10052184
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xabc
jge 0x10052223
and dword [ebp - 0x20], 0
jmp 0x1005219e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x753b
jge 0x1005221e
and dword [ebp - 0x30], 0
jmp 0x100521b4
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xf4a
jge 0x10052219
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x9c], ax
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x10c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x10c]
call fcn.100252df
jmp 0x100521ad
jmp 0x10052197
jmp 0x1005217d
cmp dword [ebp - 0x54], 0x756c
jge 0x10052235
push dword [ebp - 0x78]
call fcn.1008287d
pop ecx
mov dword [ebp - 0xa8], 0x2305aba9
mov dword [ebp - 0x10], 0
jmp 0x1005224f
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x1005226b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.10025597
mov dword [eax], 1
jmp 0x10052248
mov dword [ebp - 0x10], 0
jmp 0x1005227b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10052291
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xf4], 0x5cd1d2a6
jmp 0x10052274
mov dword [ebp - 0x10], 0
jmp 0x100522a1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x100522b7
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xd4], 0
jmp 0x1005229a
mov dword [ebp - 0x10], 0
jmp 0x100522c7
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x100522dd
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xec], 0x12f6
jmp 0x100522c0
mov dword [ebp - 0x18], 3
jmp 0x100522ed
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10052616
mov dword [ebp - 0x14], 0xa772304b
mov dword [ebp - 0x58], 0xccedb775
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x14], 0
jmp 0x1005231c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x1005233a
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10052338
push 0
push 0
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x10052315
mov dword [ebp - 0x14], 3
jmp 0x1005234a
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10052611
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 0x38], 0xffff
mov dword [ebp - 0x44], 0x5929
mov dword [ebp - 0xac], 0x1000b7f0
cmp dword [ebp - 0x44], 0x59b5
jle 0x10052411
and dword [ebp - 0x24], 0
jmp 0x10052390
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x696
jge 0x10052411
and dword [ebp - 0x2c], 0
jmp 0x100523a6
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x5857
jge 0x1005240c
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0xe0], eax
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x124]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x124]
call fcn.100252df
jmp 0x1005239f
jmp 0x10052389
cmp dword [ebp - 0x44], 0x5705
jge 0x10052426
push dword [ebp - 0xac]
call fcn.1008287d
pop ecx
mov dword [ebp - 0x34], 0
jmp 0x10052436
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10052449
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x70], 1
jmp 0x1005242f
cmp dword [ebp - 0x14], 0
je 0x100524aa
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x90]
jne 0x1005247f
mov dword [ebp - 0x64], 1
jmp 0x10052483
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x64], eax
jge 0x10052497
mov dword [ebp - 0x4c], 1
jmp 0x1005249b
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xfffffff6
jae 0x100524aa
mov dword [ebp - 0x5c], 1
jmp 0x100524ae
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x98]
add eax, dword [ebp - 0x5c]
cmp eax, 0x1ec2
jne 0x100524ca
mov dword [ebp - 0xbc], 1
jmp 0x100524d1
and dword [ebp - 0xbc], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x88]
call fcn.10025597
mov dword [ebp - 0xa0], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x88]
call fcn.10025597
mov ecx, dword [ebp - 0xa0]
mov eax, dword [eax]
mov dword [ecx], eax
cmp dword [ebp - 0x18], 0
je 0x10052515
mov eax, 0x449e
test eax, eax
je 0x10052515
mov dword [ebp - 0x7c], 1
jmp 0x10052519
and dword [ebp - 0x7c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd4]
mov dword [ebp - 0xdc], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x3c]
cmp dword [ebp + eax - 0xec], ecx
jge 0x10052546
mov dword [ebp - 0x40], 1
jmp 0x1005254a
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x40], eax
jne 0x1005255e
mov dword [ebp - 0x8c], 1
jmp 0x10052565
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x58], 0xe6ee
je 0x10052577
mov dword [ebp - 0x48], 1
jmp 0x1005257b
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x48], eax
jle 0x1005258f
mov dword [ebp - 0x50], 1
jmp 0x10052593
and dword [ebp - 0x50], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
cmp dword [ebp - 0x50], eax
jge 0x100525ab
mov dword [ebp - 0x60], 1
jmp 0x100525af
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x60], eax
jge 0x100525c0
mov dword [ebp - 0x68], 1
jmp 0x100525c4
and dword [ebp - 0x68], 0
xor eax, eax
sub eax, dword [ebp - 0x68]
je 0x100525e1
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x100525df
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x100525f7
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100525f7
push 0
push 0
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x88]
call fcn.10025597
cmp dword [eax], 0
je 0x1005260c
jmp 0x10052611
jmp 0x10052343
jmp 0x100522e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.1002557b
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x10052661
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x3a4a
push 0x3ef2
call fcn.10049a96
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x10052693
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x3a4a
push 0x3ef2
call fcn.10049a96
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x100526a5
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x100526aa
jmp 0x100520f4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret