Function at 0x57b870
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e635
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5ebfc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp + 8]
push ebx
push 0x8b
call fcn.00562ee0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x380]
mov dword [edi], vtable.CSettingsDlg.0
call fcn.0057d360
lea ecx, [edi + 0x568]
mov byte [ebp - 4], 1
call fcn.0057d360
lea ecx, [edi + 0x750]
mov byte [ebp - 4], 2
call fcn.0057d360
lea ecx, [edi + 0x938]
mov byte [ebp - 4], 3
call fcn.0057d360
lea ecx, [edi + 0xb20]
mov byte [ebp - 4], 4
call fcn.0057d360
lea ecx, [edi + 0xd08]
mov byte [ebp - 4], 5
call fcn.0057d360
lea ecx, [edi + 0xef0]
mov byte [ebp - 4], 6
call fcn.00561f70
lea ecx, [edi + 0x1080]
mov byte [ebp - 4], 7
call fcn.00561f70
lea ecx, [edi + 0x1210]
mov byte [ebp - 4], 8
call fcn.00561f70
lea ecx, [edi + 0x13a0]
mov byte [ebp - 4], 9
call fcn.00561f70
lea ecx, [edi + 0x1530]
mov byte [ebp - 4], 0xa
call fcn.00561f70
lea ecx, [edi + 0x16c0]
mov byte [ebp - 4], 0xb
call fcn.00561f70
lea ecx, [edi + 0x1850]
mov byte [ebp - 4], 0xc
call fcn.0057d360
lea ecx, [edi + 0x1a38]
mov byte [ebp - 4], 0xd
call fcn.0057d360
lea ecx, [edi + 0x1c20]
mov byte [ebp - 4], 0xe
call fcn.00561f70
lea ecx, [edi + 0x1db0]
mov byte [ebp - 4], 0xf
call fcn.00561f70
lea ecx, [edi + 0x1f40]
mov byte [ebp - 4], 0x10
call fcn.00561f70
lea ecx, [edi + 0x20d0]
mov byte [ebp - 4], 0x11
call fcn.00561f70
lea ecx, [edi + 0x2260]
mov byte [ebp - 4], 0x12
call fcn.00561f70
lea ecx, [edi + 0x23f0]
mov byte [ebp - 4], 0x13
call fcn.00561f70
lea ecx, [edi + 0x2580]
mov byte [ebp - 4], 0x14
call fcn.00561f70
lea ecx, [edi + 0x2710]
mov byte [ebp - 4], 0x15
call fcn.0055fea0
lea ecx, [edi + 0x28e8]
mov byte [ebp - 4], 0x16
call fcn.0055fea0
mov byte [ebp - 4], 0x17
mov edx, dword [ebx + 0xd4]
mov ecx, dword [edi + 0xd4]
sub ecx, 0x10
mov dword [ebp - 0x14], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x10], eax
cmp eax, ecx
je 0x57ba68
cmp dword [ecx + 0xc], 0
jl 0x57ba59
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x57ba59
push dword [ebp - 0x10]
call fcn.00401f10
mov ecx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
call fcn.004029d0
lea eax, [esi + 0x10]
mov dword [edi + 0xd4], eax
jmp 0x57ba68
push dword [edx - 0xc]
lea ecx, [edi + 0xd4]
push edx
call fcn.00402430
mov ecx, dword [ebx + 0xd8]
mov ebx, dword [edi + 0xd8]
sub ebx, 0x10
lea esi, [ecx - 0x10]
cmp esi, ebx
je 0x57bab6
cmp dword [ebx + 0xc], 0
jl 0x57baa7
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x57baa7
push esi
call fcn.00401f10
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.004029d0
lea eax, [esi + 0x10]
mov dword [edi + 0xd8], eax
jmp 0x57bab6
push dword [ecx - 0xc]
push ecx
lea ecx, [edi + 0xd8]
call fcn.00402430
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0xf8]
push eax
push 0
push 0x5c6fdc
push 0x5c6ff0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x308], eax
mov ecx, dword [ebx + 0xd0]
mov ebx, dword [edi + 0xd0]
sub ebx, 0x10
lea esi, [ecx - 0x10]
cmp esi, ebx
je 0x57bb26
cmp dword [ebx + 0xc], 0
jl 0x57bb17
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x57bb17
push esi
call fcn.00401f10
add esp, 4
mov ecx, ebx
mov esi, eax
call fcn.004029d0
lea eax, [esi + 0x10]
mov dword [edi + 0xd0], eax
jmp 0x57bb26
push dword [ecx - 0xc]
push ecx
lea ecx, [edi + 0xd0]
call fcn.00402430
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x564]
mov dword [edi + 0x2af4], eax
call fcn.00408a65
mov eax, dword [eax + 4]
push dword [eax + 0xe4]
lea eax, [edi + 0xf8]
push 0x104
push eax
call fcn.0054548f
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4