Function at 0x409330
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 0x456d9b
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 edi, [ecx + 0x48]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x204], eax
jbe 0x40938b
mov edi, dword [edi]
cmp dword [ecx + 0x14], 0xf
mov dword [ebp - 0x1f8], ecx
jbe 0x40939f
mov eax, dword [ecx]
mov dword [ebp - 0x1f8], eax
cmp dword [ecx + 0x44], 0xf
lea esi, [ecx + 0x30]
jbe 0x4093aa
mov esi, dword [esi]
movups xmm0, xmmword [str.FGPDYYT_]
movups xmmword [ebp - 0x1b8], xmm0
movups xmm0, xmmword [0x45e258]
movups xmmword [ebp - 0x1a8], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
mov eax, dword [0x52d844]
je 0x40956d
xor edx, edx
mov dword [ebp - 0x1f4], edx
cmp eax, 2
jl 0x409530
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 - 0x1b8]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x1b8], 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 - 0x1b4]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x1b4], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x409420
jmp 0x40956d
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x1f4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1f4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1b8], cl
inc edx
mov dword [ebp - 0x1f4], edx
cmp edx, 0x20
jl 0x409530
push edi
push dword [ebp - 0x1f8]
lea eax, [ebp - 0x1b8]
push esi
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.00413860
xorps xmm0, xmm0
mov dword [ebp - 0x1e0], 0
movups xmmword [ebp - 0x1f0], xmm0
add esp, 0x14
mov dword [ebp - 0x1dc], 0xf
mov byte [ebp - 0x1f0], 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 - 0x1fc], eax
mov dword [ebp - 0x204], ecx
cmp eax, ecx
je 0x409ab0
mov edi, dword [sym.imp.libcurl.dll_curl_easy_setopt]
nop dword [eax]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.004126c0
call dword [sym.imp.libcurl.dll_curl_easy_init]
mov esi, eax
test esi, esi
je 0x409a5b
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 - 0x1f0]
push eax
push 0x2711
push esi
call edi
movups xmm0, xmmword [0x45e1e8]
add esp, 0xc
lea ecx, [ebp - 0x1d8]
cmp dword [ebp - 0x1c4], 0xf
movups xmmword [ebp - 0x1b4], xmm0
mov dword [ebp - 0x1f8], ecx
movq xmm0, qword [0x45e1f8]
movq qword [ebp - 0x1a4], xmm0
jbe 0x409698
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1f8], eax
mov al, byte [0x45e200]
xor edx, edx
cmp dword [0x52d844], 2
mov byte [ebp - 0x19c], al
mov dword [ebp - 0x1f4], edx
jl 0x409800
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]
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 - 0x1b4]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 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, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1b0]
xorps xmm1, xmm0
movd dword [ebp + edx - 0x1b0], xmm1
add edx, 8
cmp edx, 0x18
jl 0x4096e1
mov dword [ebp - 0x1f4], edx
cmp edx, 0x19
jge 0x40983d
nop word [eax + eax]
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x1f4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1f4]
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 - 0x1f4], edx
cmp edx, 0x19
jl 0x409800
push dword [ebp - 0x1f8]
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 - 0x1d8]
cmp dword [ebp - 0x1c4], 0xf
movups xmmword [ebp - 0x1bc], xmm0
mov dword [ebp - 0x1f8], edx
movups xmm0, xmmword [0x45e164]
movups xmmword [ebp - 0x1ac], xmm0
jbe 0x4098a5
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1f8], eax
mov al, byte [0x45e174]
xor ecx, ecx
cmp dword [0x52d844], 2
mov byte [ebp - 0x19c], al
jl 0x409a00
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 + 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 0x4098f0
cmp ecx, 0x21
jge 0x409a2d
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 0x409a00
push dword [ebp - 0x1f8]
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 0x409c40
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
add esp, 4
mov ecx, dword [ebp - 0x1c4]
cmp ecx, 0xf
jbe 0x409a95
mov edx, dword [ebp - 0x1d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409a8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d29
push ecx
push edx
call fcn.00455883
add esp, 8
mov eax, dword [ebp - 0x1fc]
add eax, 0x18
mov dword [ebp - 0x1fc], eax
cmp eax, dword [ebp - 0x204]
jne 0x4095f0
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 - 0x1f4], edx
movups xmmword [ebp - 0x1c0], xmm0
movups xmm0, xmmword [0x45e0fc]
movups xmmword [ebp - 0x1b0], xmm0
movq xmm0, qword [0x45e10c]
movq qword [ebp - 0x1a0], xmm0
jl 0x409d30
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 - 0x1c0]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x1c0], 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 - 0x1bc]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x1bc], xmm1
add ecx, 8
cmp ecx, 0x28
jl 0x409b30
jmp 0x409d6d
call dword [sym.imp.libcurl.dll_curl_easy_cleanup]
mov esi, dword [ebp - 0x200]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1c4]
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [ebp - 0x1f0]
mov byte [ebp - 0x1f0], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1e0]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0xf
cmp ecx, 0xf
jbe 0x409ccb
mov edx, dword [ebp - 0x1d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409cc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409d29
push ecx
push edx
call fcn.00455883
add esp, 8
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
call fcn.004128b0
mov ecx, dword [ebp - 0x1dc]
cmp ecx, 0xf
jbe 0x409dde
mov edx, dword [ebp - 0x1f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409dd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x409dd4
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 - 0x1f4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1f4]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1c0], cl
inc edx
mov dword [ebp - 0x1f4], edx
cmp edx, 0x28
jl 0x409d30
lea eax, [ebp - 0x1c0]
push eax
call fcn.00404ec0
mov esi, dword [ebp - 0x200]
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 0x409cf1
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 4