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

Disassembly:
sub esp, 0x120
mov eax, dword [0x659a34]
push ebp
push esi
mov esi, ecx
test dword [esi + 0x70], eax
jne 0x4b0f29
push str.._libmupdf
call fcn.00470ae0
xor ebp, ebp
add esp, 4
cmp eax, ebp
mov dword [esi + 0x74], eax
jne 0x4b0bd6
push str.pdf.so_not_found__n
call fcn.0040e090
add esp, 4
xor eax, eax
pop esi
pop ebp
add esp, 0x120
ret
mov eax, 0x584808
push ebx
push edi
mov dword [esp + 0x10c], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x12c], eax
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x70], str.fz_new_context
mov dword [esp + 0x74], str.pdf_new_context
mov dword [esp + 0x78], str.fz_open_document
mov dword [esp + 0x7c], str.pdf_open_document
mov dword [esp + 0x80], str.fz_count_pages
mov dword [esp + 0x84], str.pdf_count_pages
mov dword [esp + 0x88], str.fz_load_page
mov dword [esp + 0x8c], str.pdf_load_page
mov dword [esp + 0x90], str.fz_rotate
mov dword [esp + 0x94], str.pdf_rotate
mov dword [esp + 0x98], str.fz_pre_scale
mov dword [esp + 0x9c], str.pdf_pre_scale
mov dword [esp + 0xa0], str.fz_bound_page
mov dword [esp + 0xa4], str.pdf_bound_page
mov dword [esp + 0xa8], str.fz_transform_rect
mov dword [esp + 0xac], str.pdf_transform_rect
mov dword [esp + 0xb0], str.fz_round_rect
mov dword [esp + 0xb4], str.pdf_round_rect
mov dword [esp + 0xb8], str.fz_new_pixmap_with_bbox
mov dword [esp + 0xbc], str.pdf_new_pixmap_with_bbox
mov dword [esp + 0xc0], str.fz_device_rgb
mov dword [esp + 0xc4], str.pdf_device_rgb
mov dword [esp + 0xc8], str.fz_clear_pixmap_with_value
mov dword [esp + 0xcc], str.pdf_clear_pixmap_with_value
mov dword [esp + 0xd0], str.fz_new_draw_device
mov dword [esp + 0xd4], str.pdf_new_draw_device
mov dword [esp + 0xd8], str.fz_run_page
mov dword [esp + 0xdc], str.pdf_run_page
mov dword [esp + 0xe0], str.fz_free_device
mov dword [esp + 0xe4], str.pdf_free_device
mov dword [esp + 0xe8], str.fz_drop_pixmap
mov dword [esp + 0xec], str.pdf_drop_pixmap
mov dword [esp + 0xf0], str.fz_free_page
mov dword [esp + 0xf4], str.pdf_free_page
mov dword [esp + 0xf8], str.fz_close_document
mov dword [esp + 0xfc], str.pdf_close_document
mov dword [esp + 0x100], str.fz_find_device_colorspace
mov dword [esp + 0x104], str.pdf_find_device_colorspace
mov dword [esp + 0x108], str.fz_new_context_imp
mov dword [esp + 0x110], str.fz_register_document_handlers
mov dword [esp + 0x118], str.fz_drop_device
mov dword [esp + 0x120], str.fz_drop_page
mov dword [esp + 0x128], str.fz_drop_document
lea ebx, [esp + 0x10]
rep stosd dword es:[edi], eax
xor edi, edi
cmp dword [ebx], 0
jne 0x4b0dff
mov eax, dword [esi + 0x74]
lea ecx, [edi + ebp]
mov edx, dword [esp + ecx*4 + 0x70]
push edx
push eax
call fcn.00470b20
add esp, 8
mov dword [ebx], eax
inc edi
cmp edi, 2
jb 0x4b0de4
add ebp, 2
add ebx, 4
cmp ebp, 0x30
jl 0x4b0de2
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
mov dword [esi + 0x38], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esi + 0x3c], ebp
mov ebp, dword [esp + 0x50]
mov dword [esi + 0x40], ebp
mov ebp, dword [esp + 0x54]
mov dword [esi + 0x1c], ebx
mov ebx, dword [esp + 0x30]
mov dword [esi + 0x44], ebp
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x20]
mov dword [esi + 0x20], ebx
mov ebx, dword [esp + 0x34]
mov dword [esi + 0x48], ebp
mov ebp, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x24], ebx
mov ebx, dword [esp + 0x38]
mov dword [esi + 0x4c], ebp
mov ebp, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x28], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x50], ebp
mov ebp, dword [esp + 0x64]
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0x24]
mov dword [esi + 0x2c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esi + 0x54], ebp
mov ebp, dword [esp + 0x68]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x28]
mov dword [esi + 0x30], ebx
mov ebx, dword [esp + 0x44]
mov dword [esi + 0x58], ebp
mov ebp, dword [esp + 0x6c]
test eax, eax
mov dword [esi], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x5c], ebp
je 0x4b0ecb
push 0
push 0
push 0
call eax
add esp, 0xc
mov dword [esi + 0x78], eax
jmp 0x4b0efa
test ebp, ebp
mov eax, 0x56f514
je 0x4b0ee5
mov eax, 0x56f510
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], ebx
push eax
push 0
push 0
push 0
call dword [esp + 0x6c]
push eax
mov dword [esi + 0x78], eax
call dword [esi + 0x50]
add esp, 0x14
mov eax, dword [esi + 0x28]
pop edi
test eax, eax
pop ebx
je 0x4b0f0e
mov edx, dword [esi + 0x78]
push edx
call eax
add esp, 4
jmp 0x4b0f1d
mov eax, dword [esi + 0x78]
push str.DeviceRGB
push eax
call dword [esi + 0x48]
add esp, 8
mov dword [esi + 0x7c], eax
mov ecx, dword [0x659a34]
or dword [esi + 0x70], ecx
pop esi
mov eax, 1
pop ebp
add esp, 0x120
ret