Function at 0x43be60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x533014]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x9c]
push ecx
mov ecx, edi
mov dword [esp + 0x38], edi
mov eax, dword [edi + 0x394]
mov esi, dword [edi + 0x390]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x398]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov dword [esp + 0x14], esi
call dword [eax + 0x48]
push 0
push 0x5367d8
push 0x53689c
push 0
push dword [edi + 0x248]
call fcn.00488cfc
mov ecx, dword [edi + 0x248]
add esp, 0x14
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x43bf18
mov eax, dword [ecx]
lea edx, [esp + 0x80]
push edx
push 0
push esi
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x64]
push edx
call eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
movaps xmm0, xmmword [esp + 0x20]
jmp 0x43bf1b
xorps xmm0, xmm0
lea ecx, [esp + 0x58]
movaps xmmword [esp + 0x80], xmm0
push ecx
mov ecx, eax
call fcn.0040c7e0
push esi
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.pdfium.dll__FPDF_LoadPage_8]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
test esi, esi
je 0x43bf67
or ecx, 0xffffffff
lock xadd dword [esi + 4], ecx
jne 0x43bf67
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x43bf67
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.pdfium.dll__FPDFText_LoadPage_4]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x43c085
push dword [esp + 8]
push dword [esp + 0x10]
push eax
call dword [sym.imp.pdfium.dll__FPDFText_CountRects_12]
mov ecx, eax
xor eax, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
test ecx, ecx
jle 0x43c085
lea esi, [edi + 0x39c]
lea ecx, [esp + 0x50]
xorps xmm0, xmm0
push ecx
lea ecx, [esp + 0x4c]
movsd qword [esp + 0x3c], xmm0
push ecx
lea ecx, [esp + 0x48]
movsd qword [esp + 0x48], xmm0
push ecx
lea ecx, [esp + 0x44]
movsd qword [esp + 0x54], xmm0
push ecx
push eax
push dword [esp + 0x30]
movsd qword [esp + 0x68], xmm0
call dword [sym.imp.pdfium.dll__FPDFText_GetRect_24]
cvttsd2si eax, qword [esp + 0x38]
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], eax
cvttsd2si eax, qword [esp + 0x40]
mov dword [esp + 0x24], eax
cvttsd2si eax, qword [esp + 0x48]
mov dword [esp + 0x28], eax
cvttsd2si eax, qword [esp + 0x50]
mov dword [esp + 0x2c], eax
movaps xmm0, xmmword [esp + 0x20]
mov eax, dword [esi + 4]
movaps xmmword [esp + 0x60], xmm0
cmp ecx, eax
jae 0x43c04a
mov ecx, dword [esi]
lea edx, [esp + 0x60]
cmp ecx, edx
ja 0x43c04a
mov edi, edx
sub edi, ecx
cmp eax, dword [esi + 8]
jne 0x43c039
push ecx
mov ecx, esi
call fcn.0041f0d0
mov eax, dword [esi + 4]
test eax, eax
je 0x43c066
and edi, 0xfffffff0
add edi, dword [esi]
movups xmm0, xmmword [edi]
jmp 0x43c063
cmp eax, dword [esi + 8]
jne 0x43c05c
push ecx
mov ecx, esi
call fcn.0041f0d0
movaps xmm0, xmmword [esp + 0x20]
mov eax, dword [esi + 4]
test eax, eax
je 0x43c066
movups xmmword [eax], xmm0
mov eax, dword [esp + 8]
add dword [esi + 4], 0x10
inc eax
mov dword [esp + 8], eax
cmp eax, dword [esp + 0xc]
jl 0x43bfa7
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x39c]
xorps xmm0, xmm0
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
movups xmmword [esp + 0x80], xmm0
movups xmm0, xmmword [eax]
mov edx, dword [edx + 0x38]
mov eax, esp
movups xmmword [ecx], xmm0
mov ecx, esi
movaps xmm0, xmmword [esp + 0xa0]
movups xmmword [eax], xmm0
lea eax, [esp + 0x80]
push eax
call fcn.004338d0
add esp, 0x24
push dword [esp + 0x1c]
call dword [sym.imp.pdfium.dll__FPDFText_ClosePage_4]
push esi
call dword [sym.imp.pdfium.dll__FPDF_ClosePage_4]
lea eax, [esp + 0x70]
mov ecx, edi
push eax
call dword [sym.imp.soui.dll_public_virtual:_class_SOUI::CRect___thiscall_SOUI::SWindow::GetClientRect_void_]
mov ecx, dword [edi + 0x250]
mov esi, dword [esp + 0x7c]
push dword [esp + 0x10]
sub esi, dword [esp + 0x78]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add esi, ecx
mov ecx, edi
push 1
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SPanel::GetScrollPos_int_]
sub eax, esi
cdq
xor eax, edx
sub eax, edx
movd xmm1, eax
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x513fc0]
comisd xmm1, xmm0
jbe 0x43c15c
push 1
push esi
push 1
mov ecx, edi
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::SPanel::SetScrollPos_int__int__int_]
cmp dword [edi + 0x248], 0
je 0x43c1aa
mov ecx, dword [edi + 0x250]
test ecx, ecx
je 0x43c174
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0x274], 0xffffffff
je 0x43c19c
mov ecx, dword [edi + 0x248]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
cmp dword [edi + 0x274], eax
jl 0x43c19c
mov dword [edi + 0x274], 0xffffffff
mov ecx, edi
call fcn.00439eb0
mov ecx, edi
call fcn.0043a840
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.0046370d
mov esp, ebp
pop ebp
ret