Function at 0x4061d0
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

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
mov eax, dword fs:[0]
mov ecx, 0x3a
push 0xffffffffffffffff
push 0x431eae
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x178
push esi
push edi
mov esi, str.tUAUQRotls
lea edi, [ebp - 0x188]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x444660], 2
lea ecx, [esi + 5]
lea edx, [esi + 0x1f]
jl 0x406350
movaps xmm4, xmmword [0x433330]
movaps xmm3, xmmword [0x433940]
movaps xmm6, xmmword [str.3333]
movd xmm5, ecx
movd xmm7, edx
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x4336a0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x188]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x188], xmm1
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x4336a0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x180]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x180], xmm1
add esi, 8
cmp esi, 0x70
jl 0x406250
cmp esi, 0x74
jge 0x40637b
mov eax, 0xa0a0a0a1
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x33
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x188], cx
inc esi
cmp esi, 0x74
jl 0x406350
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x74], 7
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4063a0
sub ecx, edx
lea eax, [ebp - 0x188]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.00403fb0
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push 0
cmovae eax, dword [ebp - 0x88]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x74]
mov esi, eax
mov dword [ebp - 0x70], esi
cmp edx, 8
jb 0x406424
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40641a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b44
push edx
push ecx
call fcn.0041414e
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
test esi, esi
jne 0x4065f5
lea eax, [ebp - 0x33]
push eax
lea ecx, [ebp - 0x15]
call fcn.00405f20
mov edi, eax
cmp byte [edi + 0x16], 0
je 0x406b49
xor ecx, ecx
cmp dword [0x444660], 2
mov dword [ebp - 0x14], ecx
jl 0x4065c0
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 5
movaps xmm4, xmmword [0x433330]
mov esi, 4
movaps xmm3, xmmword [0x433940]
mov edx, edi
movaps xmm6, xmmword [str.3333]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x60], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0x60]
nop dword [eax + eax]
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x433360]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [esi + edx]
lea edx, [edx + 8]
paddb xmm1, xmm0
movd xmm0, dword [edx - 8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [edx - 8], xmm1
paddd xmm2, xmm4
mov eax, dword [ebp - 0x60]
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x433360]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edx - 4]
pxor xmm1, xmm0
movd dword [edx - 4], xmm1
cmp ecx, 0x10
jl 0x4064b0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x17
jge 0x406b49
nop dword [eax]
mov eax, 0xa0a0a0a1
lea esi, [ecx + edi]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x33
sub cl, al
add cl, 0x39
xor byte [esi], cl
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x17
jge 0x406b49
jmp 0x4065c0
push 0
push 0x80000100
push 0
push 0
push dword [ebx + 0xc]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [ebp - 0x6c], edi
test edi, edi
jne 0x4067e7
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x2e]
push eax
lea ecx, [ebp - 0x15]
call fcn.00405f60
mov edi, eax
cmp byte [edi + 0x11], 0
je 0x4067cf
xor ecx, ecx
cmp dword [0x444660], 2
mov dword [ebp - 0x14], ecx
jl 0x4067a0
movaps xmm0, xmmword [str.9999999999999999]
mov eax, 5
movaps xmm4, xmmword [0x433330]
mov esi, 4
movaps xmm3, xmmword [0x433940]
mov edx, edi
movaps xmm6, xmmword [str.3333]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x60], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0x60]
nop word [eax + eax]
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x433360]
packuswb xmm1, xmm1
movd xmm0, eax
lea eax, [esi + edx]
lea edx, [edx + 8]
paddb xmm1, xmm0
movd xmm0, dword [edx - 8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [edx - 8], xmm1
paddd xmm2, xmm4
mov eax, dword [ebp - 0x60]
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x433360]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [edx - 4]
pxor xmm1, xmm0
movd dword [edx - 4], xmm1
cmp ecx, 0x10
jl 0x406690
mov dword [ebp - 0x14], ecx
cmp ecx, 0x12
jge 0x4067cf
nop dword [eax]
mov eax, 0xa0a0a0a1
lea esi, [ecx + edi]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x33
sub cl, al
add cl, 0x39
xor byte [esi], cl
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x12
jl 0x4067a0
push edi
lea ecx, [ebp - 0xa0]
call fcn.004010d0
mov dword [ebp - 4], 1
jmp 0x406b5c
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x15]
mov dword [ebp - 4], 2
push eax
push 0x400
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x64], 0
call fcn.00405cb0
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x64]
push eax
push 0x400
push esi
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x406af1
mov edi, dword [ebp - 0x64]
test edi, edi
je 0x406af1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edi, 0xf
ja 0x406878
push edi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], edi
push esi
push eax
call fcn.00415600
mov byte [ebp + edi - 0x34], 0
mov esi, dword [ebp - 0x34]
jmp 0x4068cb
cmp edi, 0x7fffffff
ja 0x406b7a
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x406897
mov eax, SysReAllocString
jmp 0x4068a1
mov ecx, 0x16
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x34]
inc eax
push eax
call fcn.00401f40
mov ecx, dword [ebp - 0x14]
push edi
push esi
mov esi, eax
mov dword [ebp - 0x1c], eax
push esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ecx
call fcn.00415600
mov byte [esi + edi], 0
mov dword [ebp - 0x34], esi
add esp, 0xc
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
cmovae eax, esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x4069ea
push ecx
push 0xa
push eax
call fcn.00415550
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4069ea
sub esi, dword [ebp - 0x38]
cmp esi, 0xffffffff
je 0x4069ea
mov ecx, dword [ebp - 0x68]
mov eax, esi
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406c20
mov byte [ebp - 4], 5
cmp edi, dword [ebp - 0x14]
je 0x406980
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x58], edi
jmp 0x406993
push eax
push edi
lea ecx, [ebp - 0x5c]
call fcn.00405960
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.004011e0
cmp dword [ebp - 0x20], 0x10
lea eax, [esi + 1]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x38], ecx
cmp eax, edx
jae 0x4069d8
sub edx, eax
add eax, ecx
push edx
push 0xa
push eax
call fcn.00415550
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4069d8
sub esi, dword [ebp - 0x38]
jmp 0x4069db
or esi, 0xffffffff
cmp esi, 0xffffffff
jne 0x406922
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x6c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x70]
call esi
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.00405dc0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x406a5f
lea eax, [ebp - 0x5c]
push eax
push edi
push esi
call fcn.004058f0
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x406a55
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b7f
push ecx
push esi
call fcn.0041414e
add esp, 8
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x406a93
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406a89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b7f
push edx
push ecx
call fcn.0041414e
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
test ecx, ecx
je 0x406ad9
mov edx, dword [ebp - 0x3c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x406acf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b7f
push edx
push ecx
call fcn.0041414e
add esp, 8
mov edi, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, dword [ebx + 8]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [edi + 0x10], 0
mov byte [edi], 0
test esi, esi
je 0x406adc
mov ecx, dword [ebp - 0x3c]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x406b38
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406b84
push ecx
push esi
call fcn.0041414e
add esp, 8
jmp 0x406adc
call fcn.0041866f
push edi
lea ecx, [ebp - 0xa0]
call fcn.004010d0
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00406c10
push eax
lea ecx, [ebp - 0x44]
call fcn.00405e10
push 0x440a88
lea eax, [ebp - 0x44]
push eax
call fcn.0041511f
call fcn.00401f30
call fcn.0041866f
call fcn.0041866f
int3