Function at 0x46c6a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f695f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x800
mov eax, dword [0x52bd18]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x820]
mov dword [esp + 0x80c], eax
lea eax, [esp + 0x14]
push edi
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x20], ebx
call fcn.00477e00
add esp, 8
mov dword [esi + 0x74], ebx
mov ecx, dword [0x509890]
mov edx, dword [0x509894]
mov al, byte [0x509898]
push edi
push 0x3e8
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x42c]
push ecx
push 0x4fca4e
mov dword [esp + 0x50], edx
push str.ScrollBar
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x830], ebx
mov byte [esp + 0x5c], al
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x424]
test al, al
je 0x46c7a7
push 1
lea eax, [esp + 0x428]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00477eb0
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x830], 1
mov dword [esp + 0x30], 1
call fcn.00409450
add esp, 0x18
mov ebp, dword [eax]
lea edi, [esi + 0x68]
mov ebx, 3
mov ecx, edi
mov dword [esp + 0x818], 2
mov dword [esp + 0x18], ebx
call fcn.004e72e3
push 0
push ebp
mov ecx, edi
call fcn.00461210
test eax, eax
mov byte [esp + 0x13], 0
jne 0x46c7ac
mov byte [esp + 0x13], 1
or ebp, 0xffffffff
test bl, 2
mov dword [esp + 0x818], 1
je 0x46c7e3
mov eax, dword [esp + 0x34]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c7e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, 1
mov dword [esp + 0x818], 0
je 0x46c810
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c810
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
je 0x46c841
mov eax, dword [esp + 0x14]
mov dword [esp + 0x818], ebp
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x46c83a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x46c913
mov ebx, dword [sym.imp.GDI32.dll_GetObjectA]
lea edi, [esi + 0x68]
test edi, edi
je 0x46c855
mov eax, dword [edi + 4]
test eax, eax
jne 0x46c859
xor ecx, ecx
jmp 0x46c881
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], ecx
push 0x18
mov dword [esp + 0x34], ecx
push eax
mov dword [esp + 0x3c], ecx
call ebx
mov ecx, dword [esp + 0x24]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
test edi, edi
mov dword [esi + 0x70], eax
je 0x46c89d
mov edi, dword [edi + 4]
test edi, edi
jne 0x46c8a1
xor edx, edx
jmp 0x46c8c9
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], ecx
push 0x18
mov dword [esp + 0x34], ecx
push edi
mov dword [esp + 0x3c], ecx
call ebx
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x70]
mov eax, 0x2aaaaaab
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x818], ebp
jne 0x46c823
add eax, 0xfffffff0
mov dword [esi + 0x58], ecx
mov dword [esi + 0x74], 1
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x46c90e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x800]
pop ebx
call fcn.004ce183
add esp, 0x80c
ret 4