Function at 0x471200
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f6f0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7f8
mov eax, dword [0x52bd18]
push ebx
push esi
push edi
mov edi, dword [esp + 0x814]
mov dword [esp + 0x800], eax
lea eax, [esp + 0x14]
push edi
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x18], ebx
call fcn.00477e00
add esp, 8
mov ecx, esi
mov dword [esp + 0x80c], ebx
mov dword [esi + 0x68], ebx
call fcn.004e35bf
and eax, 1
mov dword [esi + 0x64], eax
jne 0x471777
mov edx, dword [0x50a4fc]
mov ax, word [0x50a500]
mov ecx, dword [str.HScrollBar]
push ebp
push edi
push 0x3e8
mov dword [esp + 0x40], edx
lea edx, [esp + 0x424]
push edx
push 0x4fca4e
mov word [esp + 0x4c], ax
mov dword [esp + 0x44], ecx
mov cl, byte [0x50a502]
push str.LeftArrow
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x56], cl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x41c]
test al, al
je 0x471326
push 1
lea ecx, [esp + 0x420]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00477eb0
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x828], 1
mov dword [esp + 0x2c], 1
call fcn.00409450
add esp, 0x18
mov ebp, dword [eax]
lea edi, [esi + 0x6c]
mov ebx, 3
mov ecx, edi
mov dword [esp + 0x810], 2
mov dword [esp + 0x14], ebx
call fcn.004e72e3
push 0
push ebp
mov ecx, edi
call fcn.00461210
test eax, eax
mov byte [esp + 0x13], 0
jne 0x47132b
mov byte [esp + 0x13], 1
test bl, 2
mov dword [esp + 0x810], 1
je 0x471360
mov eax, dword [esp + 0x1c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x471360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 1
mov dword [esp + 0x810], 0
je 0x471391
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
and ebx, 0xfffffffe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
je 0x4713eb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x810], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4713c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x804]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x7f8]
pop ebx
call fcn.004ce183
add esp, 0x804
ret 4
mov eax, dword [esp + 0x818]
push eax
push 0x3e8
lea ecx, [esp + 0x424]
push ecx
push 0x4fca4e
push str.RightArrow
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x41c]
test al, al
je 0x471487
push 1
lea eax, [esp + 0x420]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00477eb0
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
or ebx, 4
push eax
mov byte [esp + 0x828], 3
mov dword [esp + 0x2c], ebx
call fcn.00409450
add esp, 0x18
mov ebp, dword [eax]
lea edi, [esi + 0x74]
or ebx, 8
mov ecx, edi
mov dword [esp + 0x810], 4
mov dword [esp + 0x14], ebx
call fcn.004e72e3
push 0
push ebp
mov ecx, edi
call fcn.00461210
test eax, eax
mov byte [esp + 0x13], 0
jne 0x47148c
mov byte [esp + 0x13], 1
test bl, 8
mov dword [esp + 0x810], 3
je 0x4714c1
mov eax, dword [esp + 0x20]
and ebx, 0xfffffff7
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4714c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 4
mov dword [esp + 0x810], 0
je 0x4714f2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
and ebx, 0xfffffffb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4714f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
jne 0x471399
mov eax, dword [esp + 0x818]
push eax
push 0x3e8
lea ecx, [esp + 0x424]
push ecx
push 0x4fca4e
push str.Thumb
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x41c]
test al, al
je 0x47159a
push 1
lea eax, [esp + 0x420]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00477eb0
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
or ebx, 0x10
push eax
mov byte [esp + 0x828], 5
mov dword [esp + 0x2c], ebx
call fcn.00409450
add esp, 0x18
mov ebp, dword [eax]
lea edi, [esi + 0x7c]
or ebx, 0x20
mov ecx, edi
mov dword [esp + 0x810], 6
mov dword [esp + 0x14], ebx
call fcn.004e72e3
push 0
push ebp
mov ecx, edi
call fcn.00461210
test eax, eax
mov byte [esp + 0x13], 0
jne 0x47159f
mov byte [esp + 0x13], 1
test bl, 0x20
mov dword [esp + 0x810], 5
je 0x4715d4
mov eax, dword [esp + 0x20]
and ebx, 0xffffffdf
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4715d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 0x10
mov dword [esp + 0x810], 0
je 0x471605
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
and ebx, 0xffffffef
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471605
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
jne 0x471399
mov ebp, dword [esp + 0x818]
push ebp
push 0x3e8
lea eax, [esp + 0x424]
push eax
push 0x4fca4e
push str.Back
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x41c]
test al, al
je 0x4716a8
push 1
lea edx, [esp + 0x420]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00477eb0
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x34]
or ebx, 0x40
push edx
mov byte [esp + 0x828], 7
mov dword [esp + 0x2c], ebx
call fcn.00409450
add esp, 0x18
mov eax, dword [eax]
or ebx, 0x80
push eax
lea ecx, [esi + 0x84]
mov dword [esp + 0x814], 8
mov dword [esp + 0x18], ebx
call fcn.0040fd40
test eax, eax
mov byte [esp + 0x13], 0
jne 0x4716ad
mov byte [esp + 0x13], 1
test bl, bl
jns 0x4716c0
lea ecx, [esp + 0x20]
and ebx, 0xffffff7f
call fcn.00401580
test bl, 0x40
mov dword [esp + 0x810], 0
je 0x4716d9
lea ecx, [esp + 0x1c]
call fcn.00401580
mov al, byte [esp + 0x13]
test al, al
je 0x4716ef
lea ecx, [esp + 0x18]
call fcn.00401580
jmp 0x4713c2
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ebp
push 0
push str.ThumbLeftWidth
lea eax, [esp + 0x40]
push eax
call edi
push ebp
push 0
push str.ThumbRightWidth
lea ecx, [esp + 0x40]
push ecx
mov dword [esi + 0x8c], eax
call edi
lea edx, [esp + 0x24]
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
sub edi, ecx
push 0x206
lea ecx, [esi + 0x84]
call fcn.0041e3b0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push edi
push ecx
push edx
push 0
mov ecx, esi
call fcn.004e380d
lea ecx, [esp + 0x18]
mov dword [esi + 0x68], 1
call fcn.00401580
mov eax, 1
jmp 0x4713c4
mov eax, dword [str.VScrollBar]
mov ecx, dword [0x50a4a8]
mov dx, word [0x50a4ac]
mov dword [esp + 0x30], eax
mov al, byte [0x50a4ae]
mov byte [esp + 0x3a], al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x34], ecx
mov word [esp + 0x38], dx
mov dword [esp + 0x80c], 0xffffffff
lea ecx, [eax + 0xc]
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4717ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x4713c5