Function at 0x1400746c0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response
Send data
Send http request
Set http header

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x590
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x14012a4f8]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov rax, r8
mov r12, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 0
jne 0x14007472e
cmp dword [0x140131218], 0
je 0x140074724
call fcn.14004e530
mov rcx, rax
lea r8, str.statistics::WinHttpPostMime::PostBuffer
lea rdx, str._s_file_data_empty
call fcn.14004de70
mov eax, 2
jmp 0x1400752a8
or r14, 0xffffffffffffffff
mov r9, r14
xor r8d, r8d
mov rdx, rax
call fcn.140025740
mov rcx, rbx
call fcn.140074570
test eax, eax
jne 0x14007478d
cmp dword [0x140131218], eax
je 0x140074783
cmp qword [rbx + 0x20], 8
jb 0x140074761
mov rbx, qword [rbx + 8]
jmp 0x140074765
add rbx, 8
call fcn.14004e530
mov rcx, rax
mov r9, rbx
lea r8, str.statistics::WinHttpPostMime::PostBuffer
lea rdx, str._s_crackurl_fail___s
call fcn.14004de70
mov eax, 1
jmp 0x1400752a8
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.BIDUI18N
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rdi, rax
mov qword [rsp + 0xc8], rax
test rax, rax
jne 0x1400747cc
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [rdi + 2]
jmp 0x1400752a8
lea rbp, [rbx + 0x28]
cmp qword [rbp + 0x20], 8
jb 0x1400747dd
mov rdx, qword [rbp + 8]
jmp 0x1400747e1
lea rdx, [rbp + 8]
xor r9d, r9d
movzx r8d, word [rbx + 0x78]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
mov qword [rsp + 0xc0], rax
test rax, rax
jne 0x14007481c
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [rsi + 2]
jmp 0x1400752a8
lea rax, [0x1400fe188]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], r13
cmp qword [rbx + 0x70], 8
jb 0x140074840
mov r8, qword [rbx + 0x58]
jmp 0x140074844
lea r8, [rbx + 0x58]
mov dword [rsp + 0x30], r13d
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, str.HTTP_1.1
lea rdx, str.POST
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rbx, rax
mov qword [rsp + 0xb8], rax
test rax, rax
jne 0x1400748a6
xor ecx, ecx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [rbx + 2]
jmp 0x1400752a8
lea rcx, [rsp + 0x128]
call fcn.1400508f0
nop
mov dword [rsp + 0x4c], 0x3a98
mov r9d, 4
lea r8, [rsp + 0x4c]
lea edx, [r9 - 1]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x140074934
cmp qword [rsp + 0x148], 8
jb 0x1400748f0
mov rcx, qword [rsp + 0x130]
call fcn.1400ad0b8
mov qword [rsp + 0x148], 7
mov qword [rsp + 0x140], r13
mov word [rsp + 0x130], r13w
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, 2
jmp 0x1400752a8
mov dword [rsp + 0x48], 1
lea r9, [rsp + 0x48]
mov r8, rbp
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x40]
call fcn.140075640
nop
mov rcx, qword [rsp + 0x168]
test rcx, rcx
je 0x140074a18
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x58], 3
inc rcx
mov eax, 2
mul rcx
cmovo rax, r14
lea rdx, [0x14012fd94]
mov rcx, rax
call fcn.1400b3dc8
mov rbp, rax
test rax, rax
je 0x140074a18
mov r8, qword [rsp + 0x168]
lea r8, [r8 + r8 + 2]
xor edx, edx
mov rcx, rax
call fcn.1400ad2f0
lea r8, [rsp + 0x158]
cmp qword [rsp + 0x170], 8
cmovae r8, qword [rsp + 0x158]
mov r9, qword [rsp + 0x168]
lea rdx, [r9 + 1]
mov rcx, rbp
call fcn.1400b233c
mov qword [rsp + 0x60], rbp
lea rax, str._local_
mov qword [rsp + 0x68], rax
mov r9d, 0x18
lea r8, [rsp + 0x58]
lea edx, [r9 + 0xe]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, rbp
call fcn.1400afc58
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
mov r8d, 0x2c
lea rdx, str.Content_Type:_multipart_form_data__boundary
lea rcx, [rsp + 0x100]
call fcn.140025a70
nop
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x100]
call fcn.140025da0
mov r8d, 2
lea rdx, [0x1400fe22c]
lea rcx, [rsp + 0x100]
call fcn.1400258f0
lea rdx, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae rdx, qword [rsp + 0x108]
mov r9d, 0xa0000000
mov r8d, dword [rsp + 0x118]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x140074b84
cmp qword [rsp + 0x120], 8
jb 0x140074ad6
mov rcx, qword [rsp + 0x108]
call fcn.1400ad0b8
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp qword [rsp + 0x170], 8
jb 0x140074b0b
mov rcx, qword [rsp + 0x158]
call fcn.1400ad0b8
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], r13
mov word [rsp + 0x158], r13w
cmp qword [rsp + 0x148], 8
jb 0x140074b40
mov rcx, qword [rsp + 0x130]
call fcn.1400ad0b8
mov qword [rsp + 0x148], 7
mov qword [rsp + 0x140], r13
mov word [rsp + 0x130], r13w
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, 2
jmp 0x1400752a8
mov qword [rsp + 0xf8], 0xf
mov qword [rsp + 0xf0], r13
mov byte [rsp + 0xe0], 0
mov r8d, 2
lea rdx, [0x1400fe234]
lea rcx, [rsp + 0xd8]
call fcn.140004cb0
nop
mov r8d, 0xfde9
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x80]
call fcn.14004ead0
nop
lea r8, [0x1400fd200]
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140048d60
nop
mov r9, r14
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.1400222f0
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140074c15
mov rcx, qword [rsp + 0x60]
call fcn.1400ad0b8
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x60], 0
cmp qword [rsp + 0xa0], 0x10
jb 0x140074c40
mov rcx, qword [rsp + 0x88]
call fcn.1400ad0b8
mov r8d, 0x3a
lea rdx, str.Content_Disposition:_form_data__name_ufile01___filename_
lea rcx, [rsp + 0xd8]
call fcn.1400219b0
mov r8d, 8
lea rdx, str.boundary
lea rcx, [rsp + 0xd8]
call fcn.1400219b0
mov r8d, 3
lea rdx, [0x1400fe284]
lea rcx, [rsp + 0xd8]
call fcn.1400219b0
mov r8d, 0x2a
lea rdx, str.Content_Type:_application_octet_stream_r_n_r_n
lea rcx, [rsp + 0xd8]
call fcn.1400219b0
lea r8, [0x1400fd200]
mov rdx, r12
lea rcx, [rsp + 0x80]
call fcn.140048d60
nop
mov r9, r14
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.1400222f0
nop
cmp qword [rsp + 0xa0], 0x10
jb 0x140074cef
mov rcx, qword [rsp + 0x88]
call fcn.1400ad0b8
mov r8d, 2
lea rdx, [0x1400fe234]
lea rcx, [rsp + 0xd8]
call fcn.1400219b0
mov r8d, 0xfde9
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x80]
call fcn.14004ead0
nop
lea r8, str.___r_n
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140048d60
nop
mov r9, r14
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.1400222f0
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140074d63
mov rcx, qword [rsp + 0x60]
call fcn.1400ad0b8
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x60], 0
cmp qword [rsp + 0xa0], 0x10
jb 0x140074d8e
mov rcx, qword [rsp + 0x88]
call fcn.1400ad0b8
mov qword [rsp + 0x30], r13
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x140074eb6
cmp qword [rsp + 0xf8], 0x10
jb 0x140074dd4
mov rcx, qword [rsp + 0xe0]
call fcn.1400ad0b8
mov qword [rsp + 0xf8], 0xf
mov qword [rsp + 0xf0], r13
mov byte [rsp + 0xe0], 0
cmp qword [rsp + 0x120], 8
jb 0x140074e08
mov rcx, qword [rsp + 0x108]
call fcn.1400ad0b8
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp qword [rsp + 0x170], 8
jb 0x140074e3d
mov rcx, qword [rsp + 0x158]
call fcn.1400ad0b8
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], r13
mov word [rsp + 0x158], r13w
cmp qword [rsp + 0x148], 8
jb 0x140074e72
mov rcx, qword [rsp + 0x130]
call fcn.1400ad0b8
mov qword [rsp + 0x148], 7
mov qword [rsp + 0x140], r13
mov word [rsp + 0x130], r13w
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, 2
jmp 0x1400752a8
mov dword [rsp + 0x44], r13d
cmp qword [rsp + 0xf0], 0
je 0x14007506a
nop word [rax + rax]
lea rdx, [rsp + 0xe0]
cmp qword [rsp + 0xf8], 0x10
cmovae rdx, qword [rsp + 0xe0]
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0xf0]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpWriteData]
test eax, eax
je 0x140074f70
mov r8d, dword [rsp + 0x44]
cmp qword [rsp + 0xf0], r8
jbe 0x140074f45
mov r9, r14
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xd8]
call fcn.140031780
cmp qword [rsp + 0xa0], 0x10
jb 0x140074f5c
mov rcx, qword [rsp + 0x88]
call fcn.1400ad0b8
jmp 0x140074f5c
xor r8d, r8d
lea rdx, [0x1400fc5d9]
lea rcx, [rsp + 0xd8]
call fcn.140004cb0
cmp qword [rsp + 0xf0], 0
jne 0x140074ed0
jmp 0x14007506a
cmp qword [rsp + 0xf8], 0x10
jb 0x140074f88
mov rcx, qword [rsp + 0xe0]
call fcn.1400ad0b8
mov qword [rsp + 0xf8], 0xf
mov qword [rsp + 0xf0], r13
mov byte [rsp + 0xe0], 0
cmp qword [rsp + 0x120], 8
jb 0x140074fbc
mov rcx, qword [rsp + 0x108]
call fcn.1400ad0b8
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp qword [rsp + 0x170], 8
jb 0x140074ff1
mov rcx, qword [rsp + 0x158]
call fcn.1400ad0b8
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], r13
mov word [rsp + 0x158], r13w
cmp qword [rsp + 0x148], 8
jb 0x140075026
mov rcx, qword [rsp + 0x130]
call fcn.1400ad0b8
mov qword [rsp + 0x148], 7
mov qword [rsp + 0x140], r13
mov word [rsp + 0x130], r13w
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, 2
jmp 0x1400752a8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140075177
cmp qword [rsp + 0xf8], 0x10
jb 0x140075095
mov rcx, qword [rsp + 0xe0]
call fcn.1400ad0b8
mov qword [rsp + 0xf8], 0xf
mov qword [rsp + 0xf0], r13
mov byte [rsp + 0xe0], 0
cmp qword [rsp + 0x120], 8
jb 0x1400750c9
mov rcx, qword [rsp + 0x108]
call fcn.1400ad0b8
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp qword [rsp + 0x170], 8
jb 0x1400750fe
mov rcx, qword [rsp + 0x158]
call fcn.1400ad0b8
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], r13
mov word [rsp + 0x158], r13w
cmp qword [rsp + 0x148], 8
jb 0x140075133
mov rcx, qword [rsp + 0x130]
call fcn.1400ad0b8
mov qword [rsp + 0x148], 7
mov qword [rsp + 0x140], r13
mov word [rsp + 0x130], r13w
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, 2
jmp 0x1400752a8
mov byte [rsp + 0x180], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x181]
call fcn.1400ad2f0
mov dword [rsp + 0x50], r13d
lea r9, [rsp + 0x50]
mov r8d, 0x400
lea rdx, [rsp + 0x180]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
nop
cmp qword [rsp + 0xf8], 0x10
jb 0x1400751ce
mov rcx, qword [rsp + 0xe0]
call fcn.1400ad0b8
mov qword [rsp + 0xf8], 0xf
mov qword [rsp + 0xf0], r13
mov byte [rsp + 0xe0], 0
cmp qword [rsp + 0x120], 8
jb 0x140075202
mov rcx, qword [rsp + 0x108]
call fcn.1400ad0b8
mov qword [rsp + 0x120], 7
mov qword [rsp + 0x118], r13
mov word [rsp + 0x108], r13w
cmp qword [rsp + 0x170], 8
jb 0x140075237
mov rcx, qword [rsp + 0x158]
call fcn.1400ad0b8
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], r13
mov word [rsp + 0x158], r13w
cmp qword [rsp + 0x148], 8
jb 0x14007526c
mov rcx, qword [rsp + 0x130]
call fcn.1400ad0b8
mov qword [rsp + 0x148], 7
mov qword [rsp + 0x140], r13
mov word [rsp + 0x130], r13w
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.1400ad2c0
add rsp, 0x590
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret