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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x56800c]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x20]
push esi
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x14]
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x24], eax
call fcn.0040be50
mov ebx, dword [ebx + 0x3c]
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x441e51
mov esi, dword [sym.imp.libmupdf.dll_pdf_dict_gets]
mov edi, dword [sym.imp.libmupdf.dll_pdf_to_str_buf]
cmp dword [ebx + 0x50], 0x10
jne 0x441d8c
push 0x4f3118
push dword [ebx + 4]
call esi
add esp, 8
mov dword [esp + 0xc], eax
push 0x4f2e7c
push 0x4f2e80
push 0x4f2e84
push eax
call esi
add esp, 8
push eax
call dword [sym.imp.libmupdf.dll_pdf_dict_getsa]
add esp, 0xc
mov edi, eax
lea eax, [esp + 0x9c]
push eax
push str.Rect
push dword [ebx + 4]
call esi
add esp, 8
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x28]
call dword [sym.imp.libmupdf.dll_pdf_to_rect]
mov ecx, dword [esp + 0x18]
add esp, 0xc
test ecx, ecx
je 0x441d63
test edi, edi
je 0x441d63
fld dword [esp + 0x9c]
fld dword [esp + 0xa4]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x441cac
fld dword [esp + 0xa0]
fld dword [esp + 0xa8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x441cac
xor eax, eax
jmp 0x441cb1
mov eax, 1
test eax, eax
jne 0x441d63
mov eax, dword [esp + 0x10]
push ecx
mov dword [esp + 0x78], 3
push dword [eax + 0x38]
call dword [sym.imp.libmupdf.dll_pdf_file_spec_to_str]
push edi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 1
call dword [sym.imp.libmupdf.dll_pdf_to_num]
push edi
mov dword [esp + 0x94], eax
call dword [sym.imp.libmupdf.dll_pdf_to_gen]
push dword [esp + 0x24]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0xb0]
push eax
mov dword [esp + 0x98], 0
call dword [sym.imp.libmupdf.dll_fz_transform_rect]
sub esp, 0x10
lea eax, [esp + 0xc4]
mov edi, esp
lea esi, [esp + 0x9c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [esp + 0x3c]
push dword [eax + 0x28]
call dword [sym.imp.libmupdf.dll_fz_new_link]
mov edx, dword [esp + 0x44]
add esp, 0x30
mov esi, dword [sym.imp.libmupdf.dll_pdf_dict_gets]
mov edi, dword [sym.imp.libmupdf.dll_pdf_to_str_buf]
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x3c], ecx
mov dword [edx + 0x38], eax
jmp 0x441e42
push str.Contents
push dword [ebx + 4]
call esi
mov edi, dword [sym.imp.libmupdf.dll_pdf_to_str_buf]
push eax
call edi
add esp, 0xc
test eax, eax
je 0x441e42
cmp byte [eax], 0
je 0x441e42
jmp 0x441dab
push str.Contents
push dword [ebx + 4]
call esi
push eax
call edi
add esp, 0xc
test eax, eax
je 0x441dfd
cmp byte [eax], 0
je 0x441dfd
cmp dword [ebx + 0x50], 2
je 0x441dfd
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
lea eax, [esi + 1]
push eax
call fcn.0040c470
test al, al
jne 0x441dc4
xor eax, eax
mov byte [eax], al
mov eax, dword [esp + 0x24]
lea edi, [eax + esi*4]
mov eax, dword [esp + 0x18]
cmp eax, esi
jbe 0x441de6
sub eax, esi
shl eax, 2
push eax
lea eax, [edi + 4]
push edi
push eax
call fcn.004bdaf0
add esp, 0xc
lea eax, [esi + 1]
mov esi, dword [sym.imp.libmupdf.dll_pdf_dict_gets]
mov dword [esp + 0x18], eax
mov dword [edi], ebx
mov edi, dword [sym.imp.libmupdf.dll_pdf_to_str_buf]
jmp 0x441e42
cmp dword [ebx + 0x50], 0x13
jne 0x441e42
push 0x4f3114
push dword [ebx + 4]
call esi
push eax
call edi
add esp, 0xc
test eax, eax
je 0x441e42
cmp byte [eax], 0
je 0x441e42
push 0x4f3124
push dword [ebx + 4]
call esi
push eax
call dword [sym.imp.libmupdf.dll_pdf_to_int]
add esp, 0xc
test al, 1
jne 0x441e42
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c130
mov ebx, dword [ebx + 0x48]
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x441c04
mov esi, dword [esp + 0x18]
test esi, esi
je 0x441f27
xor edi, edi
test esi, 0xfffffffe
jbe 0x441e91
jmp 0x441e70
mov edx, dword [esp + 0x24]
sub esi, edi
mov eax, dword [edx + esi*4 - 4]
mov ecx, dword [edx + edi*4]
mov dword [edx + edi*4], eax
inc edi
mov dword [edx + esi*4 - 4], ecx
mov esi, dword [esp + 0x18]
mov eax, esi
shr eax, 1
cmp edi, eax
jb 0x441e70
lea ebx, [esi + 1]
push ebx
lea ecx, [esp + 0x1c]
call fcn.0040c470
test al, al
jne 0x441ea6
xor eax, eax
mov byte [eax], al
mov eax, dword [esp + 0x24]
lea edi, [eax + esi*4]
mov eax, dword [esp + 0x18]
cmp eax, esi
jbe 0x441ec8
sub eax, esi
shl eax, 2
push eax
lea eax, [edi + 4]
push edi
push eax
call fcn.004bdaf0
add esp, 0xc
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x28]
mov dword [edi], 0
mov esi, dword [esp + 0x24]
cmp esi, eax
jne 0x441f16
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
lea edi, [eax*4 + 4]
push edi
test ecx, ecx
jne 0x441efc
call fcn.004c8cd1
add esp, 4
jmp 0x441f01
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
test esi, esi
je 0x441f16
push edi
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.004e0070
add esp, 0xc
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
call fcn.0040be50
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
cmp ecx, eax
je 0x441f4d
mov edx, dword [esp + 0x68]
push ecx
test edx, edx
jne 0x441f46
call fcn.004bf8aa
add esp, 4
jmp 0x441f4d
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov ecx, dword [esp + 0xac]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bcb15
mov esp, ebp
pop ebp
ret 4