Function at 0x408d90
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 0x462ecb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x218
mov eax, dword [0x47b040]
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 edi, [ecx + 0x48]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x1dc], edi
jbe 0x408df7
mov edi, dword [edi]
mov dword [ebp - 0x1dc], edi
cmp dword [ecx + 0x14], 0xf
mov dword [ebp - 0x1d8], ecx
jbe 0x408e0b
mov eax, dword [ecx]
mov dword [ebp - 0x1d8], eax
cmp dword [ecx + 0x44], 0xf
lea esi, [ecx + 0x30]
jbe 0x408e16
mov esi, dword [esi]
movups xmm0, xmmword [0x468d88]
movaps xmm4, xmmword [0x475170]
movaps xmm5, xmmword [0x4750c0]
movaps xmm3, xmmword [0x475500]
movaps xmm6, xmmword [0x475110]
movups xmmword [ebp - 0x200], xmm0
movups xmm0, xmmword [0x468d98]
movups xmmword [ebp - 0x1f0], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
movaps xmm0, xmmword [0x4751d0]
test al, al
mov eax, dword [0x53d9f0]
je 0x408fc1
xor edx, edx
mov dword [ebp - 0x1e0], edx
cmp eax, 2
jl 0x408f91
lea eax, [ebp - 0x200]
movaps xmmword [ebp - 0x220], xmm0
mov edi, 4
sub edi, eax
mov eax, dword [ebp - 0x220]
nop word [eax + eax]
movd xmm0, edx
lea ecx, [ebp - 0x200]
pshufd xmm2, xmm0, 0
add ecx, edx
paddd xmm2, xmm5
add edx, 8
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, xmm6
psubd xmm2, xmm0
movd xmm0, eax
lea eax, [edi + ecx]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ecx]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ecx], xmm2
pshufd xmm2, xmm0, 0
mov eax, dword [ebp - 0x220]
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ecx + 4]
xorps xmm2, xmm0
movd dword [ecx + 4], xmm2
cmp edx, 0x20
jl 0x408ea0
mov edi, dword [ebp - 0x1dc]
jmp 0x408fc1
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x1e0]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x200], cl
inc edx
mov dword [ebp - 0x1e0], edx
cmp edx, 0x20
jl 0x408f91
push edi
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x200]
push esi
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00413950
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0
movups xmmword [ebp - 0x1c8], xmm0
add esp, 0x14
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 4], 0
call fcn.004606e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x210], ecx
cmp eax, ecx
je 0x4094d2
mov edi, dword [sym.imp.libcurl.dll_curl_easy_setopt]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00412010
call dword [sym.imp.libcurl.dll_curl_easy_init]
mov esi, eax
test esi, esi
je 0x40947d
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 0x45f7e0
push 0x4e2b
push esi
call edi
add esp, 0x48
lea eax, [ebp - 0x1c8]
push eax
push 0x2711
push esi
call edi
movups xmm0, xmmword [0x46d5a4]
add esp, 0xc
lea ecx, [ebp - 0x1b0]
cmp dword [ebp - 0x19c], 0xf
movups xmmword [ebp - 0x1fc], xmm0
mov dword [ebp - 0x1d8], ecx
movq xmm0, qword [0x46d5b4]
movq qword [ebp - 0x1ec], xmm0
jbe 0x4090e8
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1d8], eax
mov al, byte [0x46d5bc]
xor edx, edx
cmp dword [0x53d9f0], 2
mov byte [ebp - 0x1e4], al
mov dword [ebp - 0x1dc], edx
jl 0x409240
movaps xmm0, xmmword [0x4751d0]
movaps xmm3, xmmword [0x475500]
movaps xmm4, xmmword [0x475170]
movaps xmm5, xmmword [0x4750c0]
movaps xmm6, xmmword [0x475110]
movaps xmmword [ebp - 0x220], xmm0
mov ecx, dword [ebp - 0x220]
nop dword [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + edx - 0x1fc]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + edx - 0x1fc], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
movd xmm0, ecx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + edx - 0x1f8]
xorps xmm2, xmm0
movd dword [ebp + edx - 0x1f8], xmm2
add edx, 8
cmp edx, 0x18
jl 0x409140
mov dword [ebp - 0x1dc], edx
cmp edx, 0x19
jge 0x40927d
nop dword [eax + eax]
mov eax, 0x8d3dcb09
imul edx
add edx, dword [ebp - 0x1dc]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1dc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1fc], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 0x19
jl 0x409240
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00413990
lea eax, [ebp - 0x98]
push eax
push 0x2712
push esi
call edi
movups xmm0, xmmword [0x468e3c]
add esp, 0x18
lea edx, [ebp - 0x1b0]
cmp dword [ebp - 0x19c], 0xf
movups xmmword [ebp - 0x204], xmm0
mov dword [ebp - 0x1d8], edx
movups xmm0, xmmword [0x468e4c]
movups xmmword [ebp - 0x1f4], xmm0
jbe 0x4092e5
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1d8], eax
mov al, byte [0x468e5c]
xor ecx, ecx
cmp dword [0x53d9f0], 2
mov byte [ebp - 0x1e4], al
jl 0x409422
movaps xmm0, xmmword [0x4751d0]
movaps xmm3, xmmword [0x475500]
movaps xmm4, xmmword [0x475170]
movaps xmm5, xmmword [0x4750c0]
movaps xmm6, xmmword [0x475110]
movaps xmmword [ebp - 0x220], xmm0
mov edx, dword [ebp - 0x220]
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x204]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + ecx - 0x204], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x200]
xorps xmm2, xmm0
movd dword [ebp + ecx - 0x200], xmm2
add ecx, 8
cmp ecx, 0x20
jl 0x409330
cmp ecx, 0x21
jge 0x40944f
mov eax, 0x8d3dcb09
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, 0x3a
sub dl, al
add dl, 0x33
xor byte [ebp + ecx - 0x204], dl
inc ecx
cmp ecx, 0x21
jl 0x409422
push dword [ebp - 0x1d8]
lea eax, [ebp - 0x204]
push eax
call fcn.00404fa0
push esi
call dword [sym.imp.libcurl.dll_curl_easy_perform]
add esp, 0xc
push esi
test eax, eax
je 0x409648
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
add esp, 4
mov ecx, dword [ebp - 0x19c]
cmp ecx, 0xf
jbe 0x4094b7
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4094ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40972d
push ecx
push edx
call fcn.004617c7
add esp, 8
mov eax, dword [ebp - 0x1e0]
add eax, 0x18
mov dword [ebp - 0x1e0], eax
cmp eax, dword [ebp - 0x210]
jne 0x409040
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0
call fcn.004125e0
movups xmm0, xmmword [0x468d20]
xor edx, edx
cmp dword [0x53d9f0], 2
mov dword [ebp - 0x1d8], edx
movups xmmword [ebp - 0x208], xmm0
movups xmm0, xmmword [0x468d30]
movups xmmword [ebp - 0x1f8], xmm0
movq xmm0, qword [0x468d40]
movq qword [ebp - 0x1e8], xmm0
jl 0x409733
movaps xmm0, xmmword [0x4751d0]
lea eax, [ebp - 0x208]
movaps xmm3, xmmword [0x475500]
mov esi, 4
movaps xmm4, xmmword [0x475170]
sub esi, eax
movaps xmm5, xmmword [0x4750c0]
movaps xmm6, xmmword [0x475110]
movaps xmmword [ebp - 0x220], xmm0
mov edi, dword [ebp - 0x220]
nop
movd xmm0, edx
lea ecx, [ebp - 0x208]
pshufd xmm2, xmm0, 0
add ecx, edx
paddd xmm2, xmm5
add edx, 8
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
lea eax, [esi + ecx]
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, xmm6
psubd xmm2, xmm0
movd xmm0, edi
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ecx]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ecx], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
movd xmm0, edi
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ecx + 4]
xorps xmm2, xmm0
movd dword [ecx + 4], xmm2
cmp edx, 0x28
jl 0x409560
jmp 0x409763
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov esi, dword [ebp - 0x20c]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x19c]
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x1c8]
mov byte [ebp - 0x1c8], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1b8]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
cmp ecx, 0xf
jbe 0x4096d3
mov edx, dword [ebp - 0x1b0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4096c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40972d
push ecx
push edx
call fcn.004617c7
add esp, 8
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
call fcn.004125e0
mov ecx, dword [ebp - 0x1b4]
cmp ecx, 0xf
jbe 0x4097a9
mov edx, dword [ebp - 0x1c8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40979f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40979f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0x1d8]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x208], cl
inc edx
mov dword [ebp - 0x1d8], edx
cmp edx, 0x28
jl 0x409733
lea eax, [ebp - 0x208]
push eax
call fcn.00404fa0
mov esi, dword [ebp - 0x20c]
add esp, 4
xorps xmm0, xmm0
mov ecx, esi
push 0x16
movups xmmword [esi], xmm0
push str.Failed_to_obtain_info.
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00401b80
jmp 0x4096f9
push ecx
push edx
call fcn.004617c7
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.00461666
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4