Function at 0x10026ffe
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10027043
mov eax, dword [ebp + 8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
movzx eax, byte [eax]
test eax, eax
je 0x1002703e
push 0x2141
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
jmp 0x10027778
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x4c], 5
mov dword [ebp - 0x84], 0xc8fc558b
mov dword [ebp - 0x60], 0xedad
mov dword [ebp - 0x20], 0
jmp 0x10027080
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x10027096
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x138], 0
jmp 0x10027079
cmp dword [ebp - 0x4c], 0
jne 0x100270a3
push 9
pop eax
test eax, eax
je 0x100270d9
mov dword [ebp - 0xbc], 0xfffffffb
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
push 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x84]
push eax
push 0x748e
lea eax, [ebp - 0xbc]
push eax
call fcn.10024897
add esp, 0x14
jmp 0x10027128
mov dword [ebp - 0xfc], 0x69
mov dword [ebp - 0x110], 0xa86ba47c
mov dword [ebp - 0x28], 0
jmp 0x100270fd
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10027113
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x14c], 0xfffffff8
jmp 0x100270f6
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
push 0
push 0x25c8
call fcn.1002b716
pop ecx
pop ecx
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.1002c828
add esp, 0xc
mov dword [ebp - 0x12c], 0x2384b6d7
mov dword [ebp - 0xf4], 9
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0
jmp 0x10027168
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1002717b
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x44], 1
jmp 0x10027161
mov dword [ebp - 4], 0
jmp 0x1002718b
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x100271a1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x124], 0xffffffff
jmp 0x10027184
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x44], 0
jmp 0x100271c3
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x44]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x44], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x44], 0xfffffff7
je 0x10027415
mov dword [ebp - 0x10], 0xe95aad85
mov dword [ebp - 0xd4], 0xffffffff
mov dword [ebp - 0xc4], 0xbecc
mov dword [ebp - 0xe4], 0xc6dcff2f
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0xec], 0x4d2570d9
mov dword [ebp - 0x120], 0xbab1f356
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x34], 0
jmp 0x10027237
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x1002724d
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x140], 0xfffffffb
jmp 0x10027230
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
mov dword [ebp - 0x128], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x44], ecx
je 0x10027278
mov dword [ebp - 0xa4], 1
jmp 0x1002727f
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
add eax, 0x4e4fb1d0
je 0x10027291
xor eax, eax
inc eax
jne 0x100272a6
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x44], 0
jne 0x100272a6
and dword [ebp - 0x88], 0
jmp 0x100272b0
mov dword [ebp - 0x88], 1
cmp dword [ebp - 0x88], 0xfffa
ja 0x100272cf
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 0
jne 0x100272cf
and dword [ebp - 0x68], 0
jmp 0x100272d6
mov dword [ebp - 0x68], 1
cmp dword [ebp - 0x68], 0
jne 0x100272e8
mov dword [ebp - 0xa8], 1
jmp 0x100272ef
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xa8], eax
jne 0x10027303
mov dword [ebp - 0x70], 1
jmp 0x10027307
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x70]
cmp dword [ebp - 0x10], eax
jne 0x1002731e
mov dword [ebp - 0x90], 1
jmp 0x10027325
and dword [ebp - 0x90], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x44]
cmp dword [ebp - 0x90], eax
jle 0x1002733f
mov dword [ebp - 0x78], 1
jmp 0x10027343
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x78]
cmp eax, 0x9c93
jle 0x1002735d
mov dword [ebp - 0xa0], 1
jmp 0x10027364
and dword [ebp - 0xa0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x44]
imul eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x10]
jne 0x10027385
mov dword [ebp - 0xe0], 1
jmp 0x1002738c
and dword [ebp - 0xe0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x44]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x114], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x44], 0xcdee
jne 0x100273c9
mov dword [ebp - 0x80], 1
jmp 0x100273cd
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0xffffffff
jge 0x100273df
mov dword [ebp - 0x98], 1
jmp 0x100273e6
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x98]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x44]
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
jmp 0x100271b0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xb4]
mov dword [ebp + eax - 0x44], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x10027778
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x100276f2
mov dword [ebp - 8], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x30], 0
jmp 0x10027464
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1002747a
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xb0], 0x9ac78948
jmp 0x1002745d
mov dword [ebp - 8], 1
jmp 0x1002748a
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x100276ab
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x38], 0
jmp 0x100274ab
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x100274be
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x54], 0xfffffff7
jmp 0x100274a4
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x100274d8
push 0xaf1
push 1
call fcn.10026169
pop ecx
pop ecx
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0xb0], 0xc196
je 0x100274f4
mov dword [ebp - 0x94], 1
jmp 0x100274fb
and dword [ebp - 0x94], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp + ecx*4 - 0xb0]
cmp dword [ebp + eax - 0x54], ecx
jge 0x1002751d
mov dword [ebp - 0xb8], 1
jmp 0x10027524
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xf0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x64], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp + eax - 0x54], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
cmp dword [ebp - 0x64], eax
jge 0x10027562
mov dword [ebp - 0x6c], 1
jmp 0x10027566
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0x272b
jge 0x10027578
mov dword [ebp - 0x74], 1
jmp 0x1002757c
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0xfffffff8
jbe 0x1002758b
mov dword [ebp - 0x7c], 1
jmp 0x1002758f
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x7c], eax
je 0x100275a0
mov dword [ebp - 0x58], 1
jmp 0x100275a4
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0xb0]
cmp dword [ebp - 0x58], eax
jg 0x100275bf
mov dword [ebp - 0x8c], 1
jmp 0x100275c6
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
je 0x100275db
mov dword [ebp - 0xc0], 1
jmp 0x100275e2
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0xb0]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x94], eax
jle 0x10027637
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002762a
push 0
call fcn.10026fdf
pop ecx
cmp dword [ebp - 0x24], 0
je 0x10027635
jmp 0x10027483
jmp 0x100276a6
mov dword [ebp - 0x48], 0
jmp 0x10027647
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x1002765d
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x11c], 0x7312b948
jmp 0x10027640
mov dword [ebp - 0x18], 0
jmp 0x1002766d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x10027685
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x11c]
mov dword [ebp - 0x24], eax
jmp 0x10027666
mov byte [ebp - 0xa], 0
lea eax, [ebp - 0xa]
push eax
push 0x2054
push 0xb31
push 0x6b23
push 1
call fcn.100261ad
add esp, 0x14
jmp 0x10027483
mov dword [ebp - 0x1c], 0
jmp 0x100276bb
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffeb
jne 0x100276dd
mov byte [ebp - 0xb], 0
movzx eax, byte [ebp - 0xb]
test eax, eax
je 0x100276db
push 1
push 0x7e9
call fcn.10026f56
pop ecx
pop ecx
jmp 0x100276b4
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x10027778
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x10027778
mov dword [ebp - 0xc8], 0x68ec0ae9
mov dword [ebp - 0xd0], 0x885d
mov dword [ebp - 0xd8], 0xdb84c6a3
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x1002773a
push 0
push 0x446
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0xc8]
push eax
push 0x3e62
lea eax, [ebp - 0xd0]
push eax
push 0xf6
push 0
lea eax, [ebp - 0xd8]
push eax
push 0x7a57
call fcn.10027812
add esp, 0x1c
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret