Function at 0x140018b10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x2a8], rbx
mov rax, qword [0x1400f4d50]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov rsi, r8
mov r12, rdx
mov rdi, rcx
mov rcx, qword [r8 + 8]
mov r8, qword [r8]
cmp r8, rcx
je 0x140018b8d
movzx r9d, byte [rsp + 0x40]
mov rdx, rcx
call fcn.1400504e0
mov rbx, rax
lea r8, [rsi + 0x18]
movzx r9d, byte [rsp + 0x40]
mov rdx, qword [rsi + 8]
mov rcx, rax
call fcn.140014770
mov qword [rsi + 8], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x238]
cmp eax, 0xea60
jbe 0x140018bba
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x238], eax
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
lea rdx, [rdi + 0x38]
call qword [rax + reloc.WS2_32.dll_htonl]
xor r14d, r14d
mov qword [rsp + 0x60], r14
lea ecx, [r14 + 0x48]
call fcn.140095cd8
test rax, rax
je 0x140019660
mov qword [rsp + 0x58], rax
mov qword [rax], rax
mov rax, qword [rsp + 0x58]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x10], rax
mov rax, qword [rsp + 0x58]
mov byte [rax + 0x40], 1
mov rax, qword [rsp + 0x58]
mov byte [rax + 0x41], 1
lea rcx, [r12 + 0xd0]
lea r8, [rsp + 0x50]
lea rdx, [rdi + 0x68]
call fcn.140016330
mov ebx, eax
mov dword [rsp + 0x48], eax
mov qword [rbp + 0x138], 7
mov qword [rbp + 0x130], r14
mov word [rbp + 0x120], r14w
lea r8, [0x1400be458]
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.140015060
movd xmm5, ebx
cvtdq2pd xmm5, xmm5
lea r15d, [r14 + 0x20]
comisd xmm5, xmmword [rdi + 0x90]
jb 0x140018e93
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x60], r14b
lea r8d, [r14 + 0x1e]
lea rdx, str.Keywords:__1_Subject_score:__2
lea rcx, [rbp - 0x60]
call fcn.140007a00
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.14003b080
nop
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xa
mov word [rsp + 0x20], r15w
or r9d, 0xffffffff
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140015b60
nop
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xa
mov word [rsp + 0x20], r15w
or r9d, 0xffffffff
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x68]
mov rcx, rax
call fcn.140015c90
nop
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400128a0
nop
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], r14b
mov r8d, r15d
lea rdx, str.Keywords_found_in_EMail_subject.
lea rcx, [rsp + 0x78]
call fcn.140007a00
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.14003b080
nop
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.1400128a0
nop
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x10]
mov edx, 0x801
lea rcx, [rbp + 0xc0]
call fcn.140012bf0
nop
cmp qword [rbp + 8], 8
jb 0x140018d71
mov rcx, qword [rbp - 0x10]
call fcn.140095520
mov qword [rbp + 8], 7
mov qword [rbp], r14
mov word [rbp - 0x10], r14w
cmp qword [rbp + 0x30], 8
jb 0x140018d92
mov rcx, qword [rbp + 0x18]
call fcn.140095520
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r14
mov word [rbp + 0x18], r14w
cmp qword [rbp - 0x70], 0x10
jb 0x140018db4
mov rcx, qword [rsp + 0x78]
call fcn.140095520
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
cmp qword [rbp - 0x20], 8
jb 0x140018dd5
mov rcx, qword [rbp - 0x38]
call fcn.140095520
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
cmp qword [rbp + 0x80], 8
jb 0x140018df9
mov rcx, qword [rbp + 0x68]
call fcn.140095520
mov qword [rbp + 0x80], 7
mov qword [rbp + 0x78], r14
mov word [rbp + 0x68], r14w
cmp qword [rbp + 0x58], 8
jb 0x140018e1d
mov rcx, qword [rbp + 0x40]
call fcn.140095520
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r14
mov word [rbp + 0x40], r14w
cmp qword [rbp + 0xa8], 8
jb 0x140018e44
mov rcx, qword [rbp + 0x90]
call fcn.140095520
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r14
mov word [rbp + 0x90], r14w
cmp qword [rbp - 0x48], 0x10
jb 0x140018e6e
mov rcx, qword [rbp - 0x60]
call fcn.140095520
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x60], 0
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.1400163f0
nop
jmp 0x1400190c9
comisd xmm5, xmmword [rdi + 0x88]
jb 0x14001910f
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
mov r8d, 0x1e
lea rdx, str.Keywords:__1_Subject_score:__2
lea rcx, [rsp + 0x78]
call fcn.140007a00
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.14003b080
nop
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xa
mov word [rsp + 0x20], r15w
or r9d, 0xffffffff
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x68]
mov rcx, rax
call fcn.140015b60
nop
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xa
mov word [rsp + 0x20], r15w
or r9d, 0xffffffff
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140015c90
nop
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.1400128a0
nop
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x60], 0
mov r8, r15
lea rdx, str.Keywords_found_in_EMail_subject.
lea rcx, [rbp - 0x60]
call fcn.140007a00
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.14003b080
nop
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400128a0
nop
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x38]
mov edx, 0x801
lea rcx, [rbp + 0xc0]
call fcn.140012b20
nop
cmp qword [rbp - 0x20], 8
jb 0x140018fac
mov rcx, qword [rbp - 0x38]
call fcn.140095520
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
cmp qword [rbp + 0xa8], 8
jb 0x140018fd3
mov rcx, qword [rbp + 0x90]
call fcn.140095520
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r14
mov word [rbp + 0x90], r14w
cmp qword [rbp - 0x48], 0x10
jb 0x140018ffd
mov rcx, qword [rbp - 0x60]
call fcn.140095520
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x60], 0
cmp qword [rbp + 8], 8
jb 0x14001901d
mov rcx, qword [rbp - 0x10]
call fcn.140095520
mov qword [rbp + 8], 7
mov qword [rbp], r14
mov word [rbp - 0x10], r14w
cmp qword [rbp + 0x58], 8
jb 0x14001903e
mov rcx, qword [rbp + 0x40]
call fcn.140095520
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r14
mov word [rbp + 0x40], r14w
cmp qword [rbp + 0x80], 8
jb 0x140019062
mov rcx, qword [rbp + 0x68]
call fcn.140095520
mov qword [rbp + 0x80], 7
mov qword [rbp + 0x78], r14
mov word [rbp + 0x68], r14w
cmp qword [rbp + 0x30], 8
jb 0x140019086
mov rcx, qword [rbp + 0x18]
call fcn.140095520
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r14
mov word [rbp + 0x18], r14w
cmp qword [rbp - 0x70], 0x10
jb 0x1400190a8
mov rcx, qword [rsp + 0x78]
call fcn.140095520
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.1400163f0
nop
cmp qword [rbp + 0x108], 8
jb 0x1400190df
mov rcx, qword [rbp + 0xf0]
call fcn.140095520
cmp qword [rbp + 0xe0], 8
mov word [rbp + 0xf0], r14w
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], 7
jb 0x14001910f
mov rcx, qword [rbp + 0xc8]
call fcn.140095520
lea rcx, [r12 + 0xf8]
lea r8, [rsp + 0x50]
lea rdx, [rdi + 0x68]
call fcn.140016330
mov ebx, eax
mov dword [rsp + 0x48], eax
lea r8, [0x1400be458]
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.140015060
movd xmm5, ebx
cvtdq2pd xmm5, xmm5
comisd xmm5, xmmword [rdi + 0x90]
jb 0x140019389
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
mov r8d, 0x1b
lea rdx, str.Keywords:__1_Text_score:__2
lea rcx, [rsp + 0x78]
call fcn.140007a00
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.14003b080
nop
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xa
mov word [rsp + 0x20], r15w
or r9d, 0xffffffff
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x68]
mov rcx, rax
call fcn.140015b60
nop
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xa
mov word [rsp + 0x20], r15w
or r9d, 0xffffffff
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140015c90
nop
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.1400128a0
nop
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x60], 0
mov r8d, 0x1d
lea rdx, str.Keywords_found_in_EMail_text.
lea rcx, [rbp - 0x60]
call fcn.140007a00
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.14003b080
nop
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400128a0
nop
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x38]
mov edx, 0x801
lea rcx, [rbp + 0xc0]
call fcn.140012bf0
nop
cmp qword [rbp - 0x20], 8
jb 0x140019267
mov rcx, qword [rbp - 0x38]
call fcn.140095520
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
cmp qword [rbp + 0xa8], 8
jb 0x14001928e
mov rcx, qword [rbp + 0x90]
call fcn.140095520
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r14
mov word [rbp + 0x90], r14w
cmp qword [rbp - 0x48], 0x10
jb 0x1400192b8
mov rcx, qword [rbp - 0x60]
call fcn.140095520
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x60], 0
cmp qword [rbp + 8], 8
jb 0x1400192d8
mov rcx, qword [rbp - 0x10]
call fcn.140095520
mov qword [rbp + 8], 7
mov qword [rbp], r14
mov word [rbp - 0x10], r14w
cmp qword [rbp + 0x58], 8
jb 0x1400192f9
mov rcx, qword [rbp + 0x40]
call fcn.140095520
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r14
mov word [rbp + 0x40], r14w
cmp qword [rbp + 0x80], 8
jb 0x14001931d
mov rcx, qword [rbp + 0x68]
call fcn.140095520
mov qword [rbp + 0x80], 7
mov qword [rbp + 0x78], r14
mov word [rbp + 0x68], r14w
cmp qword [rbp + 0x30], 8
jb 0x140019341
mov rcx, qword [rbp + 0x18]
call fcn.140095520
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r14
mov word [rbp + 0x18], r14w
cmp qword [rbp - 0x70], 0x10
jb 0x140019363
mov rcx, qword [rsp + 0x78]
call fcn.140095520
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.1400163f0
nop
jmp 0x1400195c2
comisd xmm5, xmmword [rdi + 0x88]
jb 0x140019609
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
mov r8d, 0x1b
lea rdx, str.Keywords:__1_Text_score:__2
lea rcx, [rsp + 0x78]
call fcn.140007a00
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.14003b080
nop
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xa
mov word [rsp + 0x20], r15w
or r9d, 0xffffffff
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x68]
mov rcx, rax
call fcn.140015b60
nop
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], 0xa
mov word [rsp + 0x20], r15w
or r9d, 0xffffffff
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140015c90
nop
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.1400128a0
nop
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x60], 0
mov r8d, 0x1d
lea rdx, str.Keywords_found_in_EMail_text.
lea rcx, [rbp - 0x60]
call fcn.140007a00
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.14003b080
nop
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400128a0
nop
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x38]
mov edx, 0x801
lea rcx, [rbp + 0xc0]
call fcn.140012b20
nop
cmp qword [rbp - 0x20], 8
jb 0x1400194a5
mov rcx, qword [rbp - 0x38]
call fcn.140095520
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
cmp qword [rbp + 0xa8], 8
jb 0x1400194cc
mov rcx, qword [rbp + 0x90]
call fcn.140095520
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r14
mov word [rbp + 0x90], r14w
cmp qword [rbp - 0x48], 0x10
jb 0x1400194f6
mov rcx, qword [rbp - 0x60]
call fcn.140095520
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x60], 0
cmp qword [rbp + 8], 8
jb 0x140019516
mov rcx, qword [rbp - 0x10]
call fcn.140095520
mov qword [rbp + 8], 7
mov qword [rbp], r14
mov word [rbp - 0x10], r14w
cmp qword [rbp + 0x58], 8
jb 0x140019537
mov rcx, qword [rbp + 0x40]
call fcn.140095520
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r14
mov word [rbp + 0x40], r14w
cmp qword [rbp + 0x80], 8
jb 0x14001955b
mov rcx, qword [rbp + 0x68]
call fcn.140095520
mov qword [rbp + 0x80], 7
mov qword [rbp + 0x78], r14
mov word [rbp + 0x68], r14w
cmp qword [rbp + 0x30], 8
jb 0x14001957f
mov rcx, qword [rbp + 0x18]
call fcn.140095520
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], r14
mov word [rbp + 0x18], r14w
cmp qword [rbp - 0x70], 0x10
jb 0x1400195a1
mov rcx, qword [rsp + 0x78]
call fcn.140095520
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x78], r14
mov byte [rsp + 0x78], 0
lea rdx, [rbp + 0xc0]
mov rcx, rsi
call fcn.1400163f0
nop
cmp qword [rbp + 0x108], 8
jb 0x1400195d8
mov rcx, qword [rbp + 0xf0]
call fcn.140095520
cmp qword [rbp + 0xe0], 8
mov word [rbp + 0xf0], r14w
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], 7
jb 0x140019609
mov rcx, qword [rbp + 0xc8]
call fcn.140095520
nop
cmp qword [rbp + 0x138], 8
jb 0x14001961f
mov rcx, qword [rbp + 0x120]
call fcn.140095520
mov qword [rbp + 0x138], 7
mov qword [rbp + 0x130], r14
mov word [rbp + 0x120], r14w
mov r8, qword [rsp + 0x58]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140014850
nop
mov rcx, qword [rsp + 0x58]
call fcn.140095520
jmp 0x140019692
mov qword [rsp + 0x48], r14
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.140095a74
lea r11, vtable.std::bad_alloc.0
mov qword [rsp + 0x78], r11
lea rdx, [0x1400ef048]
lea rcx, [rsp + 0x78]
call fcn.140095d7c
int3
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.1400959a0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret