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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x18005def8]
lea r10, [0x18004f270]
movsxd r9, ecx
mov rbx, qword [r8 + 0x3230]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x3264], edi
jne 0x180015445
mov r8, r9
mov edx, 4
mov ecx, edi
call fcn.18001ccf0
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x180015479
inc r8d
test ecx, ecx
je 0x180015462
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180015467
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.18001dda0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800167c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18005d040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18005def8]
mov edi, ecx
cmp byte [rbx + 0x35cd], 0
jne 0x180016821
cmp byte [rbx + 0x35ce], 0
jne 0x180016821
movsx r9d, word [rbx + 0x46ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180007de0
test dil, 1
je 0x180016948
jmp 0x1800168ac
movss xmm1, dword [rbx + 0x2c38]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x46ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180054230]
mov edx, 0x10
mulss xmm1, dword [0x180054220]
addss xmm0, dword [rbx + 0xd0]
addss xmm1, dword [rbx + 0xd4]
mov qword [rbx + 0x3348], rax
mov dword [rbx + 0x3334], 1
movss dword [rbx + 0x3340], xmm0
movss dword [rbx + 0x3344], xmm1
movss xmm0, dword [rbx + 0x2c94]
mulss xmm0, dword [0x180054188]
or dword [rbx + 0x3330], 0x41
movss dword [rbx + 0x3390], xmm0
call fcn.180007de0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180016900
lea r11, [0x18004f270]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800168e3
cmp byte [r8], r9b
jne 0x1800168e3
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 0x1800168d0
not ecx
call fcn.18000ff00
test rax, rax
je 0x180016948
cmp byte [rax + 0x8e], 0
je 0x180016948
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x46ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x46ae]
call fcn.180007de0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1800126e0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18004bcd0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001ba40
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 + 0x4760], 0
lea rbx, [rcx + 0x4768]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001bae7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001ba9a
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.18001db70
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800088a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x4760]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x4770]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18005def0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001baef
mov rcx, rbx
call fcn.1800088a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180043ed0
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
je 0x180043f4d
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180043f26
lea r11, [0x18004f270]
cmp r9b, 0x23
jne 0x180043f09
cmp byte [r8], r9b
jne 0x180043f09
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180043ef6
mov rcx, qword [0x18005def8]
not eax
cmp dword [rcx + 0x327c], eax
jne 0x180043f3d
mov dword [rcx + 0x3280], eax
cmp dword [rcx + 0x32c0], eax
jne 0x180043f60
mov byte [rcx + 0x32c4], 1
ret
mov rax, qword [0x18005def8]
mov rcx, qword [rax + 0x3230]
jmp fcn.18000aa30
ret

Function at 0x1800477d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x18005d040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x180047810
cmp al, 0x25
jne 0x180047804
cmp byte [r8 + 1], al
jne 0x180047810
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1800477f7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x18004796e
cmp byte [r8 + 1], dl
je 0x18004796e
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x18004784d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x180047875
sub dl, 0x61
cmp dl, 0x19
ja 0x180047867
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x180047875
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x180047830
jmp 0x180047878
inc r9
cmp r8, r9
jae 0x1800478af
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1800478a4
bt rdx, rax
jb 0x1800478aa
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x180047890
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
movq r9, xmm3
call fcn.180007de0
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x1800478e8
nop
inc rcx
cmp byte [rcx], 0x20
je 0x1800478e0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x18004795c
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x180047908
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x18004794a
movss xmm2, dword [0x180054224]
cmp al, 0x39
ja 0x18004794a
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x180047924
cmp r8b, 0x2d
jne 0x180047969
xorps xmm1, xmmword [0x180054610]
movaps xmm0, xmm1
jmp 0x180047971
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x180047971
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18004bcd0
add rsp, 0xa0
pop rbx
ret
Function at 0x180047990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x18005d040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x1800479d0
cmp al, 0x25
jne 0x1800479c4
cmp byte [r8 + 1], al
jne 0x1800479d0
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x1800479b7
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x180047b28
cmp byte [r8 + 1], dl
je 0x180047b28
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x180047a0d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x180047a35
sub dl, 0x61
cmp dl, 0x19
ja 0x180047a27
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x180047a35
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1800479f0
jmp 0x180047a38
inc r9
cmp r8, r9
jae 0x180047a6f
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x180047a64
bt rdx, rax
jb 0x180047a6a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x180047a50
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.180007de0
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x180047aa8
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x180047aa0
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x180047b1a
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x180047ac8
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x180047b08
movsd xmm2, qword [0x1800541e8]
cmp al, 0x39
ja 0x180047b08
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x180047ae4
cmp r8b, 0x2d
jne 0x180047b23
xorps xmm1, xmmword [0x180054600]
movaps xmm0, xmm1
jmp 0x180047b2b
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x180047b2b
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18004bcd0
add rsp, 0xa0
pop rbx
ret
Function at 0x180047bf0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x18005d040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x180047c3f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180060b70]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x180047c7d
cmp rsi, r14
jb 0x180047c75
cmp rsi, r15
jae 0x180047c75
cmp qword [rsi + 8], 0
jne 0x180047e47
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180047c60
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180047d12
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180047d09
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180047d09
cmp dword [rsp + 0x40], 0x10000
je 0x180047d8b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180047d09
sub rbx, rbp
cmp rbx, r14
jae 0x180047cd0
test rsi, rsi
jne 0x180047df0
cmp rdi, r15
ja 0x180047e2f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x180047e2f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180047e2f
cmp dword [rsp + 0x40], 0x10000
je 0x180047dc1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180047d42
jmp 0x180047e2f
test rbx, rbx
je 0x180047d09
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180047df0
cmp rbx, r14
jae 0x180047cb0
jmp 0x180047d12
test rdi, rdi
je 0x180047e2f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180047df0
cmp rdi, r15
jbe 0x180047d20
jmp 0x180047e2f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180047e00
mov rax, qword [0x180060b70]
mov qword [rsi], rax
mov qword [0x180060b70], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18004bcd0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180048860
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x18005d040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004898b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180048982
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180048964
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180048964
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180048964
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180048922
mov rcx, qword [0x18005df10]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180048982
jmp 0x180048957
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180048957
mov rcx, qword [0x18005df10]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180048982
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800488d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1800489e5
cmp dword [rbx + 0xc], esi
jbe 0x1800489e5
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800489de
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800486b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800489a0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18004bcd0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180048a10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18005d040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180060b60]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180048a83
mov eax, 0xa
jmp 0x180048b16
test esi, esi
je 0x180048aa5
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180048ac8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180048ac8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180048ac1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180048ac8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004bcd0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180048b40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x180060b6c]
mov ebx, edi
test ecx, ecx
je 0x180048c7d
mov rax, qword [0x180060b60]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180048b98
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180048b70
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180048c7d
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180048860
mov r8d, dword [0x180060b6c]
cmp ebx, r8d
jae 0x180048c08
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180060b60]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180048c01
mov edx, esi
mov ecx, ebx
call fcn.180048a10
mov edi, eax
test eax, eax
jne 0x180048c08
mov r8d, dword [0x180060b6c]
inc ebx
cmp ebx, r8d
jb 0x180048bd0
cmp qword [rsp + 0x20], 0
je 0x180048c7d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180048c69
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180048c5a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180048c30
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18005df10]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180049010
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18005df08], ebp
je 0x180049067
cmp rbx, 0x20
jae 0x180049050
xor ecx, ecx
jmp 0x180049052
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18005df08], ebp
jne 0x180049046
cmp qword [0x18005df10], r15
je 0x180049163
test rdi, rdi
jne 0x180049087
mov ecx, esi
call fcn.180048b40
mov ebp, eax
jmp 0x180049168
mov ecx, dword [0x180060b6c]
mov ebx, r15d
test ecx, ecx
je 0x1800490af
mov r8, qword [0x180060b60]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x1800490b9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800490a0
mov ebp, 4
jmp 0x180049168
cmp ebx, 0xffffffff
je 0x1800490af
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18004915a
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180048860
mov edx, esi
mov ecx, ebx
call fcn.180048a10
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180049168
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180049144
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18004913a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180049110
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18005df10]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180049168
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180049168
mov ebp, 2
xchg dword [0x18005df08], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1400093ab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1407451d0]
jne 0x14000639a
rol rcx, 0x10
test cx, 0xffff
jne 0x140006396
repz ret
ror rcx, 0x10
jmp 0x140009304
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140748a10]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140748b08]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140009389
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140748a10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400093ab
mov rax, qword [rsp + 0x88]
mov qword [0x140748b08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140748aa8], rax
mov rax, qword [0x140748b08]
mov qword [0x140748980], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140748a90], rax
mov dword [0x140748970], 0xc0000409
mov dword [0x140748974], 1
mov rax, qword [0x1407451d0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1407451d8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140748a08], eax
mov ecx, 1
call fcn.14000de2c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140013710]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140748a08], 0
jne 0x140009432
mov ecx, 1
call fcn.14000de2c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000bf48
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14000d0d8
nop
cmp dword [0x140748f90], 1
je 0x14000bef4
mov dword [0x140748f8c], 1
mov byte [0x140748f88], r12b
test ebx, ebx
jne 0x14000bee0
mov rcx, qword [0x140749780]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000becd
mov rcx, qword [0x140749778]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14000be6c
call fcn.14000b81c
cmp qword [rdi], rax
jne 0x14000be6c
jmp 0x14000be52
cmp rdi, rsi
jb 0x14000becd
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000b81c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140749780]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140749778]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000beab
cmp r13, rax
je 0x14000becb
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14000be52
lea rdx, [0x140013490]
lea rcx, [0x140013478]
call fcn.14000bc9c
lea rdx, [0x1400134a0]
lea rcx, [0x140013498]
call fcn.14000bc9c
nop
test r12d, r12d
je 0x14000bf03
mov ecx, 8
call fcn.14000cfd8
test r12d, r12d
jne 0x14000bf2e
mov dword [0x140748f90], 1
lea ecx, [r12 + 8]
call fcn.14000cfd8
mov ecx, r15d
call fcn.14000bc30
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000bdbc

Function at 0x14000bf54
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000bdbc