Function at 0x4418a0
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
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x18], ebx
push edi
mov ecx, dword [ebx + 0x38]
mov dword [esp + 0x18], esi
call fcn.0043bf50
push 1
push 0
mov dword [ebx + 0x38], eax
mov ecx, esi
lea eax, [esp + 0x28]
push eax
push 0x4f16b8
push ebx
call fcn.004422e0
mov esi, eax
mov dword [esp + 0x28], esi
test esi, esi
je 0x441af1
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 + 0x10], ecx
cmp dword [edi], ecx
jbe 0x441add
xor ebx, ebx
mov edx, dword [esp + 0x1c]
xor al, al
mov esi, dword [edx + 0x38]
test esi, esi
je 0x441a16
test al, al
jne 0x441a12
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 0x441a05
fld dword [esp + 0x58]
fld dword [esp + 0x60]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x441a05
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 + 0x14]
fld dword [0x55d9ac]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jp 0x441a05
mov al, 1
jmp 0x441a07
xor al, al
mov esi, dword [esi + 0x3c]
test esi, esi
jne 0x441925
mov ecx, dword [esp + 0x10]
test al, al
jne 0x441ac9
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 + 0x14], eax
test eax, eax
jne 0x441a49
push eax
call fcn.004bf8aa
add esp, 4
jmp 0x441ac5
xor ecx, ecx
mov dword [esp + 0x2c], 2
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
push dword [eax + 0x28]
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 + 0x44]
push dword [eax + 0x28]
call dword [sym.imp.libmupdf.dll_fz_new_link]
mov edx, dword [esp + 0x4c]
push dword [esp + 0x44]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x3c], ecx
mov dword [edx + 0x38], eax
call fcn.004bf8aa
mov edi, dword [esp + 0x58]
add esp, 0x34
mov ecx, dword [esp + 0x10]
inc ecx
add ebx, 0x10
mov dword [esp + 0x10], ecx
cmp ecx, dword [edi]
jb 0x441914
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 4