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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18000284a
mov r11b, 0x23
lea rdi, [0x180047b30]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180002834
cmp rdx, 2
jb 0x180002834
cmp byte [r10], r11b
jne 0x180002834
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x180002812
jmp 0x18000288b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18000288b
mov r11b, 0x23
lea rdi, [0x180047b30]
cmp dl, r11b
jne 0x18000286f
cmp byte [r10], r11b
jne 0x18000286f
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18000285d
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x1800057a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
mov r9, rcx
mov rax, qword [rcx + 0xf8]
mov r10d, 8
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180047b30]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x1800057cd
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1228], ebx
jne 0x180005808
mov r8, rdx
mov ecx, ebx
lea edx, [r10 + 0xc]
call fcn.180016294
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180005810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180047b30]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000583f
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1228], ebx
jne 0x180005879
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.180016294
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180005884
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x180047b30]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1800058f2
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x1800253f4
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x180053aa0]
mov ecx, 0x11
add rbx, 8
movaps xmmword [rsp + 0x20], xmm6
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x18004db68]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0xab1], 0
je 0x180025447
test al, al
je 0x180025434
movaps xmm3, xmm6
jmp 0x180025437
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x1000
mov rcx, rbx
call fcn.180002260
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0xab1], 0
je 0x18002547c
test al, al
je 0x180025469
movaps xmm3, xmm6
jmp 0x18002546c
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x2000
mov rcx, rbx
call fcn.180002260
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0xab1], 0
je 0x1800254b1
test al, al
je 0x18002549e
movaps xmm3, xmm6
jmp 0x1800254a1
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x4000
mov rcx, rbx
call fcn.180002260
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0xab1], 0
je 0x1800254e4
test al, al
jne 0x1800254d1
xorps xmm6, xmm6
movaps xmm3, xmm6
mov r8b, al
mov edx, 0x8000
mov rcx, rbx
call fcn.180002260
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
ret
Function at 0x18003b9d4
Capabilities:
Encode data using xor
Hash data using fnv

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
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x18003ba19
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbp, qword [0x180053b98]
lea rax, [rdx - 1]
or rax, 1
mov ebx, 1
bsr rcx, rax
mov r8, rbp
inc ecx
shl rbx, cl
lea rcx, [0x180053ba8]
lea rdx, [rbx + rbx]
call fcn.18003b45c
lea r8, [rbx - 1]
mov qword [0x180053bc8], rbx
mov rbx, qword [0x180053b98]
mov qword [0x180053bc0], r8
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x18003bbcd
mov rdi, qword [rdi]
lea r15, [rbx + 0x10]
cmp qword [r15 + 0x18], 0x10
mov rdx, r15
jb 0x18003ba85
mov rdx, qword [r15]
mov r13, qword [r15 + 0x10]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
test r13, r13
je 0x18003bab7
movzx eax, byte [rcx + rdx]
movabs r9, 0x100000001b3
xor r14, rax
inc rcx
imul r14, r9
cmp rcx, r13
jb 0x18003ba9a
mov r12, qword [0x180053ba8]
and r14, r8
add r14, r14
cmp qword [r12 + r14*8], rbp
jne 0x18003bad8
mov qword [r12 + r14*8], rbx
mov qword [r12 + r14*8 + 8], rbx
jmp 0x18003bbb9
mov rsi, qword [r12 + r14*8 + 8]
cmp qword [rsi + 0x28], 0x10
lea rdx, [rsi + 0x10]
jb 0x18003baec
mov rdx, qword [rsi + 0x10]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x18003baf9
mov rcx, qword [r15]
cmp r13, qword [rsi + 0x20]
jne 0x18003bb36
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003bb36
mov r8, qword [rsi]
cmp r8, rbx
je 0x18003bace
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x18003bace
cmp qword [r12 + r14*8], rsi
je 0x18003bb94
mov rsi, qword [rsi + 8]
cmp qword [rsi + 0x28], 0x10
lea rdx, [rsi + 0x10]
jb 0x18003bb4f
mov rdx, qword [rsi + 0x10]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x18003bb5c
mov rcx, qword [r15]
cmp r13, qword [rsi + 0x20]
jne 0x18003bb36
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18003bb36
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x18003bbb9
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8], rbx
mov rbx, rdi
cmp rdi, rbp
je 0x18003bbcd
mov r8, qword [0x180053bc0]
jmp 0x18003ba71
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
Function at 0x180040a2c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x908]
sub rsp, 0x9e0
mov r14, qword [rdx]
mov r12d, 0x270
mov rbx, qword [rdx + 8]
mov rsi, rcx
sub rbx, r14
lea rcx, [rsp + 0x20]
sar rbx, 2
mov edi, r12d
cmp rbx, r12
mov edx, 0x8b8b8b8b
mov r8d, 0x9c0
lea rax, [rbx + 1]
cmovae rdi, rax
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
movabs r13, 0xa41a41a41a41a41b
test rdi, rdi
je 0x180040b95
lea r11, [r9 + 0x132]
mov rax, r13
mul r11
mov rax, r11
lea r8, [r9 - 1]
sub rax, rdx
mov r10, r9
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x270
sub r11, rax
mov rax, r13
mul r9
mov r15d, dword [rsp + r11*4 + 0x20]
mov rax, r9
sub rax, rdx
mov ecx, r15d
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x270
sub r10, rax
mov rax, r13
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x270
sub r8, rax
xor ecx, dword [rsp + r8*4 + 0x20]
xor ecx, dword [rsp + r10*4 + 0x20]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x19660d
test r9, r9
jne 0x180040b39
mov rax, rbx
jmp 0x180040b4b
cmp r9, rbx
ja 0x180040b48
mov eax, dword [r14 + r9*4 - 4]
add rax, r10
jmp 0x180040b4b
mov rax, r10
lea r8d, [rax + rcx]
lea eax, [r15 + rcx]
mov dword [rsp + r11*4 + 0x20], eax
lea rcx, [r9 + 0x13d]
mov rax, r13
inc r9
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x270
sub rcx, rax
add dword [rsp + rcx*4 + 0x20], r8d
mov dword [rsp + r10*4 + 0x20], r8d
cmp r9, rdi
jb 0x180040aa2
add rdi, r12
cmp r9, rdi
jae 0x180040c83
lea r14, [r9 - 1]
lea r11, [r14 + 0x133]
mov rax, r13
mul r11
lea rbx, [r14 + 1]
mov rax, r11
sub rax, rdx
mov r10, rbx
shr rax, 1
mov rcx, r14
add rax, rdx
shr rax, 9
imul rax, rax, 0x270
sub r11, rax
mov rax, r13
mul rbx
mov r9d, dword [rsp + r11*4 + 0x20]
mov rax, rbx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x270
sub r10, rax
mov rax, r13
mul r14
mov rax, r14
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x270
sub rcx, rax
mov edx, dword [rsp + rcx*4 + 0x20]
add edx, r9d
add edx, dword [rsp + r10*4 + 0x20]
mov eax, edx
shr eax, 0x1b
xor eax, edx
imul ecx, eax, 0x5d588b65
mov rax, r13
xor r9d, ecx
mov r8d, ecx
lea rcx, [r14 + 0x13e]
mov dword [rsp + r11*4 + 0x20], r9d
mul rcx
sub r8d, r10d
mov rax, rcx
sub rax, rdx
mov r14, rbx
shr rax, 1
add rax, rdx
shr rax, 9
imul rax, rax, 0x270
sub rcx, rax
lea rax, [rbx + 1]
xor dword [rsp + rcx*4 + 0x20], r8d
mov dword [rsp + r10*4 + 0x20], r8d
cmp rax, rdi
jb 0x180040ba5
xor edx, edx
lea rax, [rsp + 0x20]
xor r8d, r8d
mov r9, rsi
sub r9, rax
mov ecx, dword [rsp + r8*4 + 0x20]
lea rax, [r9 + r8*4]
mov dword [rsp + rax + 0x24], ecx
mov eax, ecx
or eax, edx
mov edx, ecx
shr edx, 0x1f
test r8, r8
cmovne edx, eax
inc r8
cmp r8, r12
jb 0x180040c93
test edx, edx
jne 0x180040cc2
mov dword [rsi + 4], 0x80000000
lea r11, [rsp + 0x9e0]
mov dword [rsi], r12d
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180040f5c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x180040fc2
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x180040f85
mov ecx, dword [r9]
jmp 0x180041097
cmp ecx, 0x4e0
jb 0x180041097
lea rbx, [r9 + 0x9c4]
mov edi, 0xe3
mov eax, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
lea r8, [rbx + 4]
mov edx, dword [r8]
xor edx, eax
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx + 0x634]
xor ecx, edx
mov dword [rbx - 0x9c0], ecx
lea rbx, [r8]
sub rdi, 1
jne 0x180040fe8
lea rbx, [r9 + 0xd50]
mov edi, 0x18c
mov eax, dword [rbx]
mov edx, eax
lea r8, [rbx + 4]
xor edx, dword [r8]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [rbx - 0xd4c]
xor ecx, edx
mov dword [rbx - 0x9c0], ecx
lea rbx, [r8]
sub rdi, 1
jne 0x18004102b
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret
Function at 0x18004179c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800965f0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800417d2
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180041808
mov eax, 0xa
jmp 0x180041894
test esi, esi
je 0x18004182a
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18004184b
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004184b
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180041845
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004184b
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x180041db8
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180041e1c
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180041e0a
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180041e03
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180041dd7
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1800539c8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180041eb8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180041f02
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x1800965e8]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
test rbx, rbx
je 0x180041f40
cmp rbx, r14
jb 0x180041f3b
cmp rbx, r12
jae 0x180041f3b
cmp qword [rbx + 8], rsi
jne 0x180042097
mov rbx, qword [rbx]
jmp 0x180041f22
mov r15, rdi
cmp rdi, r14
jb 0x180041fc4
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
sub r15, r13
cmp r15, r14
jb 0x180041fbb
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180041fbb
cmp dword [rbp - 0x10], 0x10000
je 0x180041f8b
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x180041fbb
jmp 0x180041f57
test r15, r15
je 0x180041fbb
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x18004205c
cmp r15, r14
jae 0x180041f48
test rbx, rbx
jne 0x18004205c
cmp rdi, r12
ja 0x180042097
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x180042097
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180042097
cmp dword [rbp - 0x10], 0x10000
je 0x180042032
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jmp 0x180041feb
test rdi, rdi
je 0x180042097
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x180041fbe
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x180042068
mov rax, qword [0x1800965e8]
mov qword [rbx], rax
mov qword [0x1800965e8], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180042430
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180042447
cmp r8b, 0x90
je 0x180042447
cmp r8b, 0xcc
jne 0x180042469
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180042465
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180042469
add edx, r10d
cmp edx, r9d
jb 0x180042455
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x140027e40
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b8c4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b8c4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f90
cmp rax, 0xffffffffffffffff
je 0x140027f90
xor edi, edi
test rbp, rbp
jle 0x140027f3b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dec8
mov rbx, rax
test rax, rax
jne 0x140027ec8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027f31
mov edx, 0x8000
mov ecx, r14d
call fcn.140015978
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c5a0
cmp eax, 0xffffffff
je 0x140027f11
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027ed8
mov edx, r15d
mov ecx, r14d
call fcn.140015978
jmp 0x140027f31
cmp byte [rsi + 0x38], dil
je 0x140027f28
cmp dword [rsi + 0x34], 5
jne 0x140027f28
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027f31
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019f88
jmp 0x140027fa4
jns 0x140027fa4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b8c4
cmp rax, 0xffffffffffffffff
jne 0x140027f5c
cmp byte [rsi + 0x30], dil
je 0x140027fa4
mov edi, dword [rsi + 0x2c]
jmp 0x140027fa4
mov ecx, r14d
call fcn.14001706c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027fa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027fa4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f9d
mov eax, dword [rsi + 0x2c]
jmp 0x140027fa2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b8c4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400020e4
Capabilities:
Parse pe header

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

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

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