Function at 0x10052032
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], ebx
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xc8
push ebx
push str.Ctrl9
push 0x1009a86c
mov edi, str.config
push edi
call esi
push ebx
push 1
mov ebx, 0x103b5cfc
push 0
mov ecx, ebx
call sub.mfc100.dll_Ordinal_12440
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl2
push 0x1009a860
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 1
call sub.mfc100.dll_Ordinal_12440
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl3
push 0x1009a854
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 2
call sub.mfc100.dll_Ordinal_12440
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl4
push 0x1009a848
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 3
call sub.mfc100.dll_Ordinal_12440
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl5
push 0x1009a83c
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 4
call sub.mfc100.dll_Ordinal_12440
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl6
push 0x1009a830
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 5
call sub.mfc100.dll_Ordinal_12440
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl7
push 0x1009a824
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 6
call sub.mfc100.dll_Ordinal_12440
push 0
push 0
push 0x1004
push dword [0x103b5d1c]
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [ebp - 0x170], 0
mov dword [ebp - 0x178], eax
test eax, eax
jle 0x1005224a
dec eax
mov dword [ebp - 0x174], eax
push 0x32
lea eax, [ebp - 0x9c]
push eax
push 2
push dword [ebp - 0x174]
mov ecx, ebx
call sub.mfc100.dll_Ordinal_5176
lea eax, [ebp - 0x9c]
push 0x100946a8
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10052230
push eax
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x170]
dec eax
push eax
push 0x1008
push dword [0x103b5d1c]
call dword [sym.imp.USER32.dll_SendMessageA]
inc dword [ebp - 0x170]
mov eax, dword [ebp - 0x170]
dec dword [ebp - 0x174]
cmp eax, dword [ebp - 0x178]
jl 0x100521e1
push dword [ebp - 0x168]
mov eax, dword [ebp - 0x16c]
push 0xbb8
push eax
push 0x1008aec4
push str.script
push edi
mov byte [eax], 0
call esi
push 0x10098bd8
push dword [ebp - 0x16c]
jmp 0x100523f7
push dword [ebp - 0x16c]
call sub.MSVCR100.dll_strlen
and dword [ebp - 0x170], 0
inc eax
mov dword [esp], 0x1008cd28
push dword [ebp - 0x16c]
mov dword [ebp - 0x178], eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x100523e5
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x174], ecx
push eax
push dword [ebp - 0x174]
call sub.MSVCR100.dll_strcpy
inc dword [ebp - 0x170]
add dword [ebp - 0x174], 0x32
push 0x1008cd28
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
test eax, eax
jne 0x100522be
cmp dword [ebp - 0x170], 2
jne 0x100523e5
push eax
push eax
push 0x1004
push dword [0x103b5d1c]
mov dword [ebp - 0x170], eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x1005236d
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0
push dword [ebp - 0x170]
mov ecx, ebx
call sub.mfc100.dll_Ordinal_5176
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0xcc]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x100523e5
inc dword [ebp - 0x170]
push 0
push 0
push 0x1004
push dword [0x103b5d1c]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x170], eax
jl 0x10052315
push 0
push 0
push 0x1004
push dword [0x103b5d1c]
call dword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x164]
push ecx
push eax
push 1
mov ecx, ebx
call sub.mfc100.dll_Ordinal_7211
lea eax, [ebp - 0x132]
push eax
push 1
push 0
push 0
push 0x1004
push dword [0x103b5d1c]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, ebx
call sub.mfc100.dll_Ordinal_12440
push 0x100946a8
push 2
push 0
push 0
push 0x1004
push dword [0x103b5d1c]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, ebx
call sub.mfc100.dll_Ordinal_12440
mov eax, dword [ebp - 0x178]
add eax, dword [ebp - 0x16c]
push 0x10098bd8
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
mov dword [ebp - 0x16c], eax
pop ecx
test eax, eax
jne 0x1005227c
push dword [ebp - 0x168]
lea eax, [ebp - 0x68]
push 0x64
push eax
push 0x1008b74c
push str.D9CHECK1
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 - 0x168]
mov dword [0x103ad7a4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7a8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7ac], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7b0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7b4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK6
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7b8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK7
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7bc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK8
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7c0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK9
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7c4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK10
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7c8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK11
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7cc], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK12
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad868], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK13
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7d0], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK15
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad870], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK16
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad874], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK17
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad878], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK18
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad87c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b754
push str.D9CHECK19
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae754], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK21
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae1d8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK22
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae758], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK23
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae880], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b754
push str.D9CHECK24
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae884], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK25
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae888], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK26
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae978], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b754
push str.D9CHECK27
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae88c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b754
push str.D9CHECK28
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae97c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK29
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ae9f4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK30
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103aeaf8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK31
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103aeb70], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK32
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103aec00], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9CHECK33
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103aec78], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.CSliderCtrl
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad7d4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9EDIT3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad880], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9EDIT17
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad884], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008b74c
push str.D9EDIT18
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103ad888], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1009456c
push str.D9list2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x103ae12c
call sub.mfc100.dll_Ordinal_12868
push dword [ebp - 0x168]
lea eax, [ebp - 0x68]
push 0x64
push eax
push 0x1008b74c
push str.D9COM4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [0x103ad730]
mov dword [0x103ae7d0], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, 0x103ad710
cmp eax, 1
jne 0x1005298d
push 0
mov ecx, esi
call sub.mfc100.dll_Ordinal_13219
mov ecx, esi
call fcn.10031878
mov ecx, esi
call fcn.100321c4
mov ecx, esi
call fcn.10031b5d
mov ecx, esi
call fcn.10031b5d
mov ecx, esi
call fcn.1003223c
mov ecx, esi
call fcn.10032192
mov ecx, esi
call fcn.1003318d
mov ecx, esi
call fcn.1003327a
mov ecx, esi
call fcn.10033298
mov ecx, esi
call fcn.1003339f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10083e24
leave
ret