Function at 0x10052129
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x39c
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1035ffa4], 0
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_strtok]
push edi
mov dword [ebp - 0x39c], eax
mov edi, ecx
mov ebx, 0x100938e0
jne 0x10052337
push eax
push 0xbb8
push edi
push 0x1008ade4
push str.qhlb
mov byte [0x10111080], 0
push str.config
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10099b04
push edi
jmp 0x10052325
push dword [ebp - 0x390]
call dword [sym.imp.MSVCR100.dll_strlen]
and dword [ebp - 0x38c], 0
push ebx
push dword [ebp - 0x390]
inc eax
mov dword [ebp - 0x398], eax
call esi
add esp, 0xc
test eax, eax
je 0x10052313
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x394], ecx
push eax
push dword [ebp - 0x394]
call dword [sym.imp.MSVCR100.dll_strcpy]
inc dword [ebp - 0x38c]
add dword [ebp - 0x394], 0x64
push ebx
push 0
call esi
add esp, 0x10
test eax, eax
jne 0x100521cd
cmp dword [ebp - 0x38c], 8
je 0x10052209
cmp dword [ebp - 0x38c], 9
jne 0x10052313
lea eax, [ebp - 0x388]
push eax
movzx eax, byte [0x10111080]
lea eax, [eax*4 + 0x101108b0]
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
movzx ecx, byte [0x10111080]
mov byte [ecx + 0x10111030], al
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
movzx ecx, byte [0x10111080]
mov byte [ecx + 0x10110978], al
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
movzx ecx, byte [0x10111080]
mov byte [ecx + 0x10110950], al
lea eax, [ebp - 0x1f8]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
movzx ecx, byte [0x10111080]
mov byte [ecx + 0x101109c8], al
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
movzx ecx, byte [0x10111080]
mov byte [ecx + 0x101109a0], al
lea eax, [ebp - 0x130]
push eax
movzx eax, byte [0x10111080]
imul eax, eax, 0x14
add eax, 0x101109f0
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
movzx ecx, byte [0x10111080]
add esp, 0x28
cmp dword [ebp - 0x38c], 9
mov byte [ecx + 0x10111058], al
jne 0x100522f0
lea eax, [ebp - 0x68]
push eax
jmp 0x100522f5
push 0x1009a84c
movzx eax, byte [0x10111080]
imul eax, eax, 0x14
add eax, 0x10110d10
push eax
call dword [sym.imp.MSVCR100.dll_strcpy]
inc byte [0x10111080]
pop ecx
pop ecx
mov eax, dword [ebp - 0x398]
add eax, dword [ebp - 0x390]
push 0x10099b04
push eax
call esi
pop ecx
mov dword [ebp - 0x390], eax
pop ecx
test eax, eax
jne 0x10052193
push dword [ebp - 0x39c]
mov byte [edi], 0
push 0xbb8
push edi
push 0x1008ade4
push str.zb_zt
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10099b04
push edi
call esi
pop ecx
pop ecx
mov dword [ebp - 0x390], eax
test eax, eax
je 0x10052443
mov dword [ebp - 0x398], 0x10112897
mov dword [ebp - 0x39c], 0x101127e8
push dword [ebp - 0x390]
call dword [sym.imp.MSVCR100.dll_strlen]
and dword [ebp - 0x38c], 0
push ebx
push dword [ebp - 0x390]
lea edi, [eax + 1]
call esi
add esp, 0xc
test eax, eax
je 0x10052425
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x394], ecx
push eax
push dword [ebp - 0x394]
call dword [sym.imp.MSVCR100.dll_strcpy]
inc dword [ebp - 0x38c]
add dword [ebp - 0x394], 0x64
push ebx
push 0
call esi
add esp, 0x10
test eax, eax
jne 0x100523b9
cmp dword [ebp - 0x38c], 2
jne 0x10052425
lea eax, [ebp - 0x388]
push eax
push dword [ebp - 0x39c]
call dword [sym.imp.MSVCR100.dll_strcpy]
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
mov ecx, dword [ebp - 0x398]
add esp, 0xc
test eax, eax
setne al
add dword [ebp - 0x39c], 0x19
inc dword [ebp - 0x398]
mov byte [ecx], al
add edi, dword [ebp - 0x390]
push 0x10099b04
push edi
call esi
pop ecx
pop ecx
mov dword [ebp - 0x390], eax
test eax, eax
jne 0x10052387
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008344f
leave
ret