Function at 0x10051cdc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x100a69a0]
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
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x68]
push 0
push eax
mov dword [ebp - 0x6c], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6CHECK1
mov edi, str.config
push edi
call esi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ac574], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6CHECK2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ac578], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6CHECK3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ac57c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6CHECK4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ac580], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6CHECK5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
mov dword [0x103ac584], eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
push 0x64
push eax
push 0x1008b74c
push str.D6CHECK6
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ac588], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6CHECK7
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ac58c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6CHECK8
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ac590], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6EDIT1
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ac59c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6EDIT4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x6c]
mov dword [0x103ac594], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D6EDIT5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
mov dword [0x103ac598], eax
mov eax, dword [ebp - 0x70]
pop ecx
push dword [ebp - 0x6c]
mov byte [eax], 0
push 0xbb8
push eax
push 0x1008aec4
push str.D6LIST1
push edi
call esi
push dword [ebp - 0x70]
call sub.MSVCR100.dll_strlen
xor edi, edi
pop ecx
test eax, eax
je 0x10051ece
push edi
push edi
push 0x1009
push dword [0x103ac8f8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10093a3c
push dword [ebp - 0x70]
jmp 0x10051f52
push esi
call sub.MSVCR100.dll_strlen
cmp byte [eax + esi - 2], 0x7c
pop ecx
jne 0x10051f4c
push esi
call sub.MSVCR100.dll_strlen
pop ecx
push edi
push edi
push 0x1004
mov byte [eax + esi - 2], 0
push dword [0x103ac8f8]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push edi
push edi
push esi
push eax
push 1
mov ecx, 0x103ac8d8
call sub.mfc100.dll_Ordinal_7211
push edi
push edi
push 0x1004
push dword [0x103ac8f8]
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov dword [ebp - 0x70], eax
call sub.MSVCR100.dll_strlen
lea eax, [eax + esi + 1]
push eax
call ebx
pop ecx
pop ecx
push eax
mov eax, dword [ebp - 0x70]
dec eax
push eax
mov ecx, 0x103ac8d8
call sub.mfc100.dll_Ordinal_12170
push 0x10093a3c
push edi
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
jne 0x10051ed8
push dword [0x103ac500]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, 0x103ac4e0
cmp eax, 1
jne 0x10051f82
push edi
mov ecx, esi
call sub.mfc100.dll_Ordinal_13219
mov ecx, esi
call fcn.1002eb2b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083a34
leave
ret