joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e050
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 [0x180141b18]
mov r14d, edx
mov r12d, dword [rsp + 0x90]
vmovaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3f48]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x18000e0ac
cmp qword [rdi + 0x4bb8], 0
mov eax, 0x250
je 0x18000e0b1
mov eax, 0x220
vmovss xmm1, dword [rax + rbx + 4]
vmovss xmm0, dword [rax + rbx]
vcvttss2si eax, dword [r8]
vsubss xmm6, xmm1, dword [rbx + 0x104]
vsubss xmm5, xmm0, dword [rbx + 0x100]
vxorps xmm2, xmm2, xmm2
vcvtsi2ss xmm2, xmm2, eax
vcvttss2si eax, dword [r8 + 4]
vxorps xmm4, xmm4, xmm4
xor r15d, r15d
vucomiss xmm2, xmm4
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
jp 0x18000e0fb
mov eax, 1
je 0x18000e0fe
mov eax, r15d
vucomiss xmm1, xmm4
jp 0x18000e10c
jne 0x18000e10c
mov r15d, 2
vmovss xmm3, dword [0x180130620]
or r15d, eax
vcomiss xmm4, xmm2
jb 0x18000e125
vaddss xmm0, xmm5, xmm2
vmaxss xmm2, xmm0, xmm3
vcomiss xmm4, xmm1
jb 0x18000e133
vaddss xmm0, xmm6, xmm1
vmaxss xmm1, xmm0, xmm3
or dword [rdi + 0x4828], 2
xor edx, edx
mov dword [rdi + 0x4830], 1
vmovss dword [rdi + 0x4848], xmm2
vmovss dword [rdi + 0x484c], xmm1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x18000e17c
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.180006790
jmp 0x18000e192
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.180006790
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
vmovss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.180010e30
mov rsi, qword [rdi + 0x3f48]
movzx ebp, al
vmovss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x18000e1e0
vmovsd xmm0, qword [rsi + 0x20]
vmovsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1800f5811]
not r9d
lea r10, [0x1800f6020]
mov ebx, r9d
mov r8b, 0x23
nop word [rax + rax]
cmp r8b, 0x23
jne 0x18000e213
cmp byte [rdx], r8b
jne 0x18000e213
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 0x18000e200
not ebx
cmp dword [rdi + 0x3fa8], ebx
jne 0x18000e23f
call fcn.18000ad50
cmp dword [rdi + 0x4950], r14d
jne 0x18000e28c
bt r12d, 0x17
jb 0x18000e28c
cmp word [rsi + 0x15c], 0
jne 0x18000e262
cmp byte [rsi + 0x162], 0
je 0x18000e28c
xor edx, edx
mov rcx, rsi
call fcn.180013320
xor edx, edx
mov rcx, rsi
call fcn.1800192c0
mov rdx, rsi
mov ecx, ebx
call fcn.18000ac50
mov eax, dword [rdi + 0x4974]
mov dword [rdi + 0x3fd0], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
vmovaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180013d20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180141b18]
lea r10, [0x1800f6020]
mov r8d, ecx
mov rbx, qword [rax + 0x3f48]
add rbx, 0xf0
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
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
mov eax, r8d
mov r8d, dword [rbx + 4]
xor rdx, rcx
shr rax, 0x18
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r10 + rcx*4]
not edi
cmp r9d, r8d
jne 0x180013de1
lea ecx, [r9 + 1]
test r8d, r8d
je 0x180013dcd
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180013dd2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18001ee80
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180017310
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180141040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180141b18]
mov edi, ecx
cmp byte [rbx + 0x4b01], 0
jne 0x180017371
cmp byte [rbx + 0x4b02], 0
jne 0x180017371
movsx r9d, word [rbx + 0x5c34]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180006740
test dil, 2
je 0x18001749f
jmp 0x1800173f9
vmovss xmm1, dword [rbx + 0x3894]
vmulss xmm0, xmm1, dword [0x180130670]
vaddss xmm2, xmm0, dword [rbx + 0xe00]
vmulss xmm1, xmm1, dword [0x18013065c]
vaddss xmm0, xmm1, dword [rbx + 0xe04]
movsx r9d, word [rbx + 0x5c34]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x482c], 1
vmovss dword [rbx + 0x483c], xmm0
vmovss dword [rbx + 0x4838], xmm2
mov qword [rbx + 0x4840], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x38fc]
vmulss xmm1, xmm0, dword [0x180130578]
or dword [rbx + 0x4828], 0x41
mov edx, 0x10
vmovss dword [rbx + 0x4888], xmm1
call fcn.180006740
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180017450
lea r11, [0x1800f6020]
nop dword [rax]
cmp r9b, 0x23
jne 0x180017433
cmp byte [r8], r9b
jne 0x180017433
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 0x180017420
not ecx
call fcn.18000e580
test rax, rax
je 0x18001749f
cmp byte [rax + 0xb6], 0
je 0x18001749f
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 + 0x5c34]
movsx r9d, word [rbx + 0x5c34]
call fcn.180006740
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180010e30
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800d7380
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001c9a0
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 + 0x5d20], 0
lea rbx, [rcx + 0x5d28]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001ca47
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001c9fa
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.18001e980
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180007320
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5d20]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5d30]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180141b10]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001ca4f
mov rcx, rbx
call fcn.180007320
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001cde0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180141b18]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001ce43
mov qword [rsp], rbx
lea rbx, [0x1800f6020]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001ce23
cmp byte [r8], r9b
jne 0x18001ce23
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 0x18001ce10
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c90]
not eax
mov r8, qword [r10 + 0x5c98]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18001ce6f
cmp dword [r8 + 8], eax
je 0x18001ce76
add r8, 0x48
cmp r8, rcx
jne 0x18001ce60
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18001d0e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x20
mov rsi, qword [0x180141b18]
xor r15d, r15d
mov r14, rcx
mov dword [rsi + 0x5c7c], r15d
test rcx, rcx
je 0x18001d1fd
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
lea rdi, [rsi + 0x5c80]
mov dword [rsi + 0x5c7c], r15d
mov ecx, dword [rdi + 4]
test ecx, ecx
jns 0x18001d144
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.18001e980
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x18001d15a
mov edx, 8
mov rcx, rdi
call fcn.18001e980
movsxd rcx, dword [rdi]
mov rax, qword [rdi + 8]
mov byte [rcx + rax], r15b
inc dword [rdi]
mov rbx, qword [rsi + 0x5c98]
movsxd rax, dword [rsi + 0x5c90]
lea rcx, [rax + rax*8]
lea rbp, [rbx + rcx*8]
cmp rbx, rbp
je 0x18001d197
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call qword [rbx + 0x38]
add rbx, 0x48
cmp rbx, rbp
jne 0x18001d182
mov eax, dword [rdi]
lea rdx, [0x1800f58f4]
test eax, eax
lea rdi, [0x180141b10]
lea ecx, [rax - 1]
mov rax, qword [rsi + 0x5c88]
cmove ecx, r15d
test rax, rax
movsxd rbp, ecx
mov rcx, r14
cmovne rdi, rax
call fcn.180006920
mov rbx, rax
test rax, rax
je 0x18001d1ee
mov r9, rax
mov r8, rbp
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
Function at 0x180044990
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x60
vmovaps xmmword [rsp + 0x50], xmm6
mov r10d, 0xffffffff
lea r8, [0x1800f58c1]
mov ecx, r10d
lea rbx, [0x1800f6020]
vmovaps xmmword [rsp + 0x40], xmm7
vmovaps xmm6, xmm3
mov r11, rdx
mov r9b, 0x23
cmp r9b, 0x23
jne 0x1800449da
cmp byte [r8], r9b
jne 0x1800449da
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 [rbx + rdx*4]
test r9b, r9b
jne 0x1800449c7
not ecx
call fcn.18000e580
mov rbx, qword [0x180141b18]
vxorps xmm7, xmm7, xmm7
test rax, rax
je 0x180044a1b
cmp word [rax + 0xc2], 0
jne 0x180044ab7
test r11, r11
jne 0x180044a2a
mov rax, qword [rbx + 0x4938]
mov r11, qword [rax]
vmovss xmm2, dword [r11 + 0xb8]
vaddss xmm4, xmm2, dword [r11 + 4]
vmovss xmm1, dword [r11 + 0xc]
vmovss xmm0, dword [r11 + 0xbc]
vaddss xmm3, xmm0, dword [r11 + 8]
vsubss xmm2, xmm1, xmm2
vaddss xmm0, xmm2, dword [r11 + 0xc0]
or dword [rbx + 0x4828], 3
vmaxss xmm0, xmm7, xmm0
vaddss xmm1, xmm0, xmm4
vunpcklps xmm0, xmm4, xmm3
vmovsd qword [rbx + 0x4838], xmm0
mov qword [rbx + 0x4840], 0
mov dword [rbx + 0x482c], 1
mov dword [rbx + 0x4830], 1
vsubss xmm2, xmm1, xmm4
vunpcklps xmm0, xmm2, xmm6
vmovsd qword [rbx + 0x4848], xmm0
vaddss xmm0, xmm6, dword [r11 + 0xbc]
vmovss dword [r11 + 0xbc], xmm0
vmovups xmm0, xmmword [rbx + 0x3c00]
lea rcx, [rbx + 0x4898]
mov dword [rsp + 0x20], 0x35
lea rdx, [rsp + 0x20]
vmovups xmmword [rsp + 0x24], xmm0
vxorps xmm6, xmm6, xmm6
call fcn.18001e320
vmovups xmmword [rbx + 0x3c00], xmm6
mov rbx, qword [0x180141b18]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 3
vmovss xmm0, dword [rbx + 0x37d8]
lea rcx, [rbx + 0x48a8]
vmovss dword [rsp + 0x24], xmm0
call fcn.18001e220
lea rdx, [rsp + 0x70]
mov dword [rbx + 0x37d8], 0
mov ecx, 5
vmovss dword [rsp + 0x70], xmm7
vmovss dword [rsp + 0x74], xmm7
call fcn.180007540
xor edx, edx
lea rcx, str.MainMenuBar
mov r8d, 0x50f
call fcn.180010e30
mov ecx, 2
movzx ebx, al
call fcn.1800075d0
mov r8, qword [0x180141b18]
movsxd rax, dword [r8 + 0x4898]
cmp eax, 1
jl 0x180044b9d
mov rcx, qword [r8 + 0x48a0]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
vmovups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x38b
add rax, rax
vmovups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4898]
vmovaps xmm6, xmmword [rsp + 0x50]
vmovaps xmm7, xmmword [rsp + 0x40]
movzx eax, bl
add rsp, 0x60
pop rbx
ret
Function at 0x180046070
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x1800460f7
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800460d0
lea r10, [0x1800f6020]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800460b3
cmp byte [r8], r9b
jne 0x1800460b3
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 [r10 + rdx*4]
test r9b, r9b
jne 0x1800460a0
mov rcx, qword [0x180141b18]
not eax
cmp dword [rcx + 0x3fa8], eax
jne 0x1800460e7
mov dword [rcx + 0x3fac], eax
cmp dword [rcx + 0x3fd8], eax
jne 0x180046122
mov byte [rcx + 0x3fdc], 1
ret
mov rax, qword [0x180141b18]
xor edx, edx
mov rcx, r10
mov r8, qword [rax + 0x3f48]
movsxd rax, dword [r8 + 0xf0]
mov r8, qword [r8 + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
jmp fcn.180006870
ret
Function at 0x18004eb20
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x18004eb60
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180142480]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004eb9e
cmp rsi, r14
jb 0x18004eb96
cmp rsi, r15
jae 0x18004eb96
cmp qword [rsi + 8], 0
jne 0x18004ed67
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18004eb81
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18004ec32
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18004ec29
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004ec29
cmp dword [rsp + 0x70], 0x10000
je 0x18004ecab
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x18004ec29
sub rbx, rbp
cmp rbx, r14
jae 0x18004ebf0
test rsi, rsi
jne 0x18004ed10
cmp rdi, r15
ja 0x18004ed4f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
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 0x18004ed4f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004ed4f
cmp dword [rsp + 0x70], 0x10000
je 0x18004ece1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18004ec62
jmp 0x18004ed4f
test rbx, rbx
je 0x18004ec29
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 0x18004ed10
cmp rbx, r14
jae 0x18004ebd0
jmp 0x18004ec32
test rdi, rdi
je 0x18004ed4f
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 0x18004ed10
cmp rdi, r15
jbe 0x18004ec40
jmp 0x18004ed4f
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 0x18004ed20
mov rax, qword [0x180142480]
mov qword [rsi], rax
mov qword [0x180142480], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x18004f780
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 [0x180141040]
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 0x18004f8ab
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18004f8a2
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18004f884
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18004f884
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18004f884
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18004f842
mov rcx, qword [0x180141b30]
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 0x18004f8a2
jmp 0x18004f877
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18004f877
mov rcx, qword [0x180141b30]
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 0x18004f8a2
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 0x18004f7f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18004f905
cmp dword [rbx + 0xc], esi
jbe 0x18004f905
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 0x18004f8fe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18004f5d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18004f8c0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800d7380
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 0x18004f930
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, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180142470]
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 0x18004f994
mov eax, 0xa
jmp 0x18004fa27
test esi, esi
je 0x18004f9b6
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 0x18004f9d9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18004f9d9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18004f9d2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18004f9d9
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
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 rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18004fa40
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 [0x18014247c]
mov ebx, edi
test ecx, ecx
je 0x18004fb7d
mov rax, qword [0x180142470]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18004fa98
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004fa70
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18004fb7d
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18004f780
mov r8d, dword [0x18014247c]
cmp ebx, r8d
jae 0x18004fb08
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180142470]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x18004fb01
mov edx, esi
mov ecx, ebx
call fcn.18004f930
mov edi, eax
test eax, eax
jne 0x18004fb08
mov r8d, dword [0x18014247c]
inc ebx
cmp ebx, r8d
jb 0x18004fad0
cmp qword [rsp + 0x20], 0
je 0x18004fb7d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18004fb69
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 0x18004fb5a
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 0x18004fb30
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180141b30]
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 0x18004fe80
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov edi, 1
mov ebp, r14d
mov ebx, r14d
xor eax, eax
lock cmpxchg dword [0x180141b28], edi
je 0x18004fec8
cmp rbx, 0x20
jae 0x18004feb1
xor ecx, ecx
jmp 0x18004feb3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180141b28], edi
jne 0x18004fea7
cmp qword [0x180141b30], rbp
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
je 0x180050054
mov ecx, dword [0x18014247c]
mov ebx, r14d
test ecx, ecx
je 0x18004ff05
mov rdx, qword [0x180142470]
mov rax, rdx
cmp qword [rax], rbp
je 0x18004ff0f
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004fef6
mov ebp, 4
jmp 0x180050059
cmp ebx, 0xffffffff
je 0x18004ff05
mov eax, ebx
mov r15d, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18004ffbc
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004f780
xor edx, edx
mov ecx, ebx
call fcn.18004f930
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x18004ffad
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x18004ff99
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rsi
mov esi, ecx
nop
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x18004ff8a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rsi, 1
jne 0x18004ff60
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180141b30]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x180050059
mov rdx, qword [0x180142470]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.18004ed80
mov edx, dword [0x18014247c]
dec edx
cmp r15d, edx
jae 0x180050005
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x180142470]
vmovups ymm0, ymmword [rcx + rax]
vmovups ymmword [rax + r13], ymm0
vmovups xmm1, xmmword [rcx + rax + 0x20]
vmovups xmmword [rax + r13 + 0x20], xmm1
vmovsd xmm0, qword [rcx + rax + 0x30]
vmovsd qword [rax + r13 + 0x30], xmm0
mov ecx, dword [0x180142478]
mov eax, ecx
mov dword [0x18014247c], edx
shr eax, 1
cmp eax, 0x20
jb 0x180050059
cmp eax, edx
jb 0x180050059
mov r8, qword [0x180142470]
mov eax, ecx
mov rcx, qword [0x180141b30]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
vzeroupper
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180050059
shr dword [0x180142478], 1
mov qword [0x180142470], rax
jmp 0x180050059
mov ebp, 2
xchg dword [0x180141b28], r14d
mov eax, ebp
vzeroupper
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret