Function at 0x140003d90
Capabilities:
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r12
sub rsp, 0x20
mov r10, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
xor r11d, r11d
mov rdi, r10
mov rbx, r9
repne scasb al, byte [rdi]
mov rsi, r8
lea r12, [0x1400fcce0]
not rcx
mov edx, r11d
dec rcx
je 0x140003dfa
mov r8, r10
mov r9, r12
nop dword [rax]
movsx eax, byte [r8]
or rcx, 0xffffffffffffffff
inc edx
mov word [r9], ax
xor eax, eax
mov rdi, r10
repne scasb al, byte [rdi]
movsxd rax, edx
inc r8
not rcx
add r9, 2
dec rcx
cmp rax, rcx
jb 0x140003dd0
movsxd rax, edx
mov word [r12 + rax*2], r11w
mov dword [rbx], 5
mov rax, qword [0x140142818]
cmp dword [rax + 0xec], 1
je 0x1400040a0
xor ecx, ecx
mov qword [rsp + 0x40], rbp
call fcn.14002cf64
mov rcx, qword [0x140142818]
mov edx, 1
mov rcx, qword [rcx]
mov rbp, rax
call qword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [rsi]
cmp ecx, 1
jne 0x140003e6e
mov rcx, qword [0x140142818]
mov r9d, 0x2000
mov rdx, r12
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
jmp 0x140004014
cmp ecx, 2
jne 0x140003e9a
mov rcx, qword [0x140142818]
mov r9d, 0x10
mov rdx, r12
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
jmp 0x140004014
cmp ecx, 3
jne 0x140003ec6
mov rcx, qword [0x140142818]
mov r9d, 1
mov rdx, r12
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
jmp 0x140004014
cmp ecx, 4
jne 0x140003ef2
mov rcx, qword [0x140142818]
mov r9d, 5
mov rdx, r12
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
jmp 0x140004014
cmp ecx, 5
jne 0x140003f40
mov rcx, qword [0x140142818]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, qword [0x140142818]
mov r9d, 4
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
mov rdx, r12
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [0x140142818]
mov rcx, qword [rcx + 0x10]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x140004014
cmp ecx, 6
jne 0x140003f6c
mov rcx, qword [0x140142818]
mov r9d, 4
mov rdx, r12
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
jmp 0x140004014
cmp ecx, 0xf
jne 0x140003f95
mov rcx, qword [0x140142818]
mov r9d, 0x24
mov rdx, r12
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
jmp 0x140004014
cmp ecx, 0x18
jne 0x140003fbe
mov rcx, qword [0x140142818]
mov r9d, 0x35
mov rdx, r12
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
jmp 0x140004014
cmp ecx, 0x17
jne 0x140003fe7
mov rcx, qword [0x140142818]
mov r9d, Ordinal_52
mov rdx, r12
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
jmp 0x140004014
cmp ecx, 0x21
jne 0x140004010
mov rcx, qword [0x140142818]
mov r9d, reloc.LMGR10.dll_Ordinal_33
mov rdx, r12
lea r8, [rcx + 0x404]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
jmp 0x140004014
mov edi, dword [rsp + 0x58]
cmp edi, 3
jne 0x140004021
mov dword [rbx], 1
jmp 0x140004069
cmp edi, 2
jne 0x14000402a
mov dword [rbx], edi
jmp 0x140004069
cmp edi, 5
jne 0x140004037
mov dword [rbx], 3
jmp 0x140004069
cmp edi, 7
jne 0x140004044
mov dword [rbx], 4
jmp 0x140004069
cmp edi, 1
jne 0x140004051
mov dword [rbx], 5
jmp 0x140004069
cmp edi, 4
jne 0x14000405e
mov dword [rbx], 6
jmp 0x140004069
cmp edi, 6
jne 0x140004069
mov dword [rbx], 7
xor ecx, ecx
call fcn.14002cf64
mov rcx, qword [0x140142818]
xor r9d, r9d
sub rax, rbp
lea edx, [r9 + 1]
mov r8d, 0x3e8
add qword [rcx + 0x60], rax
mov rcx, qword [0x140142818]
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_SetTimer]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret