Function at 0x437ef2
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get file size
Read file on windows
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab74e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push esi
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp + 0x10]
call fcn.0041f4d0
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x437f3d
xor eax, eax
jmp 0x438495
push 6
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x437f59
xor eax, eax
jmp 0x438495
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
cmp dword [ebp + 8], 0
je 0x437fcd
push 0
push 0
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x437fa2
jmp 0x43843f
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x437fc8
cmp dword [ebp - 0x10], 0xa000000
ja 0x437fc8
cmp dword [ebp - 0x38], 0
je 0x437fcd
jmp 0x43843f
mov ecx, dword [ebp + 0x10]
call fcn.004155c0
mov esi, eax
mov ecx, dword [ebp + 0x14]
call fcn.004155c0
lea eax, [esi + eax + 0x1000]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x438009
jmp 0x43843f
push 0x10
push 0
lea edx, [ebp - 0x24]
push edx
call sub.ntdll.dll_memset
add esp, 0xc
mov word [ebp - 0x24], 2
push 0x50
call dword [sym.imp.WSOCK32.dll_htons]
mov word [ebp - 0x22], ax
push 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x20]
push eax
call sub.ntdll.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x30], 0
jmp 0x438054
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp + 0x24]
jae 0x438074
push 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
jne 0x438072
jmp 0x438074
jmp 0x43804b
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp + 0x24]
je 0x43843f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
call fcn.00409340
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00409340
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00409340
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
push str.POST__s_HTTP_1.1_r_nHost:__s_r_n
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0x10
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x40], ecx
cmp dword [ebp + 8], 0
je 0x438253
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xc0]
push eax
push str._____________________________7d61572c150aa8
push 0x64
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.ntdll.dll__snprintf]
add esp, 0x14
lea edx, [ebp - 0xb8]
push edx
push str.Content_Type:_multipart_form_data__boundary_s_r_n
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xb8]
push eax
push str.___s_r_nContent_Disposition:_form_data__name_content___filename__s__r_nContent_Type:_application_x_zip_compressed_r_n_r_n
lea ecx, [ebp - 0x54]
push ecx
call fcn.00439000
add esp, 0x10
lea edx, [ebp - 0xb8]
push edx
push str._r_n___s___r_n
lea eax, [ebp - 0x50]
push eax
call fcn.00439000
add esp, 0xc
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004172b0
lea edx, [ebp - 0xd8]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00436710
push eax
lea ecx, [ebp - 0xbc]
call fcn.00448ed0
and eax, 0xff
test eax, eax
je 0x438231
lea ecx, [ebp - 0xc8]
call fcn.00409340
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00417310
mov ecx, eax
call fcn.00432be0
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xb8]
push edx
push str._r_n___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s
lea eax, [ebp - 0xc8]
push eax
call fcn.00439000
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004155e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00409510
jmp 0x438188
lea ecx, [ebp - 0x54]
call fcn.004155c0
mov esi, dword [ebp - 0x10]
add esi, eax
lea ecx, [ebp - 0x50]
call fcn.004155c0
add eax, dword [ebp - 0x44]
add eax, esi
mov dword [ebp - 0x44], eax
jmp 0x4382d8
push 0x4e2324
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 8
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0xcc]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004172b0
lea eax, [ebp - 0xe0]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00436710
push eax
lea ecx, [ebp - 0xcc]
call fcn.00448ed0
and eax, 0xff
test eax, eax
je 0x4382d8
push 0
lea ecx, [ebp - 0xe4]
push ecx
lea ecx, [ebp - 0xcc]
call fcn.00417310
mov ecx, eax
call fcn.00432be0
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x48]
call fcn.00409390
jmp 0x43827f
lea ecx, [ebp - 0x48]
call fcn.004155c0
mov ecx, dword [ebp - 0x44]
add ecx, eax
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
push str.Content_Length:__d_r_nAccept_Language:_zh_cn_r_nUser_Agent:_360SafeUpload_r_nConnection:_Keep_Alive_r_nCache_Control:_no_cache_r_n_r_n
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x40], ecx
cmp dword [ebp + 8], 0
je 0x438330
mov edx, dword [ebp - 0x54]
push edx
push 0x4e23d4
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.ntdll.dll_sprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004384a6
add esp, 0xc
test eax, eax
jne 0x438374
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00409510
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00409510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00409510
jmp 0x43843f
cmp dword [ebp + 8], 0
je 0x43839d
push 0
lea edx, [ebp - 0x40]
push edx
push 0x1000
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43839d
cmp dword [ebp - 0x40], 0
jne 0x438330
lea ecx, [ebp - 0x48]
call fcn.004155c0
push eax
lea ecx, [ebp - 0x48]
call fcn.0041f4d0
push eax
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004384a6
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x4383df
lea ecx, [ebp - 0x50]
call fcn.004155c0
push eax
lea ecx, [ebp - 0x50]
call fcn.0041f4d0
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004384a6
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x438418
cmp dword [ebp + 0x1c], 0
je 0x438418
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00438616
add esp, 0xc
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x438418
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x40]
mov byte [ecx], 0
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00409510
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00409510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00409510
cmp dword [ebp - 0x14], 0
je 0x438464
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xe8]
push eax
call fcn.004a90a8
add esp, 4
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x3c], 0xffffffff
je 0x43847b
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [ebp - 0x3c], 0xffffffff
cmp dword [ebp - 0x34], 0xffffffff
je 0x438492
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x20