joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400053a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rcx, qword [0x1403896f8]
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov rdi, r9
mov rbx, r8
mov dword [rbp + 0x6f], 4
xor r14d, r14d
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
mov rsi, rdx
lea rax, [rbp - 0x19]
mov dword [rbp - 0x19], r14d
mov r8, rdi
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 0x10]
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, dword [rbp + 0x67]
lea rdx, [rbp - 1]
test eax, eax
mov r8, rbx
cmovne ecx, r14d
mov dword [rbp + 0x67], ecx
call fcn.140005488
mov r8, rdi
lea rdx, [rbp + 0xf]
mov rbx, rax
call fcn.140005488
movups xmm0, xmmword [rbx]
lea r9, [rbp + 0x1f]
lea rdx, [rbp - 0x11]
movups xmm1, xmmword [rax]
mov eax, dword [rbp + 0x67]
mov dword [rbp + 0x3f], eax
mov al, byte [rbp + 0x67]
mov byte [rsp + 0x20], al
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm1
call fcn.140005884
mov rax, qword [rbp - 0x11]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov qword [rsi], rax
mov rax, rsi
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140005584
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbx, r8
mov rsi, rdx
mov r15, rcx
movups xmm0, xmmword [r8]
movaps xmmword [rsp + 0x20], xmm0
movabs rcx, 0xcbf29ce484222325
psrldq xmm0, 8
movq rax, xmm0
lea r8, [rax + rax]
xor edx, edx
test r8, r8
je 0x1400055ee
mov r9, qword [rsp + 0x20]
movzx eax, byte [rdx + r9]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r8
jb 0x1400055d0
mov r14, qword [r15 + 0x30]
and r14, rcx
mov r12, r14
add r12, r12
mov r11, qword [r15 + 0x18]
mov rdi, qword [r15 + 8]
cmp rdi, qword [r11 + r12*8]
jne 0x14013e31c
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.14000571c
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
cmp rdi, rax
je 0x140005657
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rax, qword [r15 + 0x18]
mov rdx, qword [rax + r12*8]
mov rcx, r14
add rcx, rcx
cmp rdx, qword [r15 + 8]
jne 0x14013e350
mov qword [rax + rcx*8], rbx
mov rax, qword [r15 + 0x18]
mov qword [rax + r12*8 + 8], rbx
mov rcx, r15
call fcn.1400056a8
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rdi, qword [r11 + r12*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r11 + r12*8]
je 0x14000560d
mov rdi, qword [rdi + 8]
lea r8, [rdi + 0x10]
mov rdx, rbx
call fcn.140208384
test al, al
jne 0x14013e324
mov qword [rsi], rdi
mov byte [rsi + 8], al
mov rax, rsi
jmp 0x14000568f
shl r14, 4
add r14, rax
cmp rdx, rdi
jne 0x14013e364
mov qword [r14], rbx
jmp 0x14000567c
mov rax, qword [r14 + 8]
mov rcx, qword [rax]
mov qword [r14 + 8], rcx
cmp rcx, rbx
je 0x14000567c
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + r12*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r12*8 + 8], rcx
jmp 0x14000567c
Function at 0x1400057c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
movups xmm0, xmmword [r8]
xor r9d, r9d
mov rdi, rdx
mov rbp, r8
mov rbx, rcx
movaps xmmword [rax - 0x18], xmm0
movabs rdx, 0xcbf29ce484222325
psrldq xmm0, 8
movq rax, xmm0
lea r10, [rax + rax]
test r10, r10
je 0x14000582d
mov rcx, qword [rsp + 0x20]
movzx eax, byte [r9 + rcx]
movabs r8, 0x100000001b3
xor rdx, rax
inc r9
imul rdx, r8
cmp r9, r10
jb 0x14000580f
mov rsi, qword [rbx + 0x30]
mov r14, qword [rbx + 0x18]
and rsi, rdx
mov rbx, qword [rbx + 8]
add rsi, rsi
mov r11, qword [r14 + rsi*8]
cmp qword [r14 + rsi*8], rbx
jne 0x14013e3be
mov rax, rbx
cmp r11, rax
jne 0x14013e3cb
mov rbp, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x50]
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
mov rax, qword [r14 + rsi*8 + 8]
mov rax, qword [rax]
jmp 0x140005850
lea rdx, [r11 + 0x10]
mov r8, rbp
call fcn.140208384
test al, al
je 0x14013e3e3
mov r11, qword [r11]
jmp 0x140005843
lea r8, [r11 + 0x10]
mov rdx, rbp
call fcn.140208384
test al, al
cmove rbx, r11
jmp 0x140005859
Function at 0x140006d20
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov r10, qword [rcx]
xor r11d, r11d
mov eax, r8d
mov rbx, rdx
test r10, r10
jne 0x14013ec5a
mov r10d, 0x12b9b0a5
mov r8d, eax
test eax, eax
je 0x140006d69
movzx edx, byte [r11 + rbx]
mov ecx, r10d
imul eax, r10d, 0x820
inc r11
shr ecx, 2
add edx, eax
add edx, ecx
xor r10d, edx
cmp r11, r8
jb 0x140006d48
btr r10d, 0x1f
xor edx, edx
mov eax, r10d
div r9d
mov eax, edx
add rsp, 0x20
pop rbx
ret
mov edx, eax
mov r8d, r9d
mov rax, r10
mov rcx, rbx
call qword [case.0x14006b68f.0]
mov edx, eax
jmp 0x140006d76

Function at 0x14000ec94
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
lea rax, [r11 + 0x18]
mov byte [r8], 0
mov qword [r11 - 0x18], rax
mov rbx, r8
lea rax, [r11 + 0x20]
mov dword [rsp + 0x60], 4
mov r8, rdx
mov qword [r11 - 0x20], rax
and qword [r11 - 0x28], 0
mov rdx, rcx
mov r9d, 0x20000010
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jle 0x14000eced
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x140141dbe
xor eax, eax
add rsp, 0x40
pop rbx
ret
cmp dword [rsp + 0x68], 0
setne al
mov byte [rbx], al
jmp 0x14000ecf3

Function at 0x14000efe4
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r8, str.Local__DDrawCheckExclMode__
xor edx, edx
mov ecx, 0x100000
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenMutexW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140141e8c
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1e
mov rcx, rdi
call sub.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject
test eax, eax
je 0x140141ea4
cmp eax, 0x80
jne 0x140141eb3
call fcn.1402a9d14
mov rcx, rdi
mov ebx, eax
call sub.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex
mov rcx, rdi
call sub.api_ms_win_core_handle_l1_1_0.dll_CloseHandle
nop
jmp 0x14000f016

Function at 0x14000f408
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x40
lea rax, [r11 + 0x10]
mov dword [rsp + 0x58], 4
mov qword [r11 - 0x18], rax
lea r8, [0x14030efa0]
lea rax, [r11 + 0x18]
mov rdi, rcx
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRetailDemoOobeWrite
xor ebx, ebx
mov r9d, 0x20010010
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x28], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp dword [rsp + 0x60], ebx
jne 0x140141efa
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x58]
movabs rax, 0x861c46800
mov edx, dword [rsp + 0x5c]
shl rdx, 0x20
or rdx, rcx
mov rcx, qword [rdi + 0x30]
add rcx, rax
cmp rdx, rcx
setb bl
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dl, 1
lea rcx, [0x14038b560]
call fcn.1401c7e9c
xor eax, eax
jmp 0x14000f49f
Function at 0x140012cfc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
test rcx, rcx
je 0x140012d7d
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx + 0x18]
mov rbx, rcx
test r8, r8
jne 0x140149666
mov r8, qword [rbx + 0x40]
test r8, r8
jne 0x14014968b
mov r8, qword [rbx + 0x48]
test r8, r8
jne 0x1401496b0
mov r8, qword [rbx + 0x20]
test r8, r8
jne 0x14014974e
mov r8, qword [rbx + 0x28]
test r8, r8
jne 0x140149773
mov r8, qword [rbx + 0x30]
test r8, r8
jne 0x140149798
mov rcx, qword [rbx + 0x58]
test rcx, rcx
jne 0x1401497bd
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x18], 0
jmp 0x140012d20
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x40], 0
jmp 0x140012d2d
xor esi, esi
cmp dword [r8], esi
jbe 0x140149724
lea rcx, [rsi + rsi*2]
shl rcx, 4
lea rdi, [r8 + 8]
add rdi, rcx
je 0x140149719
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1401496db
call fcn.1402b28c4
and qword [rdi + 0x10], 0
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1401496ee
call fcn.1402b28c4
and qword [rdi + 0x18], 0
mov r8, qword [rdi + 0x28]
test r8, r8
je 0x140149719
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rdi + 0x20], xmm0
mov r8, qword [rbx + 0x48]
inc esi
cmp esi, dword [r8]
jb 0x1401496b7
test r8, r8
je 0x140149744
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x48], 0
jmp 0x140012d3a
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x20], 0
jmp 0x140012d47
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x28], 0
jmp 0x140012d54
mov rcx, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbx + 0x30], 0
jmp 0x140012d61
call fcn.1402498d0
and qword [rbx + 0x58], 0
jmp 0x140012d6e
Function at 0x1400131a4
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
mov rdi, rdx
mov qword [r11 - 0x38], rax
mov rsi, rcx
mov qword [r11 - 0x28], rax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x48], eax
test rcx, rcx
je 0x14001320c
xor r9d, r9d
lea r8d, [rax + 0xc]
lea rdx, [r11 - 0x38]
lea ecx, [rax + 1]
call qword [sym.imp.ntdll.dll_RtlGetNativeSystemInformation]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140149b86
movzx eax, word [rsp + 0x30]
mov word [rsi], ax
test rdi, rdi
jne 0x140149bbd
xor ebx, ebx
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea r9, str.RtlGetNativeSystemInformation_failed___x_
mov r8d, 0x700
jmp 0x140149ba2
lea r9, str.ZwQuerySystemInformation_failed___x_
mov r8d, 0x722
lea rdx, str.AslEnvGetProcessWowInfo
mov dword [rsp + 0x20], eax
mov ecx, 1
call fcn.1400139b4
nop
jmp 0x140013217
xor r9d, r9d
lea rdx, [rsp + 0x40]
lea r8d, [r9 + 0xc]
lea ecx, [r9 + 1]
call qword [sym.imp.ntdll.dll_ZwQuerySystemInformation]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140149b95
movzx eax, word [rsp + 0x40]
mov word [rdi], ax
jmp 0x140013215

Function at 0x140015518
Capabilities:
Parse pe header

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
xor ebx, ebx
cmp qword [rcx + 0x10], rbx
je 0x14014bc1b
cmp qword [rcx + 0x20], rbx
je 0x14014bc1b
lea edi, [rbx + 3]
cmp qword [rcx + 0x10], 0x40
jb 0x14014bbea
mov rdx, qword [rcx + 0x18]
mov dword [rsp + 0x30], edi
lea rax, [rdx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14014bbee
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400155b0
lea edi, [rbx + 4]
mov dword [rsp + 0x30], edi
mov eax, dword [rdx + 0x3c]
mov dword [rsp + 0x70], eax
mov r8d, eax
add rax, rdi
cmp qword [rcx + 0x10], rax
jb 0x1400155b0
lea rax, [r8 + rdx]
mov qword [r11 + 0x18], rax
cmp dword [rax], 0x4550
jne 0x14001559c
lea edi, [rbx + 6]
jmp 0x1400155ac
mov edx, 5
mov ecx, 0x454e
cmp word [rax], cx
cmove edi, edx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], ebx
jmp 0x1400155e7
mov dword [rsi], edi
mov eax, ebx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov dword [rdx], edi
jmp 0x14014bc21
mov ebx, 0xc000000d
mov dword [rsp + 0x20], ebx
lea r9, str.File_mapping_invalid___x_
mov r8d, 0x4e8
lea rdx, str.AslpFileMappingGetFileKind
mov ecx, 1
call fcn.1400139b4
nop
jmp 0x1400155e7
mov dword [rdx], 1
xor eax, eax
jmp 0x1400155eb
Function at 0x1400155fc
Capabilities:
Get file attributes
Map section object

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor eax, eax
xorps xmm0, xmm0
and qword [rbp - 0x29], rax
xorps xmm1, xmm1
and qword [rbp - 0x21], rax
mov sil, dl
and qword [rbp - 0x19], rax
mov rdi, rcx
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp + 0x3f], rax
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm1
cmp qword [rcx + 0x18], rax
jne 0x14014bc28
mov rcx, qword [rcx]
lea r9d, [rax + 0x18]
lea r8, [rbp + 0x2f]
mov dword [rsp + 0x20], 5
lea rdx, [rbp + 0x1f]
call qword [sym.imp.ntdll.dll_ZwQueryInformationFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14014bc32
and qword [rbp - 9], 0
lea r8, [rbp - 0x11]
and dword [rbp + 7], 0
mov al, sil
and qword [rbp - 1], 0
xorps xmm0, xmm0
neg al
mov dword [rbp - 0x11], Ordinal_54
mov rax, qword [rdi]
mov edx, 0xf0005
sbb ecx, ecx
mov qword [rsp + 0x30], rax
and ecx, 0x9000000
xor r9d, r9d
add ecx, 0x8000000
mov dword [rsp + 0x28], ecx
lea rcx, [rbp - 0x29]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rsp + 0x20], 2
call qword [sym.imp.ntdll.dll_ZwCreateSection]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14014bc32
mov rcx, qword [rbp - 0x29]
lea rax, [rbp - 0x19]
mov dword [rsp + 0x48], 2
lea r8, [rbp - 0x21]
mov dword [rsp + 0x40], 0x500000
xor r9d, r9d
mov dword [rsp + 0x38], 2
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_ZwMapViewOfSection]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14014bc32
mov rax, qword [rbp - 0x29]
xor ecx, ecx
mov qword [rdi + 8], rax
xor edx, edx
mov rax, qword [rbp - 0x21]
xor ebx, ebx
mov qword [rdi + 0x18], rax
mov rax, qword [rbp - 0x19]
mov qword [rdi + 0x20], rax
mov rax, qword [rbp + 0x37]
mov qword [rdi + 0x10], rax
mov word [rdi + 0x29], 0x101
mov byte [rdi + 0x2b], sil
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], rdx
test rcx, rcx
jne 0x14014bc3f
test rdx, rdx
jne 0x14014bc54
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ebx, 0xc000010e
jmp 0x140015794
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rbp - 0x21]
jmp 0x140015782
call qword [sym.imp.ntdll.dll_ZwClose]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x21]
jmp 0x14001578b
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_ZwUnmapViewOfSection]
nop dword [rax + rax]
nop
jmp 0x140015794
Function at 0x140018e80
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r15, rdx
mov rdi, rcx
lea r14, str.TrayButton
xor r12d, r12d
cmp qword [rcx + 0x20], r12
cmovne r14, qword [rcx + 0x20]
xor edx, edx
lea r8d, [r12 + 0x48]
lea rcx, [rbp - 0x80]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbp - 0x40], r14
lea rax, [0x14007a7f0]
mov qword [rbp - 0x78], rax
mov rax, qword [0x140389668]
mov qword [rbp - 0x68], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
nop dword [rax + rax]
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x6c], 8
lea rcx, [rbp - 0x80]
call qword [case.0x14004486b.3]
nop dword [rax + rax]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov r8d, dword [rdi + 0x1c]
test r8d, r8d
je 0x140019004
mov rdx, qword [0x140389668]
lea rcx, [rsp + 0x60]
call fcn.140035040
mov ebx, eax
test eax, eax
js 0x14016d236
mov rsi, qword [0x140389668]
mov eax, dword [0x1403887c0]
cmp eax, 0xffffffff
je 0x14001903f
mov ecx, r12d
mov edx, 0x400000
cmp eax, 1
cmove ecx, edx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov r9d, 0x54000000
mov r8, qword [rsp + 0x60]
mov rdx, r14
call qword [0x1403ad708]
nop dword [rax + rax]
test rax, rax
je 0x14016d26f
mov ebx, r12d
lea rcx, [rsp + 0x60]
call fcn.1400813e4
mov eax, ebx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rdi]
mov r8d, DAD_DragLeave
lea rdx, [rbp - 0x30]
mov rcx, rdi
mov rax, qword [rax + 0xb8]
call qword [case.0x14006b68f.0]
test eax, eax
js 0x140018f5a
jmp 0x14016d257
mov ebx, r12d
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x140389678], ax
test ax, ax
je 0x140019064
movzx ecx, ax
call fcn.14006b5d0
mov ebx, eax
mov ecx, r12d
test ebx, ebx
setne cl
xchg dword [0x1403887c0], ecx
mov eax, dword [0x1403887c0]
jmp 0x140018f70
mov rcx, qword [rbp + 0x108]
mov r9d, eax
lea r8, str.pcshell_shellexplorer_traybutton.cpp
mov edx, 0x3b8
call fcn.14001e09c
nop
jmp 0x140018fcc
or r8, 0xffffffffffffffff
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400355d0
nop
jmp 0x140018f5a
mov rcx, qword [rbp + 0x108]
lea r8, str.pcshell_shellexplorer_traybutton.cpp
mov edx, 0x3cd
call fcn.140195678
mov ebx, eax
jmp 0x140018fcc
Function at 0x1400196c8
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov qword [rcx + 0x50], rdx
mov rbx, rcx
mov qword [rcx + 0x30], r8
mov rdx, r9
add rcx, 0x20
call fcn.14000a454
mov rdx, qword [rsp + 0xf0]
lea rcx, [rbx + 0x78]
call fcn.14001a094
xor edx, edx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x48]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [0x14007d650]
mov dword [rsp + 0x60], 3
mov qword [rsp + 0x68], rax
lea r15, str.NotifyIconOverflowWindow
mov rax, qword [0x140389668]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xa0], r15
call qword [sym.imp.USER32.dll_LoadCursorW]
nop dword [rax + rax]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x74], 8
mov qword [rsp + 0x88], rax
call qword [case.0x14004486b.3]
nop dword [rax + rax]
mov eax, dword [0x1403887c0]
xor r14d, r14d
mov rbp, qword [0x140389668]
cmp eax, 0xffffffff
je 0x14001983d
mov qword [rsp + 0x58], rbx
cmp eax, 1
mov qword [rsp + 0x50], rbp
mov eax, 0x80000000
mov qword [rsp + 0x48], r14
mov ecx, DAD_DragLeave
mov qword [rsp + 0x40], r14
mov r8d, 0x400080
mov dword [rsp + 0x38], eax
cmove ecx, r8d
mov dword [rsp + 0x30], eax
mov r9d, 0x80020000
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r15
mov dword [rsp + 0x20], eax
call qword [0x1403ad708]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14016d38c
mov rdx, rax
mov rcx, rbx
call fcn.140019ab4
mov rcx, qword [0x140389690]
mov r8b, 1
mov rdx, rdi
call fcn.140020278
mov edi, eax
test eax, eax
js 0x14016d391
lea r11, [rsp + 0xb0]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov edi, r14d
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x140389678], ax
test ax, ax
je 0x140019862
movzx ecx, ax
call fcn.14006b5d0
mov edi, eax
mov ecx, r14d
test edi, edi
setne cl
xchg dword [0x1403887c0], ecx
mov eax, dword [0x1403887c0]
jmp 0x140019797
mov edi, 0x80004005
lea rcx, [rbx + 0x20]
mov qword [rbx + 0x50], r14
mov qword [rbx + 0x30], r14
call fcn.140081b44
nop
jmp 0x14001981d
Function at 0x140019e60
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, r9
add rcx, 0xb0
mov rsi, r8
call fcn.14001a094
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140019ea8
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rbp, rdx
mov rbx, r8
xor edx, edx
mov rsi, rcx
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x48]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [0x14007d650]
mov edx, 0x7f00
mov qword [rsp + 0x68], rax
lea r15, [0x14030aef0]
mov rax, qword [0x140389668]
xor ecx, ecx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xa0], r15
call qword [sym.imp.USER32.dll_LoadCursorW]
nop dword [rax + rax]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x74], 8
mov qword [rsp + 0x88], rax
call qword [case.0x14004486b.3]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x80]
xor r14d, r14d
cmp rcx, rbx
je 0x140019f7c
test rbx, rbx
je 0x140019f6c
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006b68f.0]
mov rcx, qword [rsi + 0x80]
mov qword [rsi + 0x80], rbx
test rcx, rcx
jne 0x14016d528
mov r8d, 0x104
lea rdx, [rsp + 0xb0]
mov ecx, 0xfffffcc3
mov ebx, 0x80004005
call qword [0x1403ad0f8]
nop dword [rax + rax]
test eax, eax
cmovne ebx, r14d
test ebx, ebx
js 0x14001a01a
mov eax, dword [0x1403887c0]
cmp eax, 0xffffffff
je 0x14001a044
mov qword [rsp + 0x58], rsi
cmp eax, 1
mov rax, qword [0x140389668]
mov ecx, r14d
mov qword [rsp + 0x50], rax
mov r8d, 0x400000
mov qword [rsp + 0x48], r14
cmove ecx, r8d
mov qword [rsp + 0x40], rbp
lea r8, [rsp + 0xb0]
mov dword [rsp + 0x38], r14d
mov r9d, 0x54000000
mov dword [rsp + 0x30], r14d
mov rdx, r15
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [0x1403ad708]
nop dword [rax + rax]
test rax, rax
je 0x14001a082
mov eax, ebx
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov edi, r14d
call qword [sym.imp.api_ms_win_core_localization_obsolete_l1_2_0.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov word [0x140389678], ax
test ax, ax
je 0x14001a069
movzx ecx, ax
call fcn.14006b5d0
mov edi, eax
mov ecx, r14d
test edi, edi
setne cl
xchg dword [0x1403887c0], ecx
mov eax, dword [0x1403887c0]
jmp 0x140019fb9
call fcn.140020b4c
mov ebx, eax
jmp 0x14001a01a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
nop
jmp 0x140019f7c