joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180031970
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.180031760
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180031a47
mov dword [rsp + 0x20], 0
jmp 0x1800319e4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180031a47
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180031a45
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.180031540
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800319da
add rsp, 0x30
pop rdi
ret

Function at 0x180031a60
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180031b04
mov dword [rsp + 0x20], 0
jmp 0x180031a9d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180031aed
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180031aeb
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180031a93
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x180045568]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x180031b10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x180045e00]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180031b94
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180031bbd
mov eax, 0xa
jmp 0x180031cf7
cmp dword [rsp + 0x88], 0
je 0x180031c2b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180031c29
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x180031c77
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180031c5b
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x180031c77
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x18003d500]
call fcn.18003519c
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1800331e0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18003324e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x18003324e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x18003324e
xor eax, eax
jmp 0x180033295
mov dword [rsp], 1
jmp 0x18003325f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x180033290
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18003328e
xor eax, eax
jmp 0x180033295
jmp 0x180033257
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x14000160e
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b5b64
xor r8d, r8d
xor edx, edx
jmp 0x1400b5848

Function at 0x140001bf4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400ccadc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test eax, eax
je 0x1400ccb28
test rbx, rbx
je 0x1400ccb17
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140001e10
cmp eax, 1
je 0x1400ccb28
mov eax, 4
jmp 0x1400ccb6b
call fcn.14000592a
cmp eax, 2
jne 0x1400ccb64
call fcn.140001e97
test al, al
je 0x1400ccb64
call fcn.140003f4e
test al, al
jne 0x1400ccb5a
bts edi, 0x15
xor ecx, ecx
mov rdx, rbx
mov r8, rbp
mov r9d, edi
call fcn.14000597a
jmp 0x1400ccb6b
call fcn.14000571d
mov rcx, rax
jmp 0x1400ccb4a
movzx eax, sil
add eax, 3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140002b9e
Capabilities:
Get geographical location

Disassembly:
jmp 0x14005dd04
sub rsp, 0x28
call fcn.140003dcd
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x14005dd56
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x14005dd56
sub ecx, 1
je 0x14005dd4f
cmp ecx, 1
je 0x14005dd48
xor eax, eax
jmp 0x14005dd5b
mov eax, 3
jmp 0x14005dd5b
mov eax, 1
jmp 0x14005dd5b
mov eax, 2
add rsp, 0x28
ret

Function at 0x140002dc9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400e08d8
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140115040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x14011a250]
xor r11d, r11d
lea rdi, [0x1400f1dae]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x1400e0948
mov rax, 0xfffffffffffffffe
jmp 0x1400e0a95
cmp word [r10 + 6], r11w
jne 0x1400e09b7
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400e0972
test r14, r14
je 0x1400e0963
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x1400e0a95
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400e0980
mov r8b, 2
jmp 0x1400e099e
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400e098e
mov r8b, 3
jmp 0x1400e099e
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400e0a8a
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400e09e0
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400e0a8a
cmp bl, bpl
jb 0x1400e0a8a
cmp bl, r8b
jae 0x1400e0a8a
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1400e0a0d
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400e0a8a
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400e09ef
cmp r9, rbp
jae 0x1400e0a39
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1400e093c
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400e0a8a
cmp edx, 0x110000
jae 0x1400e0a8a
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400e0a8a
test r14, r14
je 0x1400e0a78
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140005975
jmp 0x1400e0a95
mov rdx, rsi
mov rcx, r10
call fcn.140006519
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400035da
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002e46
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14005f694
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14005f721
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14005f721
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005f721
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14005f708
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14005f702
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14005f70a
add rdx, 0x28
jmp 0x14005f6e7
xor edx, edx
test rdx, rdx
jne 0x14005f713
xor al, al
jmp 0x14005f727
cmp dword [rdx + 0x24], 0
jge 0x14005f71d
xor al, al
jmp 0x14005f727
mov al, 1
jmp 0x14005f727
xor al, al
jmp 0x14005f727
add rsp, 0x18
ret

Function at 0x14000335a
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400d0308
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400d038f
mov rsi, rbx
cmp word [rax], bp
je 0x1400d034e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400d0338
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400d0334
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000105f
mov rdi, rax
test rax, rax
je 0x1400d037c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003602
mov rbp, rdi
xor ecx, ecx
call fcn.14000126c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
jmp 0x14005595c
jmp 0x14005c33c
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x14005598c
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x14005596e
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
mov rdx, r8
jmp 0x140002356

Function at 0x140003837
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14007317c
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400f59a8]
mov ecx, 2
lea r8, [0x1400f59a0]
lea rdx, str.FlsGetValue
call fcn.140072c4c
mov ecx, ebx
test rax, rax
je 0x1400731b6
add rsp, 0x20
pop rbx
jmp qword [0x140127020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x140003a94
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400d01b4
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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400d01e4
xor eax, eax
jmp 0x1400d02a7
mov rbp, rbx
cmp word [rax], si
je 0x1400d0209
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400d01f0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400d01ec
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140004b79
movsxd r14, eax
test eax, eax
jne 0x1400d0247
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400d01dd
mov rcx, r14
call fcn.14000105f
mov rdi, rax
test rax, rax
jne 0x1400d0260
xor ecx, ecx
call fcn.14000126c
jmp 0x1400d023c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140004b79
test eax, eax
jne 0x1400d0291
mov rcx, rdi
call fcn.14000126c
jmp 0x1400d029b
xor ecx, ecx
call fcn.14000126c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140003aa8
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400730cc
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400f5968]
xor ecx, ecx
lea r8, [0x1400f5960]
lea rdx, str.FlsAlloc
call fcn.140072c4c
test rax, rax
je 0x140073105
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140127020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140003b61
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400be99c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400f8d48]
mov rbp, rcx
lea r8, [0x1400f8d40]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.1400bdeb8
test rax, rax
je 0x1400be9fc
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140127030]
jmp 0x1400bea16
xor edx, edx
mov rcx, rbp
call fcn.140002eb4
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140003b75
Capabilities:
Terminate process

Disassembly:
jmp 0x14005ff7c
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140003dfa
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b5afc
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400b5848

Function at 0x140004098
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400e3230
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400e3258
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400e3258
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400045f7
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x140031888
jmp 0x14004ee64
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400318ba
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14003189d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140001186
Function at 0x140004a7f
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400e3170
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1400e31b1
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400e31a5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400e31b3
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400e3193
xor eax, eax
ret

Function at 0x140004e17
Capabilities:
Terminate process

Disassembly:
jmp 0x140073de0
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140073dfa
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140005993
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14000501f
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400c39c0
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov dword [rax + 8], ecx
push r13
push r14
push r15
sub rsp, 0x20
mov r14d, r8d
mov r12, rdx
movsxd rdi, ecx
cmp edi, 0xfffffffe
jne 0x1400c3a02
call fcn.14000427d
and dword [rax], 0
call fcn.140002c52
mov dword [rax], 9
jmp 0x1400c3abc
test ecx, ecx
js 0x1400c3aa4
cmp edi, dword [0x14011a03c]
jae 0x1400c3aa4
mov rax, rdi
mov r15, rdi
shr r15, 6
lea rcx, [0x140119b70]
and eax, 0x3f
lea r13, [rax + rax*8]
mov rax, qword [rcx + r15*8]
test byte [rax + r13*8 + 0x38], 1
je 0x1400c3aa4
cmp r14d, 0x7fffffff
jbe 0x1400c3a58
call fcn.14000427d
and dword [rax], 0
call fcn.140002c52
mov dword [rax], 0x16
jmp 0x1400c3ab7
mov ecx, edi
call fcn.140001267
or ebx, 0xffffffff
lea rax, [0x140119b70]
mov rax, qword [rax + r15*8]
test byte [rax + r13*8 + 0x38], 1
jne 0x1400c3a8a
call fcn.140002c52
mov dword [rax], 9
call fcn.14000427d
and dword [rax], 0
jmp 0x1400c3a99
mov r8d, r14d
mov rdx, r12
mov ecx, edi
call fcn.14000261c
mov ebx, eax
mov ecx, edi
call fcn.140005303
mov eax, ebx
jmp 0x1400c3abf
call fcn.14000427d
and dword [rax], 0
call fcn.140002c52
mov dword [rax], 9
call fcn.1400017a8
or eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
Function at 0x140005b50
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400731d4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400f59c8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400f59c0]
call fcn.140072c4c
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140073214
call qword [0x140127020]
jmp 0x14007321a
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005c54
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400dfa4c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140002d6a
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400dfad6
cmp byte [rbp - 0x21], r15b
je 0x1400dfad1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400dfb0c
call fcn.1400062c1
test eax, eax
jne 0x1400dfaf8
cmp byte [rbp - 0x21], r15b
je 0x1400dfaf0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400dfb0c
cmp byte [rbp - 0x21], r15b
je 0x1400dfb09
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140006654
test eax, eax
jne 0x1400dfbac
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002d6a
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400dfb4b
cmp byte [rbp - 0x21], r15b
je 0x1400dfb80
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400dfb80
call fcn.1400062c1
test eax, eax
jne 0x1400dfb6c
cmp byte [rbp - 0x21], r15b
je 0x1400dfb65
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400dfb80
cmp byte [rbp - 0x21], r15b
je 0x1400dfb7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140006654
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400dfbac
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400dfbaf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400dfbbd
mov rcx, rdi
call fcn.14000126c
cmp byte [rbp + 0x3f], r15b
je 0x1400dfbcc
mov rcx, qword [rbp + 0x27]
call fcn.14000126c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret