joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d960
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push r12
push r13
push r14
sub rsp, 0x38
cmp byte [rcx + 4], 0
mov r12, r9
mov r13, r8
mov rbp, rdx
mov r14, rcx
jne 0x14004d995
mov dword [rcx], 0xfffffffa
mov eax, 0xfffffffa
add rsp, 0x38
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x30], r15
call fcn.140006060
mov rax, qword [r14 + 8]
lea r15, [0x1400e1440]
mov qword [rsp + 0x60], rax
xor esi, esi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14004da57
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14004da57
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x93261f40
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14004da52
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14004da30
cmp r8d, 0x9e1cb0ec
je 0x14004da5c
test r9d, r9d
jne 0x14004da10
mov rax, qword [rax]
jmp 0x14004d9e0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, rbp
mov rcx, qword [r15]
add rax, r10
call rax
mov rdx, rax
test rax, rax
jne 0x14004daa0
inc esi
add r15, 8
cmp esi, 2
jb 0x14004d9c0
mov dword [r14], 0xfffffffc
mov eax, 0xfffffffc
jmp 0x14004db14
cmp dword [rax], 0xb8d18b4c
je 0x14004dab6
mov dword [r14], 0xfffffffd
mov eax, 0xfffffffd
jmp 0x14004db14
movzx ecx, byte [rax + 4]
mov rax, qword [r14 + 8]
mov dword [rax + 4], ecx
cmp esi, 1
jne 0x14004dadd
mov rcx, qword [r14 + 8]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
movzx eax, byte [rdx + 0x14]
mov byte [rcx + 0x14], al
mov eax, dword [rsp + 0x98]
mov rdx, r12
mov r9, qword [rsp + 0x88]
mov rcx, r13
mov r8d, dword [rsp + 0x80]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov dword [r14], 0
call qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14004db40
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push r12
push r13
push r14
sub rsp, 0x28
cmp byte [rcx + 4], 0
mov r12, r9
mov r13, r8
mov rbp, rdx
mov r14, rcx
jne 0x14004db75
mov dword [rcx], 0xfffffffa
mov eax, 0xfffffffa
add rsp, 0x28
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], r15
call fcn.140006060
mov rax, qword [r14 + 8]
lea r15, [0x1400e1440]
mov qword [rsp + 0x50], rax
xor esi, esi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14004dc37
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14004dc37
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x93261f40
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14004dc32
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x14004dc10
cmp r8d, 0x9e1cb0ec
je 0x14004dc3c
test r9d, r9d
jne 0x14004dbf0
mov rax, qword [rax]
jmp 0x14004dbc0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, rbp
mov rcx, qword [r15]
add rax, r10
call rax
mov rdx, rax
test rax, rax
jne 0x14004dc80
inc esi
add r15, 8
cmp esi, 2
jb 0x14004dba0
mov dword [r14], 0xfffffffc
mov eax, 0xfffffffc
jmp 0x14004dcd8
cmp dword [rax], 0xb8d18b4c
je 0x14004dc96
mov dword [r14], 0xfffffffd
mov eax, 0xfffffffd
jmp 0x14004dcd8
movzx ecx, byte [rax + 4]
mov rax, qword [r14 + 8]
mov dword [rax + 4], ecx
cmp esi, 1
jne 0x14004dcbd
mov rcx, qword [r14 + 8]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
movzx eax, byte [rdx + 0x14]
mov byte [rcx + 0x14], al
mov r9d, dword [rsp + 0x78]
mov rdx, r12
mov r8, qword [rsp + 0x70]
mov rcx, r13
mov dword [r14], 0
call qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140050aa0
Capabilities:
Get token membership

Disassembly:
mov r11, rsp
sub rsp, 0x68
xor ecx, ecx
mov word [r11 + 0x1c], 0x500
lea rax, [r11 + 0x20]
mov dword [rsp + 0x78], ecx
mov qword [r11 - 0x18], rax
mov r9d, 0x220
mov dword [rsp + 0x48], ecx
mov r8d, 0x20
mov dword [rsp + 0x40], ecx
mov dl, 2
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [r11 + 0x18], ecx
lea rcx, [r11 + 0x18]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140050b1b
mov rdx, qword [rsp + 0x88]
lea r8, [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x88]
test eax, eax
jne 0x140050b22
call qword [sym.imp.ADVAPI32.dll_FreeSid]
xor al, al
add rsp, 0x68
ret
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x78], 1
sete al
add rsp, 0x68
ret
Function at 0x140052380
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x430
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x460]
call fcn.140023760
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov r9, rbx
mov r8d, 0x400
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf_s]
mov ecx, dword [0x1400e1988]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1400e18b0], eax
jg 0x140052516
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140052496
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140052496
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0x820b8d55
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x140052491
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x140052470
cmp r8d, 0x2ed2c8b4
je 0x14005249b
test r9d, r9d
jne 0x140052450
mov rax, qword [rax]
jmp 0x140052420
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
add rax, r10
mov r9d, 0x40030
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov rcx, qword [0x1400e18a8]
call rax
mov rdx, 0xffffffffffffffff
mov rcx, rsi
call fcn.14004f890
add rsp, 0x430
pop rdi
pop rsi
pop rbx
ret
mov edx, dword [rbx + 0x1c]
add rdx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov edx, dword [rdx + rax*4]
add rdx, r10
call rdx
mov qword [0x1400e18a8], rax
lea rcx, [0x1400e18b0]
call fcn.1400593b8
jmp 0x14005240a
lea rcx, [0x1400e18b0]
call fcn.140059424
cmp dword [0x1400e18b0], 0xffffffff
jne 0x14005240a
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400525ba
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400525ba
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
mov r8d, 0x3c431411
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400525b5
nop
movsx ecx, cl
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x140052590
cmp r8d, 0x37987d26
je 0x1400524e5
test r9d, r9d
jne 0x140052570
mov rax, qword [rax]
jmp 0x140052540
Function at 0x140054fc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
mov eax, 0xffffffff
test edx, edx
je 0x140054ffe
mov r10d, edx
lea r11, [0x1400d7b80]
nop word [rax + rax]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx ecx, r8b
xor eax, dword [r11 + rcx*4]
sub r10, 1
jne 0x140054fe0
not eax
ret

Function at 0x140055500
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push r12
push r13
push r14
sub rsp, 0x28
cmp byte [rcx + 4], 0
mov r12d, r9d
mov r13d, r8d
mov rbp, rdx
mov r14, rcx
jne 0x140055535
mov dword [rcx], 0xfffffffa
mov eax, 0xfffffffa
add rsp, 0x28
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], r15
call fcn.140006060
mov rax, qword [r14 + 8]
lea r15, [0x1400e1440]
mov qword [rsp + 0x50], rax
xor esi, esi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400555f7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400555f7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x2322025b
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400555f2
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400555d0
cmp r8d, 0xafcf466f
je 0x1400555fc
test r9d, r9d
jne 0x1400555b0
mov rax, qword [rax]
jmp 0x140055580
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, rbp
mov rcx, qword [r15]
add rax, r10
call rax
mov rdx, rax
test rax, rax
jne 0x140055640
inc esi
add r15, 8
cmp esi, 2
jb 0x140055560
mov dword [r14], 0xfffffffc
mov eax, 0xfffffffc
jmp 0x140055698
cmp dword [rax], 0xb8d18b4c
je 0x140055656
mov dword [r14], 0xfffffffd
mov eax, 0xfffffffd
jmp 0x140055698
movzx ecx, byte [rax + 4]
mov rax, qword [r14 + 8]
mov dword [rax + 4], ecx
cmp esi, 1
jne 0x14005567d
mov rcx, qword [r14 + 8]
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
movzx eax, byte [rdx + 0x14]
mov byte [rcx + 0x14], al
mov r9, qword [rsp + 0x78]
mov edx, r12d
mov r8d, dword [rsp + 0x70]
mov ecx, r13d
mov dword [r14], 0
call qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140059fb4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140059ffe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140059ffe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140059ffe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140059ffe
cmp dword [rcx + 0x84], 0xe
jbe 0x140059ffe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005a000
xor al, al
add rsp, 0x28
ret
Function at 0x140005a20
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r8, rcx
movsxd r10, edx
xor eax, eax
mov r9d, edx
mov ecx, 0x40
lea rdi, [rsp]
rep stosb byte [rdi], al
mov rdi, r10
lea rcx, [rsp]
shr rdi, 3
test rdi, rdi
je 0x140005a74
nop dword [rax + rax]
mov rax, qword [r8]
add r8, 8
mov qword [rcx], rax
add rcx, 8
sub rdi, 1
jne 0x140005a60
mov rdx, r10
and edx, 7
je 0x140005a92
sub rcx, r8
nop
movzx eax, byte [r8]
mov byte [rcx + r8], al
lea r8, [r8 + 1]
sub rdx, 1
jne 0x140005a80
xor r8d, r8d
test r9d, r9d
jle 0x140005ab9
mov edx, r8d
nop dword [rax]
movzx ecx, byte [rsp + rdx]
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x140005ab1
add cl, 0x20
mov byte [rsp + rdx], cl
inc rdx
cmp rdx, r10
jl 0x140005aa0
lea rdx, [rsp]
mov r11d, r9d
mov r10d, 0xb801fcda
cmp r9d, 4
jl 0x140005b07
mov rdi, r9
shr rdi, 2
mov eax, edi
neg eax
lea r9d, [r9 + rax*4]
nop dword [rax + rax]
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r10d, r10d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r10d, ecx
sub rdi, 1
jne 0x140005ae0
sub r9d, 1
je 0x140005b2c
sub r9d, 1
je 0x140005b22
cmp r9d, 1
jne 0x140005b32
movzx r8d, byte [rdx + 2]
shl r8d, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [rdx]
xor r8d, eax
imul ecx, r8d, 0x5bd1e995
imul edi, r11d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r10d, 0x5bd1e995
xor ecx, eax
mov eax, edi
shr eax, 0x18
xor eax, edi
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140023a80
add rsp, 0x50
pop rdi
ret
Function at 0x140022b50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov edx, 0xf
mov r8d, 0xa86f8bb2
mov rbx, rcx
lea r9d, [rdx - 1]
call fcn.140005660
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov rdi, rax
test rax, rax
je 0x140022d4d
mov dword [rsp + 0x40], 0x238
mov r9d, 0xd
mov r8d, 0x5e57b014
jmp 0x140022d17
mov byte [rsp + 0x20], 0
mov byte [rsp + 0x21], 0x75
mov byte [rsp + 0x22], 0x5c
mov byte [rsp + 0x23], 0x2d
mov byte [rsp + 0x24], 0x5c
mov byte [rsp + 0x25], 0x52
mov byte [rsp + 0x26], 0x5c
mov byte [rsp + 0x27], 0x25
mov byte [rsp + 0x28], 0x5c
mov byte [rsp + 0x29], 0x27
mov byte [rsp + 0x2a], 0x5c
mov byte [rsp + 0x2b], 0x29
mov byte [rsp + 0x2c], 0x5c
mov byte [rsp + 0x2d], 0x75
mov byte [rsp + 0x2e], 0x5c
mov byte [rsp + 0x2f], 0x29
mov byte [rsp + 0x30], 0x5c
mov byte [rsp + 0x31], 0x26
mov byte [rsp + 0x32], 0x5c
mov byte [rsp + 0x33], 0x75
mov byte [rsp + 0x34], 0x5c
mov byte [rsp + 0x35], 0x2d
mov byte [rsp + 0x36], 0x5c
mov byte [rsp + 0x37], 0x75
mov byte [rsp + 0x38], 0x5c
mov byte [rsp + 0x39], 0x5c
mov byte [rsp + 0x3a], 0x5c
movzx eax, byte [rsp + 0x21]
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x140022cb1
xor r8d, r8d
nop dword [rax + rax]
movzx ecx, byte [rsp + r8 + 0x21]
mov eax, 0x5c
sub eax, ecx
imul ecx, eax, 0x3e
mov eax, 0x81020409
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rsp + r8 + 0x21], cl
inc r8
cmp r8, 0x1a
jb 0x140022c60
mov edx, 0xf
mov r8d, 0xcd7328ca
lea r9d, [rdx + 0x42]
call fcn.140005660
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x6c]
call rax
test eax, eax
jne 0x140022d0b
lea ecx, [rax + 0x18]
call fcn.140027ef0
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
test rax, rax
je 0x140022d33
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov rcx, qword [rbx + 8]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
add rax, 8
mov qword [rbx + 8], rax
mov r9d, 0xc
mov r8d, 0xc9a81ce0
mov edx, 0xf
call fcn.140005660
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rax
test eax, eax
jne 0x140022bc0
mov r9d, 0x5b
mov r8d, 0xca528872
lea edx, [r9 - 0x4c]
call fcn.140005660
mov rcx, rdi
call rax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140023a80
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400245d8
Capabilities:
Parse pe header

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

Function at 0x14002889c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140028698
Function at 0x14002bde4
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 0x14002be14
xor eax, eax
jmp 0x14002bed7
mov rbp, rbx
cmp word [rax], si
je 0x14002be39
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002be20
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14002be1c
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.14002bd04
movsxd r14, eax
test eax, eax
jne 0x14002be77
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14002be0d
mov rcx, r14
call fcn.14002997c
mov rdi, rax
test rax, rax
jne 0x14002be90
xor ecx, ecx
call fcn.1400299dc
jmp 0x14002be6c
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.14002bd04
test eax, eax
jne 0x14002bec1
mov rcx, rdi
call fcn.1400299dc
jmp 0x14002becb
xor ecx, ecx
call fcn.1400299dc
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 0x140031440
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140031468
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140031468
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001048
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 0x85b3b69
mov rbx, rcx
jne 0x14000109f
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x14000109f
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000109f
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
test rax, rax
je 0x14000109f
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor eax, eax
jmp 0x1400010a4
mov eax, 0xc0000001
add rsp, 0x20
pop rbx
ret

Function at 0x1400010ac
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x85b3b69
mov rsi, rcx
jne 0x140001179
xor edi, edi
lea r9, [rax + 8]
xor r8d, r8d
mov dword [rax + 8], edi
lea rdx, [rax + 8]
lea ecx, [rdi + 0x42]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140001179
mov edx, dword [rsp + 0x30]
xor ecx, ecx
mov r8d, 0x706f6f6c
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x14000110f
mov eax, 0xc000009a
jmp 0x14000117e
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rax
mov ecx, 0x42
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
js 0x14000116b
mov r8d, dword [rbx]
test r8d, r8d
je 0x14000116b
mov edx, edi
shl rdx, 5
test byte [rdx + rbx + 0x10], 1
je 0x140001164
cmp qword [rdx + rbx + 0x18], 0x200000
jne 0x140001164
mov ecx, dword [0x140001cf0]
mov r9b, byte [0x140001cf4]
cmp dword [rdx + rbx + 0x20], ecx
jne 0x140001164
cmp byte [rdx + rbx + 0x24], r9b
je 0x14000118e
inc edi
cmp edi, r8d
jb 0x140001132
mov edx, 0x706f6f6c
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rsi + 8]
mov rax, qword [rdx + rbx + 8]
mov edx, 0x706f6f6c
mov qword [rcx], rax
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
jmp 0x14000117e
Function at 0x1400011ac
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx], 0x85b3b69
mov rdi, rcx
jne 0x140001250
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x140001250
and qword [r11 + 8], 0
lea rdx, [r11 + 8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140001250
call fcn.140001268
mov rcx, qword [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rdi + 8]
mov rcx, rbx
mov rsi, qword [rdi + 0x18]
call fcn.14000151c
test rax, rax
je 0x140001250
mov ecx, eax
lea r9, [rsp + 0x38]
and ecx, 0xfff
mov edx, 0x1000
sub edx, ecx
mov rcx, rax
cmp edx, esi
cmovl esi, edx
cmp byte [rdi + 0x20], 0
mov rdx, qword [rdi + 0x10]
movsxd r8, esi
je 0x140001247
call fcn.1400016c4
jmp 0x14000124c
call fcn.140001498
xor eax, eax
jmp 0x140001255
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a29f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10090
call fcn.1400a7480
sub rsp, rax
mov rax, qword [0x1400e7680]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx eax, byte [rcx]
lea rbx, [rsp + 0x30]
xor ebp, ebp
mov rsi, rcx
mov word [rsp + 0x80], bp
mov word [rsp + 0x30], bp
lea edi, [rbp + 0x28]
test al, al
je 0x1400a2aa2
mov r8d, 2
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x20]
mov byte [rsp + 0x21], bpl
lea rcx, [rsp + 0x24]
call fcn.1400b72a4
cmp rax, 1
jne 0x1400a2afe
mov rcx, rdi
mov rax, rbx
cmp word [rbx], bp
je 0x1400a2a7f
add rax, 2
dec rcx
cmp word [rax], bp
jne 0x1400a2a73
cmp rcx, 1
jb 0x1400a2afe
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
mov word [rax + 2], bp
dec rdi
movzx eax, byte [rsi]
test al, al
jne 0x1400a2a40
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x1400a2ad3
lea rcx, [rsp + 0x80]
call fcn.1400b9da4
jmp 0x1400a2ad5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.1400a71b0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400ab840
int3