joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000214e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1401097b0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x14012e180]
xor r11d, r11d
lea rdi, [0x140116914]
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 0x140109820
mov rax, 0xfffffffffffffffe
jmp 0x14010996d
cmp word [r10 + 6], r11w
jne 0x14010988f
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x14010984a
test r14, r14
je 0x14010983b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x14010996d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140109858
mov r8b, 2
jmp 0x140109876
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x140109866
mov r8b, 3
jmp 0x140109876
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x140109962
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 0x1401098b8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140109962
cmp bl, bpl
jb 0x140109962
cmp bl, r8b
jae 0x140109962
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x1401098e5
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140109962
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 0x1401098c7
cmp r9, rbp
jae 0x140109911
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140109814
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140109962
cmp edx, 0x110000
jae 0x140109962
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 0x140109962
test r14, r14
je 0x140109950
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.1400039a4
jmp 0x14010996d
mov rdx, rsi
mov rcx, r10
call fcn.140003fdf
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400025bd
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140002199
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14009cdf4
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14009ce81
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x14009ce81
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009ce81
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 0x14009ce68
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14009ce62
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14009ce6a
add rdx, 0x28
jmp 0x14009ce47
xor edx, edx
test rdx, rdx
jne 0x14009ce73
xor al, al
jmp 0x14009ce87
cmp dword [rdx + 0x24], 0
jge 0x14009ce7d
xor al, al
jmp 0x14009ce87
mov al, 1
jmp 0x14009ce87
xor al, al
jmp 0x14009ce87
add rsp, 0x18
ret
Function at 0x14000242d
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400b2030
mov rax, rcx
neg rcx
test rax, 7
je 0x1400b204d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1400b20a8
test al, 7
jne 0x1400b2040
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 0x1400b2061
mov rdx, qword [rax - 8]
test dl, dl
je 0x1400b20d2
test dh, dh
je 0x1400b20cc
shr rdx, 0x10
test dl, dl
je 0x1400b20c6
test dh, dh
je 0x1400b20c0
shr rdx, 0x10
test dl, dl
je 0x1400b20ba
test dh, dh
je 0x1400b20b4
shr edx, 0x10
test dl, dl
je 0x1400b20ae
test dh, dh
jne 0x1400b2061
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 0x1400026f8
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400ab854
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1401178d8]
mov ecx, 2
lea r8, [0x1401178d0]
lea rdx, str.FlsGetValue
call fcn.1400ab324
mov ecx, ebx
test rax, rax
je 0x1400ab88e
add rsp, 0x20
pop rbx
jmp qword [0x140136020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140002716
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140007e78
xor r9d, r9d
test rcx, rcx
je 0x140007ebf
movzx r10d, word [rcx + 6]
test r10d, r10d
je 0x140007ebf
movzx r11d, word [rcx + 0x14]
sub r8, rdx
add r11, 0x18
add r11, rcx
test r10d, r10d
je 0x140007ebf
lea rdx, [r11 + 0x10]
mov ecx, dword [rdx + 4]
cmp r8, rcx
jb 0x140007eb3
mov eax, dword [rdx]
add eax, ecx
cmp r8, rax
jb 0x140007ec2
inc r9d
add rdx, 0x28
cmp r9d, r10d
jb 0x140007ea2
xor eax, eax
ret
mov eax, r9d
lea rcx, [rax + rax*4]
lea rax, [r11 + rcx*8]
ret
Function at 0x140002842
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400edc80
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 0x1400edcb0
xor eax, eax
jmp 0x1400edd73
mov rbp, rbx
cmp word [rax], si
je 0x1400edcd5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400edcbc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400edcb8
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.1400031b1
movsxd r14, eax
test eax, eax
jne 0x1400edd13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400edca9
mov rcx, r14
call fcn.140001037
mov rdi, rax
test rax, rax
jne 0x1400edd2c
xor ecx, ecx
call fcn.140001168
jmp 0x1400edd08
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.1400031b1
test eax, eax
jne 0x1400edd5d
mov rcx, rdi
call fcn.140001168
jmp 0x1400edd67
xor ecx, ecx
call fcn.140001168
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 0x14000284c
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400ab7a4
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140117898]
xor ecx, ecx
lea r8, [0x140117890]
lea rdx, str.FlsAlloc
call fcn.1400ab324
test rax, rax
je 0x1400ab7dd
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x140136020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1400028c9
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400f6538
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, [0x14011b3f8]
mov rbp, rcx
lea r8, [0x14011b3f0]
lea rdx, str.GetLocaleInfoEx
mov ecx, 8
call fcn.1400f5a58
test rax, rax
je 0x1400f6598
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x140136030]
jmp 0x1400f65b2
xor edx, edx
mov rcx, rbp
call fcn.1400021ee
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 0x1400028d8
Capabilities:
Terminate process

Disassembly:
jmp 0x14009c0c8
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 0x140002a09
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b8270
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400b7fcc

Function at 0x140002b99
Capabilities:
Parse pe header

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

Function at 0x140002eb4
Capabilities:
Parse pe header

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

Function at 0x14000312a
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14010c5d0
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 0x14010c611
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x14010c605
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x14010c613
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x14010c5f3
xor eax, eax
ret

Function at 0x140003314
Capabilities:
Terminate process

Disassembly:
jmp 0x1400e79f0
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400e7a0a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400039b3
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 0x140003805
Capabilities:
Parse pe header

Disassembly:
jmp 0x140007280
mov r8b, 1
jmp fcn.140001a05

Function at 0x140003a94
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400ab8ac
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401178f8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1401178f0]
call fcn.1400ab324
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1400ab8ec
call qword [0x140136020]
jmp 0x1400ab8f2
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003b2a
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400fcc74
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.140002126
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400fccfe
cmp byte [rbp - 0x21], r15b
je 0x1400fccf9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400fcd34
call fcn.140003ecc
test eax, eax
jne 0x1400fcd20
cmp byte [rbp - 0x21], r15b
je 0x1400fcd18
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400fcd34
cmp byte [rbp - 0x21], r15b
je 0x1400fcd31
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.140004098
test eax, eax
jne 0x1400fcdd4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140002126
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400fcd73
cmp byte [rbp - 0x21], r15b
je 0x1400fcda8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400fcda8
call fcn.140003ecc
test eax, eax
jne 0x1400fcd94
cmp byte [rbp - 0x21], r15b
je 0x1400fcd8d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400fcda8
cmp byte [rbp - 0x21], r15b
je 0x1400fcda5
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.140004098
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400fcdd4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400fcdd7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400fcde5
mov rcx, rdi
call fcn.140001168
cmp byte [rbp + 0x3f], r15b
je 0x1400fcdf4
mov rcx, qword [rbp + 0x27]
call fcn.140001168
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 0x140003c1a
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b8260
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 0x1400b803b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b803b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b803b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b803b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b803b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b803b
cmp dword [rcx + 0xf8], 0
je 0x1400b803b
mov ecx, ebx
call fcn.1400b81a4
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.1400b7d1c
nop
cmp dword [rbp + 0x20], 0
je 0x1400b8089
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b80c4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400b7fcc
Function at 0x1400077dc
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x1400077dc
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rax, qword gs:[0x30]
mov rbp, rcx
mov rcx, qword [rax + 0x60]
test rbp, rbp
jne 0x14000782b
mov rax, qword [rcx + 0x10]
jmp 0x1400078d3
mov rcx, qword [rcx + 0x18]
lea r14, [rsp + 0x20]
xor esi, esi
xor r12d, r12d
lea rax, [rcx + 0x10]
mov qword [rsp + 0x20], rax
lea rax, [rcx + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rcx + 0x30]
mov qword [rsp + 0x30], rax
mov r15, qword [r14]
mov rbx, qword [r15]
jmp 0x1400078bd
mov rdi, rbx
mov rdx, rbp
sub rdi, r12
mov rcx, qword [rdi + 0x60]
call fcn.140003bed
test eax, eax
je 0x140007904
mov rcx, qword [rdi + 0x50]
call fcn.1400016ea
mov r13, rax
test rax, rax
je 0x1400078ba
mov rdx, rbp
mov rcx, rax
call fcn.140003bed
test eax, eax
je 0x140007904
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.1400011d1
mov rdx, rbp
lea rcx, [rsp + 0x40]
call fcn.140003bed
test eax, eax
je 0x140007904
mov rbx, qword [rbx]
cmp rbx, r15
jne 0x14000785c
inc esi
add r14, 8
add r12, 0x10
cmp esi, 3
jl 0x140007854
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400025bd
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rdi + 0x30]
jmp 0x1400078d3

Function at 0x140007a40
Capabilities:
Parse pe header

Disassembly:
jmp 0x140007a40
push rbx
sub rsp, 0x30
and dword [r9], 0
mov r11, r9
movzx ebx, r8w
mov r10, rcx
test rcx, rcx
jne 0x140007a60
xor eax, eax
jmp 0x140007b08
movsxd rcx, dword [rcx + 0x3c]
mov r8d, 0x5a4d
cmp word [r10], r8w
jne 0x140007a96
test ecx, ecx
jle 0x140007a96
cmp ecx, 0x10000000
jae 0x140007a96
cmp dword [rcx + r10], 0x4550
jne 0x140007a96
lea r9, [r10 + 4]
add r9, rcx
lea r8, [r10 + 0x18]
add r8, rcx
jmp 0x140007a9d
mov r9, r10
lea r8, [r10 + 0x14]
movzx ecx, word [r8]
mov eax, 0x107
sub ecx, eax
je 0x140007aed
sub ecx, 4
je 0x140007ad2
cmp ecx, 0x100
jne 0x140007a59
mov qword [rsp + 0x28], r8
mov rcx, r10
mov qword [rsp + 0x20], r9
movzx r8d, bx
mov r9, r11
call fcn.140002162
jmp 0x140007b08
mov qword [rsp + 0x28], r8
mov rcx, r10
mov qword [rsp + 0x20], r9
movzx r8d, bx
mov r9, r11
call fcn.140003639
jmp 0x140007b08
mov qword [rsp + 0x28], r8
mov edx, eax
mov qword [rsp + 0x20], r9
movzx r8d, bx
mov r9, r11
mov rcx, r10
call fcn.1400025a9
add rsp, 0x30
pop rbx
ret
Function at 0x14009bdb8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x14009bdb8
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
mov dword [rbp - 0x40], 0x44434241
mov ecx, pe_nt_image_headers64
mov dword [rbp - 0x3c], 0x48474645
mov r14, rdx
mov dword [rbp - 0x38], 0x4c4b4a49
mov dword [rbp - 0x34], 0x504f4e4d
mov dword [rbp - 0x30], 0x54535251
mov dword [rbp - 0x2c], 0x58575655
mov dword [rbp - 0x28], 0x62615a59
mov dword [rbp - 0x24], 0x66656463
mov dword [rbp - 0x20], 0x6a696867
mov dword [rbp - 0x1c], 0x6e6d6c6b
mov dword [rbp - 0x18], 0x7271706f
mov dword [rbp - 0x14], 0x76757473
mov dword [rbp - 0x10], 0x7a797877
mov dword [rbp - 0xc], 0x33323130
mov dword [rbp - 8], 0x37363534
mov dword [rbp - 4], 0x2f2b3938
call fcn.140002a68
mov rbx, rax
lea r8, [rbp - 0x40]
xor edx, edx
movzx ecx, byte [r8]
inc r8
mov byte [rcx + rax], dl
inc edx
cmp edx, 0x40
jl 0x14009be60
test r14b, 3
je 0x14009be7e
xor eax, eax
jmp 0x14009bf9b
mov rax, r14
shr rax, 2
cmp byte [rdi + r14 - 1], 0x3d
lea rcx, [rax + rax*2]
lea rax, [rcx - 1]
cmovne rax, rcx
cmp byte [rdi + r14 - 2], 0x3d
lea rsi, [rax - 1]
cmovne rsi, rax
mov rcx, rsi
call fcn.140002a68
xor r10d, r10d
xor r8d, r8d
mov r12, rax
test r14, r14
je 0x14009bf82
mov rdx, rax
movsxd rcx, r10d
inc r10d
movzx r9d, byte [rcx + rdi]
cmp r9b, 0x3d
jne 0x14009bed7
xor ecx, ecx
jmp 0x14009bedc
movzx ecx, byte [r9 + rbx]
movsxd rax, r10d
inc r10d
cmp byte [rax + rdi], 0x3d
jne 0x14009beed
xor r15d, r15d
jmp 0x14009bef6
movzx eax, byte [rax + rdi]
movzx r15d, byte [rax + rbx]
movsxd rax, r10d
inc r10d
cmp byte [rax + rdi], 0x3d
jne 0x14009bf07
xor r11d, r11d
jmp 0x14009bf10
movzx eax, byte [rax + rdi]
movzx r11d, byte [rax + rbx]
movsxd rax, r10d
inc r10d
cmp byte [rax + rdi], 0x3d
jne 0x14009bf21
xor r9d, r9d
jmp 0x14009bf2a
movzx eax, byte [rax + rdi]
movzx r9d, byte [rax + rbx]
shl ecx, 6
add ecx, r15d
movsxd rax, r8d
shl ecx, 6
add ecx, r11d
shl ecx, 6
add ecx, r9d
cmp rax, rsi
jae 0x14009bf51
mov eax, ecx
inc r8d
shr eax, 0x10
mov byte [rdx], al
inc rdx
movsxd rax, r8d
cmp rax, rsi
jae 0x14009bf66
mov eax, ecx
inc r8d
shr eax, 8
mov byte [rdx], al
inc rdx
movsxd rax, r8d
cmp rax, rsi
jae 0x14009bf76
inc r8d
mov byte [rdx], cl
inc rdx
movsxd rcx, r10d
cmp rcx, r14
jb 0x14009bec2
mov rcx, rbx
call fcn.14000204f
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call fcn.1400025c7
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14009c03c
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
jmp 0x14009c03c
push rbp
mov rbp, rsp
sub rsp, 0x10
mov r10, rcx
mov dword [rbp - 0x10], 0x297a795a
xor ecx, ecx
mov dword [rbp - 0xc], 0x7a43376c
mov dword [rbp - 8], 0x68344e35
mov r8, rdx
test rdx, rdx
je 0x14009c09b
mov r9d, ecx
inc ecx
movabs rax, 0xaaaaaaaaaaaaaaab
mul r9
shr rdx, 3
lea rax, [rdx + rdx*2]
shl rax, 2
sub r9, rax
mov al, byte [rbp + r9 - 0x10]
xor byte [r10], al
inc r10
movsxd r9, ecx
cmp r9, r8
jb 0x14009c06a
mov rax, r8
add rsp, 0x10
pop rbp
ret

Function at 0x14009d3b0
Capabilities:
Parse pe header

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

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

Function at 0x14000b1c0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000afbc
Function at 0x14001077c
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 0x1400107ac
xor eax, eax
jmp 0x14001086f
mov rbp, rbx
cmp word [rax], si
je 0x1400107d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400107b8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400107b4
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.14001069c
movsxd r14, eax
test eax, eax
jne 0x14001080f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400107a5
mov rcx, r14
call fcn.14000cc3c
mov rdi, rax
test rax, rax
jne 0x140010828
xor ecx, ecx
call fcn.14000bfc4
jmp 0x140010804
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.14001069c
test eax, eax
jne 0x140010859
mov rcx, rdi
call fcn.14000bfc4
jmp 0x140010863
xor ecx, ecx
call fcn.14000bfc4
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