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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x536014]
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 0x5393dc
push 0x5393bc
push 0
push dword [edi + 0x248]
call fcn.0048befc
mov ecx, dword [edi + 0x248]
add esp, 0x14
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x43e948
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 0x43e94b
xorps xmm0, xmm0
lea ecx, [esp + 0x58]
movaps xmmword [esp + 0x80], xmm0
push ecx
mov ecx, eax
call fcn.0040c800
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 0x43e997
or ecx, 0xffffffff
lock xadd dword [esi + 4], ecx
jne 0x43e997
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x43e997
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 0x43eab5
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 0x43eab5
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 0x43ea7a
mov ecx, dword [esi]
lea edx, [esp + 0x60]
cmp ecx, edx
ja 0x43ea7a
mov edi, edx
sub edi, ecx
cmp eax, dword [esi + 8]
jne 0x43ea69
push ecx
mov ecx, esi
call fcn.0041faf0
mov eax, dword [esi + 4]
test eax, eax
je 0x43ea96
and edi, 0xfffffff0
add edi, dword [esi]
movups xmm0, xmmword [edi]
jmp 0x43ea93
cmp eax, dword [esi + 8]
jne 0x43ea8c
push ecx
mov ecx, esi
call fcn.0041faf0
movaps xmm0, xmmword [esp + 0x20]
mov eax, dword [esi + 4]
test eax, eax
je 0x43ea96
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 0x43e9d7
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.00436280
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 [0x517080]
comisd xmm1, xmm0
jbe 0x43eb8c
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 0x43ebda
mov ecx, dword [edi + 0x250]
test ecx, ecx
je 0x43eba4
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0x274], 0xffffffff
je 0x43ebcc
mov ecx, dword [edi + 0x248]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
cmp dword [edi + 0x274], eax
jl 0x43ebcc
mov dword [edi + 0x274], 0xffffffff
mov ecx, edi
call fcn.0043c8a0
mov ecx, edi
call fcn.0043d230
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.00466907
mov esp, ebp
pop ebp
ret