Function at 0x408850
Capabilities:
Encode data using xor

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 0x456d4b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x238
mov eax, dword [0x46b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x5c], 0xf
lea esi, [ecx + 0x48]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], eax
jbe 0x4088ab
mov esi, dword [esi]
cmp dword [ecx + 0x14], 0xf
mov dword [ebp - 0x208], ecx
jbe 0x4088bf
mov eax, dword [ecx]
mov dword [ebp - 0x208], eax
cmp dword [ecx + 0x44], 0xf
lea edi, [ecx + 0x30]
movups xmm0, xmmword [0x45e084]
mov al, byte [0x45e0ac]
mov byte [ebp - 0x19c], al
movups xmmword [ebp - 0x1c4], xmm0
movups xmm0, xmmword [0x45e094]
movups xmmword [ebp - 0x1b4], xmm0
movq xmm0, qword [0x45e0a4]
movq qword [ebp - 0x1a4], xmm0
jbe 0x408901
mov edi, dword [edi]
xor edx, edx
cmp dword [0x52d844], 2
mov dword [ebp - 0x204], edx
jl 0x408a60
movaps xmm0, xmmword [str.333333333333333344444444444444449999999999999999]
movaps xmm4, xmmword [0x465c30]
movaps xmm3, xmmword [0x465dd0]
movaps xmm5, xmmword [0x465c70]
movaps xmmword [ebp - 0x230], xmm0
mov ecx, dword [ebp - 0x230]
nop
movd xmm0, edx
lea eax, [edx + 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 [0x465cc0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1c4]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x1c4], 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 [0x465cc0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1c0]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x1c0], xmm1
add edx, 8
cmp edx, 0x28
jl 0x408940
mov dword [ebp - 0x204], edx
cmp edx, 0x29
jge 0x408a9d
nop word [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x204]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x204]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1c4], cl
inc edx
mov dword [ebp - 0x204], edx
cmp edx, 0x29
jl 0x408a60
push dword [ebx + 0xc]
lea eax, [ebp - 0x1c4]
push esi
push dword [ebp - 0x208]
push edi
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00413860
xorps xmm0, xmm0
mov dword [ebp - 0x1f0], 0
movups xmmword [ebp - 0x200], xmm0
add esp, 0x18
mov dword [ebp - 0x1ec], 0xf
mov byte [ebp - 0x200], 0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 0
call fcn.00454970
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x214], ecx
cmp eax, ecx
je 0x408fe0
mov edi, dword [sym.imp.libcurl.dll_curl_easy_setopt]
nop
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004126c0
call dword [sym.imp.libcurl.dll_curl_easy_init]
mov esi, eax
test esi, esi
je 0x408f8b
push 0x3c
push 0xd
push esi
call edi
push 0
push 0x40
push esi
call edi
push 0
push 0x51
push esi
call edi
lea eax, [ebp - 0x198]
push eax
push 0x271f
push esi
call edi
push 1
push 0x2f
push esi
call edi
push 0x453e90
push 0x4e2b
push esi
call edi
add esp, 0x48
lea eax, [ebp - 0x200]
push eax
push 0x2711
push esi
call edi
movups xmm0, xmmword [0x45e1b0]
add esp, 0xc
lea ecx, [ebp - 0x1b4]
cmp dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x208], ecx
movups xmmword [ebp - 0x1dc], xmm0
jbe 0x408bb8
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x208], eax
mov eax, dword [0x45e1c0]
xor edx, edx
cmp dword [0x52d844], 2
mov dword [ebp - 0x1cc], eax
mov al, byte [0x45e1c4]
mov byte [ebp - 0x1c8], al
mov dword [ebp - 0x204], edx
jl 0x408d30
movaps xmm0, xmmword [str.333333333333333344444444444444449999999999999999]
movaps xmm4, xmmword [0x465c30]
movaps xmm3, xmmword [0x465dd0]
movaps xmm5, xmmword [0x465c70]
movaps xmmword [ebp - 0x230], xmm0
mov ecx, dword [ebp - 0x230]
nop dword [eax]
movd xmm0, edx
lea eax, [edx + 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 [0x465cc0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1dc]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x1dc], 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 [0x465cc0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1d8]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x1d8], xmm1
add edx, 8
cmp edx, 0x10
jl 0x408c10
mov dword [ebp - 0x204], edx
cmp edx, 0x15
jge 0x408d6d
nop word [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x204]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x204]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1dc], cl
inc edx
mov dword [ebp - 0x204], edx
cmp edx, 0x15
jl 0x408d30
push dword [ebp - 0x208]
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00413890
lea eax, [ebp - 0x98]
push eax
push 0x2712
push esi
call edi
movups xmm0, xmmword [0x45e154]
add esp, 0x18
lea edx, [ebp - 0x1b4]
cmp dword [ebp - 0x1a0], 0xf
movups xmmword [ebp - 0x1e8], xmm0
mov dword [ebp - 0x208], edx
movups xmm0, xmmword [0x45e164]
movups xmmword [ebp - 0x1d8], xmm0
jbe 0x408dd5
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x208], eax
mov al, byte [0x45e174]
xor ecx, ecx
cmp dword [0x52d844], 2
mov byte [ebp - 0x1c8], al
jl 0x408f30
movaps xmm0, xmmword [str.333333333333333344444444444444449999999999999999]
movaps xmm4, xmmword [0x465c30]
movaps xmm3, xmmword [0x465dd0]
movaps xmm5, xmmword [0x465c70]
movaps xmmword [ebp - 0x230], xmm0
mov edx, dword [ebp - 0x230]
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 [0x465cc0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x1e8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x1e8], 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 [0x465cc0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x1e4]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x1e4], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x408e20
cmp ecx, 0x21
jge 0x408f5d
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x39
sub dl, al
add dl, 0x33
xor byte [ebp + ecx - 0x1e8], dl
inc ecx
cmp ecx, 0x21
jl 0x408f30
push dword [ebp - 0x208]
lea eax, [ebp - 0x1e8]
push eax
call fcn.00404ec0
push esi
call dword [sym.imp.libcurl.dll_curl_easy_perform]
add esp, 0xc
push esi
test eax, eax
je 0x409170
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
add esp, 4
mov ecx, dword [ebp - 0x1a0]
cmp ecx, 0xf
jbe 0x408fc5
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408fbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409259
push ecx
push edx
call fcn.00455883
add esp, 8
mov eax, dword [ebp - 0x20c]
add eax, 0x18
mov dword [ebp - 0x20c], eax
cmp eax, dword [ebp - 0x214]
jne 0x408b20
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.004128b0
movups xmm0, xmmword [0x45e0ec]
xor edx, edx
cmp dword [0x52d844], 2
mov dword [ebp - 0x204], edx
movups xmmword [ebp - 0x1c4], xmm0
movups xmm0, xmmword [0x45e0fc]
movups xmmword [ebp - 0x1b4], xmm0
movq xmm0, qword [0x45e10c]
movq qword [ebp - 0x1a4], xmm0
jl 0x409260
movaps xmm0, xmmword [str.333333333333333344444444444444449999999999999999]
xor ecx, ecx
movaps xmm4, xmmword [0x465c30]
movaps xmm3, xmmword [0x465dd0]
movaps xmm5, xmmword [0x465c70]
movaps xmmword [ebp - 0x230], xmm0
mov edx, dword [ebp - 0x230]
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 [0x465cc0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x1c4]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x1c4], 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 [0x465cc0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x1c0]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x1c0], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x409060
jmp 0x40929d
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov esi, dword [ebp - 0x210]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1a0]
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x200]
mov byte [ebp - 0x200], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1f0]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0xf
cmp ecx, 0xf
jbe 0x4091fb
mov edx, dword [ebp - 0x1b4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4091f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409259
push ecx
push edx
call fcn.00455883
add esp, 8
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
call fcn.004128b0
mov ecx, dword [ebp - 0x1ec]
cmp ecx, 0xf
jbe 0x40930e
mov edx, dword [ebp - 0x200]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409304
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409304
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x204]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x204]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1c4], cl
inc edx
mov dword [ebp - 0x204], edx
cmp edx, 0x28
jl 0x409260
lea eax, [ebp - 0x1c4]
push eax
call fcn.00404ec0
mov esi, dword [ebp - 0x210]
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00455853
mov ecx, eax
mov dword [esi + 0x10], 0x16
mov dword [esi], ecx
add esp, 8
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Failed_to_obtain_info.]
movups xmmword [ecx], xmm0
mov eax, dword [0x4591a0]
mov dword [ecx + 0x10], eax
mov ax, word [0x4591a4]
mov word [ecx + 0x14], ax
mov byte [ecx + 0x16], 0
jmp 0x409221
push ecx
push edx
call fcn.00455883
add esp, 8
mov eax, esi
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.00455723
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8