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

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x250
mov rbx, qword [0x1400058d0]
lea rsi, section..rdata
mov rax, qword [rbx]
mov qword [rsp + 0x248], rax
xor eax, eax
lea rdi, [rsp + 0x28]
mov r9, rcx
mov ecx, 8
rep movsd dword [rdi], dword [rsi]
lea r10, [rsp + 0x148]
mov r11, rdx
lea rbp, [rsp + 0x48]
mov rdx, rax
mov byte [rax + r10], al
inc rax
and edx, 0x1f
mov dl, byte [rsp + rdx + 0x28]
mov byte [rax + rbp - 1], dl
cmp rax, 0x100
jne 0x140002cfb
mov r12, r10
xor esi, esi
xor r13d, r13d
mov edi, 0x100
movzx eax, byte [r12]
movzx edx, byte [rbp + rsi]
inc rsi
add eax, r13d
add eax, edx
cdq
idiv edi
movsxd rcx, edx
mov rdx, r12
inc r12
mov r13, rcx
add rcx, r10
call fcn.140002ba0
cmp rsi, 0x100
jne 0x140002d25
lea rdi, [r9 + r11]
xor ebp, ebp
xor r12d, r12d
cmp rdi, r9
je 0x140002db5
lea eax, [rbp + 1]
cdq
idiv esi
movsxd r13, edx
movzx eax, byte [rsp + r13 + 0x148]
lea rcx, [r10 + r13]
mov rbp, r13
add eax, r12d
cdq
idiv esi
movsxd r14, edx
lea rdx, [r10 + r14]
mov r12, r14
call fcn.140002ba0
mov cl, byte [rsp + r14 + 0x148]
add cl, byte [rsp + r13 + 0x148]
movzx ecx, cl
mov al, byte [rsp + rcx + 0x148]
xor byte [r9], al
inc r9
jmp 0x140002d60
mov rax, qword [rsp + 0x248]
sub rax, qword [rbx]
je 0x140002dc7
call fcn.140002510
mov rax, r11
add rsp, 0x250
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret

Function at 0x140002f70
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rdi, qword [0x1400058d0]
xor r13d, r13d
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
xor eax, eax
call fcn.140002930
lea rcx, str.ntdll.dll
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movsxd rbx, dword [rbp + 0x3c]
mov r12, rax
xor eax, eax
mov dword [rsp + 0x34], eax
add rbx, rbp
lea r15, [rbx + 0x18]
movzx eax, word [rbx + 6]
cmp eax, r13d
jle 0x14000304a
imul rax, r13, 0x28
movzx r10d, word [rbx + 0x14]
lea rdx, str..text
add r10, r15
lea r14, [r10 + rax]
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140002ff2
inc r13
jmp 0x140002fbd
mov ecx, dword [r14 + 0xc]
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov edx, dword [r14 + 8]
mov qword [rsp + 0x28], r9
add rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000304a
mov esi, dword [r14 + 0xc]
mov ecx, dword [r14 + 8]
mov r9, qword [rsp + 0x28]
lea rax, [r12 + rsi]
add rsi, rbp
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
mov ecx, dword [r14 + 0xc]
mov edx, dword [r14 + 8]
mov r8d, dword [rsp + 0x34]
add rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002fed
mov rdi, qword [0x1400058d0]
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi]
je 0x140003061
call fcn.140002510
nop
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140003080
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
mov rsi, rcx
test rbx, rbx
je 0x1400030c3
cmp word [rbx + 0x48], 0
je 0x1400030c1
mov rcx, qword [rbx + 0x50]
mov rdx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
jne 0x1400030bc
mov rbx, qword [rbx + 0x20]
jmp 0x1400030c3
mov rbx, qword [rbx]
jmp 0x14000309a
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1400030d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor eax, eax
cmp word [rcx], 0x5a4d
mov rbx, rcx
mov rbp, rdx
jne 0x140003151
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140003151
mov edi, dword [rdx + 0x88]
xor esi, esi
add rdi, rcx
mov r12d, dword [rdi + 0x20]
mov r13d, dword [rdi + 0x14]
add r12, rcx
cmp esi, r13d
jae 0x14000314f
mov edx, dword [r12 + rsi*4]
mov rcx, rbp
add rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov edx, eax
lea rax, [rsi + 1]
test edx, edx
jne 0x14000314a
mov eax, dword [rdi + 0x24]
add rsi, rsi
add rsi, rbx
movzx edx, word [rsi + rax]
mov eax, dword [rdi + 0x1c]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
jmp 0x140003151
mov rsi, rax
jmp 0x140003110
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140001d64
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10090
call fcn.140026980
sub rsp, rax
mov rax, qword [0x140063a48]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx edx, byte [rcx]
lea rbx, [rsp + 0x30]
xor eax, eax
mov rsi, rcx
mov word [rsp + 0x80], ax
mov word [rsp + 0x30], ax
lea edi, [rax + 0x28]
test dl, dl
je 0x140022302
nop dword [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x1400222ad
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x1400222a0
cmp rcx, 1
jb 0x14002235a
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400222d0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140035a9c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x140022290
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x140022333
lea rcx, [rsp + 0x80]
call fcn.1400388d4
jmp 0x140022335
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.1400266b0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140035848
int3
Function at 0x1400261a0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140063a48]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rbx, [rsp + 0x30]
mov rbp, rdx
mov word [rsp + 0x30], ax
movzx edx, byte [rcx]
mov rsi, rcx
lea edi, [rax + 0x28]
test dl, dl
je 0x140026245
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x1400261fd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x1400261f0
cmp rcx, 1
jb 0x140026276
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140026213
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140035a9c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x1400261e0
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400266b0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.140035848
int3
Function at 0x140026380
Capabilities:
Set environment variable

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0xb0
mov rax, qword [0x140063a48]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [0x140065880]
mov rbp, r8
mov rsi, rdx
mov r14, rcx
test rax, rax
jne 0x1400263d0
lea rcx, [0x140046c24]
call qword [sym.imp.python39.dll_PyImport_ImportModule]
mov qword [0x140065880], rax
test rax, rax
je 0x14002660a
mov qword [rsp + 0xa8], rbx
lea rdx, str.environ
mov qword [rsp + 0xa0], rdi
mov rcx, rax
mov qword [rsp + 0x98], r13
mov qword [rsp + 0x90], r15
call qword [sym.imp.python39.dll_PyObject_GetAttrString]
mov rcx, rsi
mov r15, rax
call qword [sym.imp.python39.dll_PyUnicode_FromString]
movzx edx, byte [rsi]
lea rbx, [rsp + 0x30]
xor ecx, ecx
mov r13, rax
mov word [rsp + 0x30], cx
lea edi, [rcx + 0x28]
test rbp, rbp
je 0x140026506
test dl, dl
je 0x1400264a2
nop
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14002644d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x140026440
cmp rcx, 1
jb 0x140026610
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140026470
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140035a9c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x140026430
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, rbp
call qword [sym.imp.python39.dll_PyUnicode_FromWideChar]
mov rdx, r13
mov rcx, r15
mov r8, rax
mov rbx, rax
call qword [sym.imp.python39.dll_PyObject_SetItem]
test eax, eax
je 0x1400264ed
mov ecx, 1
call qword [sym.imp.python39.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python39.dll_Py_Exit]
int3
sub qword [rbx], 1
jne 0x1400265a7
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x1400265a7
test dl, dl
je 0x140026582
nop word [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14002652d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x140026520
cmp rcx, 1
jb 0x140026604
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140026550
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.140035a9c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x140026510
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, r13
mov rcx, r15
call qword [sym.imp.python39.dll_PyObject_DelItem]
test eax, eax
je 0x1400265a7
mov rcx, r14
call fcn.1400012b0
sub qword [r13], 1
jne 0x1400265b8
mov rax, qword [r13 + 8]
mov rcx, r13
call qword [rax + 0x30]
sub qword [r15], 1
jne 0x1400265c8
mov rax, qword [r15 + 8]
mov rcx, r15
call qword [rax + 0x30]
mov r13, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400266b0
add rsp, 0xb0
pop r14
pop rsi
pop rbp
ret
call fcn.140035848
int3
call fcn.140035848
int3
call fcn.140035848
int3
Function at 0x1400270f8
Capabilities:
Parse pe header

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

Function at 0x14002c088
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 0x14002bef3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002bef3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002bef3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002bef3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002bef3
cmp dword [rcx + 0x84], 0xe
jbe 0x14002bef3
cmp dword [rcx + 0xf8], 0
je 0x14002bef3
mov ecx, ebx
call fcn.14002bfa4
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.14002bd80
nop
cmp dword [rbp + 0x20], 0
je 0x14002bf41
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002bf4c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14002be84
Function at 0x14003db40
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 0x14003dbc7
mov rsi, rbx
cmp word [rax], bp
je 0x14003db86
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003db70
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003db6c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400389c0
mov rdi, rax
test rax, rax
je 0x14003dbb4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400274a0
mov rbp, rdi
xor ecx, ecx
call fcn.1400398f4
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 0x14004173c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140041752
mov al, 1
jmp 0x1400417b2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140041763
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400417b0
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003e2e4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400417b0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400417b0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400417b0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400417b2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140001000
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xe338fad6
call fcn.140001b98
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001040
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x47c1414f
call fcn.140001b98
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001080
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x37853f20
call fcn.140001b98
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400010c0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x7c2b67ad
call fcn.140001b98
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001100
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x20b82624
call fcn.140001b98
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x140001140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor edi, edi
mov dword [rbp + 0x27], 0x65004b
lea rcx, [rbp - 9]
mov word [rbp + 0x3f], di
mov dword [rbp + 0x67], edi
mov dword [rbp + 0x2b], 0x6e0072
mov dword [rbp + 0x2f], 0x6c0065
mov dword [rbp + 0x33], 0x320033
mov dword [rbp + 0x37], 0x64002e
mov dword [rbp + 0x3b], 0x6c006c
mov qword [rbp + 0x77], 0x1000
mov dword [rbp - 9], 0x74006e
mov dword [rbp - 5], 0x6c0064
mov dword [rbp - 1], 0x2e006c
mov dword [rbp + 3], 0x6c0064
mov dword [rbp + 7], 0x6c
mov dword [rbp - 0x19], 0x45777445
mov dword [rbp - 0x15], 0x746e6576
mov dword [rbp - 0x11], 0x74697257
mov word [rbp - 0xd], 0x65
call fcn.1400019c0
mov rcx, rax
lea rdx, [rbp - 0x19]
call fcn.140001a24
mov qword [rbp + 0x6f], rax
lea r9d, [rdi + 0x40]
lea rax, [rbp + 0x67]
or rbx, 0xffffffffffffffff
lea r8, [rbp + 0x77]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call fcn.140001040
mov rcx, qword [rbp + 0x6f]
lea r8d, [rdi + 4]
lea rdx, [0x1400052b4]
call fcn.1400012d4
mov r9d, dword [rbp + 0x67]
lea rax, [rbp + 0x67]
lea r8, [rbp + 0x77]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call fcn.140001040
movdqa xmm0, xmmword [0x140005440]
lea rcx, [rbp + 0x27]
movdqu xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0x1f], 0x68636143
mov word [rbp + 0x23], 0x65
call fcn.1400019c0
mov rcx, rax
lea rdx, [rbp + 0xf]
call fcn.140001a24
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp + 0x6f]
mov r8d, 0x1000
mov rcx, rax
call rbx
mov rbx, qword [rsp + 0xc8]
xor eax, eax
add rsp, 0x90
pop r14
pop rdi
pop rbp
ret
Function at 0x140001a24
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, dword [rcx + 0x3c]
mov r9, rcx
mov rbp, rdx
mov r8d, dword [r15 + rcx + 0x88]
add r8, rcx
mov esi, dword [r8 + 0x1c]
mov r11d, dword [r8 + 0x20]
add rsi, rcx
mov r14d, dword [r8 + 0x24]
add r11, rcx
add r14, rcx
xor ecx, ecx
cmp rdx, 0x10000
jae 0x140001a98
mov r10d, dword [r8 + 0x10]
movzx edx, bp
cmp edx, r10d
jb 0x140001b91
mov ecx, dword [r8 + 0x14]
add ecx, r10d
cmp edx, ecx
jae 0x140001b91
sub edx, r10d
mov ecx, dword [rsi + rdx*4]
jmp 0x140001ad9
xor eax, eax
cmp dword [r8 + 0x18], eax
jbe 0x140001adc
mov r10d, dword [r11]
mov rdx, rbp
add r10, r9
sub r10, rbp
movzx ebx, byte [rdx]
movzx edi, byte [rdx + r10]
sub ebx, edi
jne 0x140001abf
inc rdx
test edi, edi
jne 0x140001aac
test ebx, ebx
je 0x140001ad1
inc eax
add r11, 4
cmp eax, dword [r8 + 0x18]
jb 0x140001aa0
jmp 0x140001adc
movzx ecx, word [r14 + rax*2]
mov ecx, dword [rsi + rcx*4]
add rcx, r9
cmp rcx, r8
jb 0x140001b75
mov eax, dword [r15 + r9 + 0x8c]
lea rdx, [rax + rax*4]
lea rax, [r8 + rdx*8]
cmp rcx, rax
jae 0x140001b75
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov rbx, rax
test rax, rax
je 0x140001b91
mov edx, 0x2e
mov rcx, rax
call fcn.140002188
mov rdi, rax
mov byte [rax], 0
mov rax, qword [0x140008068]
test rax, rax
jne 0x140001b51
lea rcx, str.KERNEL32.DLL
call fcn.1400019c0
mov rcx, rax
lea rdx, [0x140005450]
call fcn.140001a24
mov qword [0x140008068], rax
test rax, rax
je 0x140001b91
mov rcx, rbx
call rax
mov rcx, rbx
mov rsi, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
test rsi, rsi
je 0x140001b91
lea rdx, [rdi + 1]
mov rcx, rsi
call fcn.140001a24
mov rcx, rax
mov rax, rcx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
xor eax, eax
jmp 0x140001b78

Function at 0x140001bdc
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
mov r8, rcx
mov eax, 0x479a4d5e
cmp byte [rcx], r9b
je 0x140001c06
movzx ecx, word [rcx]
mov edx, eax
ror edx, 8
inc r9d
add edx, ecx
mov ecx, r9d
add rcx, r8
xor eax, edx
cmp byte [rcx], 0
jne 0x140001bec
ret
Function at 0x140001c08
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp dword [0x1400087c0], 0
jne 0x140001da6
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140001dc8
mov r9d, 0x20202020
mov rdi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rdi + 0x88]
test ecx, ecx
je 0x140001c8b
lea rdx, [rdi + rcx]
mov ecx, dword [rdx + 0xc]
mov eax, dword [rcx + rdi]
or eax, r9d
cmp eax, 0x6c64746e
jne 0x140001c8b
mov eax, dword [rcx + rdi + 4]
or eax, r9d
cmp eax, 0x6c642e6c
je 0x140001c97
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x140001c57
test rdx, rdx
je 0x140001dc8
mov r15d, dword [rdx + 0x1c]
mov r14d, dword [rdx + 0x20]
add r15, rdi
mov r12d, dword [rdx + 0x24]
add r14, rdi
mov ebp, dword [rdx + 0x18]
add r12, rdi
xor esi, esi
lea eax, [rbp - 1]
mov ecx, dword [r14 + rax*4]
mov ebp, eax
add rcx, rdi
mov r13d, eax
mov eax, 0x775a
cmp word [rcx], ax
jne 0x140001d0f
mov ebx, esi
add rbx, rbx
call fcn.140001bdc
lea rcx, [0x1400087c0]
inc esi
mov dword [rcx + rbx*8 + 8], eax
movzx eax, word [r12 + r13*2]
lea r13, [0x1400087c0]
mov eax, dword [r15 + rax*4]
and qword [r13 + rbx*8 + 0x10], 0
mov dword [r13 + rbx*8 + 0xc], eax
cmp esi, 0x1f4
je 0x140001d1a
jmp 0x140001d16
lea r13, [0x1400087c0]
test ebp, ebp
jne 0x140001cba
xor r8d, r8d
mov dword [0x1400087c0], esi
lea eax, [rsi - 1]
test eax, eax
je 0x140001da6
mov eax, esi
xor ecx, ecx
sub eax, r8d
cmp eax, 1
je 0x140001d9b
lea r11d, [rcx + 1]
mov r10d, ecx
add r10, r10
mov r9d, r11d
add r9, r9
mov edi, dword [r13 + r10*8 + 0xc]
mov ebx, dword [r13 + r9*8 + 0xc]
cmp edi, ebx
jbe 0x140001d8c
mov eax, dword [r13 + r9*8 + 8]
mov edx, dword [r13 + r10*8 + 8]
mov rcx, qword [r13 + r10*8 + 0x10]
mov dword [r13 + r10*8 + 8], eax
mov rax, qword [r13 + r9*8 + 0x10]
mov qword [r13 + r10*8 + 0x10], rax
mov dword [r13 + r10*8 + 0xc], ebx
mov dword [r13 + r9*8 + 8], edx
mov dword [r13 + r9*8 + 0xc], edi
mov qword [r13 + r9*8 + 0x10], rcx
mov esi, dword [0x1400087c0]
mov eax, esi
mov ecx, r11d
sub eax, r8d
dec eax
cmp r11d, eax
jb 0x140001d36
inc r8d
lea eax, [rsi - 1]
cmp r8d, eax
jb 0x140001d2a
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor eax, eax
jmp 0x140001dab

Function at 0x140002aec
Capabilities:
Parse pe header

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