joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400030c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000311d
lea rbx, [0x140067370]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003104
cmp r10, 2
jb 0x140003104
cmp byte [r9], r8b
jne 0x140003104
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400030e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000315f
lea rbx, [0x140067370]
cmp r8b, 0x23
jne 0x140003143
cmp byte [r9], r8b
jne 0x140003143
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003130
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400032a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400032ba
mov qword [r8], 0
lea rdx, [0x140066ec0]
call fcn.140003170
mov rbx, rax
test rax, rax
jne 0x1400032da
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400033b3
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400033b3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400033b3
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400033b3
cmp rdi, 0xffffffffffffffff
je 0x1400033b3
mov rax, qword [0x14007a9e0]
test rax, rax
je 0x140003350
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x1400033b3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400033a0
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14007a9e0]
test rax, rax
je 0x140003395
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400033bc
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400033ae
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400033be
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006ae0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x140067370]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140006b74
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001b0a0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140006b90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x140067370]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14000a470
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x14007a9e0]
mov r15d, edx
mov r12d, dword [rsp + 0x90]
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
mov eax, dword [rbx + 0x14]
movss xmm2, dword [rbx + 0x250]
and eax, 4
movss xmm3, dword [rbx + 0x254]
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x14000a4d6
cmp qword [rdi + 0x4b30], 0
je 0x14000a4de
movss xmm2, dword [rbx + 0x220]
cvttss2si eax, dword [r8]
xor r14d, r14d
subss xmm2, dword [rbx + 0x100]
subss xmm3, dword [rbx + 0x104]
xorps xmm5, xmm5
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm5
cvtdq2ps xmm0, xmm0
jp 0x14000a519
mov eax, 1
je 0x14000a51c
mov eax, r14d
ucomiss xmm0, xmm5
jp 0x14000a529
jne 0x14000a529
mov r14d, 2
movss xmm4, dword [0x14006cc50]
or r14d, eax
comiss xmm5, xmm1
jb 0x14000a544
addss xmm2, xmm1
movaps xmm1, xmm2
maxss xmm1, xmm4
comiss xmm5, xmm0
jb 0x14000a554
addss xmm3, xmm0
movaps xmm0, xmm3
maxss xmm0, xmm4
or dword [rdi + 0x47b0], 2
xor edx, edx
movss dword [rdi + 0x47d0], xmm1
movss dword [rdi + 0x47d4], xmm0
mov dword [rdi + 0x47b8], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14000a59d
mov dword [rsp + 0x28], r15d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140002fa0
jmp 0x14000a5b3
lea r8, str._s__08X
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x70]
call fcn.140002fa0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
movss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.14000d150
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r15d
mov byte [rsi + 0xd2], r14b
jne 0x14000a601
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r15d
lea rdx, [0x140066371]
not r9d
lea r10, [0x140067370]
mov ebx, r9d
mov r8b, 0x23
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x14000a633
cmp byte [rdx], r8b
jne 0x14000a633
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000a620
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000a663
xor edx, edx
xor ecx, ecx
call fcn.140006d80
cmp dword [rdi + 0x48c8], r15d
jne 0x14000a6b0
bt r12d, 0x17
jb 0x14000a6b0
cmp word [rsi + 0x15c], 0
jne 0x14000a686
cmp byte [rsi + 0x162], 0
je 0x14000a6b0
xor edx, edx
mov rcx, rsi
call fcn.14000f580
xor edx, edx
mov rcx, rsi
call fcn.140015cb0
mov rdx, rsi
mov ecx, ebx
call fcn.140006d80
mov eax, dword [rdi + 0x48ec]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140013a30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140078140]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14007a9e0]
mov edi, ecx
cmp byte [rbx + 0x4a79], 0
jne 0x140013a91
cmp byte [rbx + 0x4a7a], 0
jne 0x140013a91
movsx r9d, word [rbx + 0x5bb2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002f20
test dil, 2
je 0x140013bbf
jmp 0x140013b1c
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bb2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14006cc7c]
mov edx, 0x10
mulss xmm1, dword [0x14006cc6c]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47c8], rax
mov dword [rbx + 0x47b4], 1
movss dword [rbx + 0x47c0], xmm0
movss dword [rbx + 0x47c4], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x14006cb7c]
or dword [rbx + 0x47b0], 0x41
movss dword [rbx + 0x4810], xmm0
call fcn.140002f20
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013b70
lea r11, [0x140067370]
nop dword [rax]
cmp r9b, 0x23
jne 0x140013b53
cmp byte [r8], r9b
jne 0x140013b53
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013b40
not ecx
call fcn.14000a9f0
test rax, rax
je 0x140013bbf
cmp byte [rax + 0xb6], 0
je 0x140013bbf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bb2]
movsx r9d, word [rbx + 0x5bb2]
call fcn.140002f20
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d150
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140060410
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400198d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca0], 0
lea rbx, [rcx + 0x5ca8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140019977
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001992a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001bdf0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003a30
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14007a9d8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001997f
mov rcx, rbx
call fcn.140003a30
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019e00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14007a9e0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019e63
mov qword [rsp], rbx
lea rbx, [0x140067370]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019e43
cmp byte [r8], r9b
jne 0x140019e43
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140019e30
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c10]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019e97
mov r10, qword [r10 + 0x5c18]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140019e9e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019e84
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400612ec
Capabilities:
Parse pe header

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

Disassembly:
call fcn.1415881df
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 0x141588089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14158806f
add dl, dl
jne 0x141588096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415880f6
xor eax, eax
add dl, dl
jne 0x1415880a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415881ad
add dl, dl
jne 0x1415880b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415880c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415880d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415880dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415880ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14158807e
mov eax, 1
add dl, dl
jne 0x141588106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141588113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415880fb
sub eax, ebx
mov ebx, 1
jne 0x14158814c
mov ecx, 1
add dl, dl
jne 0x14158812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14158813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141588123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14158807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141588168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141588175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14158815d
cmp eax, 0x7d00
jae 0x14158819b
cmp eax, 0x500
jb 0x141588196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14158807e
cmp eax, 0x7f
ja 0x14158819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14158807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415881d2
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 0x14158807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400110b4
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x140012660
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x1408400a4]
call fcn.14001139d
nop
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 1
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
lea rcx, str.NTDLL.DLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlAddVectoredExceptionHandler
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xa8], rax
mov rdx, qword [rbp + 0xa8]
lea rcx, str.___RtlAddVectoredExceptionHandler:_0x_p_n
call fcn.1400111b3
nop
mov rax, qword [rbp + 0xa8]
movzx eax, byte [rax]
cmp eax, 0xcc
je 0x140012742
mov rax, qword [rbp + 0xa8]
movzx eax, byte [rax]
cmp eax, 0xe9
jne 0x14001272f
mov rax, qword [rbp + 0xa8]
add rax, 5
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 1]
mov dword [rbp + 4], eax
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
jmp 0x140012742
mov rax, qword [rbp + 0xa8]
inc rax
mov qword [rbp + 0xa8], rax
jmp 0x1400126dd
cmp qword [rbp + 0x68], 0
jne 0x140012750
xor eax, eax
jmp 0x1400127e3
mov rdx, qword [rbp + 0x68]
lea rcx, str.___RtlpAddVectoredHandler:_0x_p_n
call fcn.1400111b3
nop
xor eax, eax
cmp eax, 1
je 0x1400127e1
mov rax, qword [rbp + 0x68]
movzx eax, byte [rax]
cmp eax, 0x48
jne 0x1400127d4
mov rax, qword [rbp + 0x68]
movzx eax, byte [rax + 1]
cmp eax, 0x8d
jne 0x1400127d4
mov rax, qword [rbp + 0x68]
movzx eax, byte [rax + 2]
cmp eax, 0xd
jne 0x1400127d4
cmp dword [rbp + 0x24], 2
jne 0x1400127cc
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 3]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x68]
add rax, 7
mov qword [rbp + 0x48], rax
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
jmp 0x1400127e3
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x68]
inc rax
mov qword [rbp + 0x68], rax
jmp 0x140012761
xor eax, eax
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret

Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x140014060
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 0x14001128f
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x1400118c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1408400a4]
call fcn.14001139d
nop
lea rdx, str.NtClose
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx], rax
lea rdx, str.NtOpenProcess
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx + 8], rax
lea rdx, str.NtCreateSection
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx + 0x10], rax
lea rdx, str.NtMapViewOfSection
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx + 0x18], rax
lea rdx, str.NtReadVirtualMemory
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx + 0x20], rax
lea rdx, str.NtWriteVirtualMemory
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx + 0x28], rax
lea rdx, str.NtProtectVirtualMemory
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx + 0x30], rax
lea rdx, str.NtQuerySystemInformation
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx + 0x38], rax
lea rdx, str.NtQueryInformationProcess
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0xe8]
mov qword [rcx + 0x40], rax
mov rax, qword [rbp + 0xe8]
cmp qword [rax + 0x10], 0
je 0x140011a78
mov rax, qword [rbp + 0xe8]
cmp qword [rax + 0x18], 0
je 0x140011a78
mov rax, qword [rbp + 0xe8]
cmp qword [rax + 0x38], 0
je 0x140011a78
mov rax, qword [rbp + 0xe8]
cmp qword [rax + 0x40], 0
je 0x140011a78
mov rax, qword [rbp + 0xe8]
cmp qword [rax + 0x30], 0
je 0x140011a78
mov rax, qword [rbp + 0xe8]
cmp qword [rax], 0
je 0x140011a78
mov rax, qword [rbp + 0xe8]
cmp qword [rax + 8], 0
je 0x140011a78
mov rax, qword [rbp + 0xe8]
cmp qword [rax + 0x20], 0
je 0x140011a78
mov rax, qword [rbp + 0xe8]
cmp qword [rax + 0x28], 0
jne 0x140011a8b
lea rcx, str.____Some_NTAPI_addresses_werent_retrieved_n
call fcn.1400111b3
nop
xor eax, eax
jmp 0x140011a90
mov eax, 1
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140011294
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x140012bd0
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rsi, qword [rax + 0x20]
mov rsi, qword [rsi + 8]
lodsq rax, qword [rsi]
xchg rsi, rax
lodsq rax, qword [rsi]
mov rax, qword [rax + 0x20]
ret
Function at 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400153b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400153d0
xor al, al
jmp 0x140015451
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400153e3
xor al, al
jmp 0x140015451
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 0x14001540d
xor al, al
jmp 0x140015451
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015421
xor al, al
jmp 0x140015451
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015433
xor al, al
jmp 0x140015451
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001544f
xor al, al
jmp 0x140015451
mov al, 1
add rsp, 0x38
ret
Function at 0x1400132a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113c5
movzx eax, al
test eax, eax
jne 0x1400132c0
mov ecx, 7
call fcn.140011343
nop
mov byte [rsp + 0x20], 0
call fcn.140011357
mov byte [rsp + 0x21], al
cmp dword [0x14083baf8], 1
jne 0x1400132e4
mov ecx, 7
call fcn.140011343
nop
jmp 0x14001333c
cmp dword [0x14083baf8], 0
jne 0x140013337
mov dword [0x14083baf8], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111b8
test eax, eax
je 0x140013318
mov eax, 0xff
jmp 0x140013441
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.14001134d
mov dword [0x14083baf8], 2
jmp 0x14001333c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001132f
call fcn.1400112c6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013399
mov rcx, qword [rsp + 0x30]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x140013399
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 [0x140841020]
nop
call fcn.1400112f8
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400133cd
mov rcx, qword [rsp + 0x38]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x1400133cd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011384
nop
call fcn.1400134f0
mov dword [rsp + 0x28], eax
call fcn.1400112a3
movzx eax, al
test eax, eax
jne 0x1400133ec
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400133fb
call fcn.14001138e
nop
xor edx, edx
mov cl, 1
call fcn.140011159
mov eax, dword [rsp + 0x28]
jmp 0x140013441
add rsp, 0x68
ret
Function at 0x140001dc0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x140005718]
syscall
ret

Function at 0x140001dcc
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x14000571c]
syscall
ret

Function at 0x140001de4
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x140005710]
syscall
ret

Function at 0x140001df0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x140005720]
syscall
ret

Function at 0x140002788
Capabilities:
Parse pe header

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