joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003834c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x90
mov al, byte [rsp + 0xc0]
mov r10, qword [0x140091088]
xor r10, rsp
mov qword [rsp + 0x88], r10
mov dword [rsp + 0x3c], r9d
lea r9, [rsp + 0x58]
mov qword [r9 - 8], 3
lea r10, [rsp + 0x88]
lea r11, [rsp + 0x60]
mov dword [r11 - 8], 0
mov qword [r11], 0
lea rsi, [r11 + 0x10]
add r11, 8
cmp r11, r10
mov r11, rsi
jne 0x14003838c
cmp qword [r8 + 0x18], 8
jb 0x1400383b5
mov r8, qword [r8]
lea r10, [rsp + 0x30]
mov qword [r10], r8
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x48], r10
mov r8d, dword [rsp + 0x40]
mov dword [r9], r8d
mov r8d, dword [rsp + 0x44]
mov dword [r9 + 4], r8d
mov r8, qword [rsp + 0x48]
mov qword [r9 + 8], r8
mov r9d, 2
mov dword [rsp + 0x40], r9d
lea r8, [rsp + 0x3c]
mov qword [rsp + 0x48], r8
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x44]
mov rsi, qword [rsp + 0x48]
lea r8, [rsp + 0x50]
mov dword [r8 + 0x18], r10d
mov dword [r8 + 0x1c], r11d
mov qword [r8 + 0x20], rsi
movzx eax, al
lea r10, [rsp + 0x2c]
mov dword [r10], eax
mov dword [rsp + 0x40], r9d
mov qword [rsp + 0x48], r10
mov eax, dword [rsp + 0x40]
mov dword [r8 + 0x28], eax
mov eax, dword [rsp + 0x44]
mov dword [r8 + 0x2c], eax
mov rax, qword [rsp + 0x48]
mov qword [r8 + 0x30], rax
mov rcx, qword [rcx + 0x20]
call fcn.140011594
mov esi, eax
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140052880
mov eax, esi
add rsp, 0x90
pop rsi
ret

Function at 0x14003ad50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret

Function at 0x14003bcf0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14003bd05
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x14003e996
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, r8
mov r8, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
mov r10, qword [rsp + 0x88]
mov qword [rsi], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor r14d, r14d
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14003ea2e
mov rbx, rax
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x140042b50
sub rsp, 0x28
mov eax, dword [0x140093fe8]
mov ecx, dword [0x140094580]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg case.default.0x140042b80
mov rax, qword [0x140093fe0]
add rsp, 0x28
jmp qword [case.0x140042b80.0]
lea rcx, [0x140093fe8]
call fcn.140052f34
cmp dword [0x140093fe8], 0xffffffff
jne 0x140042b75
lea rcx, [0x140079830]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlGetLastNtStatus
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140093fe0], rax
lea rcx, [0x140093fe8]
call fcn.140052ed4
jmp 0x140042b75
jmp rax
jmp qword [case.0x140042b80.0]
Function at 0x14003f361
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x140091088]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x3c], r9d
mov rax, qword [rdx]
mov qword [rsp + 0x30], rax
cmp r8, 4
jb 0x14003f3b0
cmp word [rax], 0x5c
jne 0x14003f3b5
cmp word [rax + 2], 0x3f
jne 0x14003f3b5
cmp word [rax + 4], 0x3f
jne 0x14003f3b5
mov bl, 1
cmp word [rax + 6], 0x5c
jne 0x14003f3b5
jmp 0x14003f4a2
test r8, r8
je 0x14003f3ca
xor edx, edx
cmp word [rax + rdx*2], 0x7e
je 0x14003f4a0
inc rdx
cmp r8, rdx
jne 0x14003f3b7
mov al, byte [rsp + 0xc0]
lea rdx, [rsp + 0x58]
mov qword [rdx - 8], 3
lea r8, [rsp + 0x88]
lea r9, [rsp + 0x60]
mov dword [r9 - 8], 0
mov qword [r9], 0
lea r10, [r9 + 0x10]
add r9, 8
cmp r9, r8
mov r9, r10
jne 0x14003f3eb
mov dword [rsp + 0x40], 1
lea r8, [rsp + 0x30]
mov qword [rsp + 0x48], r8
mov r8d, dword [rsp + 0x40]
mov dword [rdx], r8d
mov r8d, dword [rsp + 0x44]
mov dword [rdx + 4], r8d
mov r8, qword [rsp + 0x48]
mov qword [rdx + 8], r8
mov r8d, 2
mov dword [rsp + 0x40], r8d
lea rdx, [rsp + 0x3c]
mov qword [rsp + 0x48], rdx
mov r9d, dword [rsp + 0x40]
mov r10d, dword [rsp + 0x44]
mov r11, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov dword [rdx + 0x18], r9d
mov dword [rdx + 0x1c], r10d
mov qword [rdx + 0x20], r11
movzx eax, al
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x48], r9
mov eax, dword [rsp + 0x40]
mov dword [rdx + 0x28], eax
mov eax, dword [rsp + 0x44]
mov dword [rdx + 0x2c], eax
mov rax, qword [rsp + 0x48]
mov qword [rdx + 0x30], rax
call fcn.14003ee94
mov ebx, eax
jmp 0x14003f4a2
mov bl, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140052880
mov eax, ebx
add rsp, 0x90
pop rbx
ret
Function at 0x140042da0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x140091088]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x140042ef7
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140042dfd
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x140042dfd
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x140042f3a
cmp qword [rdi + 0x80], 0
je 0x140042efb
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x140042e37
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x140042f02
movaps xmm0, xmmword [0x140076960]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x5f], sil
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
lea r10, [rsp + 0x48]
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r8
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r8
lea rbx, [rsp + 0x5f]
mov r8, rbx
call qword [case.0x140042b80.0]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x140042f1a
mov r15, qword [rsp + 0x48]
sub r15, r14
je 0x140042ee7
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call fcn.140060f8c
cmp r15, rax
jne 0x140042f38
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rbx
mov eax, 0xffffffff
jmp 0x140042f33
xor esi, esi
jmp 0x140042f3a
mov esi, 0xffffffff
jmp 0x140042f3a
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call fcn.140061028
cmp eax, 0xffffffff
cmove esi, eax
jmp 0x140042f3a
cmp eax, 3
jne 0x140042f38
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call fcn.140061028
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140052880
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400433c0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x14004345d
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140043464
mov r15, rsi
jmp 0x14004341b
cmp r15, r14
cmovb r14, r15
mov rcx, rdi
mov r8, r14
call fcn.140054b10
add rdi, r14
sub r15, r14
mov rax, qword [rbx + 0x50]
sub dword [rax], r14d
mov rax, qword [rbx + 0x38]
add qword [rax], r14
test r15, r15
jle 0x140043455
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140043433
mov rax, qword [rbx + 0x50]
mov r14d, dword [rax]
test r14d, r14d
jg 0x1400433f0
mov rax, qword [rbx]
mov rax, qword [rax + 0x38]
mov rcx, rbx
call qword [case.0x140042b80.0]
cmp eax, 0xffffffff
je 0x140043455
mov byte [rdi], al
inc rdi
dec r15
test r15, r15
jg 0x14004341b
sub rsi, r15
jmp 0x14004355a
xor esi, esi
jmp 0x14004355a
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400434b7
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x1400434b7
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call fcn.140054b10
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x1400434c8
jmp 0x140043557
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x140043557
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x140043500
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
nop word cs:[rax + rax]
cmp r14, 0x1000
jb 0x140043533
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.14006063c
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x140043500
jmp 0x140043557
test r14, r14
je 0x140043554
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call fcn.14006063c
sub r14, rax
jmp 0x140043557
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140043570
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140043610
mov r14, rsi
test rsi, rsi
jle 0x140043684
mov r14, rsi
jmp 0x1400435cf
cmp r14, r15
cmovb r15, r14
mov rdx, rdi
mov r8, r15
call fcn.140054b10
add rdi, r15
sub r14, r15
mov rax, qword [rbx + 0x58]
sub dword [rax], r15d
mov rax, qword [rbx + 0x40]
add qword [rax], r15
test r14, r14
jle 0x140043684
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400435e7
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax]
test r15d, r15d
jg 0x1400435a0
movzx edx, byte [rdi]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
call qword [case.0x140042b80.0]
cmp eax, 0xffffffff
je 0x140043684
inc rdi
dec r14
test r14, r14
jg 0x1400435cf
jmp 0x140043684
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14004365d
test rsi, rsi
jle 0x14004365d
mov rax, qword [rbx + 0x58]
mov r15d, dword [rax]
test r15d, r15d
jle 0x14004365d
cmp r15, rsi
cmovae r15, rsi
mov rdx, rdi
mov r8, r15
call fcn.140054b10
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x58]
sub dword [rax], r15d
mov rax, qword [rbx + 0x40]
add qword [rax], r15
test r14, r14
jg 0x140043665
jmp 0x140043684
mov r14, rsi
test r14, r14
jle 0x140043684
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x140043684
mov edx, 1
mov rcx, rdi
mov r8, r14
call fcn.140060f8c
sub r14, rax
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140043a80
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, qword [0x140091088]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x140043b5f
mov rsi, rcx
cmp byte [rcx + 0x71], 0
je 0x140043b5f
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xffffffff
call qword [case.0x140042b80.0]
cmp eax, 0xffffffff
je 0x140043b5d
movaps xmm0, xmmword [0x140076960]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x28], rax
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [case.0x140042b80.0]
cmp eax, 3
je 0x140043b76
cmp eax, 1
je 0x140043b2d
test eax, eax
jne 0x140043b5d
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140043b53
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call fcn.140060f8c
cmp rbx, rax
jne 0x140043b5d
cmp byte [rsi + 0x71], 0
sete dil
jmp 0x140043b5f
xor edi, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140052880
mov eax, edi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x71], 0
mov dil, 1
jmp 0x140043b5f
Function at 0x1400457f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x140091088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov r8d, 0x103
lea rdx, [rsp + 0x40]
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400458e2
lea rcx, [rsp + 0x40]
call fcn.140045710
test al, al
je 0x140045853
call fcn.1400454c0
test al, al
je 0x1400458e2
mov byte [rbx], 1
mov al, 1
jmp 0x1400458e4
lea r9, [rsp + 0x40]
mov r8, rdi
lea rdx, str.The_environment_variable__s__with_the_value_of__s__does_not_point_to_a_valid_JVM_installation.
lea rcx, [rsp + 0x150]
call fcn.14004f2a0
mov edx, 0x72
lea rcx, [rsp + 0x20]
call fcn.140044f80
cmp qword [rsp + 0x38], 0x10
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x150]
cmovae r8, qword [rsp + 0x20]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rdx, qword [rsp + 0x38]
mov byte [rbx], 0
cmp rdx, 0x10
jb 0x1400458de
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400458d9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140045905
call fcn.1400528a0
mov al, 1
jmp 0x1400458e4
xor al, al
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140052880
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret
call fcn.14005cf9c
int3
Function at 0x140046d10
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x490
mov rax, qword [0x140091088]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, rdx
mov r9d, 0x104
lea r8, [rsp + 0x270]
mov edx, ecx
mov rcx, qword [0x140095900]
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x140046e8f
mov r8d, 0x104
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], di
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140046d96
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.14004e680
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140044e50
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140046df9
mov qword [rdx], rdi
mov qword [rdx + 0x10], rdi
mov qword [rdx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
add qword [rbx + 8], 0x20
jmp 0x140046e05
mov r8, rax
mov rcx, rbx
call fcn.14004f800
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140046e3e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046eb6
call fcn.1400528a0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140046e8f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046e8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046eb0
call fcn.1400528a0
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140052880
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop rdi
ret
call fcn.14005cf9c
nop
call fcn.14005cf9c
nop
int3
Function at 0x14006c0a0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14006bf40
call fcn.14005de04
mov dword [rax], 0x16
call fcn.14005cf7c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14006bf28
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14006bf28
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14006bf72
lock or dword [rax + 0x14], 0x10
jmp 0x14006bf28
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14006bf8f
mov rcx, qword [rbp + 0x10]
call fcn.14006c294
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140060118
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14006b978
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14006bfe6
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14006bf28
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14006c052
mov rcx, qword [rbp + 0x10]
call fcn.140060118
cmp eax, 0xffffffff
je 0x14006c039
mov rcx, qword [rbp + 0x10]
call fcn.140060118
cmp eax, 0xfffffffe
je 0x14006c039
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.140060118
movsxd rdi, eax
lea rsi, [0x1400953c0]
mov rcx, rbx
sar rdi, 6
call fcn.140060118
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14006c040
lea rax, [0x1400912d0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14006c052
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14006c088
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14006c084
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14006c084
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14006bf2b
jmp 0x14006bef8
Function at 0x7c015998
Capabilities:
Encode data using xor

Disassembly:
sub byte [rdx], al
invalid
movabs byte [0xaa4a99b73db38e57], al
mov al, 0xb4
int1
xor r8b, r11b
pop rbp
ja 0x7c015992
cmpsd dword [rsi], dword [rdi]
jb 0x7c0159ea
cmpsd dword [rsi], dword [rdi]
movsd dword [rdi], dword [rsi]
shr dword [rsp + rax + 0x481a1052], 1
sbb dword [rbp + 0x1a], ebp
mov ch, byte [rcx]
mov esi, 0x61edc34f
out dx, al
jrcxz 0x7c015a17
test byte [rbp - 0x1ed772af], bl
sbb eax, 0xcac3eeff
ror dword [rbx - 0x107e117f], cl
mov eax, 0xaa5cd577
leave
invalid
add ecx, dword [rax + rax*4 + 0x1e]
leave
imul edx, esi, 0x2c
in eax, 0x10
retf
xchg edi, eax
std
invalid
Function at 0x140001260
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rsi, rcx
call sym.RuntimeBroker.exe_interception_create_context
mov rdi, rax
mov qword [rsi + 0x28], rax
xor ebp, ebp
mov eax, 0x1000
mov word [rsp + 0x80], ax
test rdi, rdi
je 0x1400012e0
mov ebx, ebp
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400012d5
lea eax, [rbx - 0xa]
cmp eax, 9
ja 0x1400012d5
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x80]
mov dword [rsp + 0x28], ebp
mov r9d, 2
mov edx, 0x222010
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
inc ebx
add rdi, 0x10
cmp ebx, 0x14
jl 0x140001291
mov rcx, qword [rsi + 0x28]
mov edx, 0xffffffff
call sym.RuntimeBroker.exe_interception_wait_with_timeout
mov rcx, qword [rsi + 0x28]
mov edx, 0xffffffff
mov dword [rsi + 0x30], eax
call sym.RuntimeBroker.exe_interception_wait_with_timeout
mov rcx, qword [rsi + 0x28]
lea r8, [rsi + 0x34]
mov r9d, 1
mov dword [rsi + 0x30], eax
mov edx, eax
call sym.RuntimeBroker.exe_interception_receive
test eax, eax
jle 0x140001366
nop dword [rax + rax]
mov edx, dword [rsi + 0x30]
mov rcx, qword [rsi + 0x28]
lea eax, [rdx - 0xb]
cmp eax, 9
jbe 0x140001357
mov edx, 0xffffffff
call sym.RuntimeBroker.exe_interception_wait_with_timeout
mov dword [rsi + 0x30], eax
lea r8, [rsi + 0x34]
mov rcx, qword [rsi + 0x28]
mov r9d, 1
mov edx, eax
call sym.RuntimeBroker.exe_interception_receive
test eax, eax
jg 0x140001320
jmp 0x140001366
mov r9d, 1
lea r8, [rsi + 0x34]
call sym.RuntimeBroker.exe_interception_send
mov ecx, 8
call fcn.14008b4a4
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140001700]
xor ecx, ecx
mov dword [rsp + 0x20], ebp
xor edx, edx
mov qword [rax], rsi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400013de
cmp dword [rsp + 0x48], ebp
je 0x1400013d2
vmovups xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x50]
vmovdqa xmmword [rsp + 0x50], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400013d2
mov rbx, qword [rsp + 0x90]
mov al, 1
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x48], ebp
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400013f0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Hash data using fnv
Resolve function by fnv-1a hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, 1
lea r8, [rcx + 0x34]
mov word [rcx + 0x34], si
mov rdi, rcx
mov edx, dword [rcx + 0x30]
mov r9d, esi
mov rcx, qword [rcx + 0x28]
call sym.RuntimeBroker.exe_interception_send
mov word [rdi + 0x34], 2
lea r8, [rdi + 0x34]
mov edx, dword [rdi + 0x30]
mov r9d, esi
mov rcx, qword [rdi + 0x28]
call sym.RuntimeBroker.exe_interception_send
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400014c7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400014c7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400014c2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1400014a0
cmp r8d, 0x2fa62ca8
je 0x1400014cc
test r9d, r9d
jne 0x140001480
mov rax, qword [rax]
jmp 0x140001450
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
vcvttss2si rcx, dword [0x14014acd0]
add rax, r10
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax
Function at 0x1400040b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140004114
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x140004130
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400040f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x160]
mov dword [0x14014ad20], eax
add rsp, 0x150
pop rdi
ret