Function at 0x10053cd0
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 0x100a00cc
push str.config
call ebx
push esi
push 1
push 0
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl2
push 0x100a00c0
push str.config
call ebx
push esi
push 1
push 1
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl3
push 0x100a00b4
push str.config
call ebx
push esi
push 1
push 2
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl4
push 0x100a00a8
push str.config
call ebx
push esi
push 1
push 3
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl5
push 0x100a009c
push str.config
call ebx
push esi
push 1
push 4
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12440
push edi
push 0xc8
push esi
push str.Ctrl6
push 0x100a0090
push str.config
call ebx
push esi
push 1
push 5
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12440
mov ecx, dword [0x1019de3c]
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 0x10053eb1
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, 0x1019de1c
call sub.mfc100.dll_Ordinal_5176
mov ecx, 0x1009b3a4
lea eax, [ebp - 0x9c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053e68
test dl, dl
je 0x10053e64
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053e68
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053e48
xor eax, eax
jmp 0x10053e6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10053e92
mov ecx, dword [ebp - 0x170]
sub ecx, dword [ebp - 0x168]
mov edx, dword [0x1019de3c]
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 0x10053e21
push edi
push 0xbb8
push esi
push 0x10092e4c
push str.script
push str.config
mov byte [esi], 0
call ebx
push 0x1009e920
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
add esp, 8
mov dword [ebp - 0x168], esi
test esi, esi
je 0x100540a5
jmp 0x10053ef6
mov esi, dword [ebp - 0x168]
mov eax, esi
lea edx, [eax + 1]
jmp 0x10053f00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10053f00
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 0x1005407e
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 0x10053f40
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 0x10053f36
cmp dword [ebp - 0x16c], 2
jne 0x10054078
mov eax, dword [0x1019de3c]
xor esi, esi
push esi
push esi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x10053ffa
lea ecx, [ecx]
push 0x64
lea ecx, [ebp - 0xcc]
push ecx
push 0
push esi
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_5176
lea ecx, [ebp - 0x164]
lea eax, [ebp - 0xcc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053fd2
test dl, dl
je 0x10053fce
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053fd2
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053fb2
xor eax, eax
jmp 0x10053fd7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10054078
mov edx, dword [0x1019de3c]
push 0
push 0
push 0x1004
push edx
inc esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
jl 0x10053f90
mov eax, dword [0x1019de3c]
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, 0x1019de1c
call sub.mfc100.dll_Ordinal_7211
mov eax, dword [0x1019de3c]
lea edx, [ebp - 0x132]
push edx
push 1
push 0
push 0
push 0x1004
push eax
call esi
dec eax
push eax
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12440
mov ecx, dword [0x1019de3c]
push 0x1009b3a4
push 2
push 0
push 0
push 0x1004
push ecx
call esi
dec eax
push eax
mov ecx, 0x1019de1c
call sub.mfc100.dll_Ordinal_12440
mov esi, dword [ebp - 0x168]
mov edx, dword [ebp - 0x170]
lea eax, [edx + esi + 1]
push 0x1009e920
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x168], eax
test eax, eax
jne 0x10053ef0
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 0x100543ea
push 0
mov ecx, 0x10196040
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x10196040
call fcn.10032c80
mov ecx, 0x10196040
call fcn.10033600
mov ecx, 0x10196040
call fcn.100342e0
mov ecx, 0x10196040
call fcn.100342e0
mov ecx, 0x10196040
call fcn.10033690
mov ecx, 0x10196040
call fcn.100335c0
mov ecx, 0x10196040
call fcn.100343e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret