joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f1c8f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1401184d0]
jne 0x1400e778a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400e7786
repz ret
ror rcx, 0x10
jmp 0x1400f1be8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14011bce0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14011bdd8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400f1c6d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14011bce0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400f1c8f
mov rax, qword [rsp + 0x88]
mov qword [0x14011bdd8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14011bd78], rax
mov rax, qword [0x14011bdd8]
mov qword [0x14011bc50], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14011bd60], rax
mov dword [0x14011bc40], 0xc0000409
mov dword [0x14011bc44], 1
mov rax, qword [0x1401184d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1401184d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14011bcd8], eax
mov ecx, 1
call fcn.1400f0dd4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14010d7d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14011bcd8], 0
jne 0x1400f1d16
mov ecx, 1
call fcn.1400f0dd4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400f3348
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400e4d44
xor ebx, ebx
mov rdi, rax
cmp qword [0x14011c1b8], rbx
jne 0x1400f344e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400f3523
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400f3523
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14010d830]
mov rcx, rsi
mov qword [0x14011c1b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14011c1c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14011c1c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14011c1d8], rax
test rax, rax
je 0x1400f3445
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14011c1d0], rax
jmp 0x1400f3455
mov rax, qword [0x14011c1d0]
jmp 0x1400f345c
mov rax, qword [0x14011c1d0]
mov r11, qword [0x14011c1d8]
cmp rax, rdi
je 0x1400f34c4
cmp r11, rdi
je 0x1400f34c4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14011c1d8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400f34c4
test rax, rax
je 0x1400f34c4
call rsi
test rax, rax
je 0x1400f34be
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400f34be
test byte [rsp + 0x38], 1
jne 0x1400f34c4
bts ebp, 0x15
jmp 0x1400f3502
mov rcx, qword [0x14011c1c0]
cmp rcx, rdi
je 0x1400f3502
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400f3502
call rax
mov rbx, rax
test rax, rax
je 0x1400f3502
mov rcx, qword [0x14011c1c8]
cmp rcx, rdi
je 0x1400f3502
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400f3502
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14011c1b8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400f3523
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400f3525
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1409b1560
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1409b156d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1409b157d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1409b1565
lea eax, [rcx + 1]
jmp 0x1409b158b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1409b159e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1409b1584
sub eax, 3
jb 0x1409b15be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1409b160d
sar eax, 1
movsxd rbp, eax
jb 0x1409b15f4
jmp 0x1409b15cc
add ebx, ebx
jne 0x1409b15ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1409b15f4
inc ecx
add ebx, ebx
jne 0x1409b15da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1409b15f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1409b15ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1409b15dc
add ecx, 2
jmp 0x1409b15f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1409b1522
jmp 0x1409b156d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x9ae000]
mov eax, dword [rdi]
or eax, eax
je 0x1409b1675
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x9b11e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1409b1619
jns 0x1409b164e
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1409b1658
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1409b166f
mov qword [rbx], rax
add rbx, 8
jmp 0x1409b1639
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1409b16b9
cmp al, 0xef
ja 0x1409b16a1
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1409b1681
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1409b1690
mov eax, dword [rdi]
add rdi, 4
jmp 0x1409b1690
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x24f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1409b170d
sub rsp, 0xffffffffffffff80
jmp 0x140559c98
Function at 0x140004bc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140004c1d
lea rbx, [0x140032980]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004c04
cmp r10, 2
jb 0x140004c04
cmp byte [r9], r8b
jne 0x140004c04
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140004be0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004c5f
lea rbx, [0x140032980]
cmp r8b, 0x23
jne 0x140004c43
cmp byte [r9], r8b
jne 0x140004c43
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140004c30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004da0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140004dba
mov qword [r8], 0
lea rdx, [0x140037d70]
call fcn.140004c70
mov rbx, rax
test rax, rax
jne 0x140004dda
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140004eb1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004eb1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004eb1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004eb1
cmp rdi, 0xffffffffffffffff
je 0x140004eb1
mov rax, qword [0x14003e728]
test rax, rax
je 0x140004e4e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140004eb1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140004e9e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14003e728]
test rax, rax
je 0x140004e93
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004eba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140004eac
mov qword [r14], rdi
mov rax, rsi
jmp 0x140004ebc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140007d70
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x140032980]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f2c], ebx
jne 0x140007dfb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001a380
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140013b60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14003e010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14003e728]
mov edi, ecx
cmp byte [rbx + 0x4a85], 0
jne 0x140013bc1
cmp byte [rbx + 0x4a86], 0
jne 0x140013bc1
movsx r9d, word [rbx + 0x5baa]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140004a20
test dil, 1
je 0x140013cef
jmp 0x140013c4a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5baa]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140038724]
mulss xmm1, dword [0x140038718]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x1400386b8]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.140004a20
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013ca0
lea r11, [0x140032980]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013c83
cmp byte [r8], r9b
jne 0x140013c83
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013c70
not ecx
call fcn.14000b500
test rax, rax
je 0x140013cef
cmp byte [rax + 0xb6], 0
je 0x140013cef
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5baa]
movsx r9d, word [rbx + 0x5baa]
call fcn.140004a20
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000dbb0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140030440
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018dc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c90], 0
lea rbx, [rcx + 0x5c98]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018e67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140018e1a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001afb0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140005200
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c90]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5ca0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14003e720]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140018e6f
mov rcx, rbx
call fcn.140005200
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019200
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14003e728]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019263
mov qword [rsp], rbx
lea rbx, [0x140032980]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019243
cmp byte [r8], r9b
jne 0x140019243
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140019230
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c08]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019297
mov r10, qword [r10 + 0x5c10]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001929e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019284
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140030fd8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140031022
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140031022
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140031022
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140031022
cmp dword [rcx + 0x84], 0xe
jbe 0x140031022
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140031024
xor al, al
add rsp, 0x28
ret
Function at 0x140080080
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x14014a1f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
lea rcx, str.HWLOC_PCI_LOCALITY
call fcn.1400b2ad0
mov rbx, rax
test rax, rax
je 0x140080171
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, rax
mov dword [rsi + 0x2fc], 1
call fcn.1400bf53c
mov edi, eax
test eax, eax
js 0x140080161
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.1400bebac
test eax, eax
jne 0x140080158
mov eax, dword [rsp + 0x34]
cmp eax, 0x10000
jg 0x140080137
inc eax
movsxd rcx, eax
call fcn.1400ad9b4
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov ecx, edi
mov rbx, rax
call fcn.1400b63f8
movsxd rcx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x140080126
mov byte [rcx + rbx], 0
mov rdx, rbx
mov rcx, rsi
call fcn.1400803d0
mov rcx, rbx
call fcn.1400ad6c0
mov ecx, edi
call fcn.1400b69e0
jmp 0x14008016c
mov ecx, 2
call fcn.1400adadc
mov r9d, dword [rsp + 0x34]
lea rdx, str.Ignoring_HWLOC_PCI_LOCALITY_file___s_too_large___lu_bytes__n
mov rcx, rax
mov r8, rbx
call fcn.140005070
mov ecx, edi
call fcn.1400b69e0
jmp 0x14008016c
mov rdx, rbx
mov rcx, rsi
call fcn.1400803d0
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14008c170
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret

Function at 0x1400be250
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400be07c
Function at 0x140103cb0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140103cbd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140103ccd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140103cb5
lea eax, [rcx + 1]
jmp 0x140103cdb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140103cee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140103cd4
sub eax, 3
jb 0x140103d0e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140103d5d
sar eax, 1
movsxd rbp, eax
jb 0x140103d44
jmp 0x140103d1c
add ebx, ebx
jne 0x140103d1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140103d44
inc ecx
add ebx, ebx
jne 0x140103d2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140103d44
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140103d3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140103d2c
add ecx, 2
jmp 0x140103d49
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140103c72
jmp 0x140103cbd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa8400
mov dl, 0x22
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140103da9
cmp rsi, rcx
jae 0x140103db1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140103d90
cmp al, 0x8f
ja 0x140103d90
cmp byte [rsi - 2], 0xf
je 0x140103d96
sub al, 0xe8
cmp al, 1
ja 0x140103d7a
cmp rsi, rcx
jae 0x140103db1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140103d80
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140103db1
lodsb al, byte [rsi]
jmp 0x140103d90
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xff000]
mov eax, dword [rdi]
or eax, eax
je 0x140103e1a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1099d8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140103dbe
jns 0x140103df3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140103dfd
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140103e14
mov qword [rbx], rax
add rbx, 8
jmp 0x140103dde
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140103e54
cmp al, 0xef
ja 0x140103e46
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140103e26
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140103e35
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140103ea8
sub rsp, 0xffffffffffffff80
jmp 0x14002fb2c
Function at 0x1400021d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x1400022cb
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400022d3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000230a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400022e0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002335
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000235b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002340
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a560
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140029008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a5a5
xor al, al
jmp 0x14000a5f2
cmp word [rbx], 0
je 0x14000a5bd
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a5b0
cmp word [rsp + 0x30], 0
je 0x14000a5eb
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a613
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a5d0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b660
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000d6a0
int3
Function at 0x14000acd0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001c6d0
sub rsp, rax
mov rax, qword [0x140029008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002d520]
lea rsi, [0x14002f550]
mov rdi, rcx
test r11d, r11d
jne 0x14000ad43
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a620
test al, al
je 0x14000ae2f
lea rcx, [rsp + 0x20]
call fcn.14001108c
movsxd r11, dword [0x14002d520]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002d520], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ad84
mov r10, rsi
nop
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ad74
add rax, 2
test ecx, ecx
jne 0x14000ad60
test edx, edx
je 0x14000ada7
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ad50
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ad90
cmp rax, 2
jne 0x14000adab
cmp word [rdi + 2], 0x3a
jne 0x14000adab
mov al, 1
jmp 0x14000ae0e
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000add8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000add8
mov bl, 1
jmp 0x14000addc
test bl, bl
je 0x14000ae03
cmp dword [0x14002d520], 0x400
jge 0x14000ae03
mov rcx, rdi
call fcn.14001108c
movsxd rdx, dword [0x14002d520]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002d520], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b660
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000ab20
int3