Function at 0x1002aec0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10088bb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push esi
push 1
lea ecx, [ebp - 0x110]
call fcn.10019b25
and dword [ebp - 4], 0
mov dword [ebp - 0x34], 0x960f57a7
mov dword [ebp - 0x4c], 0
jmp 0x1002af07
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x1002af23
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x110]
call fcn.10019b92
mov dword [eax], 0x862f
jmp 0x1002af00
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x1002af46
push 0x1b04
push 0x25bf
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [ebp - 0x34], 0
jmp 0x1002af56
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1002afad
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x48], 0
jmp 0x1002af73
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jg 0x1002af96
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002af94
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x1002af6c
push dword [ebp - 0x34]
lea ecx, [ebp - 0x110]
call fcn.10019b92
cmp dword [eax], 0
je 0x1002afab
jmp 0x1002afad
jmp 0x1002af4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10019b8d
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002b363
mov dword [ebp - 0x18], 0
jmp 0x1002afd8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x1002afee
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x12c], 0
jmp 0x1002afd1
mov dword [ebp - 0x18], 0
jmp 0x1002affe
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002b014
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x160], 0xdbeccce1
jmp 0x1002aff7
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x12c], 0
jmp 0x1002b03f
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x12c]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x12c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x12c], 0xfffffff1
je 0x1002b08c
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x3c], 2
jmp 0x1002b065
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1002b08a
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x1002b088
push 0
push 0x1abf
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1002b05e
jmp 0x1002b026
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
push 2
lea ecx, [ebp - 0x5c]
call fcn.10019b25
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0x905c8094
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x50], 0
jmp 0x1002b0c4
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1002b0dd
push dword [ebp - 0x50]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
mov dword [eax], 1
jmp 0x1002b0bd
mov dword [ebp - 0x14], 1
jmp 0x1002b0ed
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1002b33a
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xf0], 0xd10fbf2b
mov dword [ebp - 0x30], 1
jmp 0x1002b122
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x1002b335
mov dword [ebp - 0x98], 0xfffffffa
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
mov esi, dword [ebp - 0x14]
push 1
lea ecx, [ebp - 0x5c]
call fcn.10019b92
cmp esi, dword [eax]
jle 0x1002b15b
mov dword [ebp - 0x6c], 1
jmp 0x1002b15f
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x40]
cmp eax, 8
je 0x1002b186
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
cmp dword [eax], 0
je 0x1002b186
mov dword [ebp - 0xd0], 1
jmp 0x1002b18d
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0x14], 0xffffffff
jle 0x1002b19c
mov dword [ebp - 0x70], 1
jmp 0x1002b1a0
and dword [ebp - 0x70], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [eax]
jg 0x1002b1be
mov dword [ebp - 0xcc], 1
jmp 0x1002b1c5
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0xcc], eax
jge 0x1002b1dc
mov dword [ebp - 0xa0], 1
jmp 0x1002b1e3
and dword [ebp - 0xa0], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
mov eax, dword [eax]
cmp eax, dword [ebp - 0xa0]
jge 0x1002b201
mov dword [ebp - 0x78], 1
jmp 0x1002b205
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
add eax, 0xdcef
sub eax, dword [ebp - 0x30]
je 0x1002b22e
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
cmp dword [eax], 0
je 0x1002b22e
mov dword [ebp - 0xb8], 1
jmp 0x1002b235
and dword [ebp - 0xb8], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [eax]
jne 0x1002b253
mov dword [ebp - 0x80], 1
jmp 0x1002b257
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x154], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x1002b29f
mov eax, 0xffff
test eax, eax
jne 0x1002b29f
and dword [ebp - 0x88], 0
jmp 0x1002b2a9
mov dword [ebp - 0x88], 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
mov eax, dword [eax]
cmp eax, dword [ebp - 0x88]
jge 0x1002b2ca
mov dword [ebp - 0xc8], 1
jmp 0x1002b2d1
and dword [ebp - 0xc8], 0
push dword [ebp - 0x30]
lea ecx, [ebp - 0x5c]
call fcn.10019b92
mov ecx, dword [ebp - 0xc8]
cmp ecx, dword [eax]
je 0x1002b2f2
mov dword [ebp - 0x90], 1
jmp 0x1002b2f9
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x90], eax
jge 0x1002b313
mov dword [ebp - 0xb0], 1
jmp 0x1002b31a
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0x98], 0x85b3d925
jmp 0x1002b11b
jmp 0x1002b0e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.10019b8d
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [eax], 0x102f310e
jmp 0x1002b7d3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0xbc], 0x2db8e964
mov dword [ebp - 0xac], 0x9725245f
mov dword [ebp - 0x8c], 4
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0x38], 0x3acb
mov dword [ebp - 0x64], 0xfff8
push 2
lea ecx, [ebp - 0x104]
call fcn.10019b25
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 0
jmp 0x1002b3cd
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002b3e0
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x2c], 0
jmp 0x1002b3c6
mov dword [ebp - 0x10], 0
jmp 0x1002b3f0
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002b406
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xf8], 0xffffffff
jmp 0x1002b3e9
mov dword [ebp - 0x10], 0
jmp 0x1002b416
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1002b429
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x44], 0x142c
jmp 0x1002b40f
mov dword [ebp - 0x10], 0
jmp 0x1002b439
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1002b455
push dword [ebp - 0x10]
lea ecx, [ebp - 0x104]
call fcn.10019b92
mov dword [eax], 0xfffffffe
jmp 0x1002b432
mov dword [ebp - 0x1c], 0
jmp 0x1002b465
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x1002b785
mov dword [ebp - 0x13c], 0xfffffff6
mov dword [ebp - 0x60], 0xc345fe46
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0x130], 3
push 2
lea ecx, [ebp - 0x148]
call fcn.10019b25
mov byte [ebp - 4], 3
push 2
lea ecx, [ebp - 0x11c]
call fcn.10019b25
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0
jmp 0x1002b4c6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002b4df
push dword [ebp - 0x20]
lea ecx, [ebp - 0x148]
call fcn.10019b92
or dword [eax], 0xffffffff
jmp 0x1002b4bf
mov dword [ebp - 0x20], 0
jmp 0x1002b4ef
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002b50b
push dword [ebp - 0x20]
lea ecx, [ebp - 0x11c]
call fcn.10019b92
mov dword [eax], 1
jmp 0x1002b4e8
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x2c], 0xffffffff
je 0x1002b521
mov dword [ebp - 0xf4], 1
jmp 0x1002b528
and dword [ebp - 0xf4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x44], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x38], eax
jl 0x1002b551
mov dword [ebp - 0xc0], 1
jmp 0x1002b558
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
cmp eax, dword [ebp - 0xc0]
jne 0x1002b580
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 0
je 0x1002b580
mov dword [ebp - 0x68], 1
jmp 0x1002b584
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x68]
jg 0x1002b59c
mov dword [ebp - 0x74], 1
jmp 0x1002b5a0
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0x31a2
jle 0x1002b5b8
cmp dword [ebp - 0x60], 0
je 0x1002b5b8
mov dword [ebp - 0x7c], 1
jmp 0x1002b5bc
and dword [ebp - 0x7c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
cmp dword [ebp - 0x7c], eax
je 0x1002b5d7
mov dword [ebp - 0x84], 1
jmp 0x1002b5de
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x1002b605
mov eax, 0xfffe
test eax, eax
jne 0x1002b605
and dword [ebp - 0x94], 0
jmp 0x1002b60f
mov dword [ebp - 0x94], 1
push 1
lea ecx, [ebp - 0x11c]
call fcn.10019b92
mov eax, dword [eax]
add eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ebp + ecx*4 - 0x2c]
jg 0x1002b639
mov dword [ebp - 0xe4], 1
jmp 0x1002b640
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x2c]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x150], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xf8], 0xffff
cmp dword [ebp - 0x1c], 0xffff
jg 0x1002b68b
mov dword [ebp - 0x9c], 1
jmp 0x1002b692
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov esi, dword [ebp - 0xa4]
add esi, dword [ebp - 0xac]
push 4
pop eax
imul eax, eax, 0
sub esi, dword [ebp + eax - 0x2c]
push 0
lea ecx, [ebp - 0x104]
call fcn.10019b92
cmp esi, dword [eax]
jge 0x1002b6cd
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x2c], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14c], eax
push 1
lea ecx, [ebp - 0x104]
call fcn.10019b92
mov ecx, dword [ebp - 0xec]
cmp dword [eax], ecx
jg 0x1002b6f9
mov dword [ebp - 0xb4], 1
jmp 0x1002b700
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x38], 0
jmp 0x1002b71c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jg 0x1002b762
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 3
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1002b760
push 0
push 0x22c8
push 0x20ec
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
jmp 0x1002b715
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call fcn.10019b8d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x148]
call fcn.10019b8d
jmp 0x1002b45e
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002b7a7
push 0
push 0
push 0xb43
push 0x254a
push 0
call dword [sym.imp.USER32.dll_InsertMenuW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.10019b8d
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc4]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret