Function at 0x100c77c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x1019c020]
xor eax, esp
mov dword [esp + 0x144], eax
movsd xmm3, qword [0x10192018]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
movups xmmword [esp + 0x2c], xmm0
mov ecx, 8
mov dword [esp + 0x20], esi
xorps xmm4, xmm4
mov dword [esp + 0x4c], 0xa
movsd xmm0, qword [esi + 0x78]
comisd xmm0, xmm3
push edi
mov dword [esp + 0x54], 0x63707274
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x24
mov dword [esp + 0x60], 0x64657363
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x28
mov dword [esp + 0x6c], 0x77747074
mov dword [esp + 0x70], 0
cmovae eax, ecx
mov dword [esp + 0x74], 0x14
ucomisd xmm0, xmm4
mov dword [esp + 0x78], 0x626b7074
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x14
mov dword [esp + 0x84], 0x72545243
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0xe
mov dword [esp + 0x90], 0x67545243
movsd qword [esp + eax + 0x30], xmm3
mov dword [esp + 0x94], 0
lahf
mov dword [esp + 0x98], 0xe
mov dword [esp + 0x9c], 0x62545243
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0xe
mov dword [esp + 0xa8], 0x7258595a
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0x14
mov dword [esp + 0xb4], 0x6758595a
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0x14
mov dword [esp + 0xc0], 0x6258595a
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0x14
mov dword [esp + 0x40], 0x63757276
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0x1000000
test ah, 0x44
jnp 0x100c7a41
movsd xmm2, qword [esi + 0x70]
subsd xmm0, xmm3
movaps xmm1, xmm2
subsd xmm1, xmm3
mulsd xmm1, xmm0
comisd xmm4, xmm1
jb 0x100c7a41
movaps xmm1, xmm2
lea edi, [ecx + 0x1c]
xorps xmm1, xmmword [0x101924a0]
movsd qword [esp + 0x28], xmm1
nop
movsd xmm0, qword [esp + 0x38]
addsd xmm0, qword [esp + 0x30]
mulsd xmm0, qword [0x10191fb0]
movsd qword [esp + 0x18], xmm0
movsd qword [esi + 0x80], xmm0
divsd xmm0, qword [esi + 0x78]
call fcn.10138570
movsd xmm3, qword [0x10192018]
xor eax, eax
movsd xmm2, qword [esp + 0x18]
subsd xmm0, xmm3
movsd xmm4, qword [esi + 0x70]
movaps xmm1, xmm3
divsd xmm1, xmm2
mov ecx, 8
divsd xmm0, xmm4
subsd xmm0, xmm1
movsd xmm1, qword [esp + 0x28]
comisd xmm0, xmmword [0x101922c0]
cmova eax, ecx
movsd qword [esp + eax + 0x30], xmm2
sub edi, 1
jne 0x100c79a0
movaps xmm0, xmm3
movsd xmm1, qword [esi + 0x80]
divsd xmm0, xmm4
subsd xmm0, xmm3
mulsd xmm0, xmm1
divsd xmm1, qword [esi + 0x78]
movsd qword [esi + 0x88], xmm0
movsd qword [esi + 0x80], xmm1
movsd xmm1, qword [esi + 0x70]
movsd xmm0, qword [esi + 0x80]
addsd xmm1, xmm3
movsd qword [esp + 0x18], xmm1
call fcn.10138570
cmp dword [esi + 0x66d0], 1
movsd xmm5, qword [0x10192018]
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 [0x10191fb0]
divsd xmm2, qword [esp + 0x18]
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 [esp + 0xd0], xmm0
movups xmm0, xmmword [esi + 0xe7d4]
movups xmmword [esp + 0xe0], xmm0
movups xmm0, xmmword [esi + 0xe7e4]
movups xmmword [esp + 0xf0], xmm0
je 0x100c7b1e
cmp dword [esi + 0xc0], 0
jne 0x100c7b1e
mov eax, dword [esi + 0xa8]
cmp eax, 1
jl 0x100c7b1e
cmp eax, 5
jg 0x100c7b1e
xor eax, eax
jmp 0x100c7b23
mov eax, 1
or dword [esi + 0x6604], eax
jne 0x100c7ed6
push 1
push 0x400
call fcn.101373f7
add esp, 8
mov dword [esi + 0x65e0], eax
test eax, eax
je 0x100c8016
movups xmm0, xmmword [0x10164710]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x10164720]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x10164730]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [str.enon]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [0x10164750]
movups xmmword [eax + 0x40], xmm0
cmp dword [esi + 0xa8], 5
jne 0x100c7b97
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
nop word [eax + eax]
test edi, edi
je 0x100c7bc1
cmp edi, 1
mov edx, 0x64657363
cmovg edx, eax
jmp 0x100c7bc6
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 [esp + eax*4 + 0x58], ecx
mov eax, dword [esp + eax*4 + 0x5c]
add eax, 3
and eax, 0xfffffffc
add eax, ecx
mov dword [edx], eax
mov eax, 0x58595a20
cmp edi, dword [esp + 0x50]
jl 0x100c7bb0
mov edi, dword [esi + 0x65e0]
mov ecx, 0x1f
sub edi, 0xffffff80
lea esi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0xa8]
mov edx, dword [eax*4 + 0x10164134]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100c7c25
mov eax, dword [esi + 0x65e0]
sub edx, ecx
mov ecx, dword [esp + 0x64]
inc edx
shr ecx, 2
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esi + 0x65e0]
mov ecx, dword [esp + 0x70]
movq xmm0, qword [0x10164354]
movq qword [edx + ecx + 8], xmm0
mov eax, dword [0x1016435c]
mov dword [edx + ecx + 0x10], eax
cmp dword [esi + 0xac], 8
jne 0x100c7c8e
movsd xmm0, qword [0x10192188]
divsd xmm0, qword [esi + 0x90]
addsd xmm0, qword [0x10191fb0]
cvttsd2si eax, xmm0
cwde
shl eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x65e0]
lea edx, [esp + 0x100]
add eax, dword [esp + 0x88]
movaps xmm0, xmmword [esp + 0x40]
push 3
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x65e0]
add eax, dword [esp + 0x98]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x65e0]
add eax, dword [esp + 0xa4]
movups xmmword [eax], xmm0
mov ecx, dword [esi + 0xa8]
mov ecx, dword [ecx*4 + 0x10164a5c]
call fcn.100b4f70
mov ecx, 0x101648d0
mov dword [esp + 0x2c], 0
add esp, 4
mov dword [esp + 0x18], ecx
nop dword [eax]
nop word [eax + eax]
lea eax, [esp + 0xac]
mov dword [esp + 0x24], 3
mov dword [esp + 0x14], eax
lea edi, [esp + 0x100]
nop word [eax + eax]
mov eax, ecx
xorps xmm1, xmm1
mov ecx, 3
nop word [eax + eax]
movsd xmm0, qword [eax]
add eax, 8
mulsd xmm0, qword [edi]
add edi, 8
addsd xmm1, xmm0
sub ecx, 1
jne 0x100c7d30
mulsd xmm1, qword [0x101921d0]
addsd xmm1, qword [0x10191fb0]
movaps xmm0, xmm1
call fcn.1012bb51
mov ecx, dword [esp + 0x14]
add dword [esp + 0x14], 0xc
mov edx, dword [ecx]
mov ecx, dword [esi + 0x65e0]
shr edx, 2
add edx, dword [esp + 0x28]
sub dword [esp + 0x24], 1
mov dword [ecx + edx*4 + 8], eax
mov ecx, dword [esp + 0x18]
jne 0x100c7d20
inc dword [esp + 0x28]
add ecx, 0x18
mov dword [esp + 0x18], ecx
cmp ecx, 0x10164918
jl 0x100c7d00
xor edi, edi
nop
mov eax, dword [esi + 0x65e0]
push dword [edi + eax]
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 0x100c7da0
mov ecx, dword [esi + 0x65e0]
mov eax, dword [esp + 0x58]
movups xmm0, xmmword [str.auto_generated_by_dcraw]
mov edx, dword [esp + 0x64]
add edx, 0xc
movups xmmword [ecx + eax + 8], xmm0
movq xmm0, qword [0x1018d844]
movq qword [ecx + eax + 0x18], xmm0
mov eax, dword [esi + 0xa8]
add edx, dword [esi + 0x65e0]
mov ecx, dword [eax*4 + 0x10164134]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x100c7e01
xor eax, eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [esi + 0x66d0], edi
jle 0x100c7ebf
mov edx, ecx
mov dword [esp + 0x14], edi
mov ecx, edi
nop word [eax + eax]
mov dword [edx], 0
cmp ecx, 3
jge 0x100c7ea7
mov eax, dword [esi + 0xa8]
mov edi, 3
add ecx, dword [esp + 0x28]
mov eax, dword [eax*4 + 0x10164a5c]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 0x14]
lea eax, [eax*4 + 0x39f1]
add eax, dword [esp + 0x18]
sub edi, dword [esp + 0x14]
lea eax, [esi + eax*4]
nop word [eax + eax]
movsd xmm0, qword [ecx]
add ecx, 8
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [eax]
add eax, 0x10
addss xmm0, dword [edx]
movss dword [edx], xmm0
sub edi, 1
jne 0x100c7e80
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc edi
add edx, 4
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x66d0]
jl 0x100c7e40
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add eax, 3
add ecx, 0x10
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
cmp eax, 9
jl 0x100c7e20
cmp dword [esi + 0xbc], 0
je 0x100c7f14
mov eax, dword [esi + 0xa8]
mov ecx, str.Converting_to__s_colorspace..._n
cmp dword [esi + 0x6604], 0
push dword [eax*4 + 0x10164134]
mov eax, str.Building_histograms..._n
cmove eax, ecx
push eax
push 2
call fcn.10139778
add esp, 4
push eax
call fcn.10001240
add esp, 0xc
push 0x20000
lea eax, [esi + 0xe7f4]
push 0
push eax
call fcn.1012df50
mov edi, dword [esi + 0x66e0]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x34], ecx
add esp, 0xc
cmp ax, word [esi + 0x66b4]
jae 0x100c80e2
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], edx
cmp ax, word [esi + 0x66b6]
jae 0x100c80ce
nop word [eax + eax]
cmp dword [esi + 0x6604], 0
jne 0x100c8059
mov edx, dword [esi + 0x66d0]
xorps xmm2, xmm2
xorps xmm3, xmm3
movss dword [esp + 0x48], xmm2
xorps xmm4, xmm4
movss dword [esp + 0x44], xmm3
xor ecx, ecx
movss dword [esp + 0x40], xmm4
test edx, edx
jle 0x100c7ff5
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [edi + ecx*2]
movss xmm0, dword [esp + ecx*4 + 0xd0]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
addss xmm4, xmm0
movss xmm0, dword [esp + ecx*4 + 0xe0]
mulss xmm0, xmm1
addss xmm3, xmm0
movss xmm0, dword [esp + ecx*4 + 0xf0]
mulss xmm0, xmm1
inc ecx
addss xmm2, xmm0
cmp ecx, edx
jl 0x100c7fa0
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x40], xmm4
xor eax, eax
nop word [eax + eax]
cvttss2si ecx, dword [esp + eax*4 + 0x40]
cmp ecx, 0xffff
jge 0x100c803f
test ecx, ecx
jns 0x100c803f
xor edx, edx
jmp 0x100c8049
mov eax, dword [esi + 0x2e844]
push str.convert_to_rgb__
push dword [esi + 0x6278]
push str._s:_Out_of_memory_in__s_n
test eax, eax
je 0x100c812e
push eax
call fcn.10004160
jmp 0x100c813e
mov edx, 0xffff
cmp ecx, edx
cmovl edx, ecx
mov word [edi + eax*2], dx
inc eax
cmp eax, 3
jl 0x100c8000
mov edx, dword [esp + 0x18]
jmp 0x100c8081
cmp dword [esi + 0xc0], 0
je 0x100c8081
and ecx, 7
mov eax, edx
and eax, 1
lea ecx, [eax + ecx*2]
mov eax, dword [esi + 0x65b0]
add ecx, ecx
shr eax, cl
and eax, 3
mov ax, word [edi + eax*2]
mov word [edi], ax
xor ecx, ecx
cmp dword [esi + 0x66d0], ecx
jle 0x100c80b3
xor edx, edx
nop dword [eax]
movzx eax, word [edi + ecx*2]
inc ecx
shr eax, 3
add eax, edx
add edx, 0x2000
inc dword [esi + eax*4 + 0xe7f4]
cmp ecx, dword [esi + 0x66d0]
jl 0x100c8090
mov edx, dword [esp + 0x18]
movzx eax, word [esi + 0x66b6]
inc edx
mov ecx, dword [esp + 0x28]
add edi, 8
mov dword [esp + 0x18], edx
cmp edx, eax
jl 0x100c7f60
movzx eax, word [esi + 0x66b4]
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, eax
jl 0x100c7f45
cmp dword [esi + 0x66d0], 4
jne 0x100c80fe
cmp dword [esi + 0xa8], 0
je 0x100c80fe
mov dword [esi + 0x66d0], 3
cmp dword [esi + 0xc0], 0
je 0x100c811a
cmp dword [esi + 0x65b0], 0
je 0x100c811a
mov dword [esi + 0x66d0], 1
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
push 2
call fcn.10139778
add esp, 4
push eax
call fcn.10001240
add esp, 0x10
lea eax, [esi + 0x2e804]
push 1
push eax
call fcn.1012e0aa
int3