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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 4
call fcn.005fc21f
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx], 0x6d0bb3
mov dword [ebp - 0x28], 0
push 0x77be7c
call fcn.00435c8f
mov eax, str.https:__fanyi.baidu.com_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4626d6
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
mov eax, 0x6cae94
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
lea eax, [ebp - 4]
push eax
call fcn.00462d99
mov ebx, eax
test ebx, ebx
je 0x46275f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x46276f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x46277f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x46278f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x46279f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4627af
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4627bf
push ebx
call fcn.005fc225
add esp, 4
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4627d4
mov eax, 0x6cae94
push eax
push 1
mov ebx, 0x5ff630
call fcn.005fc22b
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4627fe
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, str.https:__fanyi.baidu.com_getocr
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x462818
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, str.______WebKitFormBoundaryzZt96rPatoWmfGDg_r_nContent_Disposition:_form_data__name_image___filename_blob__r_nContent_Type:_image_png_r_n_r_n_picData__r_n______WebKitFormBoundaryzZt96rPatoWmfGDg_r_nContent_Disposition:_form_data__name_from__r_n_r_nzh_r_n______WebKitFormBoundaryzZt96rPatoWmfGDg_r_nContent_Disposition:_form_data__name_to__r_n_r_nen_r_n______WebKitFormBoundaryzZt96rPatoWmfGDg___r_n_r_n
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x462832
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x462849
mov eax, 0x6cae94
push eax
push 1
mov ebx, 0x5fe1c0
call fcn.005fc22b
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x462873
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push getpeername
push 0
push str._picData_
push 1
mov ebx, 0x5fe1c0
call fcn.005fc22b
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, 6
call fcn.00401091
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4628b5
mov eax, 0x6cb593
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4628c9
mov eax, 0x6cb593
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4628dd
mov eax, 0x6cb593
push eax
push 5
mov ebx, 0x5fe850
call fcn.005fc22b
add esp, 0x40
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x462903
push ebx
call fcn.005fc225
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x462917
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov eax, str.Host:_fanyi.baidu.com_r_nConnection:_keep_alive_r_nOrigin:_https:__fanyi.baidu.com_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_63.0.3239.132_Safari_537.36_r_nContent_Type:_multipart_form_data__boundary____WebKitFormBoundaryzZt96rPatoWmfGDg_r_nAccept:___r_nReferer:_https:__fanyi.baidu.com__r_nAccept_Language:_zh_CN_zh_q0.9_r_nContent_Length:__DataLength_
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x462931
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x462948
mov eax, 0x6cb593
push eax
push 1
mov ebx, 0x5fc8e0
call fcn.005fc22b
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5fecd0
call fcn.005fc22b
add esp, 0x10
mov dword [ebp - 0x30], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00401091
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4629a1
mov eax, 0x6cae94
push eax
push getpeername
push 0
push str._DataLength_
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4629c1
mov eax, 0x6cae94
push eax
push 6
mov ebx, 0x5fde40
call fcn.005fc22b
add esp, 0x4c
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4629e7
push ebx
call fcn.005fc225
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4629fb
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
push 1
lea eax, [ebp - 4]
push eax
call fcn.00462d99
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x462a74
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x462a84
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x462a94
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x462aa4
push ebx
call fcn.005fc225
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x462ab7
mov eax, 0x6cb593
push eax
push 1
mov ebx, 0x5fecd0
call fcn.005fc22b
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x462add
push ebx
call fcn.005fc225
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x462af1
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x6cae94
push dword [ebp - 0x1c]
call fcn.00401a5f
add esp, 8
cmp eax, 0
je 0x462bda
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x462b37
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov eax, str.____direction_:0__from_:_zh___to_:_en_
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov eax, str._errno_:0__data_:_src_:__
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00433e37
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x462b87
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x462b97
push ebx
call fcn.005fc225
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x462bab
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x77be7c
call fcn.00402be6
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x462bd5
push eax
mov ebx, eax
call fcn.00401099
inc eax
push eax
call fcn.005fc21f
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x462bee
push 0x77be7c
call fcn.00402be6
mov eax, 0x6d0bb0
jmp 0x462bee
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x462bff
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x462c0f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x462c1f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x462c2f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x462c3f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x462c4f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x462c5f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x462c6f
push ebx
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005fc225
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x462c8f
push ebx
call fcn.005fc225
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4