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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
push esi
mov dword [esp + 0x18], ecx
mov esi, 0x445b70
push edi
mov ecx, 0x3a
mov dword [esp + 0x18], edx
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x44b508], 2
lea ecx, [esi + 4]
lea edx, [esi + 0x1f]
jl 0x405120
movaps xmm4, xmmword [0x446860]
movaps xmm3, xmmword [0x446950]
movaps xmm6, xmmword [0x446880]
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
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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 [0x4468c0]
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0xa8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0xa8], 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
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 [0x4468c0]
paddw xmm1, xmm0
movq xmm0, qword [esp + esi*2 + 0xb0]
pxor xmm1, xmm0
movq qword [esp + esi*2 + 0xb0], xmm1
add esi, 8
cmp esi, 0x70
jl 0x405020
cmp esi, 0x74
jge 0x405149
nop dword [eax + eax]
mov eax, 0x5397829d
mov ecx, esi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x31
sub ecx, eax
add ecx, 0x30
xor word [esp + esi*2 + 0xa8], cx
inc esi
cmp esi, 0x74
jl 0x405120
lea ecx, [esp + 0xa8]
mov dword [esp + 0x60], 0
mov dword [esp + 0x70], 0
lea edx, [ecx + 2]
mov dword [esp + 0x74], 7
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405170
sub ecx, edx
lea eax, [esp + 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x68]
call fcn.00403b90
cmp dword [esp + 0x74], 8
lea eax, [esp + 0x60]
push 0
cmovae eax, dword [esp + 0x64]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [esp + 0x74]
mov esi, eax
mov dword [esp + 0xa4], esi
cmp edx, 8
jb 0x4051f3
mov ecx, dword [esp + 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4051e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4058b4
push edx
push ecx
call fcn.0041c138
add esp, 8
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 7
mov word [esp + 0x60], ax
test esi, esi
jne 0x4053c5
lea eax, [esp + 0x3c]
push eax
call fcn.00405920
mov edi, eax
cmp byte [edi + 0x16], 0
je 0x4058b9
xor ecx, ecx
cmp dword [0x44b508], 2
mov dword [esp + 0x14], ecx
jl 0x405390
movaps xmm0, xmmword [str.00000000000000005555555555555555]
mov eax, 4
movaps xmm4, xmmword [0x446860]
mov esi, 4
movaps xmm3, xmmword [0x446950]
mov edx, edi
movaps xmm6, xmmword [0x446880]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x60], xmm0
movd xmm7, eax
mov eax, dword [esp + 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
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 [0x4468f0]
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 [esp + 0x60]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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 [0x4468f0]
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 0x405280
mov dword [esp + 0x14], ecx
cmp ecx, 0x17
jge 0x4058b9
nop word [eax + eax]
mov eax, 0x5397829d
lea esi, [ecx + edi]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x30
xor byte [esi], cl
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0x17
jge 0x4058b9
jmp 0x405390
push 0
push 0x80000100
push 0
push 0
push dword [esp + 0x28]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
mov dword [esp + 0xa0], edi
test edi, edi
jne 0x4055a5
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [esp + 0x3c]
push eax
call fcn.00405960
mov edi, eax
cmp byte [edi + 0x11], 0
je 0x4058e6
xor ecx, ecx
cmp dword [0x44b508], 2
mov dword [esp + 0x14], ecx
jl 0x405570
movaps xmm0, xmmword [str.00000000000000005555555555555555]
mov eax, 4
movaps xmm4, xmmword [0x446860]
mov esi, 4
movaps xmm3, xmmword [0x446950]
mov edx, edi
movaps xmm6, xmmword [0x446880]
sub esi, edi
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x60], xmm0
movd xmm7, eax
mov eax, dword [esp + 0x60]
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
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 [0x4468f0]
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 [esp + 0x60]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
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 [0x4468f0]
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 0x405460
mov dword [esp + 0x14], ecx
cmp ecx, 0x12
jge 0x4058e6
nop word [eax + eax]
mov eax, 0x5397829d
lea esi, [ecx + edi]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x31
sub cl, al
add cl, 0x30
xor byte [esi], cl
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 0x12
jge 0x4058e6
jmp 0x405570
sub esp, 8
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x5c], 0
call fcn.00406120
lea eax, [esp + 0x54]
push eax
push 0x400
push dword [esp + 0x38]
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40586c
mov eax, dword [esp + 0x54]
test eax, eax
je 0x40586c
push eax
push dword [esp + 0x34]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0xf
call fcn.00403ce0
xor eax, eax
lea ecx, [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x18], eax
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x24], eax
cmovae ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], eax
test eax, eax
je 0x4057b5
push eax
push 0xa
push ecx
call fcn.0041ec50
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4057b5
sub esi, dword [esp + 0x20]
cmp esi, 0xffffffff
je 0x4057b5
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x80], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0xf
cmp eax, edx
jb 0x405918
sub eax, edx
mov ecx, esi
sub ecx, edx
cmp eax, ecx
cmovb ecx, eax
cmp dword [esp + 0x50], 0x10
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push ecx
add eax, edx
lea ecx, [esp + 0x84]
push eax
call fcn.00403ce0
cmp edi, dword [esp + 0x14]
je 0x405735
movups xmm0, xmmword [esp + 0x80]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [esp + 0x80], 0
movq xmm0, qword [esp + 0x90]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x28], edi
jmp 0x405753
lea eax, [esp + 0x80]
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.00405ba0
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x80]
call fcn.004034a0
cmp dword [esp + 0x50], 0x10
lea ecx, [esi + 1]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x3c]
cmovae edx, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x5c], eax
cmp ecx, eax
jae 0x4057a1
sub eax, ecx
push eax
lea eax, [edx + ecx]
push 0xa
push eax
call fcn.0041ec50
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4057a1
sub esi, dword [esp + 0x20]
jmp 0x4057a4
or esi, 0xffffffff
cmp esi, 0xffffffff
jne 0x405681
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
push dword [esp + 0xa0]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [esp + 0xa4]
call esi
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
call fcn.004034f0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x405835
push ecx
mov edx, edi
mov ecx, esi
call fcn.00405dc0
mov ecx, dword [esp + 0x18]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 4
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 0x40582b
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405913
push ecx
push esi
call fcn.0041c138
add esp, 8
lea ecx, [esp + 0x3c]
call fcn.004034a0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4058aa
mov edx, dword [esp + 0x38]
sub edx, ecx
mov eax, ecx
cmp edx, 0x1000
jb 0x4058a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405913
jmp 0x4058a0
mov eax, dword [esp + 0x1c]
mov ecx, eax
push 0
push 0x4458bb
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.00403ce0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4058aa
mov edx, dword [esp + 0x38]
jmp 0x40584a
push edx
push ecx
call fcn.0041c138
add esp, 8
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00421c52
push edi
lea ecx, [esp + 0x84]
call fcn.00403540
mov ecx, eax
call fcn.00403420
push eax
lea ecx, [esp + 0x28]
call fcn.00401590
push 0x448da8
lea eax, [esp + 0x28]
push eax
call fcn.0041d06b
push edi
lea ecx, [esp + 0x84]
call fcn.00403540
mov ecx, eax
call fcn.00403420
push eax
lea ecx, [esp + 0x28]
call fcn.00401590
push 0x448da8
lea eax, [esp + 0x28]
push eax
call fcn.0041d06b
call fcn.00421c52
call fcn.004042a0
int3