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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14003a060]
xor rax, rsp
mov qword [rbp + 0x70], rax
and qword [rsp + 0x38], 0
mov r15, rcx
movdqa xmm0, xmmword [0x14002ae90]
xor edi, edi
movdqu xmmword [rsp + 0x48], xmm0
mov rcx, qword [rsp + rdi*8 + 0x48]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareJavaSoftJava_Runtime_Environment
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140006e4d
mov r14, qword [rsp + 0x38]
lea r8, [rsp + 0x60]
mov rcx, r14
mov r9d, 0x104
xor edx, edx
xor esi, esi
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x140006e4d
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x60]
inc esi
call fcn.14000712c
test eax, eax
je 0x140006d8e
test rbx, rbx
je 0x140006d81
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140007244
test eax, eax
jle 0x140006d8e
mov rcx, rbx
call fcn.1400011d4
lea rcx, [rsp + 0x60]
call fcn.14000126c
mov rbx, rax
mov r9d, 0x104
lea r8, [rsp + 0x60]
mov edx, esi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x140006d4f
test rbx, rbx
je 0x140006e4d
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, rbx
test eax, eax
je 0x140006dee
call fcn.1400011d4
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140006e4d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140006e4d
call fcn.1400011d4
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.JavaHome
lea rax, [rsp + 0x60]
mov dword [rsp + 0x40], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140006de1
test rcx, rcx
je 0x140006e3b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.14000126c
mov rbx, rax
test rax, rax
jne 0x140006e95
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140006e5d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc rdi
cmp rdi, 1
jle 0x140006cfb
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14000ac50
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140006ea5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x140006e6c
Function at 0x140007a8c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rcx
mov ebx, 0x10
mov ecx, ebx
call fcn.1400011a8
lea ecx, [rbx + 0x70]
mov rsi, rax
mov dword [rax + 0xc], ebx
call fcn.1400011a8
and dword [rsi + 8], 0
mov ecx, ebx
mov qword [rsi], rax
call fcn.1400011a8
lea rdx, [0x14003ad80]
mov rcx, r12
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp rax, 0xffffffffffffffff
jne 0x140007b03
mov rcx, r14
call fcn.1400011d4
mov rcx, rsi
call fcn.1400077cc
xor eax, eax
jmp 0x140007c3b
lea r13, [0x14003adac]
mov qword [r14], rax
mov qword [r14 + 8], r13
mov rbp, qword [r14 + 8]
test rbp, rbp
je 0x140007b21
and qword [r14 + 8], 0
jmp 0x140007b3f
mov rcx, qword [r14]
lea rdx, [0x14003ad80]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb rbp, rbp
and rbp, r13
je 0x140007c1e
mov rcx, rbp
call fcn.14000f130
cmp eax, 4
jl 0x140007b11
movsxd rcx, eax
cmp byte [rcx + rbp - 4], 0x2e
jne 0x140007b11
lea rbx, [rcx + rbp]
lea rcx, [rbx - 3]
lea rdx, [0x14002aeb0]
call fcn.1400151e0
test eax, eax
je 0x140007b82
lea rdx, [0x14002aeb4]
lea rcx, [rbx - 3]
call fcn.1400151e0
test eax, eax
jne 0x140007b11
mov edx, 0x3b
mov rcx, rbp
call fcn.14000bf68
test rax, rax
jne 0x140007b11
mov rcx, r12
call fcn.14000f130
mov rcx, rbp
mov rdi, rax
call fcn.14000f130
mov rbx, rax
lea ecx, [rax + rdi]
movsxd rcx, ecx
call fcn.1400011a8
lea ecx, [rdi - 1]
mov rdx, r12
movsxd r8, ecx
mov r15, rax
mov rcx, rax
call fcn.14000b450
lea ecx, [rbx + 1]
mov rdx, rbp
movsxd r8, ecx
movsxd rcx, edi
dec rcx
add rcx, r15
call fcn.14000b450
mov ecx, dword [rsi + 8]
mov eax, dword [rsi + 0xc]
inc ecx
cmp eax, ecx
jge 0x140007c0b
add eax, eax
cmp eax, ecx
jl 0x140007bf0
mov rcx, qword [rsi]
movsxd rdx, eax
shl rdx, 3
mov dword [rsi + 0xc], eax
call fcn.1400011dc
mov qword [rsi], rax
movsxd rcx, dword [rsi + 8]
mov rax, qword [rsi]
mov qword [rax + rcx*8], r15
inc dword [rsi + 8]
jmp 0x140007b11
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [r14 + 8]
call fcn.1400011d4
mov rcx, r14
call fcn.1400011d4
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000b128
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000b172
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000b172
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000b172
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000b172
cmp dword [rcx + 0x84], 0xe
jbe 0x14000b172
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000b174
xor al, al
add rsp, 0x28
ret

Function at 0x14000f570
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000f403
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f403
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f403
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f403
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f403
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f403
cmp dword [rcx + 0xf8], 0
je 0x14000f403
mov ecx, ebx
call fcn.14000f4a4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000f294
cmp dword [rbp + 0x20], 0
je 0x14000f450
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f458
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f39c
Function at 0x14001f418
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14001f3f5
call fcn.14001621c
mov dword [rax], 0x16
call fcn.14001b40c
or eax, 0xffffffff
jmp 0x14001f412
sub dword [rcx + 0x10], 1
jns 0x14001f404
add rsp, 0x28
jmp 0x140025330
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14001f3d4
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x140025362
call fcn.14001621c
mov dword [rax], 0x16
call fcn.14001b40c
jmp 0x14002547f
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14002547f
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14002547f
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140025391
lock or dword [rcx + 0x14], 0x10
jmp 0x14002547f
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400253a5
call fcn.1400254a4
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.14001dacc
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.140019db0
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14002546d
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x140025438
mov rcx, rdi
call fcn.14001dacc
cmp eax, esi
je 0x140025423
mov rcx, rdi
call fcn.14001dacc
cmp eax, 0xfffffffe
je 0x140025423
mov rcx, rdi
call fcn.14001dacc
movsxd rbx, eax
lea r14, [0x14003b9d0]
mov rcx, rdi
sar rbx, 6
call fcn.14001dacc
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14002542a
lea rdx, [0x14003a2e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140025438
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x14002545c
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x14002545c
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x14002545c
mov dword [rdi + 0x20], 0x1000
mov rax, qword [rdi]
add dword [rdi + 0x10], esi
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x140025482
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140003e60
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov qword [rbp - 1], rdi
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], rdi
mov qword [rbp + 0x3f], 7
mov qword [rbp + 0x37], rdi
mov word [rbp + 0x27], di
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], rdi
mov word [rbp + 7], di
lea rsi, [0x140071d28]
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x140003efc
test dword [rcx + 0x1c], 0x10000000
je 0x140003efc
cmp byte [rcx + 0x19], 5
jb 0x140003efc
lea edx, [rdi + 0x10]
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.1400017d0
mov r8d, 0x18
lea rdx, str.SOFTWAREIntelBluetooth
lea rcx, [rbp + 0x27]
call fcn.140002ea0
mov r8d, 8
lea rdx, str.Metrics
lea rcx, [rbp + 7]
call fcn.140002ea0
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rdx, qword [rbp + 0x27]
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
je 0x140003f7d
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x140003fd5
test dword [rcx + 0x1c], 0x10000000
je 0x140003fd5
cmp byte [rcx + 0x19], 2
jb 0x140003fd5
mov edx, 0x11
jmp 0x140003fbb
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test eax, eax
je 0x140003fce
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x140003fd5
test dword [rcx + 0x1c], 0x10000000
je 0x140003fd5
cmp byte [rcx + 0x19], 2
jb 0x140003fd5
mov edx, 0x12
mov r9d, eax
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.140001800
mov rcx, qword [0x140071d28]
mov rax, qword [rbp - 1]
test rax, rax
je 0x140003ff2
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 1], rdi
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x14000401f
test dword [rcx + 0x1c], 0x10000000
je 0x14000401f
cmp byte [rcx + 0x19], 5
jb 0x14000401f
mov edx, 0x13
mov r9d, ebx
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.140001800
nop
mov r8, qword [rbp + 0x1f]
cmp r8, 8
jb 0x140004039
inc r8
mov rdx, qword [rbp + 7]
lea rcx, [rbp + 7]
call fcn.140002f90
mov qword [rbp + 0x1f], 7
mov qword [rbp + 0x17], rdi
mov word [rbp + 7], di
mov r8, qword [rbp + 0x3f]
cmp r8, 8
jb 0x140004063
inc r8
mov rdx, qword [rbp + 0x27]
lea rcx, [rbp + 0x27]
call fcn.140002f90
mov qword [rbp + 0x3f], 7
mov qword [rbp + 0x37], rdi
mov word [rbp + 0x27], di
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140011f50
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400040a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov esi, edx
mov rdi, rcx
xor ebx, ebx
mov rcx, qword [0x140071d28]
lea r14, [0x140071d28]
cmp rcx, r14
je 0x1400040f0
test dword [rcx + 0x1c], 0x10000000
je 0x1400040f0
cmp byte [rcx + 0x19], 5
jb 0x1400040f0
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x14]
lea r8, [0x1400614d0]
call fcn.1400017d0
mov rcx, qword [0x140071d28]
cmp dword [rdi + 4], ebx
jne 0x14000412f
cmp rcx, r14
je 0x1400042c7
test dword [rcx + 0x1c], 0x10000000
je 0x14000429b
cmp byte [rcx + 0x19], 5
jb 0x14000429b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400614d0]
mov edx, 0x15
call fcn.1400017d0
jmp 0x140004294
mov rcx, rdi
call fcn.1400049c0
test eax, eax
jne 0x14000417a
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140004170
test dword [rcx + 0x1c], 0x10000000
je 0x140004170
cmp byte [rcx + 0x19], 2
jb 0x140004170
lea edx, [rax + 0x16]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400614d0]
call fcn.1400017d0
mov rcx, qword [0x140071d28]
mov ebx, 0x139f
jmp 0x14000429b
mov rcx, rdi
call fcn.140004a90
test eax, eax
jne 0x1400041a6
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140004170
test dword [rcx + 0x1c], 0x10000000
je 0x140004170
cmp byte [rcx + 0x19], 2
jb 0x140004170
lea edx, [rax + 0x17]
jmp 0x140004159
lea rcx, [rdi + 0x38]
mov qword [rsp + 0x80], rbp
call fcn.14001286c
test eax, eax
je 0x1400041c2
mov ecx, eax
call fcn.140012994
mov rdx, qword [rdi + 0x88]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], bl
jne 0x1400041eb
cmp dword [rax + 0x1c], esi
jae 0x1400041e0
mov rax, qword [rax + 0x10]
jmp 0x1400041e6
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], bl
je 0x1400041d5
cmp rcx, rdx
je 0x1400041f5
cmp esi, dword [rcx + 0x1c]
jae 0x1400041f8
mov rcx, rdx
cmp rcx, rdx
jne 0x140004275
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140004230
test dword [rcx + 0x1c], 0x10000000
je 0x140004230
cmp byte [rcx + 0x19], 3
jb 0x140004230
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400614d0]
mov edx, 0x18
mov r9d, esi
call fcn.140001800
mov dword [rsp + 0x2d], 1
lea r8, [rsp + 0x38]
movzx eax, byte [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x20], 0xff
lea rcx, [rdi + 0x88]
mov dword [rsp + 0x21], esi
mov qword [rsp + 0x25], rbx
movups xmm0, xmmword [rsp + 0x20]
mov dword [rsp + 0x38], esi
mov byte [rsp + 0x4c], al
movups xmmword [rsp + 0x3c], xmm0
call fcn.14000a6d0
jmp 0x140004278
inc dword [rcx + 0x2d]
lea rcx, [rdi + 0x38]
call fcn.140012890
mov rbp, qword [rsp + 0x80]
test eax, eax
je 0x140004294
mov ecx, eax
call fcn.140012994
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x1400042c7
test dword [rcx + 0x1c], 0x10000000
je 0x1400042c7
cmp byte [rcx + 0x19], 5
jb 0x1400042c7
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400614d0]
mov edx, 0x19
mov r9d, ebx
call fcn.140001800
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140004c30
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r9d, edx
mov dword [rsp + 0x50], edx
mov rdi, rcx
xor ebx, ebx
mov rcx, qword [0x140071d28]
lea rsi, [0x140071d28]
cmp rcx, rsi
je 0x140004c9b
test dword [rcx + 0x1c], 0x10000000
je 0x140004c9b
cmp byte [rcx + 0x19], 5
jb 0x140004c9b
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x3a]
lea r8, [0x1400614d0]
call fcn.1400017d0
mov r9d, dword [rsp + 0x50]
mov rcx, qword [0x140071d28]
mov rax, qword [rdi + 8]
cmp rax, 0xffffffffffffffff
jne 0x140004cda
cmp rcx, rsi
je 0x140004cd3
test dword [rcx + 0x1c], 0x10000000
je 0x140004cd3
cmp byte [rcx + 0x19], 2
jb 0x140004cd3
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3c]
lea r8, [0x1400614d0]
call fcn.1400017d0
mov rcx, qword [0x140071d28]
mov ebx, 0x57
jmp 0x140004d51
xor r8d, r8d
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov rcx, rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 4
lea edx, [r8 + 1]
mov word [rsp + 0x28], bx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x140004d4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x140004d7f
test dword [rcx + 0x1c], 0x10000000
je 0x140004d51
cmp byte [rcx + 0x19], 2
jb 0x140004d51
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400614d0]
mov edx, 0x3c
mov r9d, eax
call fcn.140001800
mov rcx, qword [0x140071d28]
cmp rcx, rsi
je 0x140004d7d
test dword [rcx + 0x1c], 0x10000000
je 0x140004d7d
cmp byte [rcx + 0x19], 5
jb 0x140004d7d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400614d0]
mov edx, 0x3d
mov r9d, ebx
call fcn.140001800
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140011f50
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000eb70
Capabilities:
Access the windows event log

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rcx + 8]
xorps xmm0, xmm0
xor ecx, ecx
mov r14d, r9d
movzx ebp, r8w
movdqu xmmword [rsp + 0x50], xmm0
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x14000ec01
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rcx
mov edx, 2
xor ecx, ecx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov r9d, r14d
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x28], dx
movzx edx, bp
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140011f50
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140014798
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140014829
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140014829
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140014829
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14001480d
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140014807
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14001480f
add rdx, 0x28
jmp 0x1400147ec
xor edx, edx
test rdx, rdx
jne 0x140014818
xor al, al
jmp 0x14001482f
test dword [rdx + 0x24], 0x80000000
je 0x140014825
xor al, al
jmp 0x14001482f
mov al, 1
jmp 0x14001482f
xor al, al
jmp 0x14001482f
add rsp, 0x18
ret

Function at 0x140014fa4
Capabilities:
Terminate process

Disassembly:
push rbx
mov r11d, dword [r8]
mov rbx, rdx
and r11d, 0xfffffff8
mov r9, rcx
test byte [r8], 4
mov r10, rcx
je 0x140014fcf
mov eax, dword [r8 + 8]
movsxd r10, dword [r8 + 4]
neg eax
add r10, rcx
movsxd rcx, eax
and r10, rcx
movsxd rax, r11d
mov rdx, qword [rax + r10]
mov rax, qword [rbx + 0x10]
mov ecx, dword [rax + 8]
add rcx, qword [rbx + 8]
test byte [rcx + 3], 0xf
je 0x140014ff3
movzx eax, byte [rcx + 3]
and eax, 0xfffffff0
cdqe
add r9, rax
xor r9, rdx
mov rcx, r9
pop rbx
jmp fcn.140011f50

Function at 0x140016934
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140016947
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140016f64
lea rdx, [0x14006de28]
lea rcx, [rsp + 0x20]
call fcn.1400338ac
int3

Function at 0x140022ca0
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140074520]
xor edx, edx
jmp fcn.140016934

Function at 0x140023688
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140074520]
jmp fcn.140016934

Function at 0x140026fa0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
xor ebx, ebx
mov ecx, dword [rax + 0xb0]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x140026fc5
mov cl, al
and cl, 3
cmove rbx, rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140030914
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 0x30]
mov rdi, rcx
mov rdx, qword [rax + 0x18]
mov ecx, dword [rdx + 0xb0]
call sub.KERNEL32.dll_TlsGetValue
mov r8, rax
test rax, rax
je 0x14003095f
mov dl, al
and dl, 3
cmp dl, 1
jne 0x14003095f
and r8, 0xfffffffffffffffe
je 0x14003095f
mov rax, qword [rdi + 0x80]
cmp r8, rax
jne 0x14003095f
and qword [r8 + 0x20], 0
jmp 0x140030994
and dword [rsp + 0x28], 0
lea rax, [0x140016d40]
mov qword [rsp + 0x30], rax
jmp 0x140030988
mov rax, qword [rdi + 0x88]
test rax, rax
jne 0x140030994
lea rcx, [rsp + 0x20]
call fcn.140015cb4
mov rax, qword [rdi + 0x80]
test rax, rax
jne 0x140030972
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call fcn.140015000
mov edx, 1
mov rcx, rdi
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp rax

Function at 0x14003b7f0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14003b5c4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003b5c4
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003b5c4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003b5c4
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003b5c4
cmp dword [rcx + 0x84], 0xe
jbe 0x14003b5c4
cmp dword [rcx + 0xf8], esi
je 0x14003b5c4
mov ecx, r14d
call fcn.14003b70c
mov ecx, 2
call fcn.14003a3f8
nop
cmp byte [0x140074a28], 0
jne 0x14003b68e
mov r15d, 1
mov eax, r15d
xchg dword [0x140074a18], eax
test ebx, ebx
jne 0x14003b637
mov rdi, qword [section..data]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140074a20]
cmp rcx, rax
je 0x14003b62e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000d280]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140074a50]
jmp 0x14003b643
cmp ebx, r15d
jne 0x14003b649
lea rcx, [0x140074a68]
call fcn.14003c19c
nop
test ebx, ebx
jne 0x14003b660
lea rdx, [0x140051628]
lea rcx, [0x140051600]
call fcn.14003c800
lea rdx, [0x140051638]
lea rcx, [0x140051630]
call fcn.14003c800
movzx eax, byte [0x140074a28]
test esi, esi
cmove eax, r15d
mov byte [0x140074a28], al
jmp 0x14003b68e
mov ecx, 2
call fcn.14003a44c
test esi, esi
jne 0x14003b6a5
mov ecx, r14d
call fcn.14003b6c0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14003b554
Function at 0x140005c9c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005ce6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005ce6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005ce6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005ce6
cmp dword [rcx + 0x84], 0xe
jbe 0x140005ce6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005ce8
xor al, al
add rsp, 0x28
ret