Function at 0x10053480
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push edi
push 0xc8
push esi
push str.Ctrl9
push 0x1009ff18
push str.config
call ebx
push esi
push 1
push 0
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl2
push 0x1009ff0c
push str.config
call ebx
push esi
push 1
push 1
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl3
push 0x1009ff00
push str.config
call ebx
push esi
push 1
push 2
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl4
push 0x1009fef4
push str.config
call ebx
push esi
push 1
push 3
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl5
push 0x1009fee8
push str.config
call ebx
push esi
push 1
push 4
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl6
push 0x1009fedc
push str.config
call ebx
push esi
push 1
push 5
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12440
mov ecx, dword [0x1019de2c]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x168], 0
test eax, eax
jle 0x10053661
dec eax
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
push 0x32
lea edx, [ebp - 0x9c]
push edx
push 2
push eax
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_5176
mov ecx, 0x1009b394
lea eax, [ebp - 0x9c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053618
test dl, dl
je 0x10053614
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053618
add eax, 2
add ecx, 2
test dl, dl
jne 0x100535f8
xor eax, eax
jmp 0x1005361d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10053642
mov ecx, dword [ebp - 0x170]
sub ecx, dword [ebp - 0x168]
mov edx, dword [0x1019de2c]
push eax
dec ecx
push ecx
push 0x1008
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x168]
dec dword [ebp - 0x16c]
inc eax
mov dword [ebp - 0x168], eax
cmp eax, dword [ebp - 0x170]
jl 0x100535d1
push edi
push 0xbb8
push esi
push 0x10092e4c
push str.script
push str.config
mov byte [esi], 0
call ebx
push 0x1009e908
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
add esp, 8
mov dword [ebp - 0x168], esi
test esi, esi
je 0x10053855
jmp 0x100536a6
mov esi, dword [ebp - 0x168]
mov eax, esi
lea edx, [eax + 1]
jmp 0x100536b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100536b0
sub eax, edx
push 0x10094b74
push esi
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], 0
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
je 0x1005382e
lea esi, [ebp - 0x164]
mov edx, esi
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100536f0
inc dword [ebp - 0x16c]
push 0x10094b74
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x100536e6
cmp dword [ebp - 0x16c], 2
jne 0x10053828
mov eax, dword [0x1019de2c]
xor esi, esi
push esi
push esi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x100537aa
lea ecx, [ecx]
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0
push esi
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_5176
lea ecx, [ebp - 0x164]
lea eax, [ebp - 0xcc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053782
test dl, dl
je 0x1005377e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053782
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053762
xor eax, eax
jmp 0x10053787
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10053828
mov edx, dword [0x1019de2c]
push 0
push 0
push 0x1004
push edx
inc esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
jl 0x10053740
mov eax, dword [0x1019de2c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push eax
call esi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x164]
push ecx
push eax
push 1
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_7211
mov eax, dword [0x1019de2c]
lea edx, [ebp - 0x132]
push edx
push 1
push 0
push 0
push 0x1004
push eax
call esi
dec eax
push eax
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12440
mov ecx, dword [0x1019de2c]
push 0x1009b394
push 2
push 0
push 0
push 0x1004
push ecx
call esi
dec eax
push eax
mov ecx, 0x1019de0c
call sub.mfc100.dll_Ordinal_12440
mov esi, dword [ebp - 0x168]
mov edx, dword [ebp - 0x170]
lea eax, [edx + esi + 1]
push 0x1009e908
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x168], eax
test eax, eax
jne 0x100536a0
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D9CHECK1
push str.config
call ebx
mov esi, dword [sym.imp.MSVCR100.dll_atoi]
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 4
push edi
push 0x64
mov dword [0x101960d4], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D9CHECK2
push str.config
call ebx
lea ecx, [ebp - 0x68]
push ecx
call esi
add esp, 4
push edi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D9CHECK3
push str.config
mov dword [0x101960d8], eax
call ebx
lea eax, [ebp - 0x68]
push eax
call esi
add esp, 4
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D9CHECK4
push str.config
mov dword [0x101960dc], eax
call ebx
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 4
push edi
push 0x64
mov dword [0x101960e0], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D9CHECK5
push str.config
call ebx
lea ecx, [ebp - 0x68]
push ecx
call esi
add esp, 4
push edi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D9CHECK6
push str.config
mov dword [0x101960e4], eax
call ebx
lea eax, [ebp - 0x68]
push eax
call esi
add esp, 4
push edi
mov dword [0x101960e8], eax
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D9CHECK7
push str.config
call ebx
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 4
push edi
push 0x64
mov dword [0x101960ec], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D9CHECK8
push str.config
call ebx
lea ecx, [ebp - 0x68]
push ecx
call esi
add esp, 4
push edi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D9CHECK9
push str.config
mov dword [0x101960f0], eax
call ebx
lea eax, [ebp - 0x68]
push eax
call esi
add esp, 4
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D9CHECK11
push str.config
mov dword [0x101960f4], eax
call ebx
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 4
push edi
push 0x64
mov dword [0x101960fc], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D9CHECK12
push str.config
call ebx
lea ecx, [ebp - 0x68]
push ecx
call esi
add esp, 4
push edi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x1009ca58
push str.D9CHECK19
push str.config
mov dword [0x10196198], eax
call ebx
lea eax, [ebp - 0x68]
push eax
call esi
add esp, 4
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
mov dword [0x10197084], eax
push 0x10094b60
push str.D9CHECK21
push str.config
call ebx
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 4
push edi
push 0x64
mov dword [0x10196b08], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D9CHECK22
push str.config
call ebx
lea ecx, [ebp - 0x68]
push ecx
call esi
add esp, 4
push edi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D9CHECK23
push str.config
mov dword [0x10197088], eax
call ebx
lea eax, [ebp - 0x68]
push eax
call esi
add esp, 4
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.CSliderCtrl
push str.config
mov dword [0x101971b0], eax
call ebx
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 4
push edi
push 0x64
mov dword [0x10196104], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D9EDIT3
push str.config
call ebx
lea ecx, [ebp - 0x68]
push ecx
call esi
add esp, 4
push edi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D9EDIT17
push str.config
mov dword [0x101961b0], eax
call ebx
lea eax, [ebp - 0x68]
push eax
call esi
add esp, 4
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b60
push str.D9EDIT18
push str.config
mov dword [0x101961b4], eax
call ebx
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 4
push edi
push 0x64
mov dword [0x101961b8], eax
lea eax, [ebp - 0x68]
push eax
push 0x10094b60
push str.D9list2
push str.config
call ebx
lea ecx, [ebp - 0x68]
push ecx
mov ecx, 0x10196a5c
call sub.mfc100.dll_Ordinal_12868
push edi
push 0x64
lea edx, [ebp - 0x68]
push edx
push 0x10094b60
push str.D9COM4
push str.config
call ebx
lea eax, [ebp - 0x68]
push eax
call esi
mov ecx, dword [0x10196060]
add esp, 4
push ecx
mov dword [0x10197100], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
pop edi
pop esi
pop ebx
cmp eax, 1
jne 0x10053b9a
push 0
mov ecx, 0x10196040
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x10196040
call fcn.100326b0
mov ecx, 0x10196040
call fcn.10033060
mov ecx, 0x10196040
call fcn.10032ab0
mov ecx, 0x10196040
call fcn.10032ab0
mov ecx, 0x10196040
call fcn.100330f0
mov ecx, 0x10196040
call fcn.10033020
mov ecx, 0x10196040
call fcn.10033e10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085dc6
mov esp, ebp
pop ebp
ret