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

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x20], 0x63707274
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x24
mov eax, dword [ebx + 0x83d64]
mov dword [esp + 0x2c], 0x64657363
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x38], 0x77747074
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0x14
mov dword [esp + 0x44], 0x626b7074
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x14
mov dword [esp + 0x50], 0x72545243
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xe
mov dword [esp + 0x5c], 0x67545243
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xe
mov dword [esp + 0x68], 0x62545243
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0xe
mov dword [esp + 0x74], 0x7258595a
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x14
mov dword [esp + 0x80], 0x6758595a
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x14
mov dword [esp + 0x8c], 0x6258595a
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x14
mov dword [esp + 0xc], 0x63757276
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x1000000
test eax, eax
je 0x1012d5e9
push 2
push 0
push 0x40000
push dword [ebx + 0x83d68]
call eax
add esp, 0x10
test eax, eax
jne 0x1012da20
movups xmm0, xmmword [ebx + 0xe38]
push 0
push 0
sub esp, 0x10
mov ecx, ebx
movups xmmword [esp], xmm0
call fcn.10135310
cmp dword [ebx + 0x190], 1
movups xmm0, xmmword [ebx + 0x25074]
movups xmmword [esp + 0x98], xmm0
movups xmm0, xmmword [ebx + 0x25084]
movups xmmword [esp + 0xa8], xmm0
movups xmm0, xmmword [ebx + 0x25094]
movups xmmword [esp + 0xb8], xmm0
je 0x1012d64c
mov eax, dword [ebx + 0xe9c]
cmp eax, 1
jl 0x1012d64c
cmp eax, 6
jg 0x1012d64c
xor eax, eax
jmp 0x1012d651
mov eax, 1
or dword [ebx + 0x54834], eax
jne 0x1012d9cb
push 1
push 0x400
mov ecx, ebx
call fcn.10168cb0
push str.convert_to_rgb__
push eax
mov ecx, ebx
mov dword [ebx + 0x54844], eax
call fcn.10168d40
mov eax, dword [ebx + 0x54844]
movups xmm0, xmmword [0x102c7b48]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x102c7b58]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x102c7b68]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [str.enon]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [0x102c7b88]
movups xmmword [eax + 0x40], xmm0
cmp dword [ebx + 0xe9c], 5
jne 0x1012d6cf
mov ecx, dword [ebx + 0x54844]
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x54844]
push ebp
push esi
push edi
mov dword [eax], 0xfc
xor esi, esi
mov edi, 0x58595a20
test esi, esi
je 0x1012d6f6
cmp esi, 1
mov edx, 0x64657363
cmovg edx, edi
jmp 0x1012d6fb
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 + 0x30], ecx
mov eax, dword [esp + eax*4 + 0x34]
add eax, 3
and eax, 0xfffffffc
add eax, ecx
mov dword [edx], eax
cmp esi, dword [esp + 0x28]
jb 0x1012d6e5
mov edi, dword [ebx + 0x54844]
lea esi, [esp + 0x28]
sub edi, 0xffffff80
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0xe9c]
mov edx, dword [eax*4 + 0x104160d0]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1012d751
mov eax, dword [ebx + 0x54844]
sub edx, ecx
mov ecx, dword [esp + 0x3c]
inc edx
shr ecx, 2
push 3
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebx + 0x54844]
movq xmm0, qword [0x102c7b98]
mov ecx, dword [esp + 0x4c]
movq qword [edx + ecx + 8], xmm0
mov eax, dword [0x102c7ba0]
movsd xmm0, qword [0x103f9670]
mov dword [edx + ecx + 0x10], eax
mov ecx, ebx
divsd xmm0, qword [ebx + 0xe60]
addsd xmm0, qword [0x103f9488]
cvttsd2si eax, xmm0
cwde
shl eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x54844]
add eax, dword [esp + 0x64]
movups xmm0, xmmword [esp + 0x1c]
movups xmmword [eax], xmm0
mov eax, dword [ebx + 0x54844]
add eax, dword [esp + 0x70]
movups xmmword [eax], xmm0
mov eax, dword [ebx + 0x54844]
add eax, dword [esp + 0x7c]
movups xmmword [eax], xmm0
lea eax, [esp + 0xd8]
push eax
mov eax, dword [ebx + 0xe9c]
push dword [eax*4 + 0x104160b8]
call fcn.1014c3d0
mov eax, 0x102c7960
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
xorps xmm1, xmm1
nop
lea edi, [esp + 0x84]
mov ebp, 3
lea esi, [esp + 0xdc]
nop dword [eax]
nop word [eax + eax]
movsd xmm0, qword [esi - 8]
mulsd xmm0, qword [eax - 8]
addsd xmm0, xmm1
movsd xmm1, qword [eax]
mulsd xmm1, qword [esi]
addsd xmm0, xmm1
movsd xmm1, qword [esi + 8]
mulsd xmm1, qword [eax + 8]
addsd xmm0, xmm1
mulsd xmm0, qword [0x102c7e38]
addsd xmm0, qword [0x103f9488]
call fcn.1026a2d1
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 + 0x14]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [esp + 0x10]
sub ebp, 1
jne 0x1012d830
inc dword [esp + 0x14]
add eax, 0x18
mov dword [esp + 0x10], eax
cmp eax, 0x102c79a8
jl 0x1012d810
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 0x1012d8b0
mov ecx, dword [ebx + 0x54844]
mov eax, dword [esp + 0x30]
movups xmm0, xmmword [str.auto_generated_by_dcraw]
mov edx, dword [esp + 0x3c]
add edx, 0xc
movups xmmword [ecx + eax + 8], xmm0
movq xmm0, qword [0x102c7bc8]
movq qword [ecx + eax + 0x18], xmm0
mov eax, dword [ebx + 0xe9c]
add edx, dword [ebx + 0x54844]
mov ecx, dword [eax*4 + 0x104160d0]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x1012d910
mov edi, dword [ebx + 0x190]
lea ebp, [esp + 0xa4]
mov edx, 0x10
xorps xmm2, xmm2
test edi, edi
jle 0x1012d9b9
mov eax, dword [ebx + 0xe9c]
lea ecx, [ebx + 0x25084]
mov esi, dword [eax*4 + 0x104160b8]
mov eax, ebp
movss xmm0, dword [ecx - 0x10]
movss xmm1, dword [ecx]
cvtps2pd xmm0, xmm0
mov dword [eax], 0
cvtps2pd xmm1, xmm1
mulsd xmm0, qword [esi + edx - 0x10]
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]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [eax], xmm0
add eax, 4
sub edi, 1
jne 0x1012d950
mov edi, dword [ebx + 0x190]
add edx, 0x18
add ebp, 0x10
cmp edx, 0x58
jl 0x1012d933
pop edi
pop esi
pop ebp
mov eax, dword [ebx]
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebx
call dword [eax + 0x38]
cmp dword [ebx + 0x190], 4
jne 0x1012d9f6
cmp dword [ebx + 0xe9c], 0
je 0x1012d9f6
mov dword [ebx + 0x190], 3
mov eax, dword [ebx + 0x83d64]
test eax, eax
je 0x1012da18
push 2
push 1
push 0x40000
push dword [ebx + 0x83d68]
call eax
add esp, 0x10
test eax, eax
jne 0x1012da37
pop ebx
add esp, 0x10c
ret
push 0x10404af8
lea eax, [esp + 8]
mov dword [esp + 8], 6
push eax
call fcn.1026eb3b
push 0x10404af8
lea eax, [esp + 8]
mov dword [esp + 8], 6
push eax
call fcn.1026eb3b
int3