joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400576b0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r13
push r14
sub rsp, 0x230
mov rax, qword [rsp + 0x280]
xor ebx, ebx
cmp qword [0x14012dee8], rbx
mov r13, r9
mov rsi, r8
mov byte [r9], 0
mov r14, rdx
mov rdi, rcx
mov byte [rax], 0
lea rax, [0x14012dee8]
jne 0x140057774
mov r8, qword [rcx + 0x768]
lea r9, [0x14010aea0]
mov rdx, rax
call fcn.1400575f0
lea r9, [rsp + 0x270]
xor r8d, r8d
mov edx, 0x4000
lea rcx, [0x1400e5100]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
lea r9, [0x14010aeb0]
lea rdx, [0x14012def8]
cmovns rbx, qword [rsp + 0x270]
mov r8, rbx
call fcn.1400575f0
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r8, qword [rdi + 0x788]
lea r9, [0x14010aea0]
lea rdx, [0x14012df08]
call fcn.1400575f0
xor ebx, ebx
lea rax, [0x14012dee8]
test rsi, rsi
jne 0x14005778b
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [r14 + rsi*2], 0
jne 0x140057780
cmp rsi, 0xfd
ja 0x1400578c9
mov qword [rsp + 0x268], rbp
mov qword [rsp + 0x228], r12
mov r12, r14
mov qword [rsp + 0x220], r15
mov r15d, ebx
nop word [rax + rax]
mov ebp, ebx
mov rbx, rax
mov rcx, qword [rbx]
cmp word [rcx], 0
je 0x140057813
mov rax, qword [rbx + 8]
lea rdi, [rsi + rsi]
mov r8, rdi
mov rdx, r12
lea rcx, [rcx + rax*2]
call fcn.1400e2370
movsd xmm0, qword [0x140109630]
movsd qword [rdi + rax], xmm0
lea rcx, [rdi + rax]
movzx eax, word [0x140109638]
mov word [rcx + 8], ax
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140057813
test al, 0x10
je 0x140057879
inc ebp
add rbx, 0x10
cmp ebp, 3
jl 0x1400577c5
mov edx, 0x5f
mov rcx, r14
call fcn.1400c0244
mov rsi, rax
test rax, rax
je 0x1400578b1
sub rsi, r14
sar rsi, 1
cmp rsi, 0xfe
jae 0x1400578b1
lea rbx, [rsi + rsi]
mov rdx, r14
mov r8, rbx
lea rcx, [rsp + 0x20]
lea r12, [rsp + 0x20]
call fcn.1400e2370
xor eax, eax
inc r15d
mov word [rsp + rbx + 0x20], ax
cmp r15d, 2
jge 0x1400578b1
xor ebx, ebx
lea rax, [0x14012dee8]
jmp 0x1400577c0
mov rax, qword [rsp + 0x280]
xor r9d, r9d
mov rcx, qword [rsp + 0x260]
xor r8d, r8d
movsxd rdx, ebp
add rdx, rdx
mov byte [rax], 1
lea rax, [0x14012dee8]
mov rdx, qword [rax + rdx*8]
call fcn.140048920
test eax, eax
jne 0x1400578b1
mov byte [r13], 1
mov r12, qword [rsp + 0x228]
mov rbp, qword [rsp + 0x268]
mov r15, qword [rsp + 0x220]
add rsp, 0x230
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x140062bf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
lea r8, [0x14010b600]
mov edx, 0xfffe
call fcn.1400a1160
mov r9, qword [rsp + 0x90]
lea r10, [0x140000000]
mov r8d, dword [0x14012c2e0]
mov ebp, 0x190
movsxd rdx, eax
mov r11d, 2
mov dword [rsp + 0x98], 0xffffffff
mov eax, r8d
lea rcx, [r9 + rdx*2]
mov qword [rsp + 0xa8], rcx
nop dword [rax + rax]
xor r12b, r12b
mov r13, rcx
test ebp, ebp
jle 0x140062e33
mov edx, ebp
mov esi, r11d
mov qword [rsp + 0xa0], rdx
movsxd rcx, eax
nop
cmp eax, 0x190
lea rdi, [rcx - 0x190]
lea r14d, [rax - 0x190]
cmovl rdi, rcx
cmovl r14d, eax
cmp qword [r10 + rdi*8 + 0x12b660], 0
je 0x140062e08
movzx r15d, r12b
lea eax, [rsi - 1]
xor r12b, r12b
cmp eax, ebp
jge 0x140062d32
test r15b, r15b
jne 0x140062e08
mov edx, dword [r10 + rdi*4 + 0x12b020]
lea eax, [r14 + 1]
xor ebx, ebx
lea rcx, [rdi + 1]
cmp eax, 0x190
cmovl rbx, rcx
mov ebx, dword [r10 + rbx*4 + 0x12b020]
sub ebx, edx
cmp ebx, 0x7fffffff
jbe 0x140062d51
mov r12b, 1
cmp esi, ebp
jne 0x140062d0e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea r10, [0x140000000]
sub ebx, dword [r10 + rdi*4 + 0x12b020]
jmp 0x140062d49
lea rax, [rdi + 2]
mov rbx, 0xfffffffffffffe72
cmp rax, 0x190
cmovl rbx, r11
add rbx, rdi
mov ebx, dword [r10 + rbx*4 + 0x12b020]
sub ebx, edx
jmp 0x140062d51
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea r10, [0x140000000]
sub ebx, dword [r10 + rdi*4 + 0x12b020]
mov r9, qword [rsp + 0x90]
mov rax, qword [r10 + rdi*8 + 0x12b660]
movzx ecx, word [rax + 2]
cmp dword [rsp + 0x98], ecx
je 0x140062da6
mov edx, 0xfffe
mov dword [rsp + 0x98], ecx
mov rax, r13
lea r8, [0x14010b808]
sub rax, r9
mov r9, qword [0x14012b010]
sar rax, 1
sub edx, eax
mov r9, qword [r9 + rcx*8]
mov rcx, r13
call fcn.1400a1160
movsxd rcx, eax
lea r10, [0x140000000]
lea r13, [r13 + rcx*2]
mov rcx, qword [r10 + rdi*8 + 0x12b660]
mov r8d, 0xc8
mov r9d, 0xfffe
mov byte [rsp + 0x30], 1
mov rax, r13
mov byte [rsp + 0x28], r15b
sub rax, qword [rsp + 0x90]
mov rdx, r13
sar rax, 1
sub r9d, eax
mov dword [rsp + 0x20], ebx
cmp r9d, r8d
cmovl r8d, r9d
call fcn.140062e90
mov rdx, qword [rsp + 0xa0]
lea r10, [0x140000000]
mov r9, qword [rsp + 0x90]
mov r13, rax
mov r11d, 2
inc esi
lea eax, [r14 + 1]
sub rdx, 1
lea rcx, [rdi + 1]
mov qword [rsp + 0xa0], rdx
jne 0x140062c80
mov r8d, dword [0x14012c2e0]
mov rcx, qword [rsp + 0xa8]
mov rax, r13
mov edx, 0xfffe
sub rax, r9
sar rax, 1
sub edx, eax
cmp edx, 0x18
jg 0x140062e5f
cmp ebp, 0x78
jl 0x140062e5f
sub ebp, 0x64
mov eax, r8d
sub eax, ebp
add eax, 0x190
jmp 0x140062c60
lea r8, [0x14010b820]
mov rcx, r13
call fcn.1400a1160
movsxd rcx, eax
lea rax, [rcx*2]
add rax, r13
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140063ba0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x450
mov r14, rdx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebp, ebp
test rax, rax
je 0x140063be4
lea r8d, [rbp + 0x64]
mov rcx, rax
lea rdx, [rsp + 0x180]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140063bec
mov word [rsp + 0x180], bp
mov rbx, qword [0x14012cd98]
mov rsi, 0xffffffffffffffff
mov word [rsp + 0x80], bp
test rbx, rbx
je 0x140063cc8
nop dword [rax + rax]
cmp byte [rbx + 0x16], bpl
je 0x140063c62
mov rcx, qword [rbx]
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
mov dword [rsp + 0x20], ebp
xor edx, edx
call fcn.1400df2f4
test rax, rax
je 0x140063c3d
mov rax, qword [rax + 0x20]
jmp 0x140063c46
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r9, rax
lea r8, [0x14010ba68]
mov edx, 0x7d
lea rcx, [rsp + 0x80]
call fcn.1400a1200
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140063c10
cmp word [rsp + 0x80], bp
je 0x140063cc8
lea rcx, [rsp + 0x80]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], bp
jne 0x140063c80
cmp rax, 0x7b
jbe 0x140063cbb
lea rdi, [rsp + 0x80]
mov ebx, 0x7f
lea rdi, [rdi + rax*2]
sub rbx, rax
mov r8, rbx
lea rdx, [0x140108120]
mov rcx, rdi
call fcn.1400d3cf4
mov word [rdi + rbx*2], bp
jmp 0x140063cc8
cmp word [rsp + rax*2 + 0x7e], 0x20
jne 0x140063cc8
mov word [rsp + rax*2 + 0x7e], bp
mov rax, qword [0x14012ab30]
cmp byte [rax + 0x7c], bpl
je 0x140063ce3
cmp byte [0x14012ce0d], bpl
mov ebx, 1
je 0x140063ce5
mov ebx, ebp
mov eax, dword [0x14012ab58]
cmp eax, 1
jle 0x140063cf3
lea ebp, [rax - 1]
mov cl, 1
call fcn.140022620
movzx ecx, al
lea rdx, [rsp + 0x250]
call fcn.140022a70
mov edx, dword [0x14012ab58]
lea r11, [0x140105a00]
mov r10d, dword [0x14012ab38]
lea r8, [0x14010ba70]
mov qword [rsp + 0x70], rax
lea r9, [0x1401059f8]
mov eax, dword [0x14012ab80]
lea rcx, [0x140100be0]
mov dword [rsp + 0x68], eax
sub r10d, ebx
mov dword [rsp + 0x60], edx
lea rax, [rsp + 0x80]
mov dword [rsp + 0x58], r10d
cmp edx, 1
mov edi, 0xfffe
cmovg rcx, r8
mov edx, edi
cmp qword [0x14012ae50], 0
mov r8, r9
mov qword [rsp + 0x50], rcx
mov rcx, r14
mov dword [rsp + 0x48], ebp
cmove r8, r11
cmp qword [0x14012ae58], 0
mov qword [rsp + 0x40], rax
mov eax, dword [0x14012cda8]
cmove r9, r11
mov dword [rsp + 0x38], eax
mov eax, dword [0x14012cdac]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea r8, [0x14010baf0]
mov qword [rsp + 0x20], r9
lea r9, [rsp + 0x180]
call fcn.1400a1160
movsxd rcx, eax
mov edx, edi
sub edx, eax
lea rbx, [r14 + rcx*2]
mov rcx, rbx
call fcn.1400174d0
nop word [rax + rax]
cmp word [rbx + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x140063de0
cmp qword [0x14012ab90], 0
lea rax, [0x14010b820]
lea rbx, [rbx + rsi*2]
lea r8, [0x14010bc60]
mov rcx, rbx
cmovne r8, rax
mov rax, rbx
sub rax, r14
sar rax, 1
sub edi, eax
mov edx, edi
call fcn.1400a1160
lea r11, [rsp + 0x450]
movsxd rcx, eax
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
lea rax, [rbx + rcx*2]
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop r14
ret
Function at 0x140065e00
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x360
mov rbp, rcx
lea r12, [0x140100be0]
mov r15, rcx
movzx r13d, dl
mov rcx, qword [0x14012cdf8]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
mov r14d, eax
cmp eax, 0xffffffff
jne 0x140065f8e
mov rsi, 0xffffffff80000001
mov edi, ebx
nop word [rax + rax]
mov r9d, edi
lea rax, [rsp + 0x3b0]
or r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14010c428]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140066066
mov rcx, qword [rsp + 0x3b0]
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x28], rax
lea rdx, [0x14010c410]
lea rax, [rsp + 0x150]
mov dword [rsp + 0x3a0], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x3b0]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140066064
mov edx, dword [rsp + 0x3a0]
test edx, edx
je 0x140066064
shr edx, 1
mov ecx, edx
dec edx
mov dword [rsp + 0x3a0], edx
cmp word [rsp + rdx*2 + 0x150], bx
jne 0x140065f47
test edx, edx
je 0x140065f43
mov eax, edx
mov r8d, edx
nop word [rax + rax]
lea ecx, [r8 - 1]
mov edx, eax
cmp word [rsp + rcx*2 + 0x150], 0
mov r8d, ecx
jne 0x140065f43
mov dword [rsp + 0x3a0], ecx
mov eax, ecx
mov edx, ecx
test ecx, ecx
jne 0x140065f20
xor ebx, ebx
jmp 0x140065f66
xor ebx, ebx
mov dword [rsp + 0x3a0], ecx
cmp ecx, 0x104
jae 0x140066066
mov word [rsp + rcx*2 + 0x150], bx
mov edx, ecx
test edx, edx
je 0x14006606e
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140066049
test r13b, r13b
je 0x140065fbe
cmp r14d, 0xffffffff
je 0x140065fbe
mov r9, rbp
lea r8, [0x14010c290]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.1400a1160
mov r15, qword [0x14012cdf0]
lea r12, [rsp + 0x50]
mov byte [rsp + 0x40], 0
lea rcx, [0x14012c670]
mov byte [rsp + 0x38], 0
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov r8, r12
mov qword [rsp + 0x28], rbx
mov rdx, r15
mov byte [rsp + 0x20], 0
call fcn.140063e50
test eax, eax
jne 0x140066026
mov r9, rbp
lea r8, [0x14010c2a8]
lea edx, [rax + 0x40]
lea rcx, [rsp + 0xd0]
call fcn.1400a1160
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xorps xmm3, xmm3
lea rcx, [rsp + 0xd0]
lea edx, [r8 + 0x10]
call fcn.1400a7cd0
mov rax, qword [0x140126b60]
lea rcx, [0x140100be0]
test rax, rax
je 0x140066043
mov rax, qword [rax]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ebx, ebx
mov word [rsp + 0x150], bx
test edi, edi
jne 0x14006607c
mov edi, 0x200
jmp 0x140065e60
cmp rsi, 0xffffffff80000002
je 0x140066049
mov rsi, 0xffffffff80000002
jmp 0x140065e53
Function at 0x14008d9e0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x30
mov r14, rdx
mov rbx, rcx
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14008da00
cmp ax, 9
jne 0x14008da06
add rbx, 2
jmp 0x14008d9f1
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
test ax, ax
je 0x14008dc26
cmp word [rbx + 2], 0
lea rcx, [rbx + 2]
jne 0x14008da37
mov word [rdx + 2], ax
mov al, 1
mov byte [rdx], 0
jmp 0x14008dc28
mov byte [rdx], 1
xor sil, sil
mov edx, 0x2b
call fcn.1400c0244
mov rbp, rax
test rax, rax
je 0x14008db18
lea rdi, [rbp - 2]
cmp rdi, rbx
jbe 0x14008da78
nop dword [rax]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14008da6f
cmp ax, 9
jne 0x14008da78
sub rdi, 2
cmp rdi, rbx
ja 0x14008da60
sub rdi, rbx
lea rdx, [0x1401054b0]
sar rdi, 1
mov rcx, rbx
inc rdi
mov r8, rdi
call fcn.1400c53a8
test eax, eax
jne 0x14008da9d
or sil, 1
jmp 0x14008dad7
mov r8, rdi
lea rdx, [0x1401054c0]
mov rcx, rbx
call fcn.1400c53a8
test eax, eax
jne 0x14008dab9
or sil, 4
jmp 0x14008dad7
mov r8, rdi
lea rdx, [0x1401054c8]
mov rcx, rbx
call fcn.1400c53a8
test eax, eax
jne 0x14008dc26
or sil, 0x10
lea rbx, [rbp + 2]
nop dword [rax + rax]
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14008daef
cmp ax, 9
jne 0x14008daf5
add rbx, 2
jmp 0x14008dae0
test ax, ax
je 0x14008dc26
mov edx, 0x2b
lea rcx, [rbx + 2]
call fcn.1400c0244
mov rbp, rax
test rax, rax
jne 0x14008da53
xor ecx, ecx
cmp word [rbx + 2], cx
jne 0x14008dbde
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx ecx, word [rbx]
mov rdi, rax
call qword [sym.imp.USER32.dll_CharLowerW]
mov rbx, rax
cmp ax, 0xa
jne 0x14008db46
mov dl, 0xd
jmp 0x14008dbf9
mov rdx, rdi
movzx ecx, bx
call qword [sym.imp.USER32.dll_VkKeyScanExW]
movsx rdx, ax
mov rcx, rdx
shr rcx, 8
cmp cl, 0xff
jne 0x14008db97
cmp dl, 0xff
jne 0x14008db97
cmp bx, 0x5a
ja 0x14008db86
cmp bx, 0x41
jb 0x14008db9c
movzx edx, bl
cmp bx, 0x5a
ja 0x14008db95
cmp bx, 0x41
jb 0x14008db95
mov cl, 1
jmp 0x14008db97
lea eax, [rbx - 0x61]
cmp ax, 0x19
ja 0x14008db9c
movzx edx, bl
and dl, 0xdf
xor cl, cl
test cl, 0x38
je 0x14008dba0
xor dl, dl
jmp 0x14008dbf9
movzx eax, cl
and al, 6
cmp al, 6
jne 0x14008dbaf
or sil, 8
jmp 0x14008dbcd
test cl, 2
je 0x14008dbbe
test sil, 3
jne 0x14008dbbe
or sil, 1
test cl, 4
je 0x14008dbcd
test sil, 0xc
jne 0x14008dbcd
or sil, 4
test cl, 1
je 0x14008dbf9
test sil, 0x30
jne 0x14008dbf9
or sil, 0x10
jmp 0x14008dbf9
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140023240
movzx edx, al
movzx eax, dl
mov word [r14 + 2], ax
test sil, 1
je 0x14008dc0b
or byte [r14], 8
test sil, 4
je 0x14008dc15
or byte [r14], 0x10
test sil, 0x10
je 0x14008dc1f
or byte [r14], 4
test dl, dl
setne al
jmp 0x14008dc28
xor al, al
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14009c4e0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x30], rbx
mov r14, rdx
mov qword [rbp + 0x38], rsi
mov rbx, rcx
mov esi, 1
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14009c5d4
xor r12d, r12d
xor r9d, r9d
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov dword [rsp + 0x28], r12d
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14009c5d4
mov rbx, 0xffffffffffffffff
nop dword [rax]
cmp word [r14 + rbx*2 + 2], r12w
lea rbx, [rbx + 1]
jne 0x14009c550
lea edx, [rbx + 4]
lea eax, [rdx + rdx]
mov ecx, eax
add rax, 0xf
cmp rax, rcx
ja 0x14009c577
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400de970
sub rsp, rax
lea r8, [0x14010f1e8]
mov r9, r14
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400a1160
lea ebx, [rbx*2 + 6]
mov qword [rsp + 0x20], r12
mov r8d, ebx
lea r9, [rbp + 0x40]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14009c5c2
cmp dword [rbp + 0x40], ebx
je 0x14009c5c5
mov esi, r12d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
cmove esi, r12d
mov rbx, qword [rbp + 0x30]
mov eax, esi
mov rsi, qword [rbp + 0x38]
mov rsp, rbp
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14009d130
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x240
xor esi, esi
mov dword [r11 + 0x10], 0xff
lea rax, [r11 + 0x20]
xor edx, edx
mov qword [rsp + 0x38], rax
lea r9, [r11 + 0x10]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rsi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14009d23c
nop
mov rax, qword [0x1401241d8]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
mov r9d, dword [rax + 0xb0]
lea rax, [rsp + 0x270]
or r9d, 0x20019
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14009d249
mov rcx, qword [rsp + 0x270]
call fcn.14009d130
mov rcx, qword [rsp + 0x270]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14009d249
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test eax, eax
jne 0x14009d249
lea rax, [rsp + 0x278]
mov dword [rsp + 0x268], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x268]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14009d180
xor eax, eax
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret
mov eax, ebx
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret

Function at 0x14009ed30
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x40]
lea r9, [rsp + 0x40]
xor eax, eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x14009ed60
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx + 0x40]
lea r9, [rsp + 0x40]
xor eax, eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret

Function at 0x14009edf0
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x40]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor ecx, ecx
test eax, eax
cmovne rcx, qword [rsp + 0x30]
mov rax, rcx
add rsp, 0x28
ret

Function at 0x1400a29e0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x10020
call fcn.1400de970
sub rsp, rax
mov rdi, rdx
lea rcx, [0x140107e38]
lea rdx, [rsp + 0x20]
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test eax, eax
je 0x1400a2a49
lea rcx, [rbx + 1]
cmp rcx, 0x7fff
ja 0x1400a2a49
lea r8, [rbx*2 + 2]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call fcn.1400e2370
mov eax, ebx
mov rbx, qword [rsp + 0x10030]
add rsp, 0x10020
pop rdi
ret
xor eax, eax
mov word [rdi], ax
mov eax, ebx
mov rbx, qword [rsp + 0x10030]
add rsp, 0x10020
pop rdi
ret
Function at 0x1400a9420
Capabilities:
Enumerate gui resources
Find taskbar

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x104f0
call fcn.1400de970
sub rsp, rax
movzx ebp, dl
mov rdi, rcx
mov byte [rcx], 0
xor ebx, ebx
cmp qword [0x14012c628], rcx
je 0x1400a945e
mov qword [0x14012c628], rcx
mov dword [0x14012c638], ebx
cmp qword [0x14012c630], rbx
jne 0x1400a9481
mov ecx, 0xfa0
call fcn.14009d960
test rax, rax
je 0x1400a9659
mov qword [0x14012c630], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
mov edx, 4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
je 0x1400a94b6
nop dword [rax]
mov rsi, rax
mov edx, 4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
jne 0x1400a94a0
mov r8, qword [0x1401241d8]
sub r8, 0xffffffffffffff80
mov rdx, rsi
mov rcx, rdi
call fcn.1400a9660
test rax, rax
je 0x1400a94db
mov ecx, ebx
mov dword [0x14012c638], ebx
jmp 0x1400a94e1
mov ecx, dword [0x14012c638]
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea rax, [0x140100be0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x9c], ebx
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xd0], xmm1
test bpl, bpl
je 0x1400a952b
test ecx, ecx
mov byte [rsp + 0x99], 0
je 0x1400a9533
mov byte [rsp + 0x99], 1
mov rax, qword [0x14012c630]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], ecx
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x20]
lea rcx, [0x1400a9780]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400a95e2
call qword [sym.imp.USER32.dll_GetLastActivePopup]
mov rcx, rax
xor edx, edx
call fcn.1400a63b0
mov rdx, qword [rsp + 0xa0]
mov r8, qword [0x14012c630]
movsxd rcx, dword [0x14012c638]
test ecx, ecx
jle 0x1400a95b0
mov rax, r8
cmp qword [rax], rdx
je 0x1400a95c4
inc ebx
add rax, 8
cmp ebx, ecx
jl 0x1400a95a1
cmp ecx, 0x1f4
jge 0x1400a95c4
mov qword [r8 + rcx*8], rdx
inc ecx
mov dword [0x14012c638], ecx
mov rax, qword [0x1401241d8]
mov ecx, dword [rax + 0x90]
cmp ecx, 0xffffffff
jle 0x1400a9636
mov edx, 1
call fcn.1400016f0
jmp 0x1400a9636
mov eax, dword [0x14012c638]
test eax, eax
je 0x1400a961c
cmp eax, 1
setg al
mov dword [0x14012c638], ebx
test al, al
je 0x1400a9636
mov rax, qword [0x14012c630]
mov qword [rax], rsi
mov dword [0x14012c638], 1
xor edx, edx
mov rcx, rdi
call fcn.1400a9420
jmp 0x1400a9636
xor edx, edx
lea rcx, [0x1401080b0]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
xor edx, edx
call fcn.1400a63b0
nop
mov rcx, qword [rsp + 0x30]
call fcn.1400c5338
lea r11, [rsp + 0x104f0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140010e00
int3
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
sbb byte [r8 + 0x47], spl
invalid
Function at 0x14000a830
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0xb8
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0xb0], rdx
sub rdx, 0x1c
je 0x14000a87d
jmp 0x14000a85f
mov rax, qword [rsp + 0x28]
sub rax, 0x20
je 0x14000a8af
jmp 0x14000a86c
mov rax, qword [rsp + 0x30]
mov qword [rax], 1
jmp 0x14000a97b
mov rax, qword [0x141071cf0]
mov qword [rsp + 0x48], rax
mov rax, qword [0x141071cf8]
mov qword [rsp + 0x50], rax
mov rax, qword [0x141071d00]
mov qword [rsp + 0x58], rax
mov rax, qword [0x141071d08]
mov qword [rsp + 0x60], rax
jmp 0x14000a8df
mov rax, qword [0x141071d10]
mov qword [rsp + 0x48], rax
mov rax, qword [0x141071d18]
mov qword [rsp + 0x50], rax
mov rax, qword [0x141071d20]
mov qword [rsp + 0x58], rax
mov rax, qword [0x141071d28]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
add rcx, 8
lea rdx, [rsp + 0x68]
mov r8d, 0x28
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x30]
mov qword [rax], 0
mov rax, qword [rsp + 0x38]
add rsp, 0xb8
ret