Function at 0x1401a6ff0
Capabilities:
Create thread
Get thread local storage value
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x1404af540]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r12d, r12d
mov dword [rbp + 0x2f], r12d
call fcn.1401aa410
call fcn.1401ab0c0
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
je 0x1401a712c
call fcn.1401aa410
mov rbx, rax
mov qword [rbp + 0x2f], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r15, qword [rdi]
call fcn.1401aa410
lea rsi, [rax + 0x28]
mov r14, qword [rsi]
mov rax, qword [r14 + 8]
mov qword [rbp - 0x39], rax
mov dword [rbp - 0x31], r12d
mov rcx, r14
cmp byte [rax + 0x19], r12b
jne 0x1401a70a9
mov qword [rbp - 0x39], rax
cmp dword [rax + 0x20], 0
jge 0x1401a7096
mov dword [rbp - 0x31], r12d
mov rax, qword [rax + 0x10]
jmp 0x1401a70a3
mov dword [rbp - 0x31], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401a7082
cmp byte [rcx + 0x19], 0
jne 0x1401a70c0
cmp dword [rcx + 0x20], 0
jg 0x1401a70c0
mov rax, qword [rdi]
cmp qword [rcx + 0x28], rax
je 0x1401a7117
jmp 0x1401a711e
movabs rax, 0x555555555555555
cmp qword [rsi + 8], rax
je 0x1401a7930
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x51], r12
mov ecx, reloc.SinoSPE.dll_Ordinal_48
call fcn.1403ca490
nop
mov dword [rax + 0x20], r12d
mov qword [rax + 0x28], r15
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], 0
movups xmm0, xmmword [rbp - 0x39]
movaps xmmword [rbp - 0x59], xmm0
mov r8, rax
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.1400d1a10
inc dword [rdi + 0xc]
mov dword [rdi + 0x10], r12d
test rbx, rbx
je 0x1401a712c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x1868
call fcn.1403ca490
mov rbx, rax
mov qword [rbp + 0x2f], rax
xor edx, edx
mov r8d, 0x1868
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9d, 1
mov r8d, 3
lea rdx, [0x1404ba950]
mov rcx, rbx
call fcn.140058f80
mov rsi, rax
test rax, rax
je 0x1401a76e1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
lea r8, [0x1404c4a38]
cmp qword [0x1404c4a50], 7
cmova r8, qword [0x1404c4a38]
mov rax, qword [rax]
mov dword [rsp + 0x40], 0x12c
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], r12d
xor edx, edx
mov r9d, 0xcb0000
mov rcx, rsi
call qword [rax + reloc.SinoSPE.dll_Ordinal_24]
mov qword [0x1404ba678], rax
test rax, rax
je 0x1401a7719
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1401a7719
mov ecx, 0x520
call fcn.1403ca490
mov rdi, rax
mov qword [rbp + 0x27], rax
xor edx, edx
mov r8d, 0x520
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140439438]
mov qword [rdi + 8], rax
lea rax, vtable.nbase::SupportWeakCallback.0
mov qword [rdi + 0x508], rax
mov qword [rdi + 0x510], r12
mov qword [rdi + 0x518], r12
mov dword [rbp + 0x2f], 1
xor edx, edx
mov rcx, rdi
call fcn.1401b3250
lea rax, vtable.ui::WindowImplBase.0
mov qword [rdi], rax
lea rax, vtable.ui::WindowImplBase.2.0
mov qword [rdi + 0x468], rax
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.ui::WindowImplBase.1.0
mov qword [rcx + rdi + 8], rax
lea rax, vtable.PromptForm.0
mov qword [rdi], rax
lea rax, vtable.PromptForm.1.0
mov qword [rdi + 0x468], rax
mov rax, qword [rdi + 8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.PromptForm.2.0
mov qword [rcx + rdi + 8], rax
lea rbx, [rdi + 0x470]
mov qword [rbp - 0x59], rbx
mov dword [rbx], r12d
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
mov ecx, Ordinal_60
call fcn.1403ca490
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbx + 8], rax
lea rcx, [rbx + 0x18]
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov qword [rbx + 0x30], 7
mov qword [rbx + 0x38], 8
mov dword [rbx], 0x3f800000
mov r8, qword [rbx + 8]
mov edx, reloc.SinoSPE.dll_Ordinal_16
call fcn.140005630
nop
mov qword [rdi + 0x4b0], r12
mov qword [rdi + 0x4b8], r12
mov qword [rdi + 0x4c0], r12
mov qword [rdi + 0x4c8], r12
mov qword [rdi + 0x4d0], r12
mov qword [rdi + 0x4d8], r12
mov qword [rdi + 0x4e0], r12
mov qword [rdi + 0x4e8], r12
mov qword [rdi + 0x4f0], r12
mov qword [rdi + 0x4f8], r12
mov qword [rdi + 0x500], r12
mov qword [0x1404bad20], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
lea r8, [0x1404c4b18]
cmp qword [0x1404c4b30], 7
cmova r8, qword [0x1404c4b18]
mov rax, qword [rdi]
mov dword [rsp + 0x40], 0x12c
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 8
xor r9d, r9d
mov rdx, qword [0x1404ba678]
mov rcx, rdi
call qword [rax + reloc.SinoSPE.dll_Ordinal_24]
test rax, rax
je 0x1401a7499
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1401a7499
xor r8d, r8d
xor edx, edx
lea rcx, [0x140171340]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
mov rcx, rsi
call fcn.1401b4430
mov rax, qword [rsi]
mov r10, qword [rax + 0x28]
mov rcx, rsi
cmp dword [0x1404c4be8], 0
je 0x1401a73f2
mov r9b, 1
movzx r8d, r9b
movzx edx, r9b
jmp 0x1401a73fc
xor r9d, r9d
mov r8b, 1
movzx edx, r8b
call r10
mov rcx, qword [0x1404c48f0]
test rcx, rcx
je 0x1401a7411
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rcx, str.MyHotKeyTestReady
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
mov dword [0x1404bac94], eax
lea rcx, str.MyHotKeyTestReady1
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
mov dword [reloc.SinoSPE.dll_Ordinal_1], eax
mov r9d, 0x55
mov r8d, 7
mov edx, dword [0x1404bac94]
mov rcx, qword [0x1404ba678]
call qword [sym.imp.USER32.dll_RegisterHotKey]
mov r9d, 0x54
mov r8d, 6
mov edx, dword [reloc.SinoSPE.dll_Ordinal_1]
mov rcx, qword [0x1404ba678]
call qword [sym.imp.USER32.dll_RegisterHotKey]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov rdx, 0xffffffffffffffff
mov r8, rdx
call qword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
jmp 0x1401a76ec
mov rcx, qword [0x1404bad20]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + reloc.SinoSPE.dll_Ordinal_32]
mov rdx, qword [0x1404bad20]
test rdx, rdx
je 0x1401a74cd
mov rax, qword [rdx + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rdx
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x1404bad20], r12
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax + reloc.SinoSPE.dll_Ordinal_32]
mov qword [0x1404ba678], r12
mov rax, qword [rsi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rsi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], r12
xor r8d, r8d
lea rdx, [0x140419d94]
lea rcx, [rbp + 7]
call fcn.140006340
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
mov qword [rbp - 1], r12
mov r8d, 9
lea rdx, str.MSGBOX_OK
lea rcx, [rbp - 0x19]
call fcn.140006340
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], r12
xor r8d, r8d
lea rdx, [0x140419d94]
lea rcx, [rbp - 0x59]
call fcn.140006340
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r12
mov r8d, 0x21
lea rdx, str.STRING_INIT_GLOBAL_RESOURCE_ERROR
lea rcx, [rbp - 0x39]
call fcn.140006340
nop
mov dword [rsp + 0x50], reloc.SinoSPE.dll_Ordinal_16
mov byte [rsp + 0x48], 1
lea rax, [rbp + 7]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
lea rax, [rbp - 0x59]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8b, 1
lea rdx, [rbp - 0x39]
mov rcx, qword [0x1404ba678]
call fcn.140120d20
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x1401a7619
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a7613
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401a7613
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x1401a765d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a7657
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401a7657
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
nop
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1401a76a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a769b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401a769b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x1401a76e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a76dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401a7929
call fcn.1403ca488
mov ecx, 0xffffffff
call qword [sym.imp.USER32.dll_PostQuitMessage]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1403ca460
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax + reloc.SinoSPE.dll_Ordinal_32]
mov qword [0x1404ba678], r12
mov rax, qword [rsi + 8]
movsxd rcx, dword [rax + 4]
add rcx, 8
add rcx, rsi
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], r12
xor r8d, r8d
lea rdx, [0x140419d94]
lea rcx, [rbp - 0x59]
call fcn.140006340
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r12
mov r8d, 9
lea rdx, str.MSGBOX_OK
lea rcx, [rbp - 0x39]
call fcn.140006340
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
mov qword [rbp - 1], r12
xor r8d, r8d
lea rdx, [0x140419d94]
lea rcx, [rbp - 0x19]
call fcn.140006340
nop
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], r12
mov r8d, 0x21
lea rdx, str.STRING_INIT_GLOBAL_RESOURCE_ERROR
lea rcx, [rbp + 7]
call fcn.140006340
nop
mov dword [rsp + 0x50], reloc.SinoSPE.dll_Ordinal_16
mov byte [rsp + 0x48], 1
lea rax, [rbp - 0x59]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 1
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8b, 1
lea rdx, [rbp + 7]
mov rcx, qword [0x1404ba678]
call fcn.140120d20
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x1401a785e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a7858
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401a7858
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
nop
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1401a78a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a789c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401a789c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x1401a78e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a78e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401a78e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403ca488
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 7
jbe 0x1401a76e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401a76dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401a76dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400d54a0
int3