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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4c8
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x50], 0
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x4d0]
call fcn.1400c9040
lea rcx, str._RADIANCE
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x1400c93b7
inc rax
test dl, dl
jne 0x1400c93a4
xor eax, eax
jmp 0x1400c93bc
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400c93ee
lea rcx, str.not_HDR
call fcn.1400bab00
test eax, eax
je 0x1400c93db
mov qword [rsp + 0x68], 0
jmp 0x1400c93e4
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x68]
jmp 0x1400c9a5a
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x4d0]
call fcn.1400c9040
mov qword [rsp + 0x98], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x98]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x1400c9426
jmp 0x1400c945e
mov rax, qword [rsp + 0x98]
lea rcx, str.FORMAT32_bit_rle_rgbe
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x1400c944b
inc rax
test dl, dl
jne 0x1400c9438
xor eax, eax
jmp 0x1400c9450
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400c945c
mov dword [rsp + 0x50], 1
jmp 0x1400c93ee
cmp dword [rsp + 0x50], 0
jne 0x1400c9493
lea rcx, str.unsupported_format
call fcn.1400bab00
test eax, eax
je 0x1400c9480
mov qword [rsp + 0x70], 0
jmp 0x1400c9489
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
jmp 0x1400c9a5a
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x4d0]
call fcn.1400c9040
mov qword [rsp + 0x98], rax
mov r8d, 3
lea rdx, [0x14034fd28]
mov rcx, qword [rsp + 0x98]
call fcn.1402871d0
test eax, eax
je 0x1400c94fc
lea rcx, str.unsupported_data_layout
call fcn.1400bab00
test eax, eax
je 0x1400c94e9
mov qword [rsp + 0x78], 0
jmp 0x1400c94f2
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x78]
jmp 0x1400c9a5a
mov rax, qword [rsp + 0x98]
add rax, 3
mov qword [rsp + 0x98], rax
mov r8d, 0xa
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
call fcn.140289ca0
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x98]
movsx eax, byte [rax]
cmp eax, 0x20
jne 0x1400c9554
mov rax, qword [rsp + 0x98]
inc rax
mov qword [rsp + 0x98], rax
jmp 0x1400c952f
mov r8d, 3
lea rdx, [0x14034fd08]
mov rcx, qword [rsp + 0x98]
call fcn.1402871d0
test eax, eax
je 0x1400c95a9
lea rcx, [0x14034fcf0]
call fcn.1400bab00
test eax, eax
je 0x1400c9590
mov qword [rsp + 0x80], 0
jmp 0x1400c959c
mov qword [rsp + 0x80], 0
mov rax, qword [rsp + 0x80]
jmp 0x1400c9a5a
mov rax, qword [rsp + 0x98]
add rax, 3
mov qword [rsp + 0x98], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.140289ca0
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x4d8]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x4e0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov rax, qword [rsp + 0x4e8]
mov dword [rax], 3
cmp dword [rsp + 0x4f0], 0
jne 0x1400c9615
mov dword [rsp + 0x4f0], 3
mov eax, dword [rsp + 0x40]
imul eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x4f0]
cdqe
mov qword [rsp + 0x90], rax
mov eax, 4
mov rcx, qword [rsp + 0x90]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.1402848c8
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0x28], 8
jl 0x1400c966d
cmp dword [rsp + 0x28], 0x8000
jl 0x1400c971c
mov dword [rsp + 0x2c], 0
jmp 0x1400c9681
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x2c], eax
jge 0x1400c9717
mov dword [rsp + 0x24], 0
jmp 0x1400c96a3
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jge 0x1400c9712
mov r8d, 4
lea rdx, [rsp + 0xa4]
mov rcx, qword [rsp + 0x4d0]
call fcn.1400bb7b0
mov eax, dword [rsp + 0x2c]
imul eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x4f0]
cdqe
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*4]
mov ecx, dword [rsp + 0x24]
imul ecx, dword [rsp + 0x4f0]
movsxd rcx, ecx
lea rax, [rax + rcx*4]
mov r8d, dword [rsp + 0x4f0]
lea rdx, [rsp + 0xa4]
mov rcx, rax
call fcn.1400c90f0
nop
jmp 0x1400c9699
jmp 0x1400c9677
jmp 0x1400c9a55
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x2c], 0
jmp 0x1400c9739
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x2c], eax
jge 0x1400c9a4a
mov rcx, qword [rsp + 0x4d0]
call fcn.1400bb5c0
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x4d0]
call fcn.1400bb5c0
mov dword [rsp + 0x58], eax
mov rcx, qword [rsp + 0x4d0]
call fcn.1400bb5c0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x54], 2
jne 0x1400c9799
cmp dword [rsp + 0x58], 2
jne 0x1400c9799
mov eax, dword [rsp + 0x34]
and eax, 0x80
test eax, eax
je 0x1400c982f
mov eax, 1
imul rax, rax, 0
movzx ecx, byte [rsp + 0x54]
mov byte [rsp + rax + 0xa0], cl
mov eax, 1
imul rax, rax, 1
movzx ecx, byte [rsp + 0x58]
mov byte [rsp + rax + 0xa0], cl
mov eax, 1
imul rax, rax, 2
movzx ecx, byte [rsp + 0x34]
mov byte [rsp + rax + 0xa0], cl
mov rcx, qword [rsp + 0x4d0]
call fcn.1400bb6f0
mov ecx, 1
imul rcx, rcx, 3
mov byte [rsp + rcx + 0xa0], al
mov r8d, dword [rsp + 0x4f0]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
call fcn.1400c90f0
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x2c], 0
mov rcx, qword [rsp + 0x48]
call fcn.140272de0
nop
jmp 0x1400c96ad
mov eax, dword [rsp + 0x34]
shl eax, 8
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x4d0]
call fcn.1400bb5c0
mov ecx, dword [rsp + 0x34]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x34], eax
je 0x1400c98a8
mov rcx, qword [rsp + 0x60]
call fcn.140272de0
mov rcx, qword [rsp + 0x48]
call fcn.140272de0
lea rcx, str.invalid_decoded_scanline_length
call fcn.1400bab00
test eax, eax
je 0x1400c988f
mov qword [rsp + 0x88], 0
jmp 0x1400c989b
mov qword [rsp + 0x88], 0
mov rax, qword [rsp + 0x88]
jmp 0x1400c9a5a
cmp qword [rsp + 0x48], 0
jne 0x1400c98cf
imul eax, dword [rsp + 0x28], 4
cdqe
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1402848c8
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x3c], 0
jmp 0x1400c98e3
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 4
jge 0x1400c99df
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jge 0x1400c99da
mov rcx, qword [rsp + 0x4d0]
call fcn.1400bb6f0
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
cmp eax, 0x80
jle 0x1400c9987
mov rcx, qword [rsp + 0x4d0]
call fcn.1400bb6f0
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x20]
sub eax, 0x80
mov byte [rsp + 0x20], al
mov dword [rsp + 0x38], 0
jmp 0x1400c9954
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + 0x20]
cmp dword [rsp + 0x38], eax
jge 0x1400c9985
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx*4]
cdqe
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rsp + 0x30]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x1400c994a
jmp 0x1400c99d5
mov dword [rsp + 0x38], 0
jmp 0x1400c999b
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + 0x20]
cmp dword [rsp + 0x38], eax
jge 0x1400c99d5
mov rcx, qword [rsp + 0x4d0]
call fcn.1400bb6f0
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x24]
lea ecx, [rcx + rdx*4]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x48]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x1400c9991
jmp 0x1400c98f6
jmp 0x1400c98d9
mov dword [rsp + 0x24], 0
jmp 0x1400c99f3
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jge 0x1400c9a45
mov eax, dword [rsp + 0x24]
shl eax, 2
cdqe
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x2c]
imul ecx, dword [rsp + 0x28]
add ecx, dword [rsp + 0x24]
imul ecx, dword [rsp + 0x4f0]
movsxd rcx, ecx
mov rdx, qword [rsp + 0x60]
lea rcx, [rdx + rcx*4]
mov r8d, dword [rsp + 0x4f0]
mov rdx, rax
call fcn.1400c90f0
nop
jmp 0x1400c99e9
jmp 0x1400c972f
mov rcx, qword [rsp + 0x48]
call fcn.140272de0
nop
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x4c8
ret