Function at 0x41d9b4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0x64
push 0x5210d4
push 0x5210e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0x14
push 0x5210e4
push 0x5210f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 1], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0
push 0x5210f4
push 0x521100
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 2], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0
push 0x521104
push 0x521110
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 3], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 1
push 0x521114
push 0x52111c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 8], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 1
push 0x521120
push 0x52112c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 9], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 1
push 0x521130
push 0x521138
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xa], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 1
push 0x52113c
push 0x521148
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xf], al
mov edx, dword [ebp + 8]
mov byte [edx + 5], 0
mov eax, dword [ebp + 8]
mov byte [eax + 4], 0
cmp dword [0x5430c8], 0
je 0x41db25
mov ecx, dword [ebp - 0x3c]
add ecx, 0xbc8
push ecx
push 0
push 0x52114c
push 0x52115c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x521160
push 0x521170
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 5], al
mov edx, dword [ebp + 8]
mov byte [edx + 0xd], 0
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x521174
push 0x521180
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xd], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x10], 0
cmp dword [0x5425b8], 0
je 0x41db7e
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x521184
push 0x521198
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x10], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x11], 0
cmp dword [0x5425b8], 0
je 0x41dbaf
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x52119c
push 0x5211b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x11], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x12], 0
cmp dword [0x5425b8], 0
je 0x41dbe0
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x5211b8
push 0x5211cc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x12], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x13], 0
cmp dword [0x5425b8], 0
je 0x41dc11
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x5211d0
push 0x5211e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x13], al
mov edx, dword [ebp + 8]
mov byte [edx + 6], 0
cmp dword [0x54310c], 0
je 0x41dc42
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x5211e4
push 0x5211fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 6], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x1c], 0
cmp dword [0x5425b8], 0
je 0x41dc73
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x521200
push 0x521210
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x1c], al
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 8]
test eax, eax
jne 0x41dc86
mov ecx, dword [ebp + 8]
mov byte [ecx + 9], 0
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 9]
test eax, eax
jne 0x41dc99
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xa], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x19], 0
mov eax, dword [ebp + 8]
mov byte [eax + 0x20], 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xbc8
push ecx
push 0
push 0x521214
push 0x521220
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov byte [edx + 0x20], al
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x521224
push 0x521230
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x21], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0
push 0x521234
push 0x52123c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x18], al
mov edx, dword [ebp + 8]
mov byte [edx + 0x1a], 7
mov eax, dword [ebp + 8]
mov byte [eax + 0x1b], 1
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x22], 0
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0
push 0x521240
push 0x521250
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x22], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0x10
push 0x521254
push 0x521264
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x24], ax
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0x10
push 0x521268
push 0x521278
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x26], ax
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0x10
push 0x52127c
push 0x52128c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x28], ax
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0x10
push 0x521290
push 0x52129c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x2a], ax
mov edx, dword [ebp + 8]
mov byte [edx + 0x23], 0
mov eax, dword [ebp + 8]
mov word [eax + 0x2e], 0
cmp dword [0x5430cc], 0
je 0x41de2c
mov ecx, dword [ebp - 0x3c]
add ecx, 0xbc8
push ecx
push 0
push 0x5212a0
push 0x5212b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 8]
mov byte [edx + 0x23], al
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x5212b4
push 0x5212c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x2e], ax
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0
push 0x5212c4
push 0x5212d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xc], al
mov edx, dword [ebp - 0x3c]
add edx, 0xbc8
push edx
push 0
push 0x5212dc
push 0x5212e8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov word [ecx + 0x2c], ax
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + 0x2c]
test eax, eax
jne 0x41de85
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xc], 0
mov edx, dword [ebp + 8]
mov byte [edx + 0x30], 0
cmp dword [0x5430d4], 0
je 0x41df24
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
push 0
push 0x5212ec
push 0x5212fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x30], al
mov dword [ebp - 0x38], 0
jmp 0x41decc
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 3
jge 0x41df24
push 0x32
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.004be790
add esp, 0xc
mov ecx, dword [ebp - 0x38]
push ecx
push 0x521300
lea edx, [ebp - 0x34]
push edx
call fcn.004bec9d
add esp, 0xc
mov eax, dword [ebp - 0x3c]
add eax, 0xbc8
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 1
imul ecx, ecx, 0xa
push ecx
lea edx, [ebp - 0x34]
push edx
push 0x52130c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x38]
mov byte [ecx + 0x31], al
jmp 0x41dec3
mov esp, ebp
pop ebp
ret 4