Function at 0x40a8e0
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 0x456deb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x228
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 - 0x204], eax
mov dword [ebp - 0x208], eax
jbe 0x40a93b
mov esi, dword [esi]
cmp dword [ecx + 0x14], 0xf
mov dword [ebp - 0x1fc], ecx
jbe 0x40a94f
mov eax, dword [ecx]
mov dword [ebp - 0x1fc], 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 0x40a991
mov edi, dword [edi]
xor edx, edx
cmp dword [0x52d844], 2
mov dword [ebp - 0x1f8], edx
jl 0x40aaf0
movaps xmm0, xmmword [str.333333333333333344444444444444449999999999999999]
movaps xmm4, xmmword [0x465c30]
movaps xmm3, xmmword [0x465dd0]
movaps xmm5, xmmword [0x465c70]
movaps xmmword [ebp - 0x220], xmm0
mov ecx, dword [ebp - 0x220]
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 0x40a9d0
mov dword [ebp - 0x1f8], edx
cmp edx, 0x29
jge 0x40ab2d
nop word [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x1f8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1f8]
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 - 0x1f8], edx
cmp edx, 0x29
jl 0x40aaf0
push dword [ebx + 0xc]
lea eax, [ebp - 0x1c4]
push esi
push dword [ebp - 0x1fc]
push edi
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00413860
xorps xmm0, xmm0
mov dword [ebp - 0x1e4], 0
movups xmmword [ebp - 0x1f4], xmm0
add esp, 0x18
mov dword [ebp - 0x1e0], 0xf
mov byte [ebp - 0x1f4], 0
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call fcn.00454970
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x208], ecx
cmp eax, ecx
je 0x40b060
mov edi, dword [sym.imp.libcurl.dll_curl_easy_setopt]
nop
push eax
lea ecx, [ebp - 0x1dc]
call fcn.004126c0
call dword [sym.imp.libcurl.dll_curl_easy_init]
mov esi, eax
test esi, esi
je 0x40b00b
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 - 0x1f4]
push eax
push 0x2711
push esi
call edi
movups xmm0, xmmword [0x45e2d0]
add esp, 0xc
lea eax, [ebp - 0x1dc]
cmp dword [ebp - 0x1c8], 0xf
movups xmmword [ebp - 0x1b4], xmm0
cmova eax, dword [ebp - 0x1dc]
cmp byte [0x45e2e7], 0
movq xmm0, qword [0x45e2e0]
mov dword [ebp - 0x1fc], eax
movq qword [ebp - 0x1a4], xmm0
je 0x40adf3
xor edx, edx
cmp dword [0x52d844], 2
mov dword [ebp - 0x1f8], edx
jl 0x40adb0
movaps xmm0, xmmword [str.333333333333333344444444444444449999999999999999]
xor ecx, ecx
movaps xmm4, xmmword [0x465c30]
movaps xmm3, xmmword [0x465dd0]
movaps xmm5, xmmword [0x465c70]
movaps xmmword [ebp - 0x220], xmm0
mov edx, dword [ebp - 0x220]
nop
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 - 0x1b4]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x1b4], 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 - 0x1b0]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x1b0], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x40aca0
jmp 0x40aded
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x1f8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1f8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1b4], cl
inc edx
mov dword [ebp - 0x1f8], edx
cmp edx, 0x18
jl 0x40adb0
mov eax, dword [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1b4]
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 - 0x1dc]
cmp dword [ebp - 0x1c8], 0xf
movups xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x1fc], edx
movups xmm0, xmmword [0x45e164]
movups xmmword [ebp - 0x1ac], xmm0
jbe 0x40ae56
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1fc], eax
mov al, byte [0x45e174]
xor ecx, ecx
cmp dword [0x52d844], 2
mov byte [ebp - 0x19c], al
jl 0x40afb0
movaps xmm0, xmmword [str.333333333333333344444444444444449999999999999999]
movaps xmm4, xmmword [0x465c30]
movaps xmm3, xmmword [0x465dd0]
movaps xmm5, xmmword [0x465c70]
movaps xmmword [ebp - 0x220], xmm0
mov edx, dword [ebp - 0x220]
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 [0x465cc0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x1bc]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x1bc], 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 - 0x1b8]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x1b8], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x40aea0
cmp ecx, 0x21
jge 0x40afdd
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 - 0x1bc], dl
inc ecx
cmp ecx, 0x21
jl 0x40afb0
push dword [ebp - 0x1fc]
lea eax, [ebp - 0x1bc]
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 0x40b1f0
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
add esp, 4
mov ecx, dword [ebp - 0x1c8]
cmp ecx, 0xf
jbe 0x40b045
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b03b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b2d9
push ecx
push edx
call fcn.00455883
add esp, 8
mov eax, dword [ebp - 0x200]
add eax, 0x18
mov dword [ebp - 0x200], eax
cmp eax, dword [ebp - 0x208]
jne 0x40abb0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0
call fcn.004128b0
movups xmm0, xmmword [0x45e0ec]
xor edx, edx
cmp dword [0x52d844], 2
mov dword [ebp - 0x1f8], 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 0x40b2e0
movaps xmm0, xmmword [str.333333333333333344444444444444449999999999999999]
xor ecx, ecx
movaps xmm4, xmmword [0x465c30]
movaps xmm3, xmmword [0x465dd0]
movaps xmm5, xmmword [0x465c70]
movaps xmmword [ebp - 0x220], xmm0
mov edx, dword [ebp - 0x220]
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 0x40b0e0
jmp 0x40b31d
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov esi, dword [ebp - 0x204]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1c8]
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x1f4]
mov byte [ebp - 0x1f4], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1e4]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0xf
cmp ecx, 0xf
jbe 0x40b27b
mov edx, dword [ebp - 0x1dc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b2d9
push ecx
push edx
call fcn.00455883
add esp, 8
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0xf
mov byte [ebp - 0x1dc], 0
call fcn.004128b0
mov ecx, dword [ebp - 0x1e0]
cmp ecx, 0xf
jbe 0x40b38e
mov edx, dword [ebp - 0x1f4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b384
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b384
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 - 0x1f8]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1f8]
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 - 0x1f8], edx
cmp edx, 0x28
jl 0x40b2e0
lea eax, [ebp - 0x1c4]
push eax
call fcn.00404ec0
mov esi, dword [ebp - 0x204]
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 0x40b2a1
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