joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6976f0
Capabilities:
Get keyboard layout

Disassembly:
push rbp
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x90], rcx
nop
mov byte [0x007423e0], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x00581a10]
mov dl, 1
call fcn.00583130
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.005833e0
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.00411800
lea rcx, [rbp + 0x30]
lea rdx, [0x006978d8]
mov r8, qword [rbp + 0x28]
call fcn.00411b30
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.005837d0
test al, al
je 0x69782a
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x0069794c]
call fcn.00584430
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.00445ea0
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x69782a
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x00697964]
call fcn.004216c0
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x697820
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x697820
mov rcx, qword [rbp + 0x90]
call fcn.00697660
test eax, eax
je 0x697804
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x69780e
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x50]
and eax, 1
cmp eax, 1
sete al
mov byte [0x007423e0], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040cfd0
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.00410250
lea rcx, [rbp + 0x68]
call fcn.00410170
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x6979e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rsp
mov rsi, rcx
lea rdi, [rbp + 0x20]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movzx bx, byte [rbp + 0x28]
test bx, bx
je 0x697a3b
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x697a18
add bx, 0x2000
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x697a2c
add bx, 0x4000
mov eax, dword [rbp + 0x30]
test eax, 0x20000000
je 0x697a3b
add bx, 0x8000
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x6adc10
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x006adc74]
mov eax, ecx
test ax, 4
je 0x6adc29
or bx, 1
mov eax, ecx
test ax, 8
je 0x6adc35
or bx, 4
mov eax, ecx
test ax, 1
je 0x6adc41
or bx, 8
mov eax, ecx
test ax, 2
je 0x6adc4d
or bx, 0x10
test cx, 0x10
je 0x6adc58
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6adc6b
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x6adc80
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x006adccc]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6adca3
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6adcb6
or si, 4
test ebx, 0x20000000
je 0x6adcc2
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x6bd3d0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x510
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x520], rcx
nop
mov rax, qword [rbp + 0x520]
cmp qword [rax + 0x80], 0
jne 0x6bd5dd
mov rcx, qword [0x004c58d8]
mov dl, 1
call fcn.00503050
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.00410170
mov ecx, 0x40
lea rdx, [rbp + 0x2f0]
call sub.user32.dll_GetKeyboardLayoutList
mov dword [rbp + 0x4fc], eax
xor eax, eax
mov ecx, dword [rbp + 0x4fc]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x4f8], eax
mov ecx, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], ecx
jg 0x6bd5c0
mov ecx, dword [rbp + 0x3c]
sub ecx, eax
add ecx, 1
mov dword [rbp + 0x3c], ecx
lea rax, [rbp + 0x2f0]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov rcx, qword [rax]
call fcn.005e36f0
test al, al
je 0x6bd5a7
mov rax, qword [rbp + 0x60]
movzx eax, word [rax]
mov dword [rbp + 0x48], eax
mov byte [rbp + 0x50], 0
lea rcx, [rbp + 0x70]
lea rdx, [0x006bd648]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00437ed0
mov rcx, 0xffffffff80000002
mov rdx, rax
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x508]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x6bd5a7
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x006bd6b6]
xor r8, r8
xor r9, r9
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x4f4]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x6bd59a
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411800
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov rcx, rax
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r8, qword [r8]
mov rax, qword [rax]
call qword [rax + 0x80]
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x520]
mov rax, qword [rax]
cmp rax, qword [rcx + 0x90]
jne 0x6bd59a
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.00411800
nop
mov rcx, qword [rbp + 0x508]
call sub.advapi32.dll_RegCloseKey
add qword [rbp + 0x60], 8
mov eax, dword [rbp + 0x3c]
sub eax, 1
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
test eax, eax
jne 0x6bd483
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x49], 0
mov rcx, rax
mov dl, 1
call fcn.00502ee0
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.00410170
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x6be6e0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x00756d78]
cmp byte [rax + 0x159], 0
jne 0x6be77e
cmp qword [0x00756db8], 0
jne 0x6be725
call sub.kernel32.dll_GetCurrentThreadId
mov ecx, 3
mov rdx, qword [0x007447d0]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x00756db8], rax
cmp qword [0x00756db0], 0
jne 0x6be745
xor ecx, ecx
xor edx, edx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x00756db0], rax
cmp qword [0x00756dc0], 0
jne 0x6be77e
xor ecx, ecx
mov edx, 0x3e8
mov r8, qword [0x007447c8]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x00756dc0], rax
add rsp, 0x48
ret

Function at 0x6bfb80
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov rbx, rcx
mov rax, qword [rbx + 0x2e0]
test rax, rax
je 0x6bfc5e
cmp dword [rbx + 0x128], 0
jne 0x6bfc54
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x006bfa80]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp dword [rax + 0x10], 0
je 0x6bfc54
mov rcx, qword [rbp + 0x40]
mov edx, 3
call sub.user32.dll_GetWindow
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x40]
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
test rax, 8
je 0x6bfc02
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x6bfc53
mov rcx, qword [rbx + 0x120]
mov edx, esi
call fcn.004fb090
mov rcx, rax
mov rdx, qword [rbp + 0x40]
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0x213
call sub.user32.dll_SetWindowPos
sub esi, 1
cmp esi, 0xffffffff
jne 0x6bfc13
nop
lea rax, [rbx + 0x128]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6c00d0
Capabilities:
Enumerate gui resources

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
mov rax, qword [0x00756d78]
cmp qword [rax + 0x2e0], 0
je 0x6c0294
test sil, sil
jne 0x6c01bc
cmp dword [rbx + 0x138], 0
jne 0x6c01ad
mov rcx, rbx
call fcn.006c48e0
lea rcx, [0x006bff90]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x6c016f
mov rax, qword [0x00756d78]
cmp byte [rax + 0x193], 0
je 0x6c016f
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x6c0149
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6c016e
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor edx, edx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6c0151
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6c01ac
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004fb090
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6c0180
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x6c0294
cmp dword [rbx + 0x138], 0
jle 0x6c0294
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x6c0294
cmp qword [rbx + 0xa8], 0
je 0x6c0233
mov rax, qword [0x00756d78]
cmp byte [rax + 0x193], 0
je 0x6c0233
mov rax, qword [rbx + 0x1a0]
test rax, rax
je 0x6c020a
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6c0232
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
mov edx, 5
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6c0212
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6c0270
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004fb090
mov rcx, rax
test sil, sil
setne al
movzx rax, al
neg eax
mov edx, eax
call sub.user32.dll_ShowOwnedPopups
sub edi, 1
cmp edi, 0xffffffff
jne 0x6c0244
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x006a5b78]
call fcn.00414c10
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x6c15b0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x220
mov rbp, rsp
mov rbx, rcx
mov rsi, rdx
cmp byte [rbx + 0x158], 0
je 0x6c161c
cmp byte [rbx + 0x193], 0
jne 0x6c161c
mov rcx, qword [rbx + 0x2e0]
lea rdx, [rbp + 0x20]
mov r8d, pe_nt_image_headers64
call sub.user32.dll_GetWindowTextW
mov rcx, rsi
lea rdx, [rbp + 0x20]
mov r8d, eax
call fcn.00410470
xor eax, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x6c1607
mov eax, dword [rcx - 4]
test eax, eax
jne 0x6c162b
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004107e0
jmp 0x6c162b
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.004107e0
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6c4cd0
Capabilities:
Hide graphical window from taskbar

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov esi, edx
cmp sil, byte [rbx + 0x193]
je 0x6c4e91
mov byte [rbx + 0x193], sil
mov rax, qword [rbx + 0xa8]
test rax, rax
je 0x6c4dfb
mov rcx, rax
call fcn.005da310
test al, al
je 0x6c4dfb
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x6c4dfb
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x6c4dfb
test sil, sil
je 0x6c4d7a
mov rcx, qword [rbx + 0x2e0]
xor edx, edx
xor r8, r8
call fcn.006ad600
mov rcx, qword [rbx + 0xa8]
call fcn.005d9ca0
mov rcx, rax
mov dl, 1
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.006ad600
jmp 0x6c4de4
call sub.user32.dll_GetForegroundWindow
mov rdi, rax
mov rcx, qword [rbx + 0xa8]
call fcn.005d9ca0
cmp rdi, rax
sete dil
mov rcx, qword [rbx + 0xa8]
call fcn.005d9ca0
mov rcx, rax
xor edx, edx
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.006ad600
mov rcx, qword [rbx + 0x2e0]
mov dl, 1
mov r8b, 1
call fcn.006ad600
test dil, dil
je 0x6c4de4
mov rcx, qword [rbx + 0xa8]
call fcn.005d9ca0
mov rcx, rax
call sub.user32.dll_SetForegroundWindow
mov rcx, qword [rbx + 0xa8]
mov edx, 0xb033
xor r8, r8
xor r9, r9
call fcn.005cd690
test sil, sil
je 0x6c4e40
mov rcx, qword [rbx + 0x2e0]
mov rax, rcx
mov rsi, rcx
mov rcx, rax
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
or rax, 0x80
mov rcx, rsi
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rcx, qword [rbx + 0x2e0]
xor edx, edx
call sub.user32.dll_SetWindowTextW
jmp 0x6c4e91
mov rcx, qword [rbx + 0x2e0]
mov rax, rcx
mov rsi, rcx
mov rcx, rax
mov edx, 0xffffffec
call sub.user32.dll_GetWindowLongPtrW
and rax, 0xffffffffffffff7f
mov rcx, rsi
mov edx, 0xffffffec
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rsi, qword [rbx + 0x2e0]
mov rax, qword [rbx + 0x118]
mov rcx, rax
call fcn.00411740
mov rcx, rsi
mov rdx, rax
call sub.user32.dll_SetWindowTextW
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x6cfd30
Capabilities:
Hide graphical window

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
cmp qword [rbx + 0xd0], 0
jne 0x6cfdeb
mov rcx, qword [rbx + 0x10]
call fcn.005d9ca0
mov rcx, qword [0x005f2ac0]
mov dl, 1
mov r8, rax
call fcn.005d0840
mov qword [rbx + 0xd0], rax
mov rsi, qword [rbx + 0xd0]
mov rcx, rsi
xor edx, edx
call fcn.006008d0
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x006cf3b0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xd0]
call fcn.005d9ca0
mov rdi, rax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005d9ca0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xf0], 0
jne 0x6cfe9a
mov rcx, qword [rbx + 0x10]
call fcn.005d9ca0
mov rcx, qword [0x005f2ac0]
mov dl, 1
mov r8, rax
call fcn.005d0840
mov qword [rbx + 0xf0], rax
mov rsi, qword [rbx + 0xf0]
mov rcx, rsi
mov dl, 1
call fcn.006008d0
lea rax, [rsi + 0x4d8]
mov qword [rax + 8], rbx
lea rcx, [0x006cf410]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xf0]
call fcn.005d9ca0
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xf0]
call fcn.005d9ca0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x6cff42
mov rcx, qword [rbx + 0x10]
call fcn.005d9ca0
mov rcx, qword [0x005f3b68]
mov dl, 1
mov r8, rax
call fcn.005d0840
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov byte [rsi + 0x4a8], 1
mov rcx, qword [rbx + 0xe0]
call fcn.005d9ca0
mov rdi, rax
mov rcx, rsi
mov edx, 2
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov r13d, eax
mov rcx, rsi
mov edx, 3
mov rax, qword [rsi]
call qword [rax + 0x1c0]
mov rcx, rdi
xor edx, edx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xe0]
call fcn.005d9ca0
mov rcx, rax
xor edx, edx
call sub.user32.dll_ShowWindow
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r13
ret
Function at 0x6d9f30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov byte [rsp - 0x48], 0
mov byte [rsp - 0x1048], 0
sub rsp, 0x1048
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.00410170
lea rcx, [rbp + 0x30]
mov edx, 0x1000
xor r8, r8
call fcn.0040c030
mov qword [rbp + 0x1038], 0xffffffffffffffff
mov rcx, 0xffffffff80000002
lea rdx, [0x006da014]
xor r8, r8
mov r9d, 0x20019
lea rax, [rbp + 0x1038]
mov qword [rsp + 0x20], rax
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x6d9ffb
mov dword [rbp + 0x1030], 0x1000
mov dword [rbp + 0x1034], 1
mov rcx, qword [rbp + 0x1038]
lea rdx, [0x006da040]
xor r8, r8
lea r9, [rbp + 0x1034]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea rax, [rbp + 0x1030]
mov qword [rsp + 0x28], rax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x6d9ffb
cmp dword [rbp + 0x1034], 1
jne 0x6d9ffb
mov rcx, rbx
lea rdx, [rbp + 0x30]
call fcn.004117d0
mov rcx, qword [rbp + 0x1038]
call sub.advapi32.dll_RegCloseKey
mov rax, rbx
lea rsp, [rbp + 0x1048]
pop rbx
pop rbp
ret

Function at 0x6dda60
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
sub rsp, 0x88
mov rbp, rsp
mov qword [rbp + 0xa0], rcx
mov rcx, qword [rbp + 0xa0]
call fcn.00410340
nop
or eax, 0xffffffff
mov dword [rbp + 0x2c], eax
mov rcx, qword [rbp + 0xa0]
xor edx, edx
call fcn.00437000
mov rbx, rax
cmp rbx, 0xffffffffffffffff
je 0x6ddb5c
xor eax, eax
mov dword [rbp + 0x2c], eax
mov rcx, rbx
lea rdx, [rbp + 0x40]
mov r8d, 0x40
call fcn.004370f0
cmp eax, 0x40
jne 0x6ddb54
cmp word [rbp + 0x40], 0x5a4d
jne 0x6ddb54
mov rcx, rbx
mov edx, dword [rbp + 0x7c]
xor r8, r8
call fcn.00437150
cmp eax, dword [rbp + 0x7c]
jne 0x6ddb54
mov rcx, rbx
lea rdx, [rbp + 0x3c]
mov r8d, 4
call fcn.004370f0
cmp eax, 4
jne 0x6ddb54
cmp dword [rbp + 0x3c], 0x4550
jne 0x6ddb54
mov rcx, rbx
lea rdx, [rbp + 0x3a]
mov r8d, 2
call fcn.004370f0
cmp eax, 2
jne 0x6ddb54
movzx rax, word [rbp + 0x3a]
sub ax, 0x14c
test ax, ax
je 0x6ddb42
sub ax, 0xb4
test ax, ax
je 0x6ddb4c
sub ax, 0x84
test ax, ax
je 0x6ddb4c
sub ax, 0x83e0
test ax, ax
jne 0x6ddb54
jmp 0x6ddb4c
mov eax, 0x20
mov dword [rbp + 0x2c], eax
jmp 0x6ddb54
mov eax, 0x40
mov dword [rbp + 0x2c], eax
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0xa0]
call fcn.00410170
mov eax, dword [rbp + 0x2c]
lea rsp, [rbp + 0x88]
pop rbx
pop rbp
ret
Function at 0x6f6650
Capabilities:
Move file

Disassembly:
push rbp
push rsi
push rbx
add rsp, 0xffffffffffffff80
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0xa8], rdx
mov rcx, qword [rbp + 0xa8]
call fcn.00410340
nop
mov rax, qword [rbp + 0x48]
mov rbx, qword [rax + 0x6e0]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax + 0x2a0]
mov rcx, qword [rbx + 0x4b8]
mov rdx, rcx
lea r8, [rbp + 0x78]
mov rbx, qword [rcx]
mov rcx, rdx
mov rdx, r8
mov r8d, eax
call qword [rbx + 0x18]
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
call fcn.004376e0
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x6e0]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2a0]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6f685b
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x6d8]
call fcn.006ecb30
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x6d8]
mov edx, ebx
call fcn.006ed290
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x6e0]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x1b8]
mov rcx, qword [rbp + 0xa8]
mov dl, 1
call fcn.00437210
test al, al
je 0x6f67a6
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x58], rax
mov byte [rbp + 0x60], 0x11
lea rcx, [rbp + 0x68]
lea rdx, [0x006f68d4]
lea r8, [rbp + 0x58]
xor r9, r9
call fcn.00438000
mov rax, qword [rbp + 0x68]
mov rcx, rax
mov dl, 3
movzx r8, word [0x006f691e]
xor r9, r9
mov dword [rsp + 0x20], 0xffffffff
mov dword [rsp + 0x28], 0xffffffff
mov qword [rsp + 0x30], 0
call fcn.006232f0
cmp eax, 6
jne 0x6f67a6
mov rcx, qword [rbp + 0xa8]
call fcn.00437540
mov rcx, qword [rbp + 0x78]
call fcn.00411740
mov rsi, rax
mov rcx, qword [rbp + 0xa8]
call fcn.00411740
mov rcx, rsi
mov rdx, rax
call sub.kernel32.dll_MoveFileW
test eax, eax
jne 0x6f67ea
mov rcx, qword [0x0042b438]
mov dl, 1
lea r8, [0x006f692c]
call fcn.00440d00
mov rcx, rax
call fcn.0040f440
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x6e0]
mov rcx, rax
mov edx, ebx
mov rbx, qword [rax]
call qword [rbx + 0x2a8]
mov rcx, qword [rbp + 0x48]
xor edx, edx
call fcn.006f5ac0
mov rax, qword [rbp + 0x48]
mov rax, qword [rax + 0x790]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x2a0]
cmp al, 1
jne 0x6f685a
mov rax, qword [rbp + 0x48]
mov rcx, qword [rax + 0x798]
lea rdx, [rbp + 0x50]
call fcn.005cb790
mov rcx, qword [rbp + 0x50]
call fcn.00436aa0
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 0x6d0]
cvtsi2ss xmm1, eax
call fcn.006f01e0
nop
lea rcx, [rbp + 0x50]
call fcn.00410170
lea rcx, [rbp + 0x68]
mov edx, 3
call fcn.00410250
lea rcx, [rbp + 0xa8]
call fcn.00410170
lea rsp, [rbp + 0x80]
pop rbx
pop rsi
pop rbp
ret
Function at 0x140005e10
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x10
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 8], rax
mov dword [rsp], 0
mov eax, 8
mov r10, qword [r8]
mov r11, rdx
mov rbx, rcx
mov qword [rsp], r10
lea r8, [rsp]
lea r9d, [rax - 6]
movzx ecx, word [r8]
dec r9d
movzx edx, word [r8 + 2]
lea r8, [r8 + 4]
add eax, ecx
shl edx, 0xb
mov ecx, eax
shl ecx, 0x10
xor edx, ecx
xor eax, edx
mov ecx, eax
shr ecx, 0xb
add eax, ecx
test r9d, r9d
jg 0x140005e46
mov rdx, qword [rbx + 0x18]
lea ecx, [rax*8]
xor eax, ecx
mov ecx, eax
shr ecx, 5
add eax, ecx
mov ecx, eax
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add eax, ecx
mov ecx, eax
shl ecx, 0x19
xor eax, ecx
mov ecx, eax
shr ecx, 6
add eax, ecx
mov rcx, qword [rbx + 0x30]
and rcx, rax
mov rax, rcx
add rax, rax
mov r8, qword [rdx + rax*8]
lea rax, [rcx + rcx]
mov r9, qword [rdx + rax*8]
lea rdx, [rdx + rax*8]
mov rcx, qword [rbx + 8]
cmp r9, rcx
je 0x140005ef5
mov rax, qword [rdx + 8]
mov rax, qword [rax]
cmp r8, rax
je 0x140005eff
cmp r10, qword [r8 + 0x10]
jne 0x140005efa
cmovne r8, rcx
mov qword [r11], r8
mov rax, r11
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.140006f20
add rsp, 0x10
pop rbx
ret
mov rax, rcx
jmp 0x140005ecd
mov r8, qword [r8]
jmp 0x140005ec1
mov qword [r11], rcx
jmp 0x140005edf
Function at 0x140005f10
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x248
mov rdi, rcx
mov ecx, dword [0x140038044]
cmp ecx, 0xffffffff
jne 0x14000ab68
call fcn.140006030
xor esi, esi
mov dword [rdi + 4], 0xffffffff
mov dword [rdi + 8], esi
mov rax, qword [0x140038a30]
lea ebp, [rsi + 1]
test rax, 0xfffffffffffffffe
jne 0x140005f7b
xor eax, eax
lock cmpxchg qword [0x140038a30], rbp
jne 0x14000ab7c
lea rax, [0x140038a38]
mov qword [0x140038a38], rsi
mov qword [0x140038a30], rax
mov rbx, qword [0x140038a30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r9, qword [0x14003a250]
lea r10, [0x140038a40]
mov r8d, esi
mov eax, r8d
lea rcx, [r9 + 1]
add rcx, rax
movzx edx, cl
lea rax, [rdx + rdx*2]
cmp dword [r10 + rax*8], esi
jne 0x14000aba5
lea rax, [rdx + rdx*2]
mov qword [0x14003a250], rdx
mov dword [r10 + rax*8], ebp
mov qword [r10 + rax*8 + 8], rsi
mov dword [rdi + 4], edx
mov eax, dword [r10 + rax*8 + 0x10]
mov dword [rdi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [rdi + 4]
mov dword [rsp + 0x278], 0xffffffff
mov dword [rsp + 0x270], eax
cmp eax, 0xffffffff
je 0x14000abba
mov eax, dword [rdi + 4]
mov dword [rsp + 0x280], 0x100
mov dword [rsp + 0x288], eax
cmp eax, 0x100
jge 0x14000ac09
mov dword [rdi], ebp
add rsp, 0x248
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140005f37
jmp 0x140005f32
mov rax, qword [0x140038a30]
cmp rax, rbp
jne 0x140005f7b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x140038a30]
cmp rax, rbp
je 0x14000ab8c
jmp 0x140005f7b
inc r8d
cmp r8d, 0x100
jl 0x140005f9c
jmp 0x140005fd6
lea r8, str.slot____kInvalidSlotValue
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x270]
call fcn.14000c8c8
test rax, rax
je 0x140005ffd
mov r9, rax
lea rdx, str.z:_build_build_src_security_sandbox_chromium_base_threading_thread_local_storage.cc
mov r8d, 0x11b
lea rcx, [rsp + 0x28]
call fcn.14000cae4
lea rcx, [rsp + 0x28]
call fcn.14000cd3c
nop
jmp 0x140005ffd
lea r8, str.slot____kThreadLocalStorageSize
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x288]
call fcn.14000c8c8
test rax, rax
je 0x14000601d
mov r9, rax
lea rdx, str.z:_build_build_src_security_sandbox_chromium_base_threading_thread_local_storage.cc
mov r8d, 0x11c
lea rcx, [rsp + 0x130]
call fcn.14000cae4
lea rcx, [rsp + 0x130]
call fcn.14000cd3c
nop
jmp 0x14000601d