Function at 0x406f35
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 8
call fcn.0044c0c3
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0
mov eax, 0x17
call fcn.0044c0db
cmp dword [ebp - 0xc], esp
je 0x406f88
push 6
call fcn.0044c0d5
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x555936
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4512e0
call fcn.0044c0c9
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4070b2
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4512e0
call fcn.0044c0c9
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4070b2
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MSXML2.ServerXMLHTTP.6.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4512e0
call fcn.0044c0c9
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4070b2
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.MSXML2.ServerXMLHTTP.5.0
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4512e0
call fcn.0044c0c9
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4070b2
mov ebx, 6
call fcn.00406f2d
push 0x80000301
push 0
push 0x30
push reloc.WS2_32.dll_connect
push 0
push 0x555995
push 4
mov ebx, 0x44f260
call fcn.0044c0c9
add esp, 0x34
mov eax, 0x55276d
jmp 0x407339
push reloc.WS2_32.dll_bind
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push reloc.WS2_32.dll_connect
push 0
push 0x5559a6
push reloc.WS2_32.dll_connect
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 4]
push 5
mov ebx, 0x450100
call fcn.0044c0c9
add esp, 0x40
push reloc.WS2_32.dll_connect
push 0
push 0x5559af
push reloc.WS2_32.dll_connect
push 0
push 0x5559b3
push reloc.WS2_32.dll_connect
push 0
push 0x5559ba
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x450100
call fcn.0044c0c9
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.zh_CN
push reloc.WS2_32.dll_connect
push 0
push str.Accept_Language
push reloc.WS2_32.dll_connect
push 0
push 0x5559ba
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x450100
call fcn.0044c0c9
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_79.0.3945.88_Safari_537.36
push reloc.WS2_32.dll_connect
push 0
push 0x555a54
push reloc.WS2_32.dll_connect
push 0
push 0x5559ba
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x450100
call fcn.0044c0c9
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.deflate
push reloc.WS2_32.dll_connect
push 0
push str.Accept_Encoding
push reloc.WS2_32.dll_connect
push 0
push 0x5559ba
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x450100
call fcn.0044c0c9
add esp, 0x34
push reloc.WS2_32.dll_connect
push 0
push str.Keep_Alive
push reloc.WS2_32.dll_connect
push 0
push str.Connection
push reloc.WS2_32.dll_connect
push 0
push 0x5559ba
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x450100
call fcn.0044c0c9
add esp, 0x34
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x555a8d
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x450100
call fcn.0044c0c9
add esp, 0x28
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x4500d0
call fcn.0044c0c9
add esp, 0x28
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x450290
call fcn.0044c0c9
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x450250
call fcn.0044c0c9
add esp, 0x10
call fcn.0044c0bd
add esp, 4
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4072f7
push ebx
call fcn.0044c0bd
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov eax, 0x18
call fcn.0044c0db
cmp dword [ebp - 0xc], esp
je 0x40731a
push 6
call fcn.0044c0d5
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x407334
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0044c0c3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407339
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4512b0
call fcn.0044c0c9
add esp, 0x10
call fcn.0044c0bd
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40736d
push ebx
call fcn.0044c0bd
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4