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

Disassembly:
push 0xffffffffffffffff
push 0x48f284
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x4ae830]
xor eax, esp
mov dword [esp + 0x4e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae830]
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 0x438479
cmp dword [0x4b431c], 0
je 0x43846f
push str.statistics::WinHttpPostMime::PostBuffer
push str._s_file_data_empty
call fcn.0041c830
push eax
call fcn.0041c300
add esp, 0xc
mov eax, 2
jmp 0x438a6e
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00417270
call fcn.004382c0
test eax, eax
jne 0x4384cb
cmp dword [0x4b431c], eax
je 0x4384c1
cmp dword [esi + 0x18], 8
jb 0x4384a1
mov esi, dword [esi + 4]
jmp 0x4384a4
add esi, 4
push esi
push str.statistics::WinHttpPostMime::PostBuffer
push str._s_crackurl_fail___s
push ecx
call fcn.0041c830
add esp, 4
push eax
call fcn.0041c300
add esp, 0x10
mov eax, 1
jmp 0x438a6e
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 0x438502
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea eax, [ebx + 2]
jmp 0x438a6e
lea eax, [esi + 0x1c]
mov ebp, 8
mov dword [esp + 0x20], eax
cmp dword [eax + 0x18], ebp
jb 0x438518
mov eax, dword [eax + 4]
jmp 0x43851b
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 0x438550
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push eax
call esi
push ebx
call esi
lea eax, [edi + 2]
jmp 0x438a6e
mov dword [esp + 0x40], 0x49dbf4
mov dword [esp + 0x44], 0
cmp dword [esi + 0x50], ebp
jb 0x43856a
mov esi, dword [esi + 0x3c]
jmp 0x43856d
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 0x4385b1
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 0x438a6e
lea esi, [esp + 0xd8]
call fcn.0041d650
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 0x438606
mov ecx, esi
call fcn.00417080
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 0x438a6e
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0x30], 1
call fcn.0043e8a0
mov byte [esp + 0x504], 4
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x4386d8
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 0x4b40cd
mov dword [esp + 0x38], ebx
neg ecx
or ecx, eax
push ecx
call fcn.004890fe
mov esi, eax
add esp, 8
test esi, esi
je 0x4386d8
mov eax, dword [esp + 0xb4]
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call fcn.0046fba0
mov ecx, dword [esp + 0xb0]
add esp, 0xc
cmp dword [esp + 0xb8], 8
jae 0x43869f
lea ecx, [esp + 0xa4]
mov eax, dword [esp + 0xb4]
push eax
push ecx
inc eax
push eax
push esi
call fcn.004710bc
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.0045352f
add esp, 4
push str.Content_Type:_multipart_form_data__boundary
lea ecx, [esp + 0xc0]
call fcn.00417010
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x510], 5
call fcn.00417990
push 0x49dc8c
lea ecx, [esp + 0xc0]
call fcn.0041c940
cmp dword [esp + 0xd4], 8
mov eax, dword [esp + 0xc0]
jae 0x438732
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 0x43878c
lea ecx, [esp + 0xbc]
call fcn.00417080
lea ecx, [esp + 0xa0]
call fcn.00417080
lea ecx, [esp + 0xd8]
call fcn.00417080
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 0x438a6e
push 0x49dc94
lea ecx, [esp + 0x88]
call fcn.00402e90
lea eax, [esp + 0x48]
push 0xfde9
mov bl, 6
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x50c], bl
call fcn.0041ccc0
push eax
mov edi, 0x49cd30
lea esi, [esp + 0x74]
mov byte [esp + 0x510], 7
call fcn.00419f00
add esp, 0xc
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x8c]
mov byte [esp + 0x50c], 8
call fcn.00417740
lea ecx, [esp + 0x68]
call fcn.00402720
lea ecx, [esp + 0x48]
mov byte [esp + 0x504], bl
call fcn.00402720
mov ecx, esi
push ecx
mov edx, str.Content_Disposition:_form_data__name_ufile01___filename_
call fcn.0041a310
mov edx, esi
push edx
mov edx, str.boundary
call fcn.0041a310
mov eax, esi
push eax
mov edx, 0x49dce0
call fcn.0041a310
mov ecx, esi
push ecx
mov edx, str.Content_Type:_application_octet_stream_r_n_r_n
call fcn.0041a310
mov edx, dword [esp + 0x30]
push edx
lea esi, [esp + 0x4c]
call fcn.00419f00
add esp, 4
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x8c]
mov byte [esp + 0x50c], 9
call fcn.00417740
lea ecx, [esp + 0x48]
mov byte [esp + 0x504], bl
call fcn.00402720
mov eax, esi
push eax
mov edx, 0x49dc94
call fcn.0041a310
lea ecx, [esp + 0x68]
push 0xfde9
push ecx
lea ecx, [esp + 0xe0]
call fcn.0041ccc0
push eax
mov edi, str.___r_n
lea esi, [esp + 0x54]
mov byte [esp + 0x510], 0xa
call fcn.00419f00
add esp, 0xc
xor edi, edi
mov byte [esp + 0x504], 0xb
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x8c]
call fcn.00417740
lea ecx, [esp + 0x48]
call fcn.00402720
lea ecx, [esp + 0x68]
mov byte [esp + 0x504], bl
call fcn.00402720
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 0x438952
lea ecx, [esp + 0x84]
call fcn.00402720
lea ecx, [esp + 0xbc]
call fcn.00417080
lea ecx, [esp + 0xa0]
call fcn.00417080
lea ecx, [esp + 0xd8]
call fcn.00417080
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 0x438a6e
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1c], edi
cmp ecx, edi
je 0x4389da
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
mov ebx, 0x10
lea esp, [esp]
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x9c], ebx
jae 0x438987
lea eax, [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
push ebp
call esi
lea ecx, [esp + 0x84]
test eax, eax
je 0x438a98
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x98], eax
jbe 0x4389c5
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x50]
push eax
call fcn.0042ec90
lea ecx, [esp + 0x48]
call fcn.00402720
jmp 0x4389cf
push 0x49c940
call fcn.00402f30
mov ecx, dword [esp + 0x98]
cmp ecx, edi
jne 0x438970
push edi
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x438901
push 0x3ff
lea edx, [esp + 0xf9]
push edi
push edx
mov byte [esp + 0x100], 0
call fcn.0046fba0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0x400
lea ecx, [esp + 0xfc]
push ecx
push ebp
mov dword [esp + 0x34], edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
lea ecx, [esp + 0x84]
call fcn.00402720
lea ecx, [esp + 0xbc]
call fcn.00417080
lea ecx, [esp + 0xa0]
call fcn.00417080
lea ecx, [esp + 0xd8]
call fcn.00417080
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
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.0046fd33
add esp, 0x4f4
ret 4
call fcn.00402720
lea ecx, [esp + 0xbc]
call fcn.00417080
lea ecx, [esp + 0xa0]
call fcn.00417080
lea ecx, [esp + 0xd8]
call fcn.00417080
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
mov eax, 2
jmp 0x438a6e