Function at 0x10053b50
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 0x1009ff80
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 0x1009ff74
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 0x1009ff68
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 0x1009ff5c
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 0x1009ff50
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 0x1009ff44
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 0x10053d31
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, 0x1009b3cc
lea eax, [ebp - 0x9c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10053ce8
test dl, dl
je 0x10053ce4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053ce8
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053cc8
xor eax, eax
jmp 0x10053ced
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10053d12
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 0x10053ca1
push edi
push 0xbb8
push esi
push 0x10092e4c
push str.script
push str.config
mov byte [esi], 0
call ebx
push 0x1009e968
push esi
call dword [sym.imp.MSVCR100.dll_strtok]
mov esi, eax
add esp, 8
mov dword [ebp - 0x168], esi
test esi, esi
je 0x10053f25
jmp 0x10053d76
mov esi, dword [ebp - 0x168]
mov eax, esi
lea edx, [eax + 1]
jmp 0x10053d80
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10053d80
sub eax, edx
push 0x10094b9c
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 0x10053efe
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 0x10053dc0
inc dword [ebp - 0x16c]
push 0x10094b9c
push 0
add esi, 0x32
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
test eax, eax
jne 0x10053db6
cmp dword [ebp - 0x16c], 2
jne 0x10053ef8
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 0x10053e7a
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 0x10053e52
test dl, dl
je 0x10053e4e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10053e52
add eax, 2
add ecx, 2
test dl, dl
jne 0x10053e32
xor eax, eax
jmp 0x10053e57
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10053ef8
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 0x10053e10
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 0x1009b3cc
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 0x1009e968
push eax
call dword [sym.imp.MSVCR100.dll_strtok]
add esp, 8
mov dword [ebp - 0x168], eax
test eax, eax
jne 0x10053d70
push edi
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x1009ca80
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x10094b88
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 0x1005426a
push 0
mov ecx, 0x10196040
call sub.mfc100.dll_Ordinal_13219
mov ecx, 0x10196040
call fcn.10032c50
mov ecx, 0x10196040
call fcn.100335c0
mov ecx, 0x10196040
call fcn.100342b0
mov ecx, 0x10196040
call fcn.100342b0
mov ecx, 0x10196040
call fcn.10033660
mov ecx, 0x10196040
call fcn.10033580
mov ecx, 0x10196040
call fcn.100343b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086786
mov esp, ebp
pop ebp
ret