Function at 0x51aa83
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571d9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x334
mov dword [ebp - 0x340], ecx
mov eax, dword [ebp + 8]
sub eax, 0x2bc
mov ecx, dword [ebp - 0x340]
mov dword [ecx + 0x14b6c], eax
lea ecx, [ebp - 0x328]
call fcn.00438b80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.00426870
lea edx, [ebp - 0x218]
push edx
call fcn.0053534c
add esp, 4
lea eax, [ebp - 0x31c]
push eax
call fcn.0053534c
add esp, 4
push 0x5b4024
lea ecx, [ebp - 0x31c]
push ecx
call fcn.0054bed0
add esp, 8
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x340]
mov ecx, dword [eax + 0x4b4]
push ecx
call fcn.004016bb
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x33c]
call fcn.00438b60
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x32c], edx
push 0x81
lea ecx, [ebp - 0x328]
call fcn.00438ce0
push 0x5dcb64
push 0
push 0x400
push 0
lea ecx, [ebp - 0x328]
call fcn.00438cb0
push 0
lea ecx, [ebp - 0x328]
call fcn.00438c80
mov dword [ebp - 0x320], eax
cmp dword [0x5be608], 0
je 0x51abae
push 0x400
mov ecx, dword [ebp - 0x320]
call fcn.00438c40
sub eax, 1
push eax
mov ecx, dword [ebp - 0x320]
call fcn.00530a70
mov dword [ebp - 0x114], 0
jmp 0x51abc9
mov eax, dword [ebp - 0x114]
add eax, 1
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x320]
call fcn.00438c40
cmp dword [ebp - 0x114], eax
jge 0x51ad25
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x320]
call fcn.00438c60
mov dword [ebp - 0x334], eax
cmp dword [ebp - 0x334], 0
je 0x51ad20
cmp dword [ebp - 0x114], 4
jae 0x51ad20
lea edx, [ebp - 0x218]
push edx
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
push 0x5b4038
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx*8 + 0x5b3cec]
push edx
call fcn.0054ccc0
add esp, 8
add eax, 1
push eax
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax*8 + 0x5b3cec]
push ecx
push 0x5b403c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x334]
push eax
push 0
mov ecx, dword [ebp - 0x334]
push ecx
mov ecx, dword [ebp - 0x320]
call fcn.00438cb0
mov edx, dword [ebp - 0x340]
mov eax, dword [edx + 0x14b6c]
imul eax, eax, 0x42c
mov ecx, dword [ebp - 0x340]
movsx edx, byte [ecx + eax + 0x163c]
test edx, edx
jne 0x51acb9
push 3
mov eax, dword [ebp - 0x334]
push eax
mov ecx, dword [ebp - 0x320]
call fcn.00530aa0
jmp 0x51ad20
mov ecx, dword [ebp - 0x340]
mov edx, dword [ecx + 0x14b6c]
push edx
mov ecx, dword [ebp - 0x340]
add ecx, 0x10d2c
call fcn.004bb379
test eax, eax
je 0x51acfa
cmp dword [ebp - 0x114], 2
jne 0x51acf8
push 3
mov eax, dword [ebp - 0x334]
push eax
mov ecx, dword [ebp - 0x320]
call fcn.00530aa0
jmp 0x51ad20
cmp dword [ebp - 0x114], 2
jl 0x51ad0c
cmp dword [ebp - 0x114], 3
jne 0x51ad20
push 3
mov ecx, dword [ebp - 0x334]
push ecx
mov ecx, dword [ebp - 0x320]
call fcn.00530aa0
jmp 0x51abba
push 0
lea ecx, [ebp - 0x328]
call fcn.00438c80
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 0x340]
push edx
mov eax, dword [ebp - 0x32c]
push eax
mov ecx, dword [ebp - 0x330]
push ecx
push 0
mov ecx, dword [ebp - 0x10]
call fcn.005624a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x328]
call fcn.00438be0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc