Function at 0x1400031fc
Capabilities:
Read and send data from client to server
Read file on windows
Send data

Disassembly:
jmp 0x1400baeb0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x668
mov qword [rsp + 0x1d0], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x650], rax
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x48]
call fcn.140002d51
nop
lea rax, [rsp + 0x210]
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x680]
mov rcx, qword [rsp + 0x1a8]
call fcn.140001a7d
mov qword [rsp + 0x1c8], rax
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x670]
call fcn.140001f37
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bafc3
lea rax, [rsp + 0x228]
mov qword [rsp + 0x1c0], rax
lea rdx, str.Error_formatting_attachment_part_header.
mov rcx, qword [rsp + 0x1c0]
call fcn.140002b67
mov qword [rsp + 0x178], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x178]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov dword [rsp + 0x84], 0
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0x84]
jmp 0x1400bb933
lea rcx, [rsp + 0xe0]
call fcn.1400037e7
nop
lea rcx, [rsp + 0x48]
call fcn.140002b08
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1400023ce
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x1400bb08a
lea rax, [rsp + 0x230]
mov qword [rsp + 0x118], rax
lea rdx, str.Error_converting_attachment_part_header_to_ASCII.
mov rcx, qword [rsp + 0x118]
call fcn.140002b67
mov qword [rsp + 0x188], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x188]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0x8c]
jmp 0x1400bb933
mov dword [rsp + 0x50], 0
mov rcx, qword [rsp + 0xc0]
call sub.MSVCR120D.dll_strlen
lea r9, [rsp + 0x50]
mov r8d, eax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x678]
call qword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bb154
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x128], rax
lea rdx, str.Error_uploading_attachment_part_header.
mov rcx, qword [rsp + 0x128]
call fcn.140002b67
mov qword [rsp + 0x198], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x198]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov dword [rsp + 0xb0], 0
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0xb0]
jmp 0x1400bb933
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x670]
call fcn.140002658
mov rax, qword [rsp + 0x670]
add rax, 0x20
mov r8, qword [rsp + 0x680]
lea rdx, [rsp + 0x98]
mov rcx, rax
call fcn.140003ad0
nop
mov rax, qword [rsp + 0x670]
add rax, 0x20
lea rdx, [rsp + 0x238]
mov rcx, rax
call fcn.14000231a
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x100], rax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x98]
call fcn.140004f25
mov byte [rsp + 0x44], al
lea rcx, [rsp + 0x238]
call fcn.140001d6b
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x1400bb287
lea rax, [rsp + 0x218]
mov qword [rsp + 0x1b8], rax
lea rdx, str.Error_searching_for_attachment_part_name.
mov rcx, qword [rsp + 0x1b8]
call fcn.140002b67
mov qword [rsp + 0x150], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x150]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov dword [rsp + 0xb8], 0
lea rcx, [rsp + 0x98]
call fcn.140001d6b
nop
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0xb8]
jmp 0x1400bb933
lea rcx, [rsp + 0x98]
call fcn.140005830
add rax, 8
xor edx, edx
mov rcx, rax
call fcn.140003d2d
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002b67
nop
lea rcx, [rsp + 0x58]
call fcn.140002b08
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0xffffffffffffffff
jne 0x1400bb39c
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x190], rax
lea rdx, str.Error_opening_attachment_file.
mov rcx, qword [rsp + 0x190]
call fcn.140002b67
mov qword [rsp + 0x160], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x160]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov dword [rsp + 0xdc], 0
lea rcx, [rsp + 0x58]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x98]
call fcn.140001d6b
nop
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0xdc]
jmp 0x1400bb933
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140003175
movzx eax, al
test eax, eax
je 0x1400bb412
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0x58]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x98]
call fcn.140001d6b
nop
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0x88]
jmp 0x1400bb933
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, 0x400
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bb4f4
lea rax, [rsp + 0x220]
mov qword [rsp + 0x1b0], rax
lea rdx, str.Error_reading_data_from_attachment_file.
mov rcx, qword [rsp + 0x1b0]
call fcn.140002b67
mov qword [rsp + 0x170], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0xbc], 0
lea rcx, [rsp + 0x58]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x98]
call fcn.140001d6b
nop
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0xbc]
jmp 0x1400bb933
cmp dword [rsp + 0x60], 0
jne 0x1400bb500
jmp 0x1400bb5ee
mov dword [rsp + 0x70], 0
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x60]
lea rdx, [rsp + 0x250]
mov rcx, qword [rsp + 0x678]
call qword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bb5d8
lea rax, [rsp + 0x208]
mov qword [rsp + 0x1a0], rax
lea rdx, str.Error_uploading_attachment_part_data.
mov rcx, qword [rsp + 0x1a0]
call fcn.140002b67
mov qword [rsp + 0x180], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x180]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov dword [rsp + 0x80], 0
lea rcx, [rsp + 0x58]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x98]
call fcn.140001d6b
nop
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0x80]
jmp 0x1400bb933
mov edx, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x670]
call fcn.140002658
jmp 0x1400bb3a4
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x68]
call fcn.140002d51
nop
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x680]
mov rcx, qword [rsp + 0x140]
call fcn.140001a7d
mov qword [rsp + 0x148], rax
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x670]
call fcn.140003d19
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bb706
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x158], rax
lea rdx, str.Error_formatting_attachment_part_footer.
mov rcx, qword [rsp + 0x158]
call fcn.140002b67
mov qword [rsp + 0x168], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x168]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov dword [rsp + 0x90], 0
lea rcx, [rsp + 0x68]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x58]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x98]
call fcn.140001d6b
nop
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0x90]
jmp 0x1400bb933
lea rcx, [rsp + 0x68]
call fcn.140002b08
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1400023ce
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x1400bb7e3
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x108], rax
lea rdx, str.Error_converting_attachment_part_footer_to_ASCII.
mov rcx, qword [rsp + 0x108]
call fcn.140002b67
mov qword [rsp + 0x110], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x110]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov dword [rsp + 0xd8], 0
lea rcx, [rsp + 0x68]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x58]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x98]
call fcn.140001d6b
nop
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0xd8]
jmp 0x1400bb933
mov rcx, qword [rsp + 0xd0]
call sub.MSVCR120D.dll_strlen
lea r9, [rsp + 0x50]
mov r8d, eax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x678]
call qword [sym.imp.WININET.dll_InternetWriteFile]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400bb8c6
lea rax, [rsp + 0x200]
mov qword [rsp + 0x120], rax
lea rdx, str.Error_uploading_attachment_part_footer.
mov rcx, qword [rsp + 0x120]
call fcn.140002b67
mov qword [rsp + 0x130], rax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x130]
mov rax, qword [rsp + 0x670]
mov rcx, qword [rax + 0x38]
call fcn.140002a31
mov dword [rsp + 0xb4], 0
lea rcx, [rsp + 0x68]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x58]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x98]
call fcn.140001d6b
nop
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0xb4]
jmp 0x1400bb933
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x670]
call fcn.140002658
mov dword [rsp + 0xc8], 1
lea rcx, [rsp + 0x68]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x58]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x98]
call fcn.140001d6b
nop
lea rcx, [rsp + 0xe0]
call fcn.140004179
nop
lea rcx, [rsp + 0x48]
call fcn.1400053e9
nop
mov rcx, qword [rsp + 0x680]
call fcn.1400053e9
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x650]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x668
ret