Function at 0x473180
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4fd0cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7f8
mov eax, dword [0x531d28]
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.00479d80
add esp, 8
mov ecx, esi
mov dword [esp + 0x80c], ebx
mov dword [esi + 0x68], ebx
call fcn.004e9531
and eax, 1
mov dword [esi + 0x64], eax
jne 0x4736f7
mov edx, dword [0x5103e4]
mov ax, word [0x5103e8]
mov ecx, dword [str.HScrollBar]
push ebp
push edi
push 0x3e8
mov dword [esp + 0x40], edx
lea edx, [esp + 0x424]
push edx
push 0x502a56
mov word [esp + 0x4c], ax
mov dword [esp + 0x44], ecx
mov cl, byte [0x5103ea]
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 0x4732a6
push 1
lea ecx, [esp + 0x420]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00479e30
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.004092f0
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.004ed255
push 0
push ebp
mov ecx, edi
call fcn.004631c0
test eax, eax
mov byte [esp + 0x13], 0
jne 0x4732ab
mov byte [esp + 0x13], 1
test bl, 2
mov dword [esp + 0x810], 1
je 0x4732e0
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 0x4732e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 1
mov dword [esp + 0x810], 0
je 0x473311
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 0x473311
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
je 0x47336b
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 0x473342
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.004d40be
add esp, 0x804
ret 4
mov eax, dword [esp + 0x818]
push eax
push 0x3e8
lea ecx, [esp + 0x424]
push ecx
push 0x502a56
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 0x473407
push 1
lea eax, [esp + 0x420]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00479e30
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.004092f0
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.004ed255
push 0
push ebp
mov ecx, edi
call fcn.004631c0
test eax, eax
mov byte [esp + 0x13], 0
jne 0x47340c
mov byte [esp + 0x13], 1
test bl, 8
mov dword [esp + 0x810], 3
je 0x473441
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 0x473441
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 4
mov dword [esp + 0x810], 0
je 0x473472
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 0x473472
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
jne 0x473319
mov eax, dword [esp + 0x818]
push eax
push 0x3e8
lea ecx, [esp + 0x424]
push ecx
push 0x502a56
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 0x47351a
push 1
lea eax, [esp + 0x420]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00479e30
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.004092f0
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.004ed255
push 0
push ebp
mov ecx, edi
call fcn.004631c0
test eax, eax
mov byte [esp + 0x13], 0
jne 0x47351f
mov byte [esp + 0x13], 1
test bl, 0x20
mov dword [esp + 0x810], 5
je 0x473554
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 0x473554
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 0x10
mov dword [esp + 0x810], 0
je 0x473585
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 0x473585
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
jne 0x473319
mov ebp, dword [esp + 0x818]
push ebp
push 0x3e8
lea eax, [esp + 0x424]
push eax
push 0x502a56
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 0x473628
push 1
lea edx, [esp + 0x420]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00479e30
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.004092f0
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.0040fc30
test eax, eax
mov byte [esp + 0x13], 0
jne 0x47362d
mov byte [esp + 0x13], 1
test bl, bl
jns 0x473640
lea ecx, [esp + 0x20]
and ebx, 0xffffff7f
call fcn.004016e0
test bl, 0x40
mov dword [esp + 0x810], 0
je 0x473659
lea ecx, [esp + 0x1c]
call fcn.004016e0
mov al, byte [esp + 0x13]
test al, al
je 0x47366f
lea ecx, [esp + 0x18]
call fcn.004016e0
jmp 0x473342
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.0041f5c0
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.004e977f
lea ecx, [esp + 0x18]
mov dword [esi + 0x68], 1
call fcn.004016e0
mov eax, 1
jmp 0x473344
mov eax, dword [str.VScrollBar]
mov ecx, dword [0x510390]
mov dx, word [0x510394]
mov dword [esp + 0x30], eax
mov al, byte [0x510396]
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 0x47374a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x473345