Function at 0x4e6cae
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.00604b71
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx], 0x6e4d92
mov dword [ebp - 0x28], 0
push 0x777b10
call fcn.00450ddc
mov eax, str.https:__fanyi.baidu.com_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e6d34
push ebx
call fcn.00604b77
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, 0x6d92ee
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.004e72f4
mov ebx, eax
test ebx, ebx
je 0x4e6dbd
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4e6dcd
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4e6ddd
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e6ded
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e6dfd
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e6e0d
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e6e1d
push ebx
call fcn.00604b77
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4e6e32
mov eax, 0x6d92ee
push eax
push 1
mov ebx, 0x607e30
call fcn.00604b7d
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4e6e5c
push ebx
call fcn.00604b77
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 0x4e6e76
push ebx
call fcn.00604b77
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 0x4e6e90
push ebx
call fcn.00604b77
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4e6ea7
mov eax, 0x6d92ee
push eax
push 1
mov ebx, 0x6069c0
call fcn.00604b7d
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e6ed1
push ebx
call fcn.00604b77
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
push str._picData_
push 1
mov ebx, 0x6069c0
call fcn.00604b7d
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, 6
call fcn.004021f7
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4e6f13
mov eax, 0x6d9345
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4e6f27
mov eax, 0x6d9345
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4e6f3b
mov eax, 0x6d9345
push eax
push 5
mov ebx, 0x607050
call fcn.00604b7d
add esp, 0x40
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e6f61
push ebx
call fcn.00604b77
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e6f75
push ebx
call fcn.00604b77
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 0x4e6f8f
push ebx
call fcn.00604b77
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 0x4e6fa6
mov eax, 0x6d9345
push eax
push 1
mov ebx, 0x605230
call fcn.00604b7d
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x6074d0
call fcn.00604b7d
add esp, 0x10
mov dword [ebp - 0x30], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.004021f7
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4e6fff
mov eax, 0x6d92ee
push eax
push reloc.WS2_32.dll_connect
push 0
push str._DataLength_
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4e701f
mov eax, 0x6d92ee
push eax
push 6
mov ebx, 0x606640
call fcn.00604b7d
add esp, 0x4c
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e7045
push ebx
call fcn.00604b77
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e7059
push ebx
call fcn.00604b77
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.004e72f4
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e70d2
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e70e2
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4e70f2
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e7102
push ebx
call fcn.00604b77
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4e7115
mov eax, 0x6d9345
push eax
push 1
mov ebx, 0x6074d0
call fcn.00604b7d
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4e713b
push ebx
call fcn.00604b77
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e714f
push ebx
call fcn.00604b77
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x6d92ee
push dword [ebp - 0x1c]
call fcn.00401024
add esp, 8
cmp eax, 0
je 0x4e7238
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 0x4e7195
push ebx
call fcn.00604b77
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.0044ef84
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e71e5
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4e71f5
push ebx
call fcn.00604b77
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e7209
push ebx
call fcn.00604b77
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x777b10
call fcn.0040636a
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4e7233
push eax
mov ebx, eax
call fcn.004012e7
inc eax
push eax
call fcn.00604b71
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4e724c
push 0x777b10
call fcn.0040636a
mov eax, 0x6e4d8f
jmp 0x4e724c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4e725d
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4e726d
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4e727d
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e728d
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e729d
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e72ad
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e72bd
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4e72cd
push ebx
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00604b77
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e72ed
push ebx
call fcn.00604b77
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4