Function at 0x10053160
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea ecx, [ebp - 0x68]
push 0
push ecx
mov dword [ebp - 0x6c], eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D6CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D6CHECK2
push str.config
mov dword [0x10195244], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10195248], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D6CHECK3
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D6CHECK4
push str.config
mov dword [0x1019524c], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D6CHECK5
push str.config
mov dword [0x10195250], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
mov dword [0x10195254], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D6CHECK6
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D6CHECK7
push str.config
mov dword [0x10195258], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D6CHECK8
push str.config
mov dword [0x1019525c], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10195260], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D6EDIT1
push str.config
call edi
lea ecx, [ebp - 0x68]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D6EDIT4
push str.config
mov dword [0x1019526c], eax
call edi
lea eax, [ebp - 0x68]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D6EDIT5
push str.config
mov dword [0x10195264], eax
call edi
lea edx, [ebp - 0x68]
push edx
call ebx
add esp, 4
push esi
mov dword [0x10195268], eax
mov eax, dword [ebp - 0x6c]
push 0xbb8
mov byte [eax], 0
push eax
push 0x10092e4c
push str.D6LIST1
push str.config
call edi
mov esi, dword [ebp - 0x6c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10053360
sub eax, edx
je 0x10053380
mov eax, dword [0x101955c8]
push 0
push 0
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1009e968
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
je 0x10053458
lea esp, [esp]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100533a5
sub eax, edx
cmp byte [eax + esi - 2], 0x7c
jne 0x1005343e
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100533c0
push 0
sub eax, edx
push 0
mov byte [eax + esi - 2], cl
mov ecx, dword [0x101955c8]
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push esi
push eax
push 1
mov ecx, 0x101955a8
call sub.mfc100.dll_Ordinal_7211
mov eax, esi
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10053400
mov edx, dword [0x101955c8]
push 0
push 0
push 0x1004
sub eax, edi
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x6c], eax
lea eax, [edi + esi + 1]
push eax
call ebx
mov ecx, dword [ebp - 0x6c]
add esp, 4
dec ecx
push eax
push ecx
mov ecx, 0x101955a8
call sub.mfc100.dll_Ordinal_12170
push 0x1009e968
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
add esp, 8
test esi, esi
jne 0x100533a0
push 0
mov ecx, 0x101951b0
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x101951b0
call fcn.1002fce0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085dc6
mov esp, ebp
pop ebp
ret