Function at 0x1012fb20
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x110
push ebx
mov ebx, ecx
mov dword [esp + 0x10], 0xa
mov dword [esp + 0x14], 0x63707274
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x24
mov eax, dword [ebx + 0x83d64]
mov dword [esp + 0x20], 0x64657363
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x2c], 0x77747074
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x14
mov dword [esp + 0x38], 0x626b7074
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x14
mov dword [esp + 0x44], 0x72545243
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xe
mov dword [esp + 0x50], 0x67545243
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xe
mov dword [esp + 0x5c], 0x62545243
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xe
mov dword [esp + 0x68], 0x7258595a
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x14
mov dword [esp + 0x74], 0x6758595a
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x14
mov dword [esp + 0x80], 0x6258595a
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x14
mov dword [esp + 0x8c], 0x63757276
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 1
test eax, eax
je 0x1012fc71
push 2
push 0
push 0x40000
push dword [ebx + 0x83d68]
call eax
add esp, 0x10
test eax, eax
jne 0x101300a0
movups xmm0, xmmword [ebx + 0xe38]
push esi
push 0
push 0
sub esp, 0x10
mov ecx, ebx
movups xmmword [esp], xmm0
call fcn.10131760
cmp dword [ebx + 0x190], 1
lea esi, [ebx + 0xe9c]
movups xmm0, xmmword [ebx + 0x25074]
movups xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [ebx + 0x25084]
movups xmmword [esp + 0xb0], xmm0
movups xmm0, xmmword [ebx + 0x25094]
movups xmmword [esp + 0xc0], xmm0
je 0x1012fcd7
mov eax, dword [esi]
dec eax
mov dword [esp + 0xc], esi
cmp eax, 5
ja 0x1012fcd7
xor eax, eax
jmp 0x1012fce0
mov eax, 1
mov dword [esp + 0xc], esi
or dword [ebx + 0x54834], eax
jne 0x1013004e
push 1
push 0x400
mov ecx, ebx
call fcn.10166910
push str.convert_to_rgb__
push eax
mov ecx, ebx
mov dword [ebx + 0x54844], eax
call fcn.1016c200
mov eax, dword [ebx + 0x54844]
movups xmm0, xmmword [0x102c5e38]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x102c5e48]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x102c5e58]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [str.enon]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [0x102c5e78]
movups xmmword [eax + 0x40], xmm0
cmp dword [esi], 5
jne 0x1012fd5a
mov ecx, dword [ebx + 0x54844]
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x54844]
xor esi, esi
push ebp
push edi
mov edi, 0x58595a20
mov dword [eax], 0xfc
nop
test esi, esi
je 0x1012fd81
cmp esi, 1
mov edx, 0x64657363
cmovg edx, edi
jmp 0x1012fd86
mov edx, 0x74657874
mov ecx, dword [ebx + 0x54844]
mov eax, dword [ecx]
shr eax, 2
mov dword [ecx + eax*4], edx
lea eax, [esi + esi*2]
mov edx, dword [ebx + 0x54844]
inc esi
mov ecx, dword [edx]
mov dword [esp + eax*4 + 0x24], ecx
mov eax, dword [esp + eax*4 + 0x28]
add eax, 3
and eax, 0xfffffffc
add eax, ecx
mov dword [edx], eax
cmp esi, dword [esp + 0x1c]
jb 0x1012fd70
mov edi, dword [ebx + 0x54844]
lea esi, [esp + 0x1c]
sub edi, 0xffffff80
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax*4 + 0x10408b40]
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1012fde0
mov eax, dword [ebx + 0x54844]
sub edx, ecx
mov ecx, dword [esp + 0x30]
inc edx
shr ecx, 2
push 3
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebx + 0x54844]
movq xmm0, qword [0x102c5e88]
mov ecx, dword [esp + 0x40]
movq qword [edx + ecx + 8], xmm0
mov eax, dword [0x102c5e90]
movsd xmm0, qword [0x103efbe8]
mov dword [edx + ecx + 0x10], eax
mov ecx, ebx
divsd xmm0, qword [ebx + 0xe60]
addsd xmm0, qword [0x103efa18]
cvttsd2si eax, xmm0
cwde
shl eax, 0x10
mov dword [esp + 0xa8], eax
mov eax, dword [ebx + 0x54844]
add eax, dword [esp + 0x58]
movups xmm0, xmmword [esp + 0x9c]
movups xmmword [eax], xmm0
mov eax, dword [ebx + 0x54844]
add eax, dword [esp + 0x64]
movups xmmword [eax], xmm0
mov eax, dword [ebx + 0x54844]
add eax, dword [esp + 0x70]
movups xmmword [eax], xmm0
lea eax, [esp + 0xdc]
push eax
mov eax, dword [esi]
push dword [eax*4 + 0x10408b28]
call fcn.1015c000
mov eax, 0x102c5c50
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
xorps xmm1, xmm1
lea edi, [esp + 0x78]
mov ebp, 3
lea esi, [esp + 0xe0]
movsd xmm0, qword [eax - 8]
mulsd xmm0, qword [esi - 8]
addsd xmm0, xmm1
movsd xmm1, qword [eax]
mulsd xmm1, qword [esi]
addsd xmm0, xmm1
movsd xmm1, qword [eax + 8]
mulsd xmm1, qword [esi + 8]
addsd xmm0, xmm1
mulsd xmm0, qword [0x102c6130]
addsd xmm0, qword [0x103efa18]
call fcn.1026ad30
mov edx, dword [edi]
add esi, 0x18
mov ecx, dword [ebx + 0x54844]
add edi, 0xc
shr edx, 2
xorps xmm1, xmm1
add edx, dword [esp + 0x18]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [esp + 0x10]
sub ebp, 1
jne 0x1012feb0
inc dword [esp + 0x18]
add eax, 0x18
mov dword [esp + 0x10], eax
cmp eax, 0x102c5c98
jl 0x1012fea0
mov edi, dword [sym.imp.WS2_32.dll_htonl]
xor esi, esi
mov eax, dword [ebx + 0x54844]
push dword [esi + eax]
call edi
mov ecx, dword [ebx + 0x54844]
mov dword [esi + ecx], eax
add esi, 4
cmp esi, 0x400
jb 0x1012ff30
mov ecx, dword [ebx + 0x54844]
mov eax, dword [esp + 0x24]
movups xmm0, xmmword [str.auto_generated_by_dcraw]
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
movups xmmword [ecx + eax + 8], xmm0
add edx, 0xc
movq xmm0, qword [0x102c5eb8]
movq qword [ecx + eax + 0x18], xmm0
mov eax, dword [esi]
add edx, dword [ebx + 0x54844]
mov ecx, dword [eax*4 + 0x10408b40]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x1012ff90
mov edi, dword [ebx + 0x190]
lea ebp, [esp + 0xa8]
xor edx, edx
xorps xmm2, xmm2
test edi, edi
jle 0x1013003d
mov eax, dword [esi]
lea ecx, [ebx + 0x25084]
mov esi, dword [eax*4 + 0x10408b28]
mov eax, ebp
nop dword [eax]
movss xmm0, dword [ecx - 0x10]
movss xmm1, dword [ecx]
cvtps2pd xmm0, xmm0
mov dword [eax], 0
cvtps2pd xmm1, xmm1
mulsd xmm0, qword [esi + edx]
addsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [eax], xmm0
mulsd xmm1, qword [esi + edx + 8]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [ecx + 0x10]
add ecx, 4
cvtps2pd xmm1, xmm1
movss dword [eax], xmm0
mulsd xmm1, qword [esi + edx + 0x10]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax], xmm0
add eax, 4
sub edi, 1
jne 0x1012ffd0
mov esi, dword [esp + 0x14]
mov edi, dword [ebx + 0x190]
add edx, 0x18
add ebp, 0x10
cmp edx, 0x48
jl 0x1012ffb0
pop edi
pop ebp
mov eax, dword [ebx]
lea ecx, [esp + 0xa0]
push ecx
mov ecx, ebx
call dword [eax + 0x38]
cmp dword [ebx + 0x190], 4
jne 0x10130075
cmp dword [esi], 0
je 0x10130075
mov dword [ebx + 0x190], 3
mov eax, dword [ebx + 0x83d64]
pop esi
test eax, eax
je 0x10130098
push 2
push 1
push 0x40000
push dword [ebx + 0x83d68]
call eax
add esp, 0x10
test eax, eax
jne 0x101300b7
pop ebx
add esp, 0x110
ret
push 0x103fa020
lea eax, [esp + 8]
mov dword [esp + 8], 6
push eax
call fcn.1026cad5
push 0x103fa020
lea eax, [esp + 8]
mov dword [esp + 8], 6
push eax
call fcn.1026cad5
int3