Function at 0x18003e4f0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c8
mov rax, qword [0x1800cd230]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r10, qword [rsp + 0x338]
mov r14, r8
mov r8d, dword [rsp + 0x330]
mov r12, rdx
mov r15, r9
mov qword [rsp + 0x90], r9
mov r11, rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], r10
lea edx, [r8 - 9]
mov dword [rsp + 0x50], edx
cmp r8d, edx
jbe case.0x18003e592.1
movsxd r13, dword [rsp + 0x60]
lea edx, [r8 - 0xa1]
mov eax, dword [rsp + 0x50]
mov rbp, r13
mov dword [rsp + 0x5c], edx
xor esi, esi
lea r9, [0x180000000]
cmp edx, 0x1b
ja case.default.0x18003e592
movzx eax, byte [r9 + rdx + 0x3e8ec]
mov ecx, dword [r9 + rax*4 + 0x3e8c8]
add rcx, r9
jmp rcx
mov r13d, esi
mov rbp, rsi
jmp case.0x18003e592.8
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rax
mov ecx, 0xec
mov qword [rsp + 0x20], rsi
call fcn.18003fa00
test al, al
jne 0x18003e6a6
mov ebx, 0xa8
mov eax, ebx
sub eax, 0xa8
je 0x18003e682
sub eax, 0x58
je 0x18003e64b
cmp eax, 0x58
jne 0x18003e697
cmp dword [rsp + 0x60], esi
movzx eax, byte [rsp + 0x54]
cmove esi, eax
test sil, sil
je 0x18003e61e
lea r8, [rsp + 0xa0]
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHSetUnreadMailCountW
mov byte [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1800a7b10
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x28], 0x104
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x20], rax
xor edx, edx
call sub.SHELL32.dll_SHGetUnreadMailCountW
mov dword [rsp + 0x60], eax
jmp 0x18003e697
mov byte [rsp + 0x54], 1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
add ebx, 0x58
cmp ebx, 0x1b0
jb 0x18003e5e1
cmp dword [rsp + 0x64], 2
jae 0x18003e89e
mov r8d, dword [rsp + 0x330]
mov edx, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x50]
dec r8d
dec edx
mov dword [rsp + 0x330], r8d
mov dword [rsp + 0x5c], edx
cmp r8d, eax
jbe case.0x18003e592.1
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
jmp 0x18003e56e
mov ebx, 0xcd
nop
cmp ebx, 0xcd
je 0x18003e706
cmp ebx, 0x4411
je case.0x18003e592.1
jmp 0x18003e757
xor r9d, r9d
mov dword [rsp + 0x20], 0x101
mov r8, r14
mov rdx, r15
mov rcx, r10
call fcn.180086590
mov rcx, rax
test rax, rax
je 0x18003e8be
test byte [rax + 0xc], 4
je 0x18003e74a
mov eax, dword [r15]
cmp dword [rcx + 0x10], eax
jne 0x18003e8be
mov eax, dword [r15 + 4]
cmp dword [rcx + 0x14], eax
jne 0x18003e8be
mov r10, qword [rsp + 0x68]
mov dword [rsp + 0x58], 1
add ebx, 0x4344
cmp ebx, 0x8688
jbe 0x18003e6f0
mov edx, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x330]
mov r11, qword [rsp + 0x70]
cmp dword [r14 + 8], esi
jle case.0x18003e592.8
mov eax, dword [r15]
cdq
idiv dword [r12]
movsxd rbx, eax
mov rax, qword [rsp + 0x340]
mov eax, dword [rax]
add eax, dword [r15]
cdq
idiv dword [r12]
cmp ebx, eax
jge 0x18003e6b1
mov rdi, rbx
nop dword [rax + rax]
mov dword [rsp + 0x28], 0x12d
mov r9, r14
mov r8, r11
mov qword [rsp + 0x20], rsi
xor edx, edx
xor ecx, ecx
call fcn.18003d420
cmp eax, 0xffffffff
je 0x18003e8a8
mov r8d, dword [r14]
mov r10d, esi
mov ecx, r8d
imul ecx, eax
mov rax, qword [r14 + 0x18]
movsxd rdx, ecx
lea r9, [rax + rdx*4]
test r8d, r8d
jle 0x18003e854
mov r15, qword [rsp + 0x68]
nop word [rax + rax]
mov rax, qword [r15 + rbp*8]
lea edx, [r13 + 1]
mov r13d, esi
movss xmm0, dword [rax + rdi*4]
addss xmm0, dword [r9]
movss dword [rax + rdi*4], xmm0
lea rax, [rdi + 1]
cmp edx, dword [r12]
cmovne rax, rdi
cmovne r13d, edx
mov rdi, rax
lea rax, [rbp + 1]
mov rbp, rsi
cmovne rbp, rax
lea eax, [rbx + 1]
cmovne eax, ebx
inc r10d
add r9, 4
mov ebx, eax
cmp r10d, dword [r14]
jl 0x18003e800
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x340]
mov eax, dword [r15]
mov r11, qword [rsp + 0x70]
add eax, dword [rcx]
cdq
idiv dword [r12]
cmp ebx, eax
jl 0x18003e7b0
jmp 0x18003e6b1
xor edx, edx
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 0x76]
call fcn.18002ff60
cmp eax, 3
setae byte [rsp + 0x58]
jmp 0x18003e6b1
mov dword [rsp + 0x58], esi
jmp case.0x18003e592.8
mov byte [rsp + 0x58], 1
jmp case.0x18003e592.1
mov eax, 0xffffffff
jmp 0x18003e627
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x64], eax
setl sil
mov eax, esi
jmp 0x18003e627