Function at 0x405880
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
sub esp, 0xd8
movups xmm0, xmmword [str.xYMQUVZ]
mov eax, dword [0x43d6d0]
push esi
movups xmmword [ebp - 0xb4], xmm0
xor esi, esi
cmp dword [0x44f7b8], 2
movups xmm0, xmmword [0x43d6a8]
push edi
mov dword [ebp - 0x7c], eax
movups xmmword [ebp - 0xa4], xmm0
lea ecx, [esi + 5]
movups xmm0, xmmword [0x43d6b8]
lea edx, [esi + 0x1f]
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [0x43d6c8]
movq qword [ebp - 0x84], xmm0
jl 0x405a12
movaps xmm4, xmmword [0x43d580]
movaps xmm3, xmmword [0x43d740]
movaps xmm6, xmmword [0x43d720]
movd xmm5, ecx
movd xmm7, edx
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 [0x43d730]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xb4]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0xb4], 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 [0x43d730]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0xac]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0xac], xmm1
add esi, 8
cmp esi, 0x18
jl 0x405912
cmp esi, 0x1e
jge 0x405a3d
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, 0x35
xor word [ebp + esi*2 - 0xb4], cx
inc esi
cmp esi, 0x1e
jl 0x405a12
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x5c], 7
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405a60
sub ecx, edx
lea eax, [ebp - 0xb4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004032f0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 0
cmovae eax, dword [ebp - 0x70]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x5c]
mov esi, eax
mov dword [ebp - 0x78], esi
cmp edx, 8
jb 0x405ad8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ace
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40618c
push edx
push ecx
call fcn.0041fbcc
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
test esi, esi
jne 0x405ca5
lea eax, [ebp - 0x27]
push eax
lea ecx, [ebp - 1]
call fcn.00405650
mov edi, eax
cmp byte [edi + 0x16], 0
je 0x406191
xor ecx, ecx
cmp dword [0x44f7b8], 2
mov dword [ebp - 8], ecx
jl 0x405c70
movaps xmm0, xmmword [str.5555555555555555]
mov eax, 5
movaps xmm4, xmmword [0x43d580]
mov esi, 4
movaps xmm3, xmmword [0x43d740]
mov edx, edi
movaps xmm6, xmmword [0x43d720]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x70], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0x70]
nop dword [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 [0x43d600]
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 - 0x70]
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 [0x43d600]
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 0x405b60
mov dword [ebp - 8], ecx
cmp ecx, 0x17
jge 0x406191
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, 0x35
xor byte [esi], cl
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, 0x17
jge 0x406191
jmp 0x405c70
push 0
push 0x84000100
push 0
push 0
push dword [ebx + 0xc]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [ebp - 0x74], edi
test edi, edi
jne 0x405e85
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x22]
push eax
lea ecx, [ebp - 1]
call fcn.00405690
mov edi, eax
cmp byte [edi + 0x11], 0
je 0x4061bb
xor ecx, ecx
cmp dword [0x44f7b8], 2
mov dword [ebp - 8], ecx
jl 0x405e50
movaps xmm0, xmmword [str.5555555555555555]
mov eax, 5
movaps xmm4, xmmword [0x43d580]
mov esi, 4
movaps xmm3, xmmword [0x43d740]
mov edx, edi
movaps xmm6, xmmword [0x43d720]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x70], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0x70]
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 [0x43d600]
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 - 0x70]
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 [0x43d600]
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 0x405d40
mov dword [ebp - 8], ecx
cmp ecx, 0x12
jge 0x4061bb
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, 0x35
xor byte [esi], cl
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, 0x12
jge 0x4061bb
jmp 0x405e50
lea eax, [ebp - 1]
mov dword [ebp - 0x44], 0
push eax
push 0x400
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0
call fcn.00405410
lea eax, [ebp - 0x48]
push eax
push 0x400
push dword [ebp - 0x44]
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40615d
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x40615d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp esi, 0xf
ja 0x405f10
push esi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push eax
call fcn.00420bb0
mov byte [ebp + esi - 0x28], 0
mov ecx, dword [ebp - 0x28]
jmp 0x405f63
cmp esi, 0x7fffffff
ja 0x4061e5
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x405f30
mov edi, SysReAllocString
jmp 0x405f3a
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.004017c0
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.00420bb0
mov ecx, dword [ebp - 0xc]
mov byte [ecx + esi], 0
mov dword [ebp - 0x28], ecx
xor eax, eax
xor edi, edi
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x28]
cmovae eax, ecx
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x406076
push ecx
push 0xa
push eax
call fcn.00420b00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x406076
sub esi, dword [ebp - 0x38]
cmp esi, 0xffffffff
je 0x406076
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406360
cmp edi, dword [ebp - 8]
je 0x406010
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 - 0x30], edi
jmp 0x406023
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.00404f50
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xcc]
call fcn.00401290
cmp dword [ebp - 0x14], 0x10
lea eax, [esi + 1]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x38], ecx
cmp eax, edx
jae 0x406064
sub edx, eax
add eax, ecx
push edx
push 0xa
push eax
call fcn.00420b00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x406064
sub esi, dword [ebp - 0x38]
jmp 0x406067
or esi, 0xffffffff
cmp esi, 0xffffffff
jne 0x405fb6
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x78]
call esi
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.004055c0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x4060eb
lea eax, [ebp - 0x34]
push eax
push edi
push esi
call fcn.00404ee0
mov ecx, dword [ebp - 8]
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 0x4060e1
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4061ea
push ecx
push esi
call fcn.0041fbcc
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40611f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406115
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4061ea
push edx
push ecx
call fcn.0041fbcc
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x406180
mov edx, dword [ebp - 0x3c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x406176
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4061ea
jmp 0x406176
mov ecx, dword [ebx + 8]
mov dword [ecx], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
jmp 0x406131
push edx
push ecx
call fcn.0041fbcc
add esp, 8
mov eax, dword [ebx + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00423faf
push edi
lea ecx, [ebp - 0xcc]
call fcn.00404740
mov ecx, eax
call fcn.004062d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00405610
push 0x44bb7c
lea eax, [ebp - 0x34]
push eax
call fcn.00420a90
push edi
lea ecx, [ebp - 0xcc]
call fcn.00404740
mov ecx, eax
call fcn.004062d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00405610
push 0x44bb7c
lea eax, [ebp - 0x34]
push eax
call fcn.00420a90
call fcn.004017b0
call fcn.00423faf
int3