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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x56800c]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0
push esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], esi
call fcn.00446b20
mov edi, eax
test edi, edi
je 0x4486b7
lea eax, [ebx + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [edi + 0xc], 0xffffffff
jne 0x44866b
push edi
lea ecx, [ebx + 0x54]
call fcn.0040bd80
cmp dword [edi + 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x4486a7
mov esi, dword [esp + 0x10]
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x10]
push dword [edi + 4]
push dword [eax + 0x20]
call dword [sym.imp.libmupdf.dll_fz_drop_display_list]
push 0x10
push edi
call fcn.004bcfc5
add esp, 0x10
push esi
call ebx
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add eax, 0x38
push eax
call ebx
mov ebx, dword [esp + 0x10]
jmp 0x4486be
mov dword [esi + 0x14], 1
push 1
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
push 0x4f16b8
push esi
call fcn.00447b80
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x4488de
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.0043bab0
mov edi, eax
xor ecx, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], ecx
cmp dword [edi], ecx
jbe 0x4488ca
xor ebx, ebx
mov edx, dword [esp + 0x18]
xor al, al
mov esi, dword [edx + 0x18]
test esi, esi
je 0x448803
test al, al
jne 0x4487ff
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x60]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + ebx]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + ebx + 4]
fld dword [esp + 0x54]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + ebx + 8]
mov dword [esp + 0x5c], eax
fld dword [esp + 0x5c]
mov eax, dword [ecx + ebx + 0xc]
fucompp
mov dword [esp + 0x60], eax
fnstsw ax
test ah, 0x44
jnp 0x4487f2
fld dword [esp + 0x58]
fld dword [esp + 0x60]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4487f2
mov eax, dword [ecx + ebx]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + ebx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + ebx + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + ebx + 0xc]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.libmupdf.dll_fz_intersect_rect]
fld dword [esp + 0x78]
add esp, 8
fsub dword [esp + 0x68]
fld dword [esp + 0x6c]
fsub dword [esp + 0x64]
fmulp st(1)
fld dword [esp + 0x60]
fsub dword [esp + 0x58]
fld dword [esp + 0x5c]
fsub dword [esp + 0x54]
fmulp st(1)
fdivp st(1)
fstp dword [esp + 0x1c]
fld dword [0x55d9ac]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jp 0x4487f2
mov al, 1
jmp 0x4487f4
xor al, al
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x448712
mov ecx, dword [esp + 0x14]
test al, al
jne 0x4488b6
mov eax, dword [edi + 0xc]
mov edx, 0xfde9
push 0xffffffffffffffff
mov ecx, dword [eax + ecx*4]
call fcn.00419bb0
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x448836
push eax
call fcn.004bf8aa
add esp, 4
jmp 0x4488b2
xor ecx, ecx
mov dword [esp + 0x2c], 2
push eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
push dword [eax + 0x20]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
call dword [sym.imp.libmupdf.dll_fz_strdup]
mov dword [esp + 0x38], eax
lea esi, [esp + 0x34]
mov eax, dword [edi + 0x60]
sub esp, 0x20
add eax, ebx
mov edi, esp
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 0x20]
call dword [sym.imp.libmupdf.dll_fz_new_link]
mov edx, dword [esp + 0x48]
push dword [esp + 0x4c]
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x3c], ecx
mov dword [edx + 0x18], eax
call fcn.004bf8aa
mov edi, dword [esp + 0x58]
add esp, 0x34
mov ecx, dword [esp + 0x14]
inc ecx
add ebx, 0x10
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi]
jb 0x448701
mov esi, dword [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00441b20
push dword [esp + 0x20]
call fcn.004bf8aa
add esp, 4
push esi
call fcn.004bf8aa
mov ecx, dword [esp + 0x88]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret 8