Function at 0x4189eb
Capabilities:
Read .ini file

Disassembly:
push 0x24
mov eax, 0x558504
call fcn.0052fa89
xor ecx, ecx
inc ecx
mov eax, ebx
call fcn.0040a4c8
lea eax, [ebp - 0x28]
push eax
push ecx
mov esi, esp
mov eax, ebx
lea edi, [ebp - 0x10]
mov dword [ebp - 0x28], esp
call fcn.00409f1d
mov ecx, edi
call fcn.00418817
and dword [ebp - 0x18], 0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.DCEX.
call fcn.00401daf
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ebx
call fcn.0040a558
call fcn.0042b589
push eax
lea ecx, [ebp - 0x18]
call fcn.0040217f
and dword [ebp - 4], 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 0x58837c
push eax
call fcn.004034f1
add esp, 0xc
lea edi, [ebp - 0x24]
call fcn.00409aef
mov edi, eax
lea esi, [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 4], 1
call fcn.00409f1d
push eax
lea eax, [ebp - 0x14]
push str.DCEX.
push eax
mov byte [ebp - 4], 2
call fcn.0040704f
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0xc
push edi
push 0xffffffffffffffff
push dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021a7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
cmp esi, 0xffffffff
jne 0x418ae7
push dword [ebp - 0x10]
push 0
push 1
push dword [ebp - 0x1c]
call fcn.0041aa0e
add esp, 0x10
mov esi, eax
call fcn.0042b589
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040217f
mov byte [ebp - 4], 3
cmp dword [ebp - 0x10], 0
je 0x418d26
push esi
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push eax
call fcn.00418127
add esp, 0x10
mov byte [ebp - 4], 4
call fcn.0042b589
push eax
lea ecx, [ebp - 0x10]
call fcn.0040217f
mov byte [ebp - 4], 5
cmp byte [ebx + 4], 0
mov eax, ebx
je 0x418bd5
lea esi, [ebp - 0x24]
call fcn.0040a298
mov edi, eax
lea esi, [ebp - 0x28]
mov eax, ebx
mov byte [ebp - 4], 6
call fcn.00409f1d
push 0
mov edx, edi
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00417627
pop ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
lea esi, [ebp - 0x20]
mov eax, ebx
call fcn.0040a298
mov esi, eax
push str.ip:__
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.00401daf
push esi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 9
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.00401ee1
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
jmp 0x418c1a
lea esi, [ebp - 0x28]
call fcn.00409f1d
mov byte [ebp - 4], 0xb
push dword [eax]
call fcn.0041747b
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004021a7
test esi, esi
je 0x418c22
lea esi, [ebp - 0x28]
mov eax, ebx
call fcn.00409f1d
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00417980
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004021a7
cmp byte [ebx + 4], 0
jne 0x418c89
lea esi, [ebp - 0x2c]
mov eax, ebx
call fcn.0040cf83
mov esi, eax
push str.usb:__
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00401daf
push esi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xe
call fcn.00401680
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.00401ee1
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004021a7
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004021a7
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jg 0x418c9a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x418d16
push ecx
mov esi, esp
mov dword [ebp - 0x2c], esp
call fcn.004182ec
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1c]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
mov dword [ebp - 0x24], esp
mov esi, esp
push edi
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x12
mov esi, esp
mov eax, ebx
mov dword [ebp - 0x20], esp
call fcn.00409f1d
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
push eax
call fcn.00401e83
add eax, 0x10
mov dword [esi], eax
pop ecx
mov byte [ebp - 4], 5
call fcn.00418412
add esp, 0x18
mov ecx, edi
call fcn.004021a7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004021a7
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004021a7
call fcn.0052fb61
ret