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

Disassembly:
push 0xffffffffffffffff
push 0x48b234
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x4a4100]
xor eax, esp
mov dword [esp + 0x4e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4100]
xor eax, esp
push eax
lea eax, [esp + 0x4fc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 0
mov eax, dword [esp + 0x50c]
mov esi, edx
mov dword [esp + 0x30], ecx
jne 0x463f09
cmp dword [0x4aab38], 0
je 0x463eff
push str.statistics::WinHttpPostMime::PostBuffer
push str._s_file_data_empty
call fcn.0044a1f0
push eax
call fcn.00449cc0
add esp, 0xc
mov eax, 2
jmp 0x46454f
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00405c00
call fcn.00463d50
test eax, eax
jne 0x463f5b
cmp dword [0x4aab38], eax
je 0x463f51
cmp dword [esi + 0x18], 8
jb 0x463f31
mov esi, dword [esi + 4]
jmp 0x463f34
add esi, 4
push esi
push str.statistics::WinHttpPostMime::PostBuffer
push str._s_crackurl_fail___s
push ecx
call fcn.0044a1f0
add esp, 4
push eax
call fcn.00449cc0
add esp, 0x10
mov eax, 1
jmp 0x46454f
push 0
push 0
push 0
push 1
push str.BIDUI18N
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x504], 0
test ebx, ebx
jne 0x463f92
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [ebx + 2]
jmp 0x46454f
lea eax, [esi + 0x1c]
mov ebp, 8
mov dword [esp + 0x20], eax
cmp dword [eax + 0x18], ebp
jb 0x463fa8
mov eax, dword [eax + 4]
jmp 0x463fab
add eax, 4
movzx ecx, word [esi + 0x54]
push 0
push ecx
push eax
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [esp + 0x18], edi
mov byte [esp + 0x504], 1
test edi, edi
jne 0x463fe0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push eax
call esi
push ebx
call esi
lea eax, [edi + 2]
jmp 0x46454f
mov dword [esp + 0x40], 0x4956fc
mov dword [esp + 0x44], 0
cmp dword [esi + 0x50], ebp
jb 0x463ffa
mov esi, dword [esi + 0x3c]
jmp 0x463ffd
add esi, 0x3c
push 0
lea edx, [esp + 0x44]
push edx
push 0
push str.HTTP_1.1
push esi
push str.POST
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebp, eax
mov dword [esp + 0x64], ebp
mov byte [esp + 0x504], 2
test ebp, ebp
jne 0x464041
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push eax
call esi
push edi
call esi
push ebx
call esi
lea eax, [ebp + 2]
jmp 0x46454f
lea esi, [esp + 0xd8]
call fcn.00465930
push 4
lea eax, [esp + 0x30]
push eax
mov ebx, 3
push ebx
mov byte [esp + 0x510], bl
push ebp
mov dword [esp + 0x3c], 0x3a98
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x464096
mov ecx, esi
call fcn.00406360
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call esi
push edi
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
lea eax, [ebx - 1]
jmp 0x46454f
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0x30], 1
call fcn.00469880
mov byte [esp + 0x504], 4
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x464168
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [ecx + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
push 0x4a7da0
mov dword [esp + 0x38], ebx
neg ecx
or ecx, eax
push ecx
call fcn.00470fd1
mov esi, eax
add esp, 8
test esi, esi
je 0x464168
mov eax, dword [esp + 0xb4]
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call fcn.00474b70
mov ecx, dword [esp + 0xb0]
add esp, 0xc
cmp dword [esp + 0xb8], 8
jae 0x46412f
lea ecx, [esp + 0xa4]
mov eax, dword [esp + 0xb4]
push eax
push ecx
inc eax
push eax
push esi
call fcn.0046fbcf
add esp, 0x10
push 0xc
lea edx, [esp + 0x38]
push edx
push 0x26
push ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], str._local_
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push esi
call fcn.0046f324
add esp, 4
push str.Content_Type:_multipart_form_data__boundary
lea ecx, [esp + 0xc0]
call fcn.00404460
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x510], 5
call fcn.00445fa0
push 0x495794
lea ecx, [esp + 0xc0]
call fcn.0044a2e0
cmp dword [esp + 0xd4], 8
mov eax, dword [esp + 0xc0]
jae 0x4641c2
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0xd0]
push 0xa0000000
push ecx
push eax
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x46421c
lea ecx, [esp + 0xbc]
call fcn.00406360
lea ecx, [esp + 0xa0]
call fcn.00406360
lea ecx, [esp + 0xd8]
call fcn.00406360
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call esi
push edi
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, 2
jmp 0x46454f
push 0x49579c
lea ecx, [esp + 0x88]
call fcn.00404cf0
lea eax, [esp + 0x48]
push 0xfde9
mov bl, 6
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x50c], bl
call fcn.0044a620
push eax
mov edi, 0x49489c
lea esi, [esp + 0x74]
mov byte [esp + 0x510], 7
call fcn.00403410
add esp, 0xc
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x8c]
mov byte [esp + 0x50c], 8
call fcn.004031f0
lea ecx, [esp + 0x68]
call fcn.00405220
lea ecx, [esp + 0x48]
mov byte [esp + 0x504], bl
call fcn.00405220
mov ecx, esi
push ecx
mov edx, str.Content_Disposition:_form_data__name_ufile01___filename_
call fcn.004033f0
mov edx, esi
push edx
mov edx, str.boundary
call fcn.004033f0
mov eax, esi
push eax
mov edx, 0x4957e8
call fcn.004033f0
mov ecx, esi
push ecx
mov edx, str.Content_Type:_application_octet_stream_r_n_r_n
call fcn.004033f0
mov edx, dword [esp + 0x30]
push edx
lea esi, [esp + 0x4c]
call fcn.00403410
add esp, 4
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x8c]
mov byte [esp + 0x50c], 9
call fcn.004031f0
lea ecx, [esp + 0x48]
mov byte [esp + 0x504], bl
call fcn.00405220
mov eax, esi
push eax
mov edx, 0x49579c
call fcn.004033f0
lea ecx, [esp + 0x68]
push 0xfde9
push ecx
lea ecx, [esp + 0xe0]
call fcn.0044a620
push eax
mov edi, str.___r_n
lea esi, [esp + 0x54]
mov byte [esp + 0x510], 0xa
call fcn.00403410
add esp, 0xc
xor edi, edi
mov byte [esp + 0x504], 0xb
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x8c]
call fcn.004031f0
lea ecx, [esp + 0x48]
call fcn.00405220
lea ecx, [esp + 0x68]
mov byte [esp + 0x504], bl
call fcn.00405220
mov edx, dword [esp + 0x98]
push edi
push edx
push edi
push edi
push edi
push edi
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x4643e2
lea ecx, [esp + 0x84]
call fcn.00405220
lea ecx, [esp + 0xbc]
call fcn.00406360
lea ecx, [esp + 0xa0]
call fcn.00406360
lea ecx, [esp + 0xd8]
call fcn.00406360
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov eax, 2
jmp 0x46454f
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1c], edi
cmp ecx, edi
je 0x46446e
mov ebx, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
jmp 0x464400
cmp dword [esp + 0x9c], 0x10
mov eax, dword [esp + 0x88]
jae 0x464418
lea eax, [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
push ebp
call ebx
test eax, eax
je 0x464391
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x98], ecx
jbe 0x464452
push 0xffffffffffffffff
lea esi, [esp + 0x4c]
lea edx, [esp + 0x88]
call fcn.0045ad70
mov ecx, esi
call fcn.00405220
jmp 0x464463
push 0x4944e0
lea ecx, [esp + 0x88]
call fcn.00404cc0
mov ecx, dword [esp + 0x98]
cmp ecx, edi
jne 0x464400
push edi
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x4644cb
lea ecx, [esp + 0x84]
call fcn.00405220
lea ecx, [esp + 0xbc]
call fcn.00406360
lea ecx, [esp + 0xa0]
call fcn.00406360
lea ecx, [esp + 0xd8]
call fcn.00406360
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call esi
mov eax, 2
jmp 0x46454f
push 0x3ff
lea ecx, [esp + 0xf9]
push edi
push ecx
mov byte [esp + 0x100], 0
call fcn.00474b70
add esp, 0xc
lea edx, [esp + 0x24]
push edx
push 0x400
lea eax, [esp + 0xfc]
push eax
push ebp
mov dword [esp + 0x34], edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
lea ecx, [esp + 0x84]
call fcn.00405220
lea ecx, [esp + 0xbc]
call fcn.00406360
lea ecx, [esp + 0xa0]
call fcn.00406360
lea ecx, [esp + 0xd8]
call fcn.00406360
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
xor eax, eax
mov ecx, dword [esp + 0x4fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e0]
xor ecx, esp
call fcn.0046f01c
add esp, 0x4f4
ret 4