Function at 0x432168
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
push 0x470274
mov dword [ebp - 0x254], esi
push edi
call fcn.00460580
not eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x250], 0
add esp, 8
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], 0
je 0x43257a
mov edx, dword [ebp - 0x250]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ecx + edx*4]
cmp bl, 1
jne 0x4321c8
mov dword [ebp - 0x258], 0x100
jmp 0x4321d2
mov dword [ebp - 0x258], 0x40
cmp ebx, 0xff
jge 0x43239b
cmp ebx, 1
jne 0x432208
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp + 0x14]
push dword [edx + ecx*4]
lea ecx, [ebp - 0x240]
push 0x470278
push ecx
call fcn.00460790
add esp, 0xc
jmp 0x432304
cmp ebx, 2
jne 0x432236
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + ecx*4]
movzx edx, byte [ecx]
push edx
lea edx, [ebp - 0x240]
push 0x47027c
push edx
call fcn.00460790
add esp, 0xc
jmp 0x432304
cmp ebx, 3
jne 0x432262
mov edx, dword [ebp - 0x250]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + edx*4]
push dword [edx]
lea ecx, [ebp - 0x240]
push 0x470280
push ecx
call fcn.00460790
add esp, 0xc
jmp 0x432304
cmp ebx, 4
jne 0x432291
mov edx, dword [ebp - 0x250]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + edx*4]
fld dword [edx]
sub esp, 8
lea ecx, [ebp - 0x240]
fstp qword [esp]
push 0x470284
push ecx
call fcn.00460790
add esp, 0x10
jmp 0x432304
cmp ebx, 5
jne 0x4322bd
mov edx, dword [ebp - 0x250]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + edx*4]
push dword [edx + 4]
lea ecx, [ebp - 0x240]
push dword [edx]
push 0x47028c
push ecx
call fcn.00460790
add esp, 0x10
jmp 0x432304
cmp ebx, 6
jne 0x4322e6
mov edx, dword [ebp - 0x250]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + edx*4]
push dword [edx]
lea ecx, [ebp - 0x240]
push 0x470294
push ecx
call fcn.00460790
add esp, 0xc
jmp 0x432304
cmp ebx, 7
jne 0x432561
push esi
lea ecx, [ebp - 0x240]
push 0x470280
push ecx
call fcn.00460790
add esp, 0xc
push esi
lea edx, [ebp - 0x240]
push edx
call fcn.00460634
add esp, 4
lea ecx, [ebp - 0x240]
push eax
push ecx
call fcn.00432948
and eax, 0xffff
lea edx, [ebp - 0x100]
push dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0x10]
push dword [ebp - 0x258]
push edx
push 0
mov ecx, dword [ebp - 0x250]
push dword [eax + ecx*4]
push edi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
add esp, 0xc
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x100]
push ecx
call fcn.00460580
add esp, 8
test eax, eax
je 0x432561
push dword [ebp + 8]
lea edx, [ebp - 0x240]
push edx
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp + 0x10]
push dword [edx + ecx*4]
push edi
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
neg eax
sbb eax, eax
inc eax
or dword [ebp - 0x254], eax
jmp 0x432561
mov eax, ebx
sar eax, 8
and ebx, 0xff
mov dword [ebp - 0x25c], eax
cmp ebx, 3
jne 0x4323c5
mov edx, dword [ebp - 0x250]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 0x264], edx
jmp 0x4323f9
cmp ebx, 5
jne 0x4323de
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx + ecx*4]
mov dword [ebp - 0x24c], ecx
jmp 0x4323f9
cmp ebx, 6
jne 0x432561
mov edx, dword [ebp - 0x250]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + edx*4]
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x244], ebx
xor ebx, ebx
cmp dword [ebp - 0x25c], 0
jle 0x432561
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp + 0x10]
lea ecx, [edx + ecx*4]
mov dword [ebp - 0x248], ecx
lea edx, [ebx + 1]
push edx
mov ecx, dword [ebp - 0x248]
lea edx, [ebp - 0x140]
push dword [ecx]
push 0x47029c
push edx
call fcn.00460790
add esp, 0x10
mov ecx, dword [ebp - 0x244]
cmp ecx, 3
jne 0x43246a
mov ecx, dword [ebp - 0x264]
lea edx, [ebp - 0x240]
push dword [ecx + ebx*4]
push 0x470280
push edx
call fcn.00460790
add esp, 0xc
jmp 0x4324d0
cmp ecx, 5
jne 0x4324b3
mov edx, dword [ebp - 0x24c]
fld qword [edx + ebx*8]
fcomp qword [0x4702a4]
fnstsw ax
sahf
jne 0x432490
cmp dword [ebp - 0x268], 0
jne 0x432554
mov ecx, dword [ebp - 0x24c]
lea edx, [ebp - 0x240]
push dword [ecx + ebx*8 + 4]
push dword [ecx + ebx*8]
push 0x47028c
push edx
call fcn.00460790
add esp, 0x10
jmp 0x4324d0
mov edx, dword [ebp - 0x260]
lea ecx, [ebp - 0x240]
push dword [edx + ebx*4]
push 0x4702ac
push ecx
call fcn.00460790
add esp, 0xc
push esi
lea ecx, [ebp - 0x240]
push ecx
call fcn.00460634
add esp, 4
lea edx, [ebp - 0x240]
push eax
push edx
call fcn.00432948
and eax, 0xffff
lea ecx, [ebp - 0x100]
push dword [ebp + 8]
lea edx, [ebp - 0x140]
mov esi, eax
push dword [ebp - 0x258]
push ecx
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
add esp, 0xc
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.00460580
add esp, 8
test eax, eax
je 0x432554
push dword [ebp + 8]
lea ecx, [ebp - 0x240]
lea edx, [ebp - 0x140]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringA]
neg eax
sbb eax, eax
inc eax
or dword [ebp - 0x254], eax
inc ebx
cmp ebx, dword [ebp - 0x25c]
jl 0x432420
inc dword [ebp - 0x250]
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp + 0x18]
cmp dword [edx + ecx*4], 0
jne 0x4321ab
mov eax, dword [ebp - 0x254]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret