Function at 0x1004f306
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x100a609c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xc8
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0xcc]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x2d0], esi
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push esi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1RADI01
mov ebx, str.config
push ebx
call edi
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c29a0], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK1
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c290c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK2
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2910], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK3
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2940], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK4
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
mov dword [0x103c2944], eax
push dword [ebp - 0x2d0]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D1CHECK5
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2948], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK6
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c294c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK7
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c29a4], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK8
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2950], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK9
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2938], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK10
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2964], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK11
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c296c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK12
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2954], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK13
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2958], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK14
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c295c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK15
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2960], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK16
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2968], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK17
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2970], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK18
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2994], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK19
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c299c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK20
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2a1c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1CHECK21
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c321c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1COMBO1
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2924], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1COMBO2
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2928], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1COMBO3
push ebx
call edi
push 0xbba
mov ecx, 0x103c2878
call dword [sym.imp.mfc100.dll_Ordinal_4785]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push 0
push eax
mov eax, dword [ebp - 0x2d4]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xcc]
push 0x103c2914
push eax
call esi
pop ecx
mov ecx, dword [ebp - 0x2d4]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_5204]
push dword [ebp - 0x2d0]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D1COMBO4
push ebx
call edi
push 0xbbb
mov ecx, 0x103c2878
call dword [sym.imp.mfc100.dll_Ordinal_4785]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push 0
push eax
mov eax, dword [ebp - 0x2d4]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xcc]
push 0x103c2918
push eax
call esi
pop ecx
mov ecx, dword [ebp - 0x2d4]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_5204]
push dword [ebp - 0x2d0]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D1COMBO5
push ebx
call edi
push 0xbbc
mov ecx, 0x103c2878
call dword [sym.imp.mfc100.dll_Ordinal_4785]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push 0
push eax
mov eax, dword [ebp - 0x2d4]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x2d0]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D1COMBO6
push ebx
call edi
push 0xbbd
mov ecx, 0x103c2878
call dword [sym.imp.mfc100.dll_Ordinal_4785]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push 0
push eax
mov eax, dword [ebp - 0x2d4]
push 0x14e
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x2d0]
lea eax, [ebp - 0xcc]
push 0x64
push eax
push 0x1008b588
push str.D1COMBO7
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c292c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1COMBO8
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2930], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1COMBO9
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2934], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1COMBO10
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c293c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1COMBO11
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c3218], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1COMBO12
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c3220], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT1
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c291c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT2
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2920], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT3
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2974], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT4
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2978], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT5
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c297c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT6
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2998], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT7
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2980], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT8
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2984], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT9
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2988], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT10
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2990], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT11
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c298c], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT12
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c3214], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D1EDIT13
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103c2a20], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008b588
push str.D16CHECK1
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call esi
pop ecx
push dword [ebp - 0x2d0]
mov dword [0x103cdab4], eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x1008ade4
push str.D40COMBOX
push ebx
call edi
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.MSVCR100.dll_strlen]
pop ecx
cmp eax, 3
jbe 0x1004fcaa
push 0
push 0
push 0x14b
push dword [0x103d1b44]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xcc]
push eax
push 0
push 0x143
push dword [0x103d1b44]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14e
push dword [0x103d1b44]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2d8]
push 0xbb8
push eax
push 0x1008ade4
push str.D16LIST1
push ebx
mov byte [eax], 0
call edi
push dword [ebp - 0x2d8]
call dword [sym.imp.MSVCR100.dll_strlen]
xor ebx, ebx
pop ecx
test eax, eax
je 0x1004fcf2
push ebx
push ebx
push 0x1009
push dword [0x103cded0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.MSVCR100.dll_strtok]
push 0x100938e0
push dword [ebp - 0x2d8]
jmp 0x1004fdf0
push dword [ebp - 0x2d4]
call dword [sym.imp.MSVCR100.dll_strlen]
inc eax
mov dword [esp], 0x1008d094
push dword [ebp - 0x2d4]
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d0], ebx
call edi
pop ecx
pop ecx
cmp eax, ebx
je 0x1004fdde
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 0x2d8], ecx
push eax
push dword [ebp - 0x2d8]
call dword [sym.imp.MSVCR100.dll_strcpy]
inc dword [ebp - 0x2d0]
add dword [ebp - 0x2d8], 0xff
push 0x1008d094
push ebx
call edi
add esp, 0x10
cmp eax, ebx
jne 0x1004fd46
cmp dword [ebp - 0x2d0], 2
jne 0x1004fdde
push ebx
push ebx
push 0x1004
push dword [0x103cded0]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x2cc]
push ecx
push eax
push 1
mov ecx, 0x103cdeb0
call dword [sym.imp.mfc100.dll_Ordinal_7211]
push ebx
push ebx
push 0x1004
push dword [0x103cded0]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x1cd]
push eax
call esi
pop ecx
push eax
mov eax, dword [ebp - 0x2d8]
dec eax
push eax
mov ecx, 0x103cdeb0
call dword [sym.imp.mfc100.dll_Ordinal_12170]
mov eax, dword [ebp - 0x2dc]
add eax, dword [ebp - 0x2d4]
push 0x100938e0
push eax
call edi
pop ecx
mov dword [ebp - 0x2d4], eax
pop ecx
cmp eax, ebx
jne 0x1004fd08
mov edi, dword [sym.imp.mfc100.dll_Ordinal_13219]
mov esi, 0x103c2878
push ebx
mov ecx, esi
call edi
mov ecx, esi
call fcn.10007f16
mov ecx, esi
call fcn.10008043
mov esi, 0x103cda20
push ebx
mov ecx, esi
call edi
mov ecx, esi
call fcn.100135e3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008344f
leave
ret