Function at 0x10019d61
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x1d8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1001a789
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x150], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x178], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
movzx eax, byte [eax]
test eax, eax
je 0x1001a773
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x1cc]
call fcn.100040ef
and dword [ebp - 4], 0
push 0x67e1
lea eax, [ebp - 0x1cc]
push eax
push 0x4330
push 0x45c7
push dword [ebp - 0x88]
push 1
push 0x189e
push 0x132
push 1
call fcn.10018507
add esp, 0x24
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jae 0x1001a478
push 0x2a34
push 1
push 0x32a3
push 1
push 1
push 0x3fbe
push 0x60b1
push 0x218c
push 0x6dcb
push 0x8ba
call fcn.10019573
add esp, 0x28
push 3
lea ecx, [ebp - 0x78]
call fcn.10004264
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0xeb8e136d
mov dword [ebp - 0x20], 0x365dea31
mov dword [ebp - 0x24], 9
mov dword [ebp - 0x28], 0
jmp 0x10019eba
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10019ecd
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x6c], 0xffff
jmp 0x10019eb3
push 0x6e46
push 1
push 0x326a
push 1
lea eax, [ebp - 0x28]
push eax
push 0x3cfa
lea eax, [ebp - 0x78]
push eax
call fcn.10019ad2
add esp, 0x1c
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x6c]
mov dword [ebp - 0x188], eax
push 1
lea ecx, [ebp - 0x78]
call fcn.10004303
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x6c], 0
jne 0x10019fea
push 1
lea ecx, [ebp - 0x78]
call fcn.10004303
cmp dword [eax], 0
je 0x10019f43
push 2
lea ecx, [ebp - 0x78]
call fcn.10004303
cmp dword [eax], 0
je 0x10019f43
mov dword [ebp - 0xdc], 1
jmp 0x10019f4a
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3fd5
je 0x10019f6e
mov dword [ebp - 0xe4], 1
jmp 0x10019f75
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0xffffffff
jl 0x10019f8a
mov dword [ebp - 0xd8], 1
jmp 0x10019f91
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0xd1c
jl 0x10019fa6
mov dword [ebp - 0x7c], 1
jmp 0x10019faa
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0
je 0x10019fbc
mov dword [ebp - 0xb8], 1
jmp 0x10019fc3
and dword [ebp - 0xb8], 0
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x6c]
imul esi, dword [ebp - 0xb8]
push 2
lea ecx, [ebp - 0x78]
call fcn.10004303
cmp esi, dword [eax]
jle 0x10019fea
and dword [ebp - 0x120], 0
jmp 0x10019ff4
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1b4], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x6c]
cmp dword [ebp - 0x20], eax
jle 0x1001a017
mov dword [ebp - 0x90], 1
jmp 0x1001a01e
and dword [ebp - 0x90], 0
push 1
lea ecx, [ebp - 0x78]
call fcn.10004303
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax]
je 0x1001a03e
mov dword [ebp - 0xd0], 1
jmp 0x1001a045
and dword [ebp - 0xd0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x6c]
cmp eax, dword [ebp - 0xd0]
jl 0x1001a062
mov dword [ebp - 0x98], 1
jmp 0x1001a069
and dword [ebp - 0x98], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x6c]
cmp dword [ebp - 0x98], eax
jl 0x1001a086
mov dword [ebp - 0xfc], 1
jmp 0x1001a08d
and dword [ebp - 0xfc], 0
push 2
lea ecx, [ebp - 0x78]
call fcn.10004303
push 1
lea ecx, [ebp - 0x78]
call fcn.10004303
push 4
pop ecx
shl ecx, 1
mov eax, dword [eax]
add eax, dword [ebp + ecx - 0x6c]
neg eax
mov dword [ebp - 0x24], eax
je 0x1001a0c8
mov eax, 0x19b8
test eax, eax
je 0x1001a0c8
mov dword [ebp - 0xc0], 1
jmp 0x1001a0cf
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0x3d92
jne 0x1001a0e7
mov dword [ebp - 0xa0], 1
jmp 0x1001a0ee
and dword [ebp - 0xa0], 0
push 1
lea ecx, [ebp - 0x78]
call fcn.10004303
mov ecx, dword [ebp - 0xa0]
add ecx, dword [eax]
je 0x1001a22a
mov dword [ebp - 0x134], 0xdbb389e7
mov dword [ebp - 0x38], 0
jmp 0x1001a120
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jge 0x1001a136
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x1b0], 0x85ffff3
jmp 0x1001a119
mov byte [ebp - 0x15], 0
push 0x3f7a
push 1
push 1
push 0x7bb6
push 0x653
lea eax, [ebp - 0x15]
push eax
push 0x2705
push 0
push 0x62b0
call fcn.1001d51d
add esp, 0x24
cmp dword [ebp - 0x1c], 0xa94fe874
jae 0x1001a17a
mov dword [ebp - 0xe0], 1
jmp 0x1001a181
and dword [ebp - 0xe0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1b0]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1b0], 0xa4d2c643
jbe 0x1001a1b1
mov dword [ebp - 0xa8], 1
jmp 0x1001a1b8
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xa8]
jg 0x1001a1d2
mov dword [ebp - 0xc8], 1
jmp 0x1001a1d9
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x1b0]
jge 0x1001a1fc
mov dword [ebp - 0xb0], 1
jmp 0x1001a203
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 0x57718da9
jne 0x1001a218
mov dword [ebp - 0x80], 1
jmp 0x1001a21c
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x134], eax
jmp 0x1001a3dc
push 4
lea ecx, [ebp - 0x184]
call fcn.10004264
mov byte [ebp - 4], 2
mov dword [ebp - 0x10c], 0x1e844912
push 0x6983
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x184]
push eax
push 0x5f5f
push 0
call fcn.1001aec6
add esp, 0x14
mov dword [ebp - 0x30], 0
jmp 0x1001a274
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1001a28a
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x9c], 0x2417
jmp 0x1001a26d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x24], 0x7dfb07d6
jg 0x1001a2a8
mov dword [ebp - 0x84], 1
jmp 0x1001a2af
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 1
lea ecx, [ebp - 0x184]
call fcn.10004303
cmp esi, dword [eax]
je 0x1001a2d8
mov dword [ebp - 0x8c], 1
jmp 0x1001a2df
and dword [ebp - 0x8c], 0
push 3
lea ecx, [ebp - 0x184]
call fcn.10004303
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax]
jg 0x1001a30f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 0
jne 0x1001a30f
and dword [ebp - 0x94], 0
jmp 0x1001a319
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x94]
jne 0x1001a337
mov dword [ebp - 0x104], 1
jmp 0x1001a33e
and dword [ebp - 0x104], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x194], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x6c]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x1c], 7
jae 0x1001a36f
mov dword [ebp - 0x13c], 1
jmp 0x1001a376
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
mov dword [ebp - 0x190], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x6c]
mov dword [ebp - 0x1d0], eax
mov eax, 0x4aa2
test eax, eax
jne 0x1001a3b7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x6c], 0
jne 0x1001a3b7
and dword [ebp - 0xa4], 0
jmp 0x1001a3c1
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x184]
call fcn.100042e7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.100042e7
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x144], eax
and dword [ebp - 0x44], 0
jmp 0x1001a405
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x44], 2
jae 0x1001a454
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
add eax, dword [ebp - 0x2c]
xor edx, edx
div dword [0x10074ad8]
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax + 4]
movzx edx, byte [eax + edx]
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx]
movzx ecx, byte [ecx + eax]
call fcn.10012296
mov ecx, dword [ebp - 0x144]
add ecx, dword [ebp - 0x44]
mov byte [ecx], al
jmp 0x1001a3f7
push 0x41ae
push 0x7f71
lea eax, [ebp - 0x1cc]
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.1001b02a
add esp, 0x14
jmp 0x10019e45
push 4
lea ecx, [ebp - 0x130]
call fcn.10004264
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], 0xfffffff7
mov dword [ebp - 0xbc], 0x10e5
mov dword [ebp - 0x14c], str.fsjlu_fqsfgmsyp_vpkbqwgc_ulymebk_pyoaixl
cmp dword [ebp - 0xbc], 0x11e0
jle 0x1001a57d
and dword [ebp - 0x3c], 0
jmp 0x1001a4c1
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x6dbe
jge 0x1001a57d
and dword [ebp - 0x50], 0
jmp 0x1001a4db
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x2f20
jge 0x1001a578
and dword [ebp - 0x4c], 0
jmp 0x1001a4f5
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x152b
jge 0x1001a573
and dword [ebp - 0x48], 0
jmp 0x1001a50b
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x756b
jge 0x1001a56e
mov eax, dword [ebp - 0x50]
imul eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
shl eax, cl
or eax, dword [ebp - 0x3c]
cdq
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], edx
push dword [ebp - 0x164]
push dword [ebp - 0x168]
lea ecx, [ebp - 0x1e8]
call fcn.10001a8a
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
call fcn.10003dc2
push eax
call fcn.10046da3
pop ecx
lea ecx, [ebp - 0x1e8]
call fcn.10003db8
jmp 0x1001a504
jmp 0x1001a4ee
jmp 0x1001a4d4
jmp 0x1001a4ba
mov byte [ebp - 4], 4
cmp dword [ebp - 0xbc], 0x1028
jge 0x1001a599
push dword [ebp - 0x14c]
call fcn.10046da3
pop ecx
jmp 0x1001a5b5
mov dword [ebp - 4], 3
jmp 0x1001a5c5
mov dword [ebp - 0x14], 0
jmp 0x1001a5d5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1001a5f1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x130]
call fcn.10004303
mov dword [eax], 0xfffffff6
jmp 0x1001a5ce
mov dword [ebp - 0x14], 0
jmp 0x1001a601
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1001a614
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x60], 0xffff
jmp 0x1001a5fa
push 0x2fea
push 0x6693
push 0xeb9
push 0x27a
push 0x6419
push 0x2222
lea eax, [ebp - 0x130]
push eax
push 0
call fcn.1001b243
add esp, 0x20
mov dword [ebp - 0x40], 0xfffffff5
jmp 0x1001a653
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffe5
jle 0x1001a72d
mov dword [ebp - 0x58], 0xfffffff9
mov dword [ebp - 0x54], 0xfffffff7
mov dword [ebp - 0xd4], 0xffffffff
push 2
lea ecx, [ebp - 0x130]
call fcn.10004303
cmp dword [eax], 0
jne 0x1001a6cc
push 2
lea ecx, [ebp - 0x130]
call fcn.10004303
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x58], eax
jg 0x1001a6ad
mov dword [ebp - 0xc4], 1
jmp 0x1001a6b4
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x1001a6cc
and dword [ebp - 0x11c], 0
jmp 0x1001a6d6
mov dword [ebp - 0x11c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
mov dword [ebp - 0x198], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x60], 0
jne 0x1001a6fe
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x60], 0
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x58], eax
jne 0x1001a715
mov dword [ebp - 0xcc], 1
jmp 0x1001a71c
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
jmp 0x1001a64c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.100042e7
lea eax, [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x154]
call fcn.1000410c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.10004102
jmp 0x1001a8a3
push 0
push 0x20e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x1001a8a3
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xf8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x15c]
movzx eax, byte [eax]
test eax, eax
je 0x1001a843
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x148]
mov eax, dword [eax]
mov dword [ebp - 0xec], eax
push dword [ebp - 0x160]
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0xf0]
call fcn.100205d9
mov ecx, eax
call fcn.100041db
jmp 0x1001a8a3
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
jmp 0x1001a886
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax], 3
jge 0x1001a8a3
mov eax, dword [ebp - 0x34]
push dword [eax]
mov ecx, dword [ebp - 0x118]
call fcn.10004303
and dword [eax], 0
jmp 0x1001a87b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret