joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400697e0
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140069800
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140066480
or eax, 0xffffffff
jmp 0x140069802
xor eax, eax
add rsp, 0x28
ret

Function at 0x140070aa0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x140070abd
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140070b18
test al, 7
jne 0x140070ab0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140070ad1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140070b42
test dh, dh
je 0x140070b3c
shr rdx, 0x10
test dl, dl
je 0x140070b36
test dh, dh
je 0x140070b30
shr rdx, 0x10
test dl, dl
je 0x140070b2a
test dh, dh
je 0x140070b24
shr edx, 0x10
test dl, dl
je 0x140070b1e
test dh, dh
jne 0x140070ad1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140071620
Capabilities:
Parse pe header

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

Function at 0x140084448
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14007cd6c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400844e9
cmp ebx, dword [rsp + 0x30]
je 0x1400844e2
test esi, esi
je 0x1400844e2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400844bd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400844ca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400844a7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400844ce
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400844eb
mov eax, 1
jmp 0x1400844eb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140086874
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 r9, [0x1400c3060]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400868cb
cmp word [rdx], r13w
jne 0x1400868cb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400868d0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400869f5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140086a16
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140086909
mov rdx, r9
mov word [rbx], cx
jmp 0x140086930
cmp r9, r8
jae 0x140086940
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400868ea
jmp 0x1400869f5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400869ea
cmp dword [rsp + 0x80], esi
je 0x1400869ea
lea r8, [0x1400c3060]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400869c2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140086992
mov word [rbx], r13w
jmp 0x1400869f2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14008699f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400869f2
cmp word [rsp + 0x70], r13w
jne 0x1400869cf
cmp rbx, r14
je 0x14008698c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140085144
cmp word [rsp + 0x70], r13w
je 0x1400869f5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [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
lea r8, [0x1400c3060]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400869ef
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400869f5
Function at 0x140086a34
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140086a64
xor eax, eax
jmp 0x140086b27
mov rbp, rbx
cmp word [rax], si
je 0x140086a89
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140086a70
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140086a6c
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.14007cc2c
movsxd r14, eax
test eax, eax
jne 0x140086ac7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140086a5d
mov rcx, r14
call fcn.14007cb3c
mov rdi, rax
test rax, rax
jne 0x140086ae0
xor ecx, ecx
call fcn.14007cb00
jmp 0x140086abc
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.14007cc2c
test eax, eax
jne 0x140086b11
mov rcx, rdi
call fcn.14007cb00
jmp 0x140086b1b
xor ecx, ecx
call fcn.14007cb00
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 0x140086b44
Capabilities:
Query environment variable

Disassembly:
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 0x140086bcb
mov rsi, rbx
cmp word [rax], bp
je 0x140086b8a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140086b74
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140086b70
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14007cb3c
mov rdi, rax
test rax, rax
je 0x140086bb8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400918e0
mov rbp, rdi
xor ecx, ecx
call fcn.14007cb00
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 0x14008a98c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14008a9a2
mov al, 1
jmp 0x14008aa02
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14008a9b3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14008aa00
mov ecx, dword [rcx + 0x18]
nop
call fcn.140085b18
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008aa00
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14008aa00
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14008aa00
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14008aa02
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14008fa98
Capabilities:
Set environment variable

Disassembly:
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.14005b414
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14008fb22
cmp byte [rbp - 0x21], r15b
je 0x14008fb1d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14008fb58
call fcn.14007d748
test eax, eax
jne 0x14008fb44
cmp byte [rbp - 0x21], r15b
je 0x14008fb3c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14008fb58
cmp byte [rbp - 0x21], r15b
je 0x14008fb55
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.14005b4b0
test eax, eax
jne 0x14008fbf8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14005b414
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14008fb97
cmp byte [rbp - 0x21], r15b
je 0x14008fbcc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14008fbcc
call fcn.14007d748
test eax, eax
jne 0x14008fbb8
cmp byte [rbp - 0x21], r15b
je 0x14008fbb1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14008fbcc
cmp byte [rbp - 0x21], r15b
je 0x14008fbc9
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.14005b4b0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14008fbf8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14008fbfb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14008fc09
mov rcx, rdi
call fcn.14007cb00
cmp byte [rbp + 0x3f], r15b
je 0x14008fc18
mov rcx, qword [rbp + 0x27]
call fcn.14007cb00
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
Function at 0x1400901a0
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.140085144
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140085144
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400902f0
cmp rax, 0xffffffffffffffff
je 0x1400902f0
xor edi, edi
test rbp, rbp
jle 0x14009029b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14007ee14
mov rbx, rax
test rax, rax
jne 0x140090228
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140090291
mov edx, 0x8000
mov ecx, r14d
call fcn.140068b60
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.14008961c
cmp eax, 0xffffffff
je 0x140090271
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140090238
mov edx, r15d
mov ecx, r14d
call fcn.140068b60
jmp 0x140090291
cmp byte [rsi + 0x38], dil
je 0x140090288
cmp dword [rsi + 0x34], 5
jne 0x140090288
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140090291
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14007cb00
jmp 0x140090304
jns 0x140090304
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140085144
cmp rax, 0xffffffffffffffff
jne 0x1400902bc
cmp byte [rsi + 0x30], dil
je 0x140090304
mov edi, dword [rsi + 0x2c]
jmp 0x140090304
mov ecx, r14d
call fcn.140085b18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140090304
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 0x140090304
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400902fd
mov eax, dword [rsi + 0x2c]
jmp 0x140090302
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140085144
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
Function at 0x140028a5c
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.14001bef8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001bef8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028bac
cmp rax, 0xffffffffffffffff
je 0x140028bac
xor edi, edi
test rbp, rbp
jle 0x140028b57
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb84
mov rbx, rax
test rax, rax
jne 0x140028ae4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028b4d
mov edx, 0x8000
mov ecx, r14d
call fcn.1400197a0
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.14001cbe0
cmp eax, 0xffffffff
je 0x140028b2d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028af4
mov edx, r15d
mov ecx, r14d
call fcn.1400197a0
jmp 0x140028b4d
cmp byte [rsi + 0x38], dil
je 0x140028b44
cmp dword [rsi + 0x34], 5
jne 0x140028b44
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028b4d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a0e4
jmp 0x140028bc0
jns 0x140028bc0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001bef8
cmp rax, 0xffffffffffffffff
jne 0x140028b78
cmp byte [rsi + 0x30], dil
je 0x140028bc0
mov edi, dword [rsi + 0x2c]
jmp 0x140028bc0
mov ecx, r14d
call fcn.1400182d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028bc0
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 0x140028bc0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028bb9
mov eax, dword [rsi + 0x2c]
jmp 0x140028bbe
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001bef8
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

Function at 0x140029cb0
Capabilities:
Parse pe header

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

Function at 0x180024440
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test edx, edx
je 0x18002445d
mov eax, 1
cmp edx, eax
jne 0x18002449f
mov qword [0x180075668], rcx
add rsp, 0x28
ret
cmp qword [0x180060a70], 0
je 0x18002449a
cmp qword [0x180060a78], 8
lea rcx, [0x180060a60]
cmovae rcx, qword [0x180060a60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
lea rdx, [0x180034acc]
lea rcx, [0x180060a60]
call fcn.1800014a0
mov eax, 1
add rsp, 0x28
ret
Function at 0x14013178b
Capabilities:
Get number of processors
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], edx
invalid
invalid
jp 0x1401307ec
xor ebx, 0xc5635b7d
int3
cmp r12d, 0x1e0886c0
lea r11d, [rdx - 0xbf16]
jo 0x140130ae1
call rax
jne 0x14013206b
test rcx, rbx
jle 0x1401313f1
movabs rsi, 0x65cf3cfffffd77e9
rcl r15d, 0x10
test r12d, 0x69a5212f
call fcn.140130c4f
cmp r12d, 0x33ea0898
neg rdi
push r11
jmp 0x140131486
mov dh, 0x11
lea r11d, [rdx - 0x24ef]
neg r15
jae 0x140131f20
test r8, rdx
test ebp, 0xfff40c58
lea r10d, [rcx - 0x1a5c]
jo 0x140131347
mov r11d, 0x5df2d128
inc rbp
and r11d, 0xcff7055c
cmp r14d, 0x563108b2
sub r14d, 0xf5e0991a
movabs r15, 0x5379b2fffffa4ee9
call fcn.140131cf9

Function at 0x140131cf9
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
test dl, dl
je 0x140131bdf
test r9d, r9d
jne 0x140131f0b
mov rax, qword [rax]
jmp 0x140132037
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140131be8
mov r9d, dword [rbx + 0x18]
jmp 0x140131fd8
mov ecx, dword [rax]
test ecx, ecx
je fcn.140132645
cmp dword [rax + 4], r15d
jmp 0x140132018
dec r9d
mov r8d, 0x16c85fe2
lea rdx, [r11 + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
jmp 0x140131a99
test r9d, r9d
je 0x140131be8
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
jmp 0x140131f0b
je fcn.140132645
mov rax, qword gs:[0x60]
lea r14, [rdi + rcx]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
jmp 0x140131c73
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x140012e40
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]
nop
add rsp, 0x28
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014190
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400141b0
xor al, al
jmp 0x140014231
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400141c3
xor al, al
jmp 0x140014231
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 0x1400141ed
xor al, al
jmp 0x140014231
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014201
xor al, al
jmp 0x140014231
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014213
xor al, al
jmp 0x140014231
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001422f
xor al, al
jmp 0x140014231
mov al, 1
add rsp, 0x38
ret
Function at 0x140012070
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113ac
movzx eax, al
test eax, eax
jne 0x140012090
mov ecx, 7
call fcn.14001132a
nop
mov byte [rsp + 0x20], 0
call fcn.14001133e
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x1400120b4
mov ecx, 7
call fcn.14001132a
nop
jmp 0x14001210c
cmp dword [0x14001d868], 0
jne 0x140012107
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a9
test eax, eax
je 0x1400120e8
mov eax, 0xff
jmp 0x140012211
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011334
mov dword [0x14001d868], 2
jmp 0x14001210c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011316
call fcn.1400112ad
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012169
mov rcx, qword [rsp + 0x30]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x140012169
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112df
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001219d
mov rcx, qword [rsp + 0x38]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x14001219d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001136b
nop
call fcn.1400122c0
mov dword [rsp + 0x28], eax
call fcn.140011285
movzx eax, al
test eax, eax
jne 0x1400121bc
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400121cb
call fcn.140011375
nop
xor edx, edx
mov cl, 1
call fcn.140011159
mov eax, dword [rsp + 0x28]
jmp 0x140012211
add rsp, 0x68
ret
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
loop case.0x14000ba02.0
invalid

Function at 0x1409d8097
Capabilities:
Encode data using xor

Disassembly:
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x10], 0x31ac774
pushfq
add qword [rsp + 8], 0xffffffffbf7f2a80
add dword [rsp + 8], 0xbf7f2a80
push qword [rsp]
popfq
lea rsp, [rsp + 0x18]
call fcn.140f9535f
add al, 0xd3
sub al, 0x8b
xor eax, 0x74d070fc
scasd eax, dword [rdi]
adc edx, ecx
je 0x1409d80a7
sal qword [rdx + rcx*8 - 0x28], cl
xor bl, bl
je 0x1409d80f6
out 0xf9, al
sub al, 0x8b
outsb dx, byte [rsi]
fist word [rbp + rbp - 0x75]
mov ecx, 0x74d7e938
adc eax, 0x2fe13874
invalid
sahf
invalid
Function at 0x1807a70b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1807a7237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1807a70e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807a70c7
add dl, dl
jne 0x1807a70ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807a714e
xor eax, eax
add dl, dl
jne 0x1807a70fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807a7205
add dl, dl
jne 0x1807a710e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807a711b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807a7128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807a7135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1807a7142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1807a70d6
mov eax, 1
add dl, dl
jne 0x1807a715e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807a716b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807a7153
sub eax, ebx
mov ebx, 1
jne 0x1807a71a4
mov ecx, 1
add dl, dl
jne 0x1807a7186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807a7193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807a717b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807a70d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1807a71c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1807a71cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807a71b5
cmp eax, 0x7d00
jae 0x1807a71f3
cmp eax, 0x500
jb 0x1807a71ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807a70d6
cmp eax, 0x7f
ja 0x1807a71f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1807a70d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1807a722a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1807a70d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20