Function at 0x140004b33
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Reference http user-agent string
Set http header

Disassembly:
jmp 0x14003ba20
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x5418
call fcn.14000a02e
sub rsp, rax
lea rbp, [rsp + 0x40]
mov rdi, rsp
mov ecx, 0x1506
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5438]
mov qword [rbp + 0x5398], 0xfffffffffffffffe
mov rax, qword [0x1402c80b8]
xor rax, rbp
mov qword [rbp + 0x53c0], rax
mov dword [rbp + 0x5374], 0
lea rcx, [0x1402ef0b0]
call fcn.14000236f
mov rcx, qword [rbp + 0x5408]
call fcn.1400082e2
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call fcn.1400014e7
mov dword [rbp + 0x24], eax
mov r9d, 0xfde9
mov r8, qword [rbp + 0x5400]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x53f0]
call fcn.1400012d0
nop
lea rcx, [rbp + 0x88]
call fcn.140009dfe
nop
lea rax, [rbp + 0x50b8]
mov qword [rbp + 0x50f8], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x50f8]
call fcn.140004750
mov qword [rbp + 0x53a8], rax
mov rdx, qword [rbp + 0x53a8]
lea rcx, [rbp + 0xc8]
call fcn.1400014f6
nop
lea rax, [rbp + 0x5118]
mov qword [rbp + 0x5158], rax
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x5158]
call fcn.140004750
mov qword [rbp + 0x53a8], rax
mov rdx, qword [rbp + 0x53a8]
lea rcx, [rbp + 0x108]
call fcn.140007c75
nop
lea r8, [rbp + 0xc8]
lea rdx, str.Host:
lea rcx, [rbp + 0x5178]
call fcn.14000577c
mov qword [rbp + 0x53a8], rax
mov rax, qword [rbp + 0x53a8]
mov qword [rbp + 0x53b0], rax
lea r8, str._r_nContent_type:_application_x_www_form_urlencoded_r_nCache_Control:_max_age0_r_nAccept_Encoding:_gzip__deflate_r_nAccept_Language:_zh_CN_zh_q0.8_r_n
mov rdx, qword [rbp + 0x53b0]
lea rcx, [rbp + 0x148]
call fcn.140008f80
nop
lea rcx, [rbp + 0x5178]
call fcn.140007dba
lea r8, str..w.cdngslb.com
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x51b8]
call fcn.140003242
mov qword [rbp + 0x53a8], rax
mov rdx, qword [rbp + 0x53a8]
lea rcx, [rbp + 0xc8]
call fcn.140006992
lea rcx, [rbp + 0x51b8]
call fcn.140007dba
lea rcx, [rbp + 0xc8]
call fcn.14000537b
mov rdx, rax
lea rcx, [rbp + 0x51f8]
call fcn.140001c8f
nop
lea rcx, [rbp + 0x51f8]
call fcn.1400054f2
mov qword [rbp + 0x188], rax
lea rcx, [rbp + 0x51f8]
call fcn.140007dba
lea rcx, [rbp + 0x108]
call fcn.14000537b
mov rdx, rax
lea rcx, [rbp + 0x5238]
call fcn.140001c8f
nop
lea rcx, [rbp + 0x5238]
call fcn.1400054f2
mov qword [rbp + 0x1a8], rax
lea rcx, [rbp + 0x5238]
call fcn.140007dba
lea rax, [rbp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x1800
rep stosb byte [rdi], al
lea rax, [rbp + 0x19f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rbp + 0x19f0], WSAGetLastError
lea rax, [rbp + 0x15d0]
mov qword [rbp + 0x1a48], rax
lea rax, [rbp + 0x5d0]
mov qword [rbp + 0x1a08], rax
lea rax, [rbp + 0xdd0]
mov qword [rbp + 0x1a28], rax
lea rax, [rbp + 0x1d0]
mov qword [rbp + 0x19f8], rax
lea rax, [rbp + 0x11d0]
mov qword [rbp + 0x1a38], rax
lea rax, [rbp + 0x9d0]
mov qword [rbp + 0x1a18], rax
mov dword [rbp + 0x1a20], 0x200
mov eax, dword [rbp + 0x1a20]
mov dword [rbp + 0x1a40], eax
mov eax, dword [rbp + 0x1a40]
mov dword [rbp + 0x1a00], eax
mov eax, dword [rbp + 0x1a00]
mov dword [rbp + 0x1a30], eax
mov eax, dword [rbp + 0x1a30]
mov dword [rbp + 0x1a10], eax
mov eax, dword [rbp + 0x1a10]
mov dword [rbp + 0x1a50], eax
lea rcx, [rbp + 0x48]
call fcn.14000537b
lea r9, [rbp + 0x19f0]
mov r8d, 0x80000000
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
lea rax, [rbp + 0x1a80]
mov rdi, rax
xor eax, eax
mov ecx, 0x2ee0
rep stosb byte [rdi], al
mov rdx, qword [rbp + 0x1a38]
lea rcx, [rbp + 0x1a80]
call fcn.14000179e
mov dword [rbp + 0x4974], 0
mov dword [rbp + 0x4994], 0
mov dword [rbp + 0x49d4], 0
mov qword [rbp + 0x49f8], 0
mov qword [rbp + 0x4a18], 0
mov qword [rbp + 0x4a38], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.User_Agent:_Mozilla_5.0__Windows_NT_6.3__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_53.0.2785.104_Safari_537.36_Core_1.53.2141.400_QQBrowser_9.5.10219.400
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbp + 0x49f8], rax
cmp qword [rbp + 0x49f8], 0
je 0x14003bdf7
xor r9d, r9d
mov r8w, 0x50
mov rdx, qword [rbp + 0x188]
mov rcx, qword [rbp + 0x49f8]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rbp + 0x4a18], rax
cmp qword [rbp + 0x4a18], 0
je 0x14003be40
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x1a8]
lea rdx, str.POST
mov rcx, qword [rbp + 0x4a18]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rbp + 0x4a38], rax
cmp qword [rbp + 0x4a38], 0
je 0x14003be54
mov dword [rbp + 0x4a54], 0x2710
lea rcx, [rbp + 0x148]
call fcn.14000537b
mov rdx, rax
lea rcx, [rbp + 0x5278]
call fcn.140001c8f
nop
lea rcx, [rbp + 0x5278]
call fcn.1400054f2
mov qword [rbp + 0x4a78], rax
lea rcx, [rbp + 0x5278]
call fcn.140007dba
mov rcx, qword [rbp + 0x4a78]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov qword [rbp + 0x4a98], rax
mov r9d, 0x20000000
mov r8d, dword [rbp + 0x4a98]
mov rdx, qword [rbp + 0x4a78]
mov rcx, qword [rbp + 0x4a38]
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov qword [rsp + 0x30], 0
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 8]
mov r8d, 0xffffffff
lea rdx, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov rcx, qword [rbp + 0x4a38]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [rbp + 0x49d4], eax
cmp dword [rbp + 0x49d4], 0
je 0x14003bf1f
xor edx, edx
mov rcx, qword [rbp + 0x4a38]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [rbp + 0x49d4], eax
cmp dword [rbp + 0x49d4], 0
je 0x14003c0d0
mov dword [rbp + 0x4974], 0
lea rdx, [rbp + 0x4974]
mov rcx, qword [rbp + 0x4a18]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x14003bf62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__u_in_WinHttpQueryDataAvailable._n
call fcn.140005051
mov eax, dword [rbp + 0x4974]
inc eax
mov eax, eax
mov ecx, eax
call fcn.1400088a5
mov qword [rbp + 0x52b8], rax
mov rax, qword [rbp + 0x52b8]
mov qword [rbp + 0x49b8], rax
cmp qword [rbp + 0x49b8], 0
jne 0x14003bfad
lea rcx, str.Out_of_memory_n
call fcn.140005051
mov dword [rbp + 0x4974], 0
jmp 0x14003c0c3
mov eax, dword [rbp + 0x4974]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rbp + 0x49b8]
call fcn.140005a97
lea r9, [rbp + 0x4994]
mov r8d, dword [rbp + 0x4974]
mov rdx, qword [rbp + 0x49b8]
mov rcx, qword [rbp + 0x4a18]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x14003c004
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__u_in_WinHttpReadData._n
call fcn.140005051
jmp 0x14003c079
mov rdx, qword [rbp + 0x49b8]
lea rcx, [rbp + 0x52d8]
call fcn.14000996c
mov qword [rbp + 0x53a8], rax
mov rax, qword [rbp + 0x53a8]
mov qword [rbp + 0x53b0], rax
mov r8, qword [rbp + 0x53b0]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x5318]
call fcn.140008b43
mov qword [rbp + 0x53b8], rax
mov rdx, qword [rbp + 0x53b8]
lea rcx, [rbp + 0x88]
call fcn.14000465b
lea rcx, [rbp + 0x5318]
call fcn.140004ee4
nop
lea rcx, [rbp + 0x52d8]
call fcn.140004ee4
mov rax, qword [rbp + 0x49b8]
mov qword [rbp + 0x5358], rax
mov rcx, qword [rbp + 0x5358]
call fcn.140006104
cmp qword [rbp + 0x5358], 0
jne 0x14003c0aa
mov qword [rbp + 0x53a8], 0
jmp 0x14003c0c3
mov qword [rbp + 0x49b8], 0x8123
mov rax, qword [rbp + 0x49b8]
mov qword [rbp + 0x53a8], rax
cmp dword [rbp + 0x4974], 0
ja 0x14003bf2c
cmp dword [rbp + 0x49d4], 0
jne 0x14003c0ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__d_has_occurred._n
call fcn.140005051
cmp qword [rbp + 0x4a18], 0
je 0x14003c104
mov rcx, qword [rbp + 0x4a18]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp qword [rbp + 0x49f8], 0
je 0x14003c11b
mov rcx, qword [rbp + 0x49f8]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea rdx, [rbp + 0x88]
mov rcx, qword [rbp + 0x53f8]
call fcn.1400075d6
mov eax, dword [rbp + 0x5374]
or eax, 1
mov dword [rbp + 0x5374], eax
lea rcx, [rbp + 0x148]
call fcn.140007dba
nop
lea rcx, [rbp + 0x108]
call fcn.140007dba
nop
lea rcx, [rbp + 0xc8]
call fcn.140007dba
nop
lea rcx, [rbp + 0x88]
call fcn.140004ee4
nop
lea rcx, [rbp + 0x48]
call fcn.140007dba
nop
mov rcx, qword [rbp + 0x5400]
call fcn.140004ee4
nop
mov rcx, qword [rbp + 0x5408]
call fcn.140004ee4
mov rax, qword [rbp + 0x53f8]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1402399b0]
call fcn.1400092b9
mov rax, rdi
mov rcx, qword [rbp + 0x53c0]
xor rcx, rbp
call fcn.140002fd1
lea rsp, [rbp + 0x53d8]
pop rdi
pop rbp
ret