joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1802b6db0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push rdi
sub rsp, 0x150
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x168], rbx
mov rax, qword [0x1803fc9f0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [0x1800764e0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
xor eax, eax
mov dword [rbx], eax
mov dword [rbx + 4], eax
mov dword [rbx + 8], eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x30]
call fcn.1802c7550
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x1802b6e50
movsd xmm0, qword [0x180077568]
movsd qword [rcx], xmm0
movzx eax, word [0x180077570]
mov word [rcx + 8], ax
movzx eax, byte [0x180077572]
mov byte [rcx + 0xa], al
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1802b6f01
lea rdx, [0x180077578]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
lea rdx, [0x180077588]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
lea rdx, [0x1800775a0]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
lea rdx, [0x1800775b8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x58], rax
cmp qword [rbx + 0x40], 0
je 0x1802b6f01
cmp qword [rbx + 0x48], 0
je 0x1802b6f01
cmp qword [rbx + 0x50], 0
je 0x1802b6f01
test rax, rax
je 0x1802b6f01
mov dword [rbx + 8], 1
cmp dword [rbx + 8], 0
jne 0x1802b6f97
lea rdx, [0x1800775d8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x18], rax
lea rdx, [0x1800775f8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
lea rdx, [0x180077608]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
lea rdx, [0x180077618]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
lea rdx, [0x180077628]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
cmp qword [rbx + 0x18], 0
je 0x1802b6f97
cmp qword [rbx + 0x20], 0
je 0x1802b6f97
cmp qword [rbx + 0x28], 0
je 0x1802b6f97
cmp qword [rbx + 0x30], 0
je 0x1802b6f97
test rax, rax
je 0x1802b6f97
mov dword [rbx + 4], 1
cmp dword [rbx + 4], 0
jne 0x1802b6fa3
cmp dword [rbx + 8], 0
je 0x1802b6fa9
mov dword [rbx], 1
mov rax, rbx
jmp 0x1802b6fb3
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1802b85a0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x1802f07b0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1802f07d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1802d5274
or eax, 0xffffffff
jmp 0x1802f07d2
xor eax, eax
add rsp, 0x28
ret
Function at 0x1802f14e8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r10, [0x180416700]
mov r14, rdx
mov rax, r15
sar rax, 6
mov rdx, r15
and edx, 0x3f
mov rdi, r15
shl rdx, 6
mov r9, qword [r10 + rax*8]
mov r12, qword [r9 + rdx + 0x28]
test r8, r8
je 0x1802f154d
cmp byte [r14], 0xa
jne 0x1802f154d
mov rcx, r15
mov rax, r15
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r10 + rax*8]
or byte [rax + rcx + 0x38], 4
jmp 0x1802f156e
mov dl, byte [r9 + rdx + 0x38]
mov rcx, rdi
and dl, 0xfb
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r10 + rax*8]
mov byte [rax + rcx + 0x38], dl
lea rbp, [r14 + r8]
mov rsi, r14
mov rbx, r14
cmp r14, rbp
jae 0x1802f16c8
mov r13d, 1
mov al, byte [rsi]
cmp al, 0x1a
je 0x1802f1688
cmp al, 0xd
je 0x1802f15a2
mov byte [rbx], al
add rbx, r13
add rsi, r13
jmp 0x1802f167d
lea rax, [rsi + 1]
cmp rax, rbp
jae 0x1802f15c8
cmp byte [rax], 0xa
jne 0x1802f15ba
mov byte [rbx], 0xa
mov eax, 2
jmp 0x1802f15c0
mov byte [rbx], 0xd
mov rax, r13
add rsi, rax
jmp 0x1802f167a
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, r13d
lea rdx, [rsp + 0x70]
mov rcx, r12
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1802f1670
cmp dword [rsp + 0x78], 0
je 0x1802f1670
mov rcx, rdi
lea r10, [0x180416700]
and ecx, 0x3f
mov rax, rdi
sar rax, 6
shl rcx, 6
mov rax, qword [r10 + rax*8]
test byte [rax + rcx + 0x38], 0x48
je 0x1802f1640
mov dl, byte [rsp + 0x70]
cmp dl, 0xa
je 0x1802f164c
mov rcx, rdi
mov byte [rbx], 0xd
mov rax, rdi
and ecx, 0x3f
sar rax, 6
shl rcx, 6
mov rax, qword [r10 + rax*8]
mov byte [rax + rcx + 0x3a], dl
jmp 0x1802f167a
cmp byte [rsp + 0x70], 0xa
jne 0x1802f1651
cmp rbx, r14
jne 0x1802f1651
mov byte [rbx], 0xa
jmp 0x1802f167a
mov r8d, r13d
or rdx, 0xffffffffffffffff
mov ecx, r15d
call fcn.1802f2378
cmp byte [rsp + 0x70], 0xa
lea r10, [0x180416700]
je 0x1802f167d
jmp 0x1802f1677
lea r10, [0x180416700]
mov byte [rbx], 0xd
add rbx, r13
cmp rsi, rbp
jb 0x1802f1587
jmp 0x1802f16c8
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r10 + rax*8]
mov dl, byte [rax + rcx + 0x38]
test dl, 0x40
jne 0x1802f16c1
mov rax, rdi
or dl, 2
sar rax, 6
and edi, 0x3f
shl rdi, 6
mov rax, qword [r10 + rax*8]
mov byte [rax + rdi + 0x38], dl
jmp 0x1802f16c8
mov cl, byte [rsi]
mov byte [rbx], cl
add rbx, r13
sub rbx, r14
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1802f16e8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r11, [0x180416700]
mov r9, r15
mov rax, r15
sar rax, 6
and r9d, 0x3f
shl r9, 6
mov r14, rdx
mov rdi, r15
mov r10d, 0xa
mov rdx, qword [r11 + rax*8]
mov r12, qword [rdx + r9 + 0x28]
test r8, r8
je 0x1802f1754
cmp word [r14], r10w
jne 0x1802f1754
mov rcx, r15
mov rax, r15
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
or byte [rax + rcx + 0x38], 4
jmp 0x1802f1775
mov dl, byte [rdx + r9 + 0x38]
mov rcx, rdi
and dl, 0xfb
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rcx + 0x38], dl
lea rbp, [r14 + r8*2]
mov rsi, r14
mov rbx, r14
cmp r14, rbp
jae 0x1802f194e
mov ecx, recv
lea r13d, [rcx - 0xb]
movzx eax, word [rsi]
cmp ax, 0x1a
je 0x1802f190c
cmp ax, cx
je 0x1802f17b1
mov word [rbx], ax
add rbx, r13
add rsi, r13
jmp 0x1802f18a5
lea rax, [rsi + 2]
cmp rax, rbp
jae 0x1802f17d9
cmp word [rax], r10w
jne 0x1802f17cb
mov word [rbx], r10w
mov eax, 4
jmp 0x1802f17d1
mov word [rbx], cx
mov rax, r13
add rsi, rax
jmp 0x1802f18ef
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, r13d
lea rdx, [rsp + 0x70]
mov rcx, r12
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1802f18f4
cmp dword [rsp + 0x80], 0
je 0x1802f18f4
mov rcx, rdi
lea r11, [0x180416700]
and ecx, 0x3f
mov rax, rdi
sar rax, 6
mov r10d, 0xa
shl rcx, 6
mov rax, qword [r11 + rax*8]
test byte [rax + rcx + 0x38], 0x48
je 0x1802f18b3
movzx eax, word [rsp + 0x70]
cmp ax, r10w
jne 0x1802f184b
mov word [rbx], r10w
jmp 0x1802f189d
mov r8, rdi
mov word [rsp + 0x78], ax
mov r9, rdi
and r8d, 0x3f
sar r9, 6
mov ecx, recv
xor edx, edx
mov word [rbx], cx
shl r8, 6
mov rcx, qword [r11 + r9*8]
mov al, byte [rsp + rdx + 0x78]
add rcx, r8
mov byte [rcx + rdx + 0x3a], al
inc rdx
cmp rdx, r13
jl 0x1802f186c
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rcx + 0x3c], r10b
add rbx, r13
mov ecx, recv
cmp rsi, rbp
jb 0x1802f1791
jmp 0x1802f194e
cmp word [rsp + 0x70], r10w
jne 0x1802f18c0
cmp rbx, r14
je 0x1802f1845
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1802f2378
mov r10d, 0xa
lea r11, [0x180416700]
cmp word [rsp + 0x70], r10w
je 0x1802f18a0
lea ecx, [r10 + 3]
mov word [rbx], cx
add rbx, r13
jmp 0x1802f18a5
mov ecx, recv
lea r11, [0x180416700]
mov word [rbx], cx
add rbx, r13
lea r10d, [rcx - 3]
jmp 0x1802f18a5
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov dl, byte [rax + rcx + 0x38]
test dl, 0x40
jne 0x1802f1945
mov rax, rdi
or dl, r13b
sar rax, 6
and edi, 0x3f
shl rdi, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rdi + 0x38], dl
jmp 0x1802f194e
movzx ecx, word [rsi]
mov word [rbx], cx
add rbx, r13
sub rbx, r14
sar rbx, 1
lea rax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1802f3e64
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1802b8650
sub rsp, rax
mov rax, qword [0x1803fc9f0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r14, rdx
mov rbx, rcx
call fcn.1802ed52c
xor esi, esi
movsxd r12, eax
cmp dword [rbx + 0x10], esi
jne 0x1802f3eb8
mov rax, r14
jmp 0x1802f3fd2
mov rax, qword [rbx]
mov rdi, r12
sub rax, qword [rbx + 8]
xor r8d, r8d
cqo
sar rdi, 6
sub rax, rdx
mov rbx, r12
sar rax, 1
and ebx, 0x3f
mov r15, rax
shl rbx, 6
lea rax, [0x180000000]
mov ecx, r12d
mov rdx, qword [rax + rdi*8 + 0x416700]
mov rbp, r12
mov rdx, qword [rbx + rdx + 0x30]
call fcn.1802f2370
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rdi*8 + 0x416700]
cmp r13, qword [rbx + rcx + 0x30]
je 0x1802f3f1f
or rax, 0xffffffffffffffff
jmp 0x1802f3fd2
mov rcx, rbp
mov qword [rsp + 0x20], rsi
sar rcx, 6
lea r9, [rsp + 0x30]
and ebp, 0x3f
lea rdx, [rsp + 0x40]
shl rbp, 6
mov r8d, 0x1000
mov rcx, qword [rax + rcx*8 + 0x416700]
mov rcx, qword [rcx + rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1802f3f16
xor r8d, r8d
mov rdx, r14
mov ecx, r12d
call fcn.1802f2370
test rax, rax
js 0x1802f3f16
mov eax, dword [rsp + 0x30]
cmp r15, rax
jg 0x1802f3f16
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test r15, r15
je 0x1802f3fc6
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1802f3fc6
cmp byte [rcx], 0xd
jne 0x1802f3fac
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1802f3fbb
cmp byte [rcx + 1], 0xa
jne 0x1802f3fbb
inc rcx
jmp 0x1802f3fbb
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3fcfb0]
add rcx, rax
inc rsi
inc rcx
cmp rsi, r15
jne 0x1802f3f8e
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1802b85a0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1802ff2ec
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1802ff2ff
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.1802ff964
lea rdx, [0x1803f5810]
lea rcx, [rsp + 0x20]
call fcn.1802c76f0
int3

Function at 0x180309e8c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x180416d48]
xor edx, edx
jmp fcn.1802ff2ec

Function at 0x18030a868
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x180416d48]
jmp fcn.1802ff2ec
Function at 0x140011253
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140014e50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014e70
xor al, al
jmp 0x140014ef1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014e83
xor al, al
jmp 0x140014ef1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014ead
xor al, al
jmp 0x140014ef1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ec1
xor al, al
jmp 0x140014ef1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014ed3
xor al, al
jmp 0x140014ef1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014eef
xor al, al
jmp 0x140014ef1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400d98a0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, rcx
mov rax, qword [0x1401e1a58]
xor rax, rsp
mov qword [rsp + 0x38], rax
call fcn.1400d81a0
mov rbx, rax
call fcn.1400d81b0
mov r15, rax
call fcn.1400d81e0
mov rsi, rax
call fcn.1400d81f0
mov rdi, rax
mov rcx, rbx
mov rdx, r15
call fcn.1400db560
mov rbx, rax
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400d9720
test eax, eax
je 0x1400d991f
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140114d90
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14014fe1c
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
xor ecx, ecx
mov r8d, 3
mov r9d, 1
call fcn.1400dbe20
cmp rax, 0xffffffffffffffff
je 0x1400d9994
mov r14, rax
xor ecx, ecx
call fcn.1400d8230
cdqe
sub rbx, rsi
add rbx, r14
add rax, rbx
add rax, 0x58
mov qword [0x1401fa2d8], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140114d90
mov rcx, rsi
mov rdx, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x1400db2e0
call fcn.14014f6e4
mov ecx, dword [rax]
call fcn.14014fce8
mov rsi, rax
mov ecx, 2
call fcn.14014f524
lea rdx, str.LLVM_Profile_Error:_Unable_to_mmap_profile:__s_n
mov rcx, rax
mov r8, rsi
call fcn.1400d7da0
jmp 0x1400d9905
push rsi
push rdi
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e1a58]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [rsp + 0x24]
lea rcx, [rdi + rdx]
dec rcx
neg rdx
and rcx, rdx
and rdx, rsi
xor esi, esi
sub rdx, rcx
jbe 0x1400db32e
mov r8d, 4
call fcn.1400dbf60
mov esi, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140114d90
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1400daf50
Capabilities:
Get hostname

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1401e1a58]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x4c], 0x80
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x4c]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x1400dafc3
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
xor esi, esi
lea r8, [rsp + 0x50]
mov ecx, 0xfde9
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 1
sbb esi, esi
jmp 0x1400dafc8
mov esi, 0xffffffff
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140114d90
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret

Function at 0x1400db2e0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r14, rcx
mov rax, qword [0x1401e1a58]
xor rax, rsp
mov qword [rsp + 0x38], rax
call fcn.1400d81a0
mov rbx, rax
call fcn.1400d81b0
mov r15, rax
call fcn.1400d81e0
mov rsi, rax
call fcn.1400d81f0
mov rdi, rax
mov rcx, rbx
mov rdx, r15
call fcn.1400db560
mov rbx, rax
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400d9720
test eax, eax
je 0x1400d991f
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140114d90
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14014fe1c
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
xor ecx, ecx
mov r8d, 3
mov r9d, 1
call fcn.1400dbe20
cmp rax, 0xffffffffffffffff
je 0x1400d9994
mov r14, rax
xor ecx, ecx
call fcn.1400d8230
cdqe
sub rbx, rsi
add rbx, r14
add rax, rbx
add rax, 0x58
mov qword [0x1401fa2d8], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140114d90
mov rcx, rsi
mov rdx, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x1400db2e0
call fcn.14014f6e4
mov ecx, dword [rax]
call fcn.14014fce8
mov rsi, rax
mov ecx, 2
call fcn.14014f524
lea rdx, str.LLVM_Profile_Error:_Unable_to_mmap_profile:__s_n
mov rcx, rax
mov r8, rsi
call fcn.1400d7da0
jmp 0x1400d9905
push rsi
push rdi
sub rsp, 0x58
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e1a58]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [rsp + 0x24]
lea rcx, [rdi + rdx]
dec rcx
neg rdx
and rcx, rdx
and rdx, rsi
xor esi, esi
sub rdx, rcx
jbe 0x1400db32e
mov r8d, 4
call fcn.1400dbf60
mov esi, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140114d90
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1400e0d9c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400e0dca
xor eax, eax
jmp 0x1400e0eb0
cmp qword [rcx + 0x68], 0
je 0x1400e0ddb
call fcn.1400e0ecc
jmp 0x1400e0eb0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400e0df2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400e0df4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400e0e26
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140116940
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400e0eaa
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400e0e5d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400e0e86
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1401546a8
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400e0eaa
cmp rsi, rbx
ja 0x1400e0e64
test rsi, rsi
je 0x1400e0eaa
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1401546a8
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400ef222
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400ef205
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400ef1f0

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400ef25a
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400ef23d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400ef228

Function at 0x14011623c
Capabilities:
Parse pe header

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

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140127867
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140127867
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140127867
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140127867
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140127867
cmp dword [rcx + 0x84], 0xe
jbe 0x140127867
cmp dword [rcx + 0xf8], 0
je 0x140127867
mov ecx, ebx
call fcn.140127978
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401275c8
nop
cmp dword [rbp + 0x20], 0
je 0x1401278b5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401278c0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1401277f8
Function at 0x140150178
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14016d884
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14016d884
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401502c8
cmp rax, 0xffffffffffffffff
je 0x1401502c8
xor edi, edi
test rbp, rbp
jle 0x140150273
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14016a640
mov rbx, rax
test rax, rax
jne 0x140150200
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140150269
mov edx, 0x8000
mov ecx, r14d
call fcn.140162f38
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140167770
cmp eax, 0xffffffff
je 0x140150249
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140150210
mov edx, r15d
mov ecx, r14d
call fcn.140162f38
jmp 0x140150269
cmp byte [rsi + 0x38], dil
je 0x140150260
cmp dword [rsi + 0x34], 5
jne 0x140150260
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140150269
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1401681b4
jmp 0x1401502dc
jns 0x1401502dc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14016d884
cmp rax, 0xffffffffffffffff
jne 0x140150294
cmp byte [rsi + 0x30], dil
je 0x1401502dc
mov edi, dword [rsi + 0x2c]
jmp 0x1401502dc
mov ecx, r14d
call fcn.1401534b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401502dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1401502dc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401502d5
mov eax, dword [rsi + 0x2c]
jmp 0x1401502da
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14016d884
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret