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

Disassembly:
push 0xffffffffffffffff
push 0x435bf1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
push ebx
push ebp
mov dword [esp + 0x38], ecx
push esi
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], 0
call fcn.0042fff2
mov eax, dword [0x4457b0]
mov dword [esp + 0x2d8], 1
mov dword [esp + 0x10], eax
push str._DeviceRGB
lea ecx, [esp + 0x48]
mov byte [esp + 0x2dc], 2
call fcn.0042bab2
push 0x448ce0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2dc], 3
call fcn.0042bab2
mov ecx, dword [0x4457b0]
mov dword [esp + 0x98], ecx
mov esi, dword [esp + 0x2e4]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov byte [esp + 0x2dc], 5
mov bl, byte [ecx + esi - 1]
lea ecx, [esp + 0x9c]
call fcn.0042bb81
cmp bl, 0x50
je 0x417d43
cmp bl, 0x70
je 0x417d43
cmp bl, 0x47
je 0x417afd
cmp bl, 0x67
jne 0x4182fc
mov ebx, dword [esp + 0x2e8]
lea edx, [esp + 0x98]
push edx
lea ecx, [ebx + 4]
mov dword [esp + 0x28], ecx
call fcn.004055d0
xor ebp, ebp
cmp eax, ebp
jne 0x417c90
mov ecx, dword [esp + 0x40]
push esi
call fcn.00412490
mov edi, eax
cmp edi, ebp
je 0x4182fc
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [eax + 0x18]
mov edx, dword [edi]
lea eax, [esp + 0x3c]
push eax
push edi
call dword [edx + 0x1c]
fild dword [esp + 0x2c]
fmul qword [0x437e00]
call fcn.00420414
fild dword [esp + 0x3c]
mov dword [esp + 0x14], eax
fmul qword [0x437e00]
call fcn.00420414
mov ecx, dword [edi]
push edi
mov dword [esp + 0x24], eax
call dword [ecx + 8]
push ebp
push ebp
push esi
lea ecx, [esp + 0x54]
call fcn.00430104
test eax, eax
je 0x4182fc
mov ecx, ebx
call fcn.00404e60
mov esi, eax
mov ecx, ebx
push esi
call fcn.00404e80
push str.DCTDecode
lea ecx, [esp + 0x4c]
mov ebp, eax
call fcn.004303fe
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
push edx
push 8
push eax
push ecx
push ebp
push esi
lea edx, [esp + 0x30]
push str._d_0_obj_n___n_Type_XObject_Subtype_Image_Name_I_d_n_Width__d_Height__d_BitsPerComponent__d_n_ColorSpace_s_Length__d_Filter__s__stream_n
push edx
call fcn.0042ab8b
add esp, 0x24
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0042b7b9
mov ecx, ebx
call fcn.00404de0
push 0x400
call fcn.0042b785
add esp, 4
mov edi, eax
lea ecx, [esp + 0x48]
push 0x400
push edi
call fcn.00430221
test eax, eax
je 0x417c28
push eax
push edi
mov ecx, ebx
call fcn.00404e40
push 0x400
push edi
lea ecx, [esp + 0x50]
call fcn.00430221
test eax, eax
jne 0x417c0c
push edi
call fcn.0042b7ae
add esp, 4
lea ecx, [esp + 0x10]
push str._nendstream_nendobj_n
call fcn.0042bb81
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0042b7b9
mov ecx, ebx
call fcn.00404de0
lea ecx, [esp + 0x48]
call fcn.0043031f
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x98]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x24]
push edx
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xcc], eax
call fcn.00405740
xor ebp, ebp
fld dword [esp + 0x2ec]
mov eax, dword [esp + 0x2f4]
mov ecx, dword [esp + 0xcc]
fstp qword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
fild qword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebp
fild qword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc0]
sub esp, 8
fmul dword [0x437df4]
mov dword [esp + 0x24], ebp
fdiv st(1)
fld dword [esp + 0x2f8]
fstp qword [esp]
fld dword [esp + 0x2f8]
push eax
push ecx
push edx
mov edx, dword [esp + 0x54]
fsub st(1)
sub esp, 8
fadd dword [edx + 0x664]
fstp qword [esp]
push eax
mov eax, dword [esp + 0xe8]
push ecx
mov dword [esp + 0x3c], eax
sub esp, 8
lea ecx, [esp + 0x3c]
fstp qword [esp]
fild qword [esp + 0x44]
sub esp, 8
fmul dword [0x437df4]
fdiv st(1)
fstp qword [esp]
push str._Tj_ET_nq__.2f_0_0__.2f__.2f__.2f_cm__I_d_Do_Q_nBT__.2f__.2f_Td_
push ecx
fstp st(0)
call fcn.0042ab8b
add esp, 0x3c
jmp 0x4182ee
mov ebp, dword [esp + 0x2e8]
lea eax, [esp + 0x98]
push eax
lea ecx, [ebp + 4]
call fcn.004055d0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x41816e
push ebx
push ebx
push esi
lea ecx, [esp + 0x54]
call fcn.00430104
test eax, eax
je 0x4182fc
lea ecx, [esp + 0x88]
push 0xe
push ecx
lea ecx, [esp + 0x50]
call fcn.00430221
lea edx, [esp + 0x60]
push 0x28
push edx
lea ecx, [esp + 0x50]
call fcn.00430221
cmp dword [esp + 0x70], ebx
je 0x417db6
mov ecx, dword [esp + 0x40]
push str.compressed_BMP_is_not_supported
call fcn.0040cca0
jmp 0x41815d
mov eax, dword [esp + 0x6e]
mov dword [esp + 0x58], ebx
and eax, 0xffff
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x68]
cmp eax, ebx
jge 0x417ddd
neg eax
mov dword [esp + 0x58], 1
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x48]
call fcn.004303fe
mov ebx, dword [esp + 0x92]
mov ecx, dword [esp + 0x68]
sub eax, ebx
xor edx, edx
mov dword [esp + 0x74], eax
div ecx
mov ebx, eax
mov eax, dword [esp + 0x6e]
and eax, 0xffff
mov dword [esp + 0x18], ebx
lea esi, [eax - 1]
cmp esi, 0x17
ja case.0x417e1e.5
xor edx, edx
mov dl, byte [esi + 0x4183a0]
jmp dword [edx*4 + 0x41838c]
lea edi, [ebx*8]
mov esi, 2
mov dword [esp + 0x20], edi
jmp 0x417e47
lea eax, [ebx + ebx]
mov esi, 0x10
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
mov ecx, ebp
call fcn.00404e60
lea edx, [esi + esi*2]
mov dword [esp + 0x24], eax
push edx
push eax
lea eax, [esp + 0x18]
push str._d_0_obj_n___Length__d__stream_n
push eax
call fcn.0042ab8b
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0042b7b9
mov ecx, ebp
call fcn.00404de0
test esi, esi
jle 0x417ecb
mov dword [esp + 0x14], esi
lea eax, [esp + 0x2c]
push 4
push eax
lea ecx, [esp + 0x50]
call fcn.00430221
mov eax, dword [esp + 0x2c]
push 3
mov ecx, eax
mov edx, eax
shr ecx, 0x10
mov byte [esp + 0x3a], al
lea eax, [esp + 0x38]
mov byte [esp + 0x38], cl
push eax
shr edx, 8
mov ecx, ebp
mov byte [esp + 0x3d], dl
call fcn.00404e40
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x417e88
push str._nendstream_nendobj_n
lea ecx, [esp + 0x14]
call fcn.0042bb81
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0042b7b9
mov ecx, ebp
call fcn.00404de0
mov eax, dword [esp + 0x24]
dec esi
push eax
push esi
lea ecx, [esp + 0x4c]
push str.__Indexed__DeviceRGB__d__d_0_R_
push ecx
call fcn.0042ab8b
add esp, 0x10
push ebx
call fcn.0042b785
mov edx, dword [esp + 0x78]
mov esi, eax
push edx
mov dword [esp + 0x2c], esi
call fcn.0042b785
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
add esp, 8
lea ecx, [eax - 1]
test ecx, ecx
mov dword [esp + 0x14], ecx
jl 0x41804a
jmp 0x417fb5
mov esi, pe_nt_image_headers32
mov dword [esp + 0x20], ebx
jmp 0x417e43
mov eax, ebx
xor edx, edx
mov esi, 3
mov dword [esp + 0x3c], 8
div esi
test edx, edx
je 0x417f72
sub ebx, edx
add ebx, esi
mov edx, ebx
imul edx, ecx
mov dword [esp + 0x74], edx
mov eax, 0xaaaaaaab
mul ebx
shr edx, 1
mov dword [esp + 0x20], edx
mov edi, edx
jmp 0x417f0a
push eax
lea eax, [esp + 0x14]
push str._d_bpp_color_depth_not_supported_by_BMPPDF
push eax
call fcn.0042ab8b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x44]
call fcn.0040cca0
jmp 0x41815b
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
test edx, edx
je 0x417fc2
sub eax, ecx
dec eax
jmp 0x417fc4
mov eax, ecx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x92]
imul eax, edi
add eax, edx
push 0
push eax
lea ecx, [esp + 0x50]
call fcn.004302a6
push edi
push esi
lea ecx, [esp + 0x50]
call fcn.00430221
cmp word [esp + 0x6e], 0x18
jne 0x418015
test ebx, ebx
jbe 0x418015
mov edi, 0xfffffffe
lea eax, [esi + 2]
sub edi, esi
mov dl, byte [eax]
mov cl, byte [eax - 2]
mov byte [eax - 2], dl
mov byte [eax], cl
add eax, 3
lea ecx, [edi + eax]
cmp ecx, ebx
jb 0x418001
mov edi, dword [esp + 0x34]
mov ecx, ebx
mov edx, ecx
mov eax, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
add ecx, ebx
dec eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], eax
jns 0x417fa9
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
push esi
call fcn.0042b7ae
mov eax, dword [esp + 0x78]
lea ebx, [eax + 0x258]
push ebx
call fcn.0042b785
add esp, 8
mov ecx, ebp
mov esi, eax
call fcn.00404e60
push eax
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.00404e80
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
push ebx
push ecx
push esi
push edx
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.004054d0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x68]
mov ebx, eax
mov eax, dword [esp + 0x44]
push str.FlateDecode
push ebx
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push edi
push eax
push ecx
lea edx, [esp + 0x30]
push str._d_0_obj_n___n_Type_XObject_Subtype_Image_Name_I_d_n_Width__d_Height__d_BitsPerComponent__d_n_ColorSpace_s_Length__d_Filter__s__stream_n
push edx
call fcn.0042ab8b
add esp, 0x24
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0042b7b9
mov ecx, ebp
call fcn.00404de0
push ebx
push esi
mov ecx, ebp
call fcn.00404e40
push str._nendstream_nendobj_n
lea ecx, [esp + 0x14]
call fcn.0042bb81
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0042b7b9
mov ecx, ebp
call fcn.00404de0
mov eax, dword [esp + 0x2c]
push eax
call fcn.0042b7ae
push esi
call fcn.0042b7ae
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0xc8], edi
sub edi, edx
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x98]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xcc], edx
push eax
lea ecx, [ebp + 4]
call fcn.00405740
mov edi, 1
xor ebx, ebx
lea ecx, [esp + 0x48]
call fcn.0043031f
cmp edi, ebx
je 0x4182fc
push str._Tj_ET_n
lea ecx, [esp + 0x3c]
call fcn.0042bdd4
mov ecx, dword [esp + 0x2f4]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
fild qword [esp + 0x18]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0xcc]
mov edx, dword [esp + 0x40]
fstp dword [esp + 0x14]
fild qword [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0xc0]
fmul dword [0x437df4]
push ecx
sub esp, 8
fdiv dword [esp + 0x20]
fstp dword [esp + 0x48]
fild qword [esp + 0x24]
fmul dword [0x437df4]
fdiv dword [esp + 0x20]
fld dword [esp + 0x2fc]
fsub st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x2f8]
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
fstp qword [esp + 0x30]
fld dword [esp + 0x38]
fadd dword [edx + 0x664]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
lea edx, [esp + 0x1c]
fstp qword [esp]
fld dword [esp + 0x48]
push eax
push ecx
push esi
push edi
sub esp, 8
fstp qword [esp]
push str.q__.2f_0_0__.2f__.2f__.2f_cm__I_d_Do_Q_n
push edx
call fcn.0042ab8b
add esp, 0x2c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
call fcn.0042be10
cmp dword [esp + 0xc4], ebx
je 0x4182c5
mov ecx, ebp
call fcn.00404f90
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x40]
fild qword [esp + 0x24]
push eax
lea eax, [esp + 0x14]
sub esp, 8
fmul dword [0x437df4]
sub esp, 8
fdiv dword [esp + 0x28]
fld dword [esp + 0x40]
fadd dword [edx + 0x664]
fstp qword [esp + 8]
fld dword [esp + 0x50]
fadd dword [esp + 0x300]
fsub st(1)
fstp qword [esp]
push esi
push edi
sub esp, 8
fstp qword [esp]
push str.q__.2f_0_0__.2f__.2f__.2f_cm__I_d_Do_Q_n
push eax
call fcn.0042ab8b
add esp, 0x2c
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0042be10
fld dword [esp + 0x2f0]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub esp, 8
lea ecx, [esp + 0x18]
fstp qword [esp]
push edx
push eax
push str.BT__.2f__.2f_Td_
push ecx
call fcn.0042ab8b
add esp, 0x18
lea edx, [esp + 0x10]
lea ecx, [esp + 0x38]
push edx
call fcn.0042be10
mov esi, dword [esp + 0x2e0]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.0042b7b9
mov dword [esp + 0x5c], 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x2d8], 4
call fcn.0042ba44
lea ecx, [esp + 0x38]
mov byte [esp + 0x2d8], 3
call fcn.0042ba44
lea ecx, [esp + 0x44]
mov byte [esp + 0x2d8], 2
call fcn.0042ba44
lea ecx, [esp + 0x10]
mov byte [esp + 0x2d8], 1
call fcn.0042ba44
lea ecx, [esp + 0x48]
mov byte [esp + 0x2d8], 0
call fcn.00430047
mov ecx, dword [esp + 0x2d0]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2cc
ret 0x18