Function at 0x100525d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x100a509c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x64
lea eax, [ebp - 0x68]
mov esi, ecx
mov ebx, edx
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 0x100994ac
mov edi, str.config
push edi
call esi
push ebx
push 1
mov ebx, 0x103d078c
push 0
mov ecx, ebx
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl2
push 0x100994b8
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 1
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl3
push 0x100994c4
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 2
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl4
push 0x100994d0
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 3
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl5
push 0x100994dc
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 4
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl6
push 0x100994e8
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 5
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push dword [ebp - 0x168]
push 0xc8
push dword [ebp - 0x16c]
push str.Ctrl7
push 0x100994f4
push edi
call esi
push dword [ebp - 0x16c]
mov ecx, ebx
push 1
push 6
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push 0
push 0
push 0x1004
push dword [0x103d07ac]
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [ebp - 0x170], 0
mov dword [ebp - 0x178], eax
test eax, eax
jle 0x100527ef
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 dword [sym.imp.mfc100.dll_Ordinal_5176]
lea eax, [ebp - 0x9c]
push 0x10093588
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
jne 0x100527d5
push eax
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x170]
dec eax
push eax
push 0x1008
push dword [0x103d07ac]
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 0x10052784
push dword [ebp - 0x168]
mov eax, dword [ebp - 0x16c]
push 0xbb8
push eax
push 0x10089de4
push str.script
push edi
mov byte [eax], 0
call esi
push 0x10098770
push dword [ebp - 0x16c]
jmp 0x100529a3
push dword [ebp - 0x16c]
call dword [sym.imp.MSVCR100.dll_strlen]
and dword [ebp - 0x170], 0
inc eax
mov dword [esp], 0x1008c09c
push dword [ebp - 0x16c]
mov dword [ebp - 0x178], eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
pop ecx
test eax, eax
je 0x10052991
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x174], ecx
push eax
push dword [ebp - 0x174]
call dword [sym.imp.MSVCR100.dll_strcpy]
inc dword [ebp - 0x170]
add dword [ebp - 0x174], 0x32
push 0x1008c09c
push 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 0x10
test eax, eax
jne 0x10052864
cmp dword [ebp - 0x170], 2
jne 0x10052991
push eax
push eax
push 0x1004
push dword [0x103d07ac]
mov dword [ebp - 0x170], eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x10052916
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0
push dword [ebp - 0x170]
mov ecx, ebx
call dword [sym.imp.mfc100.dll_Ordinal_5176]
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.MSVCR100.dll_strcmp]
pop ecx
pop ecx
test eax, eax
je 0x10052991
inc dword [ebp - 0x170]
push 0
push 0
push 0x1004
push dword [0x103d07ac]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp - 0x170], eax
jl 0x100528bc
push 0
push 0
push 0x1004
push dword [0x103d07ac]
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 dword [sym.imp.mfc100.dll_Ordinal_7211]
lea eax, [ebp - 0x132]
push eax
push 1
push 0
push 0
push 0x1004
push dword [0x103d07ac]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, ebx
call dword [sym.imp.mfc100.dll_Ordinal_12440]
push 0x10093588
push 2
push 0
push 0
push 0x1004
push dword [0x103d07ac]
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
mov ecx, ebx
call dword [sym.imp.mfc100.dll_Ordinal_12440]
mov eax, dword [ebp - 0x178]
add eax, dword [ebp - 0x16c]
push 0x10098770
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
pop ecx
mov dword [ebp - 0x16c], eax
pop ecx
test eax, eax
jne 0x10052821
push dword [ebp - 0x168]
lea eax, [ebp - 0x68]
push 0x64
push eax
push 0x1008a588
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 [0x103c8234], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8238], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c823c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8240], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK5
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8244], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK6
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8248], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK7
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c824c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK8
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8250], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK9
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8254], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK10
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8258], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK11
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c825c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK12
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c82f8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK13
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8260], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK15
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8300], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK16
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8304], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK17
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8308], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK18
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c830c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a578
push str.D9CHECK19
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c91e4], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK21
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8c68], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK22
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c91e8], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK23
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c9310], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a578
push str.D9CHECK24
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c9314], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK25
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c9318], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK26
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c9408], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a578
push str.D9CHECK27
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c931c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a578
push str.D9CHECK28
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c940c], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK29
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c9484], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK30
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c9588], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK31
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c9600], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK32
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c9690], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9CHECK33
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c9708], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.CSliderCtrl
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8264], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9EDIT3
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8310], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9EDIT17
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8314], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x1008a588
push str.D9EDIT18
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [ebp - 0x168]
mov dword [0x103c8318], eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x10093314
push str.D9list2
push edi
call esi
lea eax, [ebp - 0x68]
push eax
mov ecx, 0x103c8bbc
call dword [sym.imp.mfc100.dll_Ordinal_12868]
push dword [ebp - 0x168]
lea eax, [ebp - 0x68]
push 0x64
push eax
push 0x1008a588
push str.D9COM4
push edi
call esi
lea eax, [ebp - 0x68]
push eax
call ebx
pop ecx
push dword [0x103c81c0]
mov dword [0x103c9260], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov esi, 0x103c81a0
cmp eax, 1
jne 0x10052f3b
push 0
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_13219]
mov ecx, esi
call fcn.10030a50
mov ecx, esi
call fcn.10031510
mov ecx, esi
call fcn.100325a7
mov ecx, esi
call fcn.100325a7
mov ecx, esi
call fcn.100317e7
mov ecx, esi
call fcn.100314dd
mov ecx, esi
call fcn.10032667
mov ecx, esi
call fcn.10032753
mov ecx, esi
call fcn.10032772
mov ecx, esi
call fcn.10032878
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10082395
leave
ret