joyce8/EMBER2024-capa huggingface dataset:
Function at 0x681970
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 [0x006fe598], 0
mov word [rbp + 0x54], 0
lea rcx, [rbp + 0x54]
call sub.user32.dll_GetKeyboardLayoutNameW
mov rcx, qword [0x005616e0]
mov dl, 1
call fcn.00562e10
mov qword [rbp + 0x70], rax
nop
mov rcx, qword [rbp + 0x70]
mov rdx, 0xffffffff80000002
call fcn.005630e0
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x54]
mov r8d, 0xa
call fcn.0040fa30
lea rcx, [rbp + 0x30]
lea rdx, [0x00681b90]
mov r8, qword [rbp + 0x28]
call fcn.0040fd90
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x30]
call fcn.005634f0
test al, al
je 0x681aac
mov rcx, qword [rbp + 0x70]
lea rdx, [rbp + 0x68]
lea r8, [0x00681c04]
call fcn.005641f0
mov rcx, qword [rbp + 0x68]
mov edx, 0x8000
call fcn.0043f710
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
je 0x681aac
nop
mov rcx, qword [rbp + 0x78]
lea rdx, [0x00681c1c]
call fcn.0041c710
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x681aa2
call qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x681aa2
mov rcx, qword [rbp + 0x90]
call fcn.006818e0
test eax, eax
je 0x681a86
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x50], eax
jmp 0x681a90
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 [0x006fe598], al
nop
mov rcx, qword [rbp + 0x78]
call sub.kernel32.dll_FreeLibrary_2
nop
mov rcx, qword [rbp + 0x70]
call fcn.0040b220
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.0040e6d0
lea rcx, [rbp + 0x68]
call fcn.0040e5f0
lea rsp, [rbp + 0x80]
pop rbp
ret

Function at 0x681ca0
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 0x681cfe
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x681cd9
add bx, 0x2000
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x681cee
add bx, 0x4000
mov eax, dword [rbp + 0x30]
test eax, 0x20000000
je 0x681cfe
add bx, 0x8000
mov eax, ebx
lea rsp, [rbp + 0x48]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x693760
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movzx rbx, word [0x006937c8]
mov eax, ecx
test ax, 4
je 0x69377a
or bx, 1
mov eax, ecx
test ax, 8
je 0x693787
or bx, 4
mov eax, ecx
test ax, 1
je 0x693794
or bx, 8
mov eax, ecx
test ax, 2
je 0x6937a1
or bx, 0x10
test cx, 0x10
je 0x6937ac
or bx, 0x20
mov ecx, 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6937c0
or bx, 2
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x6937d0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
movzx rsi, word [0x00693820]
mov ecx, 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x6937f4
or si, 1
mov ecx, 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x693808
or si, 4
test ebx, 0x20000000
je 0x693814
or si, 2
mov eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x6a1d60
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 0x6a1f92
mov rcx, qword [0x004d19c8]
mov dl, 1
call fcn.00503970
mov rcx, qword [rbp + 0x520]
mov qword [rcx + 0x80], rax
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
call fcn.0040e5f0
mov ecx, 0x40
lea rdx, [rbp + 0x2f0]
call sub.user32.dll_GetKeyboardLayoutList
mov dword [rbp + 0x4fc], eax
xor rax, rax
mov ecx, dword [rbp + 0x4fc]
sub ecx, 1
mov dword [rbp + 0x3c], ecx
mov dword [rbp + 0x4f8], eax
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], eax
jg 0x6a1f6a
mov eax, dword [rbp + 0x3c]
add eax, 1
mov dword [rbp + 0x3c], eax
movsxd rax, dword [rbp + 0x4f8]
mov rcx, qword [rbp + rax*8 + 0x2f0]
call fcn.005bf950
test al, al
je 0x6a1f54
movsxd rax, dword [rbp + 0x4f8]
lea rax, [rbp + rax*8 + 0x2f0]
mov qword [rbp + 0x48], rax
mov byte [rbp + 0x50], 0x10
lea rcx, [rbp + 0x70]
lea rdx, [0x006a2024]
lea r8, [rbp + 0x48]
xor r9, r9
call fcn.00433050
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_1
test eax, eax
jne 0x6a1f54
nop
mov dword [rbp + 0x4f4], 0x200
mov rcx, qword [rbp + 0x508]
lea rdx, [0x006a2092]
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_1
test eax, eax
jne 0x6a1f47
lea rcx, [rbp + 0x40]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.0040fa30
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov rcx, rax
mov rdx, qword [rbp + 0x40]
movsxd r8, dword [rbp + 0x4f8]
mov r8, qword [rbp + r8*8 + 0x2f0]
mov rax, qword [rax]
call qword [rax + 0x80]
movsxd rax, dword [rbp + 0x4f8]
mov rcx, qword [rbp + 0x520]
mov rax, qword [rbp + rax*8 + 0x2f0]
cmp rax, qword [rcx + 0x90]
jne 0x6a1f47
mov rax, qword [rbp + 0x520]
lea rcx, [rax + 0x88]
lea rdx, [rbp + 0xf0]
mov r8d, pe_nt_image_headers64
call fcn.0040fa30
nop
mov rcx, qword [rbp + 0x508]
call sub.advapi32.dll_RegCloseKey_1
add dword [rbp + 0x4f8], 1
mov eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4f8], eax
jne 0x6a1e08
nop
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov byte [rax + 0x61], 0
mov rax, qword [rbp + 0x520]
mov rcx, qword [rax + 0x80]
mov dl, 1
call fcn.00503820
mov rax, qword [rbp + 0x520]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0x500], rax
nop
lea rcx, [rbp + 0x40]
call fcn.0040e5f0
mov rax, qword [rbp + 0x500]
lea rsp, [rbp + 0x510]
pop rbp
ret
Function at 0x6a3320
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x0070d4c0]
cmp byte [rax + 0x159], 0
jne 0x6a33c3
cmp qword [0x0070d4f8], 0
jne 0x6a3366
call sub.kernel32.dll_GetCurrentThreadId_1
mov ecx, 3
mov rdx, qword [0x00700748]
xor r8, r8
mov r9d, eax
call sub.user32.dll_SetWindowsHookExW
mov qword [0x0070d4f8], rax
cmp qword [0x0070d4f0], 0
jne 0x6a3388
xor rcx, rcx
xor rdx, rdx
xor r8, r8
xor r9, r9
call sub.kernel32.dll_CreateEventW
mov qword [0x0070d4f0], rax
cmp qword [0x0070d500], 0
jne 0x6a33c3
xor rcx, rcx
mov edx, 0x3e8
mov r8, qword [0x00700740]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread_1
mov qword [0x0070d500], rax
add rsp, 0x48
ret

Function at 0x6a4610
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x50
mov rbp, rsp
mov rbx, rcx
cmp qword [rbx + 0x2d0], 0
je 0x6a46f6
cmp dword [rbx + 0x128], 0
jne 0x6a46ec
mov rax, qword [rbx + 0x2d0]
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x48], dl
lea rcx, [0x006a44f0]
lea rdx, [rbp + 0x40]
call sub.user32.dll_EnumWindows
mov rax, qword [rbx + 0x120]
cmp dword [rax + 0x10], 0
je 0x6a46ec
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 0x6a469a
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rax, qword [rbx + 0x120]
mov esi, dword [rax + 0x10]
sub esi, 1
test esi, esi
jl 0x6a46eb
mov rcx, qword [rbx + 0x120]
mov edx, esi
call fcn.004fbf30
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 0x6a46ab
nop
lea rax, [rbx + 0x128]
add dword [rax], 1
lea rsp, [rbp + 0x50]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6a4a40
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbp, rsp
mov rbx, rcx
mov esi, edx
mov rax, qword [0x0070d4c0]
cmp qword [rax + 0x2d0], 0
je 0x6a4c1a
test sil, sil
jne 0x6a4b39
cmp dword [rbx + 0x138], 0
jne 0x6a4b2a
mov rcx, rbx
call fcn.006a9180
lea rcx, [0x006a48e0]
mov rdx, rax
call sub.user32.dll_EnumWindows
cmp qword [rbx + 0xa8], 0
je 0x6a4aec
mov rax, qword [0x0070d4c0]
cmp byte [rax + 0x193], 0
je 0x6a4aec
mov rax, qword [rbx + 0x1a0]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x6a4ac5
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6a4aeb
mov rax, qword [rbx + 0x1a0]
movsxd rcx, edi
mov rcx, qword [rax + rcx*8]
xor rdx, rdx
call sub.user32.dll_ShowWindow
sub edi, 1
cmp edi, 0xffffffff
jne 0x6a4acd
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6a4b29
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004fbf30
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 0x6a4afd
nop
lea rax, [rbx + 0x138]
add dword [rax], 1
jmp 0x6a4c1a
cmp dword [rbx + 0x138], 0
jle 0x6a4c1a
lea rax, [rbx + 0x138]
sub dword [rax], 1
cmp dword [rbx + 0x138], 0
jne 0x6a4c1a
cmp qword [rbx + 0xa8], 0
je 0x6a4bb9
mov rax, qword [0x0070d4c0]
cmp byte [rax + 0x193], 0
je 0x6a4bb9
mov rax, qword [rbx + 0x1a0]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
test rax, rax
je 0x6a4b8f
mov rax, qword [rax - 8]
lea rdi, [rax - 1]
test edi, edi
jl 0x6a4bb8
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 0x6a4b97
nop
mov rax, qword [rbx + 0x130]
mov edi, dword [rax + 0x10]
sub edi, 1
test edi, edi
jl 0x6a4bf6
mov rcx, qword [rbx + 0x130]
mov edx, edi
call fcn.004fbf30
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 0x6a4bca
nop
mov rax, qword [rbx + 0x130]
mov rcx, rax
mov rsi, qword [rax]
call qword [rsi + 0x10]
lea rcx, [rbx + 0x1a0]
mov rdx, qword [0x0068e978]
call fcn.004117c0
lea rsp, [rbp + 0x38]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x6a5e20
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 0x6a5e8f
cmp byte [rbx + 0x193], 0
jne 0x6a5e8f
mov rcx, qword [rbx + 0x2d0]
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.0040e8b0
xor rax, rax
cmp qword [rsi], 0
je 0x6a5e7a
mov rax, qword [rsi]
mov eax, dword [rax - 4]
test eax, eax
jne 0x6a5e9e
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.0040ec20
jmp 0x6a5e9e
mov rcx, rsi
mov rdx, qword [rbx + 0x118]
call fcn.0040ec20
mov rax, rsi
lea rsp, [rbp + 0x220]
pop rbx
pop rsi
pop rbp
ret
Function at 0x6a9580
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 0x6a9751
mov byte [rbx + 0x193], sil
cmp qword [rbx + 0xa8], 0
je 0x6a96b2
mov rcx, qword [rbx + 0xa8]
call fcn.005b5c90
test al, al
je 0x6a96b2
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x6a96b2
mov rax, qword [rbx + 0xa8]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x6a96b2
test sil, sil
je 0x6a962f
mov rcx, qword [rbx + 0x2d0]
xor rdx, rdx
xor r8, r8
call fcn.00693130
mov rcx, qword [rbx + 0xa8]
call fcn.005b5690
mov rcx, rax
mov dl, 1
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.00693130
jmp 0x6a969a
call sub.user32.dll_GetForegroundWindow
mov rdi, rax
mov rcx, qword [rbx + 0xa8]
call fcn.005b5690
cmp rdi, rax
sete dil
mov rcx, qword [rbx + 0xa8]
call fcn.005b5690
mov rcx, rax
xor rdx, rdx
mov rax, qword [rbx + 0xa8]
movzx r8, byte [rax + 0xa9]
call fcn.00693130
mov rcx, qword [rbx + 0x2d0]
mov dl, 1
mov r8b, 1
call fcn.00693130
test dil, dil
je 0x6a969a
mov rcx, qword [rbx + 0xa8]
call fcn.005b5690
mov rcx, rax
call sub.user32.dll_SetForegroundWindow
mov rcx, qword [rbx + 0xa8]
mov edx, 0xb033
xor r8, r8
xor r9, r9
call fcn.005a90a0
test sil, sil
je 0x6a96fc
mov rax, qword [rbx + 0x2d0]
mov rsi, qword [rbx + 0x2d0]
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 + 0x2d0]
xor rdx, rdx
call sub.user32.dll_SetWindowTextW
jmp 0x6a9751
mov rax, qword [rbx + 0x2d0]
mov rsi, qword [rbx + 0x2d0]
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 + 0x2d0]
mov rax, qword [rbx + 0x118]
mov rcx, rax
call fcn.0040f960
mov rcx, rsi
mov rdx, rax
call sub.user32.dll_SetWindowTextW
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x6b2630
Capabilities:
Hide graphical window

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp qword [rbx + 0xc0], 0
jne 0x6b26e6
mov rcx, qword [rbx + 0x10]
call fcn.005b5690
mov rcx, qword [0x005c8ca8]
mov dl, 1
mov r8, rax
call fcn.005ac360
mov qword [rbx + 0xc0], rax
mov rsi, qword [rbx + 0xc0]
mov rcx, rsi
xor rdx, rdx
call fcn.005cfa00
lea rax, [rsi + 0x4b0]
mov qword [rax + 8], rbx
lea rcx, [0x006b1ca0]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xc0]
call fcn.005b5690
mov rsi, rax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
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 + 0xc0]
call fcn.005b5690
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xe0], 0
jne 0x6b2791
mov rcx, qword [rbx + 0x10]
call fcn.005b5690
mov rcx, qword [0x005c8ca8]
mov dl, 1
mov r8, rax
call fcn.005ac360
mov qword [rbx + 0xe0], rax
mov rsi, qword [rbx + 0xe0]
mov rcx, rsi
mov dl, 1
call fcn.005cfa00
lea rax, [rsi + 0x4b0]
mov qword [rax + 8], rbx
lea rcx, [0x006b1d00]
mov qword [rax], rcx
mov rcx, qword [rbx + 0xe0]
call fcn.005b5690
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
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 + 0xe0]
call fcn.005b5690
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
cmp qword [rbx + 0xd0], 0
jne 0x6b282d
mov rcx, qword [rbx + 0x10]
call fcn.005b5690
mov rcx, qword [0x005c9c80]
mov dl, 1
mov r8, rax
call fcn.005ac360
mov qword [rbx + 0xd0], rax
mov rax, qword [rbx + 0xd0]
mov byte [rax + 0x480], 1
mov rcx, qword [rbx + 0xd0]
call fcn.005b5690
mov rsi, rax
mov ecx, 2
call sub.user32.dll_GetSystemMetrics
mov edi, eax
mov ecx, 3
call sub.user32.dll_GetSystemMetrics
mov rcx, rsi
xor rdx, rdx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 8
call sub.user32.dll_SetWindowPos
mov rcx, qword [rbx + 0xd0]
call fcn.005b5690
mov rcx, rax
xor rdx, rdx
call sub.user32.dll_ShowWindow
add rsp, 0x40
pop rbx
pop rsi
pop rdi
ret
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140013510
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014860
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014880
xor al, al
jmp 0x140014901
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014893
xor al, al
jmp 0x140014901
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400148bd
xor al, al
jmp 0x140014901
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400148d1
xor al, al
jmp 0x140014901
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400148e3
xor al, al
jmp 0x140014901
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400148ff
xor al, al
jmp 0x140014901
mov al, 1
add rsp, 0x38
ret
Function at 0x140012740
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113b6
movzx eax, al
test eax, eax
jne 0x140012760
mov ecx, 7
call fcn.14001132f
nop
mov byte [rsp + 0x20], 0
call fcn.140011343
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x140012784
mov ecx, 7
call fcn.14001132f
nop
jmp 0x1400127dc
cmp dword [0x14001d868], 0
jne 0x1400127d7
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119a
test eax, eax
je 0x1400127b8
mov eax, 0xff
jmp 0x1400128e1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011339
mov dword [0x14001d868], 2
jmp 0x1400127dc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001131b
call fcn.1400112a3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012839
mov rcx, qword [rsp + 0x30]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x140012839
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112da
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001286d
mov rcx, qword [rsp + 0x38]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x14001286d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011370
nop
call fcn.140012990
mov dword [rsp + 0x28], eax
call fcn.140011280
movzx eax, al
test eax, eax
jne 0x14001288c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001289b
call fcn.14001137a
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x1400128e1
add rsp, 0x68
ret
Function at 0x14000131b
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400a3f90
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14011e418]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 7
lea r8, [0x14011e410]
call fcn.1400a3704
mov rsi, rax
test rax, rax
je 0x1400a3fdc
mov rcx, rax
call fcn.140004b51
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1400a3fe7
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001384
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400ebb80
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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x1400ebc54
mov rsi, rax
cmp word [rax], r14w
je 0x1400ebbd3
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1400ebbbb
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1400ebbb7
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x1400ebc54
mov rcx, rbp
call fcn.1400035bc
mov rdi, rax
test rax, rax
je 0x1400ebc47
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1400ebc47
mov rsi, rdi
mov rdi, r14
jmp 0x1400ebc4a
mov rsi, r14
mov rcx, rdi
call fcn.140008e3b
jmp 0x1400ebc57
mov rsi, r14
test rbx, rbx
je 0x1400ebc65
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140001433
Capabilities:
Check os version

Disassembly:
jmp 0x14007195c
sub rsp, 0x178
mov rax, qword [0x1401502e0]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140071a35
mov eax, dword [rsp + 0x44]
sub eax, 5
je 0x1400719e5
cmp eax, 1
je 0x1400719aa
mov dword [0x140156820], 6
jmp 0x140071a1b
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x1400719c3
cmp eax, 1
jne 0x14007199e
mov dword [0x140156820], 4
jmp 0x140071a1b
mov dword [0x140156820], 3
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14000847c
add rsp, 0x178
ret
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140071a51
sub eax, 1
je 0x140071a0b
cmp eax, 1
jne 0x140071a03
mov dword [0x140156820], 2
jmp 0x1400719cd
mov eax, dword [0x140156820]
jmp 0x140071a16
mov eax, 1
mov dword [0x140156820], eax
cmp eax, 4
jl 0x1400719cd
call fcn.1400050c9
call fcn.140003bfc
cmp dword [0x140156820], 6
jl 0x1400719cd
call fcn.1400056e6
jmp 0x1400719cd
lea rcx, [rsp + 0x20]
call fcn.140005236
lea rdx, [0x14014e850]
lea rcx, [rsp + 0x20]
call fcn.140007829
int3
and dword [0x140156820], 0
lea rcx, [rsp + 0x20]
call fcn.140005236
lea rdx, [0x14014e850]
lea rcx, [rsp + 0x20]
call fcn.140007829
int3

Function at 0x140001483
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14005b408
movabs rcx, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14005b43b
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14005b41d
mov eax, ecx
ret

Function at 0x1400014d3
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14004e578
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x14004e5b1
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x14004e593
mov eax, ecx
ret