Function at 0x4cbd58
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.005cc9c4
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx], 0x6e244f
mov dword [ebp - 0x28], 0
push 0x813b08
call fcn.0044819e
mov eax, str.https:__fanyi.baidu.com_
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4cbdde
push ebx
call fcn.005cc9ca
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, 0x6ac398
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.004cc39e
mov ebx, eax
test ebx, ebx
je 0x4cbe67
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4cbe77
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4cbe87
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4cbe97
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4cbea7
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4cbeb7
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4cbec7
push ebx
call fcn.005cc9ca
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4cbedc
mov eax, 0x6ac398
push eax
push 1
mov ebx, 0x5cfc80
call fcn.005cc9d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4cbf06
push ebx
call fcn.005cc9ca
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 0x4cbf20
push ebx
call fcn.005cc9ca
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 0x4cbf3a
push ebx
call fcn.005cc9ca
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 0x4cbf51
mov eax, 0x6ac398
push eax
push 1
mov ebx, 0x5ce810
call fcn.005cc9d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4cbf7b
push ebx
call fcn.005cc9ca
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, 0x5ce810
call fcn.005cc9d0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, 6
call fcn.0040131c
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4cbfbd
mov eax, 0x6acb0f
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4cbfd1
mov eax, 0x6acb0f
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4cbfe5
mov eax, 0x6acb0f
push eax
push 5
mov ebx, 0x5ceea0
call fcn.005cc9d0
add esp, 0x40
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4cc00b
push ebx
call fcn.005cc9ca
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4cc01f
push ebx
call fcn.005cc9ca
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 0x4cc039
push ebx
call fcn.005cc9ca
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 0x4cc050
mov eax, 0x6acb0f
push eax
push 1
mov ebx, 0x5cd080
call fcn.005cc9d0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x5cf320
call fcn.005cc9d0
add esp, 0x10
mov dword [ebp - 0x30], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.0040131c
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4cc0a9
mov eax, 0x6ac398
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 0x4cc0c9
mov eax, 0x6ac398
push eax
push 6
mov ebx, 0x5ce490
call fcn.005cc9d0
add esp, 0x4c
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4cc0ef
push ebx
call fcn.005cc9ca
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4cc103
push ebx
call fcn.005cc9ca
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.004cc39e
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4cc17c
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4cc18c
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4cc19c
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4cc1ac
push ebx
call fcn.005cc9ca
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4cc1bf
mov eax, 0x6acb0f
push eax
push 1
mov ebx, 0x5cf320
call fcn.005cc9d0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4cc1e5
push ebx
call fcn.005cc9ca
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4cc1f9
push ebx
call fcn.005cc9ca
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x6ac398
push dword [ebp - 0x1c]
call fcn.00403b0c
add esp, 8
cmp eax, 0
je 0x4cc2e2
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 0x4cc23f
push ebx
call fcn.005cc9ca
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.0044667b
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4cc28f
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4cc29f
push ebx
call fcn.005cc9ca
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4cc2b3
push ebx
call fcn.005cc9ca
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0x813b08
call fcn.004084c3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4cc2dd
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.005cc9c4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4cc2f6
push 0x813b08
call fcn.004084c3
mov eax, 0x6e244c
jmp 0x4cc2f6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4cc307
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4cc317
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4cc327
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4cc337
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4cc347
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4cc357
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4cc367
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4cc377
push ebx
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005cc9ca
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4cc397
push ebx
call fcn.005cc9ca
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4