Function at 0x10050930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
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 0xc8
lea ecx, [ebp - 0xcc]
push 0
push ecx
mov dword [ebp - 0x2d4], eax
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1CHECK1
push str.config
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1CHECK2
push str.config
mov dword [0x10190dfc], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e00], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1CHECK3
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1CHECK4
push str.config
mov dword [0x10190e30], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1CHECK5
push str.config
mov dword [0x10190e34], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
mov dword [0x10190e38], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1CHECK8
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1CHECK9
push str.config
mov dword [0x10190e40], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1CHECK10
push str.config
mov dword [0x10190e28], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e54], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1CHECK11
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1CHECK12
push str.config
mov dword [0x10190e5c], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1CHECK13
push str.config
mov dword [0x10190e44], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
mov dword [0x10190e48], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1CHECK14
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1CHECK15
push str.config
mov dword [0x10190e4c], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1CHECK16
push str.config
mov dword [0x10190e50], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e58], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1CHECK17
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1CHECK18
push str.config
mov dword [0x10190e60], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1CHECK19
push str.config
mov dword [0x10190e84], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e8c], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1CHECK20
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1CHECK21
push str.config
mov dword [0x10190f0c], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1COMBO1
push str.config
mov dword [0x1019170c], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e14], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1COMBO2
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1COMBO3
push str.config
mov dword [0x10190e18], eax
call edi
push 0xbba
mov ecx, 0x10190d68
call sub.mfc100.dll_Ordinal_4785
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0xcc]
push eax
call ebx
mov ecx, dword [ebp - 0x2d0]
mov edx, dword [ecx + 0x20]
add esp, 4
push 0
push eax
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xcc]
push 0x10190e04
push eax
call ebx
mov ecx, dword [ebp - 0x2d0]
add esp, 4
push eax
call sub.mfc100.dll_Ordinal_5204
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1COMBO4
push str.config
call edi
push 0xbbb
mov ecx, 0x10190d68
call sub.mfc100.dll_Ordinal_4785
lea edx, [ebp - 0xcc]
push edx
mov dword [ebp - 0x2d0], eax
call ebx
add esp, 4
push 0
push eax
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax + 0x20]
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0xcc]
push 0x10190e08
push edx
call ebx
mov ecx, dword [ebp - 0x2d0]
add esp, 4
push eax
call sub.mfc100.dll_Ordinal_5204
push esi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1COMBO5
push str.config
call edi
push 0xbbc
mov ecx, 0x10190d68
call sub.mfc100.dll_Ordinal_4785
lea ecx, [ebp - 0xcc]
push ecx
mov dword [ebp - 0x2d0], eax
call ebx
mov edx, dword [ebp - 0x2d0]
add esp, 4
push 0
push eax
mov eax, dword [edx + 0x20]
push 0x14e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1COMBO6
push str.config
call edi
push 0xbbd
mov ecx, 0x10190d68
call sub.mfc100.dll_Ordinal_4785
lea edx, [ebp - 0xcc]
push edx
mov dword [ebp - 0x2d0], eax
call ebx
add esp, 4
push 0
push eax
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [eax + 0x20]
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1COMBO7
push str.config
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1COMBO8
push str.config
mov dword [0x10190e1c], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e20], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1COMBO9
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1COMBO10
push str.config
mov dword [0x10190e24], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1COMBO11
push str.config
mov dword [0x10190e2c], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10191708], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1COMBO12
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1EDIT1
push str.config
mov dword [0x10191710], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
mov dword [0x10190e0c], eax
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1EDIT2
push str.config
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e10], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1EDIT3
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1EDIT4
push str.config
mov dword [0x10190e64], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1EDIT5
push str.config
mov dword [0x10190e68], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e6c], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1EDIT6
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1EDIT7
push str.config
mov dword [0x10190e88], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
mov dword [0x10190e70], eax
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1EDIT8
push str.config
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e74], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1EDIT9
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1EDIT10
push str.config
mov dword [0x10190e78], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
push str.D1EDIT11
push str.config
mov dword [0x10190e80], eax
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x10190e7c], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10094b60
push str.D1EDIT12
push str.config
call edi
lea ecx, [ebp - 0xcc]
push ecx
call ebx
add esp, 4
push esi
push 0x64
lea edx, [ebp - 0xcc]
push edx
push 0x10094b60
push str.D1EDIT13
push str.config
mov dword [0x10191704], eax
call edi
lea eax, [ebp - 0xcc]
push eax
call ebx
add esp, 4
push esi
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0x10094b60
mov dword [0x10190f10], eax
push str.D16CHECK1
push str.config
call edi
lea edx, [ebp - 0xcc]
push edx
call ebx
add esp, 4
push esi
push 0x64
mov dword [0x1019a27c], eax
lea eax, [ebp - 0xcc]
push eax
push 0x10092e4c
push str.D40COMBOX
push str.config
call edi
lea eax, [ebp - 0xcc]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10051230
sub eax, ecx
cmp eax, 3
jbe 0x10051284
mov ecx, dword [0x1019e05c]
push 0
push 0
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x1019e05c]
lea edx, [ebp - 0xcc]
push edx
push 0
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x1019e05c]
push 0
push 0
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x2d4]
push esi
push 0xbb8
push eax
push 0x10092e4c
push str.D16LIST1
push str.config
mov byte [eax], 0
call edi
mov esi, dword [ebp - 0x2d4]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100512b0
sub eax, edx
je 0x100512d1
mov edx, dword [0x1019a698]
push 0
push 0
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1009e9a0
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
add esp, 8
mov dword [ebp - 0x2d0], esi
test esi, esi
je 0x100513e9
jmp 0x100512f8
mov esi, dword [ebp - 0x2d0]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10051300
sub eax, edx
push 0x10094b74
push esi
mov dword [ebp - 0x2d4], eax
xor edi, edi
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x100513c2
lea esi, [ebp - 0x2cc]
mov edi, edi
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10051334
push 0x10094b74
push 0
inc edi
add esi, 0xff
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10051330
cmp edi, 2
jne 0x100513bc
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push eax
mov eax, dword [0x1019a698]
push 0x1004
push eax
call esi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2cc]
push ecx
push eax
push 1
mov ecx, 0x1019a678
call sub.mfc100.dll_Ordinal_7211
mov edx, dword [0x1019a698]
push 0
push 0
push 0x1004
push edx
call esi
lea esi, [eax - 1]
lea eax, [ebp - 0x1cd]
push eax
call ebx
add esp, 4
push eax
push esi
mov ecx, 0x1019a678
call sub.mfc100.dll_Ordinal_12170
mov esi, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x2d4]
lea edx, [ecx + esi + 1]
push 0x1009e9a0
push edx
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x2d0], eax
test eax, eax
jne 0x100512f2
push 0
mov ecx, 0x10190d68
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x10190d68
call fcn.10008df0
mov ecx, 0x10190d68
call fcn.10008f30
push 0
mov ecx, 0x1019a1e8
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x1019a1e8
call fcn.10016190
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10086738
mov esp, ebp
pop ebp
ret