Function at 0x4887a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 4], eax
movsd xmm3, qword [0x6ebff8]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
xorps xmm5, xmm5
xorps xmm0, xmm0
mov dword [ebp - 0x110], esi
movups xmmword [ebp - 0x14c], xmm0
push edi
movsd xmm4, qword [esi + 0x78]
comisd xmm4, xmm3
mov dword [ebp - 0x8c], 0xa
mov dword [ebp - 0x88], 0x63707274
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0x24
mov dword [ebp - 0x7c], 0x64657363
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0x28
mov dword [ebp - 0x70], 0x77747074
mov dword [ebp - 0x6c], 0
setae al
mov dword [ebp - 0x68], 0x14
ucomisd xmm4, xmm5
mov dword [ebp - 0x64], 0x626b7074
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0x14
mov dword [ebp - 0x58], 0x72545243
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xe
mov dword [ebp - 0x4c], 0x67545243
movsd qword [ebp + eax*8 - 0x14c], xmm3
mov dword [ebp - 0x48], 0
lahf
mov dword [ebp - 0x44], 0xe
mov dword [ebp - 0x40], 0x62545243
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xe
mov dword [ebp - 0x34], 0x7258595a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x14
mov dword [ebp - 0x28], 0x6758595a
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], 0x6258595a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x14
mov dword [ebp - 0x13c], 0x63757276
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 1
mov dword [ebp - 0x130], 0x1000000
movsd qword [ebp - 0x12c], xmm4
test ah, 0x44
jnp 0x4889ea
movsd xmm2, qword [esi + 0x70]
movaps xmm0, xmm4
movaps xmm1, xmm2
subsd xmm0, xmm3
subsd xmm1, xmm3
mulsd xmm1, xmm0
comisd xmm5, xmm1
jb 0x4889ea
movaps xmm1, xmm2
mov edi, 0x24
xorps xmm1, xmmword [0x6ecb10]
movsd qword [ebp - 0x124], xmm1
nop dword [eax]
nop word [eax + eax]
movsd xmm0, qword [ebp - 0x144]
addsd xmm0, qword [ebp - 0x14c]
mulsd xmm0, qword [0x6ebff0]
movsd qword [ebp - 0xc], xmm0
divsd xmm0, xmm4
call fcn.006a8f50
movsd xmm3, qword [0x6ebff8]
xor eax, eax
movsd xmm2, qword [ebp - 0xc]
subsd xmm0, xmm3
movsd xmm5, qword [esi + 0x70]
movaps xmm1, xmm3
divsd xmm1, xmm2
divsd xmm0, xmm5
movsd xmm4, qword [ebp - 0x12c]
subsd xmm0, xmm1
movsd xmm1, qword [ebp - 0x124]
comisd xmm0, xmmword [0x6eca30]
seta al
movsd qword [ebp + eax*8 - 0x14c], xmm2
sub edi, 1
jne 0x488950
movaps xmm0, xmm3
divsd xmm0, xmm5
subsd xmm0, xmm3
mulsd xmm0, xmm2
divsd xmm2, qword [esi + 0x78]
movsd qword [esi + 0x88], xmm0
movsd qword [esi + 0x80], xmm2
movsd xmm1, qword [esi + 0x70]
movsd xmm0, qword [esi + 0x80]
addsd xmm1, xmm3
movsd qword [ebp - 0xc], xmm1
call fcn.006a8f50
cmp dword [esi + 0x66d0], 1
movsd xmm5, qword [0x6ebff8]
movsd xmm3, qword [esi + 0x88]
movaps xmm2, xmm5
subsd xmm2, xmm0
movsd xmm4, qword [esi + 0x80]
movaps xmm0, xmm3
movaps xmm1, xmm4
addsd xmm0, xmm5
mulsd xmm1, xmm4
mulsd xmm2, xmm0
movsd xmm0, qword [esi + 0x78]
mulsd xmm0, qword [0x6ebff0]
divsd xmm2, qword [ebp - 0xc]
mulsd xmm1, xmm0
movaps xmm0, xmm5
subsd xmm0, xmm4
mulsd xmm0, xmm3
subsd xmm1, xmm0
movaps xmm0, xmm5
addsd xmm2, xmm1
divsd xmm0, xmm2
subsd xmm0, xmm5
movsd qword [esi + 0x90], xmm0
movups xmm0, xmmword [esi + 0xe7c4]
movups xmmword [ebp - 0xbc], xmm0
movups xmm0, xmmword [esi + 0xe7d4]
movups xmmword [ebp - 0xac], xmm0
movups xmm0, xmmword [esi + 0xe7e4]
movups xmmword [ebp - 0x9c], xmm0
je 0x488abe
cmp dword [esi + 0xc0], 0
jne 0x488abe
mov eax, dword [esi + 0xa8]
dec eax
cmp eax, 4
ja 0x488abe
xor ecx, ecx
jmp 0x488ac3
mov ecx, 1
or dword [esi + 0x6604], ecx
jne 0x488ede
push 1
push 0x400
call fcn.0069babe
push str.convert_to_rgb__
push eax
push esi
mov dword [esi + 0x65e0], eax
call fcn.004925a0
mov eax, dword [esi + 0x65e0]
add esp, 0x14
movups xmm0, xmmword [0x6f3cf0]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x6f3d00]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x6f3d10]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [str.enon]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [0x6f3d30]
movups xmmword [eax + 0x40], xmm0
cmp dword [esi + 0xa8], 5
jne 0x488b41
mov ecx, dword [esi + 0x65e0]
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x65e0]
xor edi, edi
mov dword [eax], 0xfc
mov eax, 0x58595a20
test edi, edi
je 0x488b65
cmp edi, 1
mov edx, 0x64657363
cmovg edx, eax
jmp 0x488b6a
mov edx, 0x74657874
mov ecx, dword [esi + 0x65e0]
mov eax, dword [ecx]
shr eax, 2
mov dword [ecx + eax*4], edx
lea eax, [edi + edi*2]
mov edx, dword [esi + 0x65e0]
inc edi
mov ecx, dword [edx]
mov dword [ebp + eax*4 - 0x84], ecx
mov eax, dword [ebp + eax*4 - 0x80]
add eax, 3
and eax, 0xfffffffc
add eax, ecx
mov dword [edx], eax
mov eax, 0x58595a20
cmp edi, dword [ebp - 0x8c]
jl 0x488b54
mov edi, dword [esi + 0x65e0]
mov ecx, 0x1f
sub edi, 0xffffff80
lea esi, [ebp - 0x8c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x110]
mov eax, dword [esi + 0xa8]
mov edx, dword [eax*4 + 0x7990c4]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x488bd2
mov eax, dword [esi + 0x65e0]
sub edx, ecx
mov ecx, dword [ebp - 0x78]
inc edx
shr ecx, 2
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x65e0]
mov ecx, dword [ebp - 0x6c]
movq xmm0, qword [0x6f1614]
movq qword [edx + ecx + 8], xmm0
mov eax, dword [0x6f161c]
mov dword [edx + ecx + 0x10], eax
cmp dword [esi + 0xac], 8
jne 0x488c3b
movsd xmm0, qword [0x6ef628]
divsd xmm0, qword [esi + 0x90]
addsd xmm0, qword [0x6ebff0]
cvttsd2si eax, xmm0
cwde
shl eax, 0x10
mov dword [ebp - 0x130], eax
mov eax, dword [esi + 0x65e0]
add eax, dword [ebp - 0x54]
movups xmm0, xmmword [ebp - 0x13c]
push 3
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x65e0]
add eax, dword [ebp - 0x48]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x65e0]
add eax, dword [ebp - 0x3c]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x104]
push eax
mov eax, dword [esi + 0xa8]
push dword [eax*4 + 0x7990b0]
call fcn.0049cc00
mov ecx, 0x6f4978
mov dword [ebp - 0x108], 0
add esp, 0xc
mov dword [ebp - 0x10c], ecx
nop dword [eax]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x118], 3
mov dword [ebp - 0x114], eax
lea edi, [ebp - 0x104]
nop dword [eax]
mov eax, ecx
xorps xmm1, xmm1
mov ecx, 3
nop word [eax + eax]
movsd xmm0, qword [edi]
add edi, 8
mulsd xmm0, qword [eax]
add eax, 8
addsd xmm1, xmm0
sub ecx, 1
jne 0x488cd0
mulsd xmm1, qword [0x6f6ab0]
addsd xmm1, qword [0x6ebff0]
movaps xmm0, xmm1
call fcn.0068e2f0
mov ecx, dword [ebp - 0x114]
add dword [ebp - 0x114], 0xc
mov edx, dword [ecx]
mov ecx, dword [esi + 0x65e0]
shr edx, 2
add edx, dword [ebp - 0x108]
sub dword [ebp - 0x118], 1
mov dword [ecx + edx*4 + 8], eax
mov ecx, dword [ebp - 0x10c]
jne 0x488cc0
inc dword [ebp - 0x108]
add ecx, 0x18
mov dword [ebp - 0x10c], ecx
cmp ecx, 0x6f49c0
jl 0x488ca0
xor edi, edi
nop dword [eax]
mov eax, dword [esi + 0x65e0]
push dword [eax + edi]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esi + 0x65e0]
mov dword [edi + ecx], eax
add edi, 4
cmp edi, 0x400
jl 0x488d50
mov ecx, dword [esi + 0x65e0]
mov eax, dword [ebp - 0x84]
movups xmm0, xmmword [str.auto_generated_by_dcraw]
mov edx, dword [ebp - 0x78]
add edx, 0xc
movups xmmword [ecx + eax + 8], xmm0
movq xmm0, qword [0x6f6858]
movq qword [ecx + eax + 0x18], xmm0
mov eax, dword [esi + 0xa8]
add edx, dword [esi + 0x65e0]
mov ecx, dword [eax*4 + 0x7990c4]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x488db2
mov ecx, dword [esi + 0x66d0]
lea edi, [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x108], eax
nop word [eax + eax]
xor edx, edx
test ecx, ecx
jle 0x488ec3
mov eax, dword [esi + 0xa8]
mov eax, dword [eax*4 + 0x7990b0]
mov dword [ebp - 0x120], eax
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x118], 0
xorps xmm1, xmm1
mov dword [ebp - 0x114], 8
xor ecx, ecx
mov dword [ebp - 0x10c], 0x10
nop word [eax + eax]
add eax, dword [ebp - 0x108]
lea ecx, [ecx + edx*4]
mov esi, dword [ebp - 0x120]
movsd xmm0, qword [esi + eax]
mov esi, dword [ebp - 0x110]
mov eax, dword [ebp - 0x118]
cvtpd2ps xmm0, xmm0
inc eax
mov dword [ebp - 0x118], eax
mulss xmm0, dword [esi + ecx + 0xe7c4]
mov ecx, dword [ebp - 0x114]
mov esi, dword [ebp - 0x10c]
add dword [ebp - 0x10c], 0x10
addss xmm1, xmm0
mov dword [ebp - 0x128], ecx
add ecx, 8
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x110]
cmp eax, 3
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x114], ecx
mov ecx, dword [ebp - 8]
movss dword [edi], xmm1
jl 0x488e30
mov ecx, dword [esi + 0x66d0]
inc edx
add edi, 4
cmp edx, ecx
jl 0x488e00
mov eax, dword [ebp - 0x108]
mov edi, dword [ebp - 0x11c]
add eax, 0x18
add edi, 0x10
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], edi
cmp eax, 0x48
jl 0x488de0
cmp dword [esi + 0xbc], 0
je 0x488f1c
mov eax, dword [esi + 0xa8]
mov ecx, str.Converting_to__s_colorspace..._n
cmp dword [esi + 0x6604], 0
push dword [eax*4 + 0x7990c4]
mov eax, str.Building_histograms..._n
cmove eax, ecx
push eax
push 2
call fcn.006a8221
add esp, 4
push eax
call fcn.0040dea0
add esp, 0xc
push 0x20000
lea eax, [esi + 0xe7f4]
push 0
push eax
call fcn.00690e10
mov edx, dword [esi + 0x66e0]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x110], edx
add esp, 0xc
mov dword [ebp - 0x108], ecx
cmp ax, word [esi + 0x66b4]
jae 0x4890c0
xor eax, eax
xor edi, edi
mov dword [ebp - 0x10c], eax
cmp di, word [esi + 0x66b6]
jae 0x4890aa
mov edi, dword [esi + 0x66d0]
cmp dword [esi + 0x6604], 0
jne 0x489017
xorps xmm2, xmm2
xorps xmm3, xmm3
xorps xmm4, xmm4
movss dword [ebp - 8], xmm2
xor ecx, ecx
movss dword [ebp - 0xc], xmm3
movss dword [ebp - 0x10], xmm4
test edi, edi
jle 0x488fec
nop dword [eax]
movzx eax, word [edx + ecx*2]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, dword [ebp + ecx*4 - 0xbc]
addss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp + ecx*4 - 0xac]
mulss xmm1, dword [ebp + ecx*4 - 0x9c]
inc ecx
addss xmm3, xmm0
addss xmm2, xmm1
cmp ecx, edi
jl 0x488fa0
movss dword [ebp - 8], xmm2
movss dword [ebp - 0xc], xmm3
movss dword [ebp - 0x10], xmm4
xor ecx, ecx
nop
cvttss2si eax, dword [ebp + ecx*4 - 0x10]
cmp eax, 0xffff
jge 0x489006
xor edi, edi
test eax, eax
cmovs eax, edi
jmp 0x48900b
mov eax, 0xffff
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, 3
jl 0x488ff0
jmp 0x48903d
cmp dword [esi + 0xc0], 0
je 0x48903d
and eax, 1
and ecx, 7
lea ecx, [eax + ecx*2]
mov eax, dword [esi + 0x65b0]
add ecx, ecx
shr eax, cl
and eax, 3
mov ax, word [edx + eax*2]
mov word [edx], ax
mov edi, dword [esi + 0x66d0]
xor ecx, ecx
test edi, edi
jle 0x48907d
xor edx, edx
nop dword [eax + eax]
mov eax, dword [ebp - 0x110]
movzx eax, word [eax + ecx*2]
inc ecx
shr eax, 3
add eax, edx
add edx, 0x2000
inc dword [esi + eax*4 + 0xe7f4]
mov edi, dword [esi + 0x66d0]
cmp ecx, edi
jl 0x489050
mov edx, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x10c]
add edx, 8
movzx eax, word [esi + 0x66b6]
inc ecx
cmp ecx, eax
mov dword [ebp - 0x10c], ecx
mov eax, ecx
mov dword [ebp - 0x110], edx
mov ecx, dword [ebp - 0x108]
jl 0x488f72
movzx eax, word [esi + 0x66b4]
inc ecx
mov dword [ebp - 0x108], ecx
cmp ecx, eax
jl 0x488f55
cmp dword [esi + 0x66d0], 4
jne 0x4890dc
cmp dword [esi + 0xa8], 0
je 0x4890dc
mov dword [esi + 0x66d0], 3
cmp dword [esi + 0xc0], 0
je 0x4890f8
cmp dword [esi + 0x65b0], 0
je 0x4890f8
mov dword [esi + 0x66d0], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0068d76f
mov esp, ebp
pop ebp
ret