joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e150
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 [0x18015fb38]
mov r14d, edx
mov r12d, dword [rsp + 0x90]
movaps 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 0x18000e1ab
cmp qword [rdi + 0x4bb8], 0
mov eax, 0x250
je 0x18000e1b0
mov eax, 0x220
movss xmm5, dword [rax + rbx]
xorps xmm4, xmm4
movss xmm2, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm5, dword [rbx + 0x100]
subss xmm2, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm4
cvtdq2ps xmm0, xmm0
jp 0x18000e1f6
mov eax, 1
je 0x18000e1f9
mov eax, r15d
ucomiss xmm0, xmm4
jp 0x18000e206
jne 0x18000e206
mov r15d, 2
movss xmm3, dword [0x18014d5c0]
or r15d, eax
comiss xmm4, xmm1
jb 0x18000e221
addss xmm5, xmm1
movaps xmm1, xmm5
maxss xmm1, xmm3
comiss xmm4, xmm0
jb 0x18000e231
addss xmm2, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm3
or dword [rdi + 0x4828], 2
xor edx, edx
movss dword [rdi + 0x4848], xmm1
movss dword [rdi + 0x484c], xmm0
mov dword [rdi + 0x4830], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x18000e27a
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.1800068d0
jmp 0x18000e290
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x70]
call fcn.1800068d0
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
movss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.180010f70
mov rsi, qword [rdi + 0x3f48]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], r15b
jne 0x18000e2de
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1800ff919]
not r9d
lea r10, [0x180100130]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x18000e30b
cmp byte [rdx], r8b
jne 0x18000e30b
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 0x18000e2f8
not ebx
cmp dword [rdi + 0x3fa8], ebx
jne 0x18000e337
call fcn.18000ae80
cmp dword [rdi + 0x4950], r14d
jne 0x18000e384
bt r12d, 0x17
jb 0x18000e384
cmp word [rsi + 0x15c], 0
jne 0x18000e35a
cmp byte [rsi + 0x162], 0
je 0x18000e384
xor edx, edx
mov rcx, rsi
call fcn.180013470
xor edx, edx
mov rcx, rsi
call fcn.180019410
mov rdx, rsi
mov ecx, ebx
call fcn.18000ad80
mov eax, dword [rdi + 0x4974]
mov dword [rdi + 0x3fd0], 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 0x180013fe0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x18015fb38]
lea r10, [0x180100130]
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 0x1800140a1
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18001408d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180014092
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18001ef40
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 0x180017430
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18015f040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x18015fb38]
mov edi, ecx
cmp byte [rbx + 0x4b01], 0
jne 0x180017491
cmp byte [rbx + 0x4b02], 0
jne 0x180017491
movsx r9d, word [rbx + 0x5c34]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180006880
test dil, 2
je 0x1800175bf
jmp 0x18001751c
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5c34]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x18014d618]
mov edx, 0x10
mulss xmm1, dword [0x18014d604]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x4840], rax
mov dword [rbx + 0x482c], 1
movss dword [rbx + 0x4838], xmm0
movss dword [rbx + 0x483c], xmm1
movss xmm0, dword [rbx + 0x38fc]
mulss xmm0, dword [0x18014d4fc]
or dword [rbx + 0x4828], 0x41
movss dword [rbx + 0x4888], xmm0
call fcn.180006880
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180017570
lea r11, [0x180100130]
nop dword [rax]
cmp r9b, 0x23
jne 0x180017553
cmp byte [r8], r9b
jne 0x180017553
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 0x180017540
not ecx
call fcn.18000e6a0
test rax, rax
je 0x1800175bf
cmp byte [rax + 0xb6], 0
je 0x1800175bf
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.180006880
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180010f70
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800e1360
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x18001ca60
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 0x18001cb07
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001caba
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.18001ea40
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180007410
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, [0x18015fb30]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001cb0f
mov rcx, rbx
call fcn.180007410
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001ceb0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18015fb38]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001cf13
mov qword [rsp], rbx
lea rbx, [0x180100130]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001cef3
cmp byte [r8], r9b
jne 0x18001cef3
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 0x18001cee0
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 0x18001cf3f
cmp dword [r8 + 8], eax
je 0x18001cf46
add r8, 0x48
cmp r8, rcx
jne 0x18001cf30
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18001d1b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x20
mov rsi, qword [0x18015fb38]
xor r15d, r15d
mov r14, rcx
mov dword [rsi + 0x5c7c], r15d
test rcx, rcx
je 0x18001d2cd
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 0x18001d214
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.18001ea40
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
jne 0x18001d22a
mov edx, 8
mov rcx, rdi
call fcn.18001ea40
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 0x18001d267
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call qword [rbx + 0x38]
add rbx, 0x48
cmp rbx, rbp
jne 0x18001d252
mov eax, dword [rdi]
lea rdx, [0x1800ff9fc]
test eax, eax
lea rdi, [0x18015fb30]
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.180006a60
mov rbx, rax
test rax, rax
je 0x18001d2be
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 0x180044fd0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x50
mov r10d, 0xffffffff
movaps xmmword [rsp + 0x40], xmm6
mov ecx, r10d
lea r8, [0x1800ff9c9]
movaps xmm5, xmm3
lea rbx, [0x180100130]
mov r11, rdx
mov r9b, 0x23
nop
cmp r9b, 0x23
jne 0x180045013
cmp byte [r8], r9b
jne 0x180045013
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 0x180045000
not ecx
call fcn.18000e6a0
mov rbx, qword [0x18015fb38]
xorps xmm4, xmm4
test rax, rax
je 0x180045053
cmp word [rax + 0xc2], 0
jne 0x1800450f3
test r11, r11
jne 0x180045062
mov rax, qword [rbx + 0x4938]
mov r11, qword [rax]
movss xmm1, dword [r11 + 0xb8]
movss xmm0, dword [r11 + 0xc]
movaps xmm3, xmm1
addss xmm3, dword [r11 + 4]
movss xmm2, dword [r11 + 0xbc]
subss xmm0, xmm1
addss xmm2, dword [r11 + 8]
addss xmm0, dword [r11 + 0xc0]
or dword [rbx + 0x4828], 3
mov qword [rbx + 0x4840], 0
mov dword [rbx + 0x482c], 1
mov dword [rbx + 0x4830], 1
maxss xmm4, xmm0
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movsd qword [rbx + 0x4838], xmm0
addss xmm4, xmm3
subss xmm4, xmm3
unpcklps xmm4, xmm5
movsd qword [rbx + 0x4848], xmm4
addss xmm5, dword [r11 + 0xbc]
movss dword [r11 + 0xbc], xmm5
movups xmm0, xmmword [rbx + 0x3c00]
lea rcx, [rbx + 0x4898]
mov dword [rsp + 0x20], 0x35
lea rdx, [rsp + 0x20]
xorps xmm6, xmm6
movups xmmword [rsp + 0x24], xmm0
call fcn.18001e3e0
movups xmmword [rbx + 0x3c00], xmm6
mov rbx, qword [0x18015fb38]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 3
movss xmm0, dword [rbx + 0x37d8]
lea rcx, [rbx + 0x48a8]
movss dword [rsp + 0x24], xmm0
call fcn.18001e2e0
lea rdx, [rsp + 0x60]
mov dword [rbx + 0x37d8], 0
mov ecx, 5
mov qword [rsp + 0x60], 0
call fcn.180007630
xor edx, edx
lea rcx, str.MainMenuBar
mov r8d, 0x50f
call fcn.180010f70
mov ecx, 2
movzx ebx, al
call fcn.1800076c0
mov r8, qword [0x18015fb38]
movsxd rax, dword [r8 + 0x4898]
cmp eax, 1
jl 0x1800451d0
mov rcx, qword [r8 + 0x48a0]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x38b
add rax, rax
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x4898]
movaps xmm6, xmmword [rsp + 0x40]
movzx eax, bl
add rsp, 0x50
pop rbx
ret
Function at 0x1800468a0
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
mov r10, rdx
je 0x180046927
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180046900
lea r10, [0x180100130]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800468e3
cmp byte [r8], r9b
jne 0x1800468e3
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 0x1800468d0
mov rcx, qword [0x18015fb38]
not eax
cmp dword [rcx + 0x3fa8], eax
jne 0x180046917
mov dword [rcx + 0x3fac], eax
cmp dword [rcx + 0x3fd8], eax
jne 0x180046952
mov byte [rcx + 0x3fdc], 1
ret
mov rax, qword [0x18015fb38]
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.1800069b0
ret
Function at 0x18004f620
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 0x18004f660
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180160a50]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004f69e
cmp rsi, r14
jb 0x18004f696
cmp rsi, r15
jae 0x18004f696
cmp qword [rsi + 8], 0
jne 0x18004f867
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18004f681
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 0x18004f732
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 0x18004f729
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 0x18004f729
cmp dword [rsp + 0x70], 0x10000
je 0x18004f7ab
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x18004f729
sub rbx, rbp
cmp rbx, r14
jae 0x18004f6f0
test rsi, rsi
jne 0x18004f810
cmp rdi, r15
ja 0x18004f84f
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 0x18004f84f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004f84f
cmp dword [rsp + 0x70], 0x10000
je 0x18004f7e1
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 0x18004f762
jmp 0x18004f84f
test rbx, rbx
je 0x18004f729
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 0x18004f810
cmp rbx, r14
jae 0x18004f6d0
jmp 0x18004f732
test rdi, rdi
je 0x18004f84f
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 0x18004f810
cmp rdi, r15
jbe 0x18004f740
jmp 0x18004f84f
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 0x18004f820
mov rax, qword [0x180160a50]
mov qword [rsi], rax
mov qword [0x180160a50], 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 0x180050270
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 [0x18015f040]
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 0x18005039b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180050392
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180050374
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180050374
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180050374
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180050332
mov rcx, qword [0x18015fb50]
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 0x180050392
jmp 0x180050367
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180050367
mov rcx, qword [0x18015fb50]
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 0x180050392
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 0x1800502e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1800503f5
cmp dword [rbx + 0xc], esi
jbe 0x1800503f5
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 0x1800503ee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800500c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800503b0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800e1360
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 0x180050420
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 [0x180160a40]
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 0x180050484
mov eax, 0xa
jmp 0x180050517
test esi, esi
je 0x1800504a6
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 0x1800504c9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800504c9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800504c2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800504c9
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 0x180050530
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 [0x180160a4c]
mov ebx, edi
test ecx, ecx
je 0x18005066d
mov rax, qword [0x180160a40]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180050588
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180050560
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18005066d
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180050270
mov r8d, dword [0x180160a4c]
cmp ebx, r8d
jae 0x1800505f8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180160a40]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1800505f1
mov edx, esi
mov ecx, ebx
call fcn.180050420
mov edi, eax
test eax, eax
jne 0x1800505f8
mov r8d, dword [0x180160a4c]
inc ebx
cmp ebx, r8d
jb 0x1800505c0
cmp qword [rsp + 0x20], 0
je 0x18005066d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180050659
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 0x18005064a
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 0x180050620
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18015fb50]
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 0x180050a00
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 [0x18015fb48], edi
je 0x180050a48
cmp rbx, 0x20
jae 0x180050a31
xor ecx, ecx
jmp 0x180050a33
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18015fb48], edi
jne 0x180050a27
cmp qword [0x18015fb50], rbp
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
je 0x180050bd8
mov ecx, dword [0x180160a4c]
mov ebx, r14d
test ecx, ecx
je 0x180050a85
mov rdx, qword [0x180160a40]
mov rax, rdx
cmp qword [rax], rbp
je 0x180050a8f
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180050a76
mov ebp, 4
jmp 0x180050bdd
cmp ebx, 0xffffffff
je 0x180050a85
mov eax, ebx
mov r15d, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x180050b3c
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180050270
xor edx, edx
mov ecx, ebx
call fcn.180050420
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x180050b2d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180050b19
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rsi
mov esi, eax
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 0x180050b0a
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 0x180050ae0
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18015fb50]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x180050bdd
mov rdx, qword [0x180160a40]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.18004f880
mov edx, dword [0x180160a4c]
dec edx
cmp r15d, edx
jae 0x180050b8c
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x180160a40]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x180160a48]
mov eax, ecx
mov dword [0x180160a4c], edx
shr eax, 1
cmp eax, 0x20
jb 0x180050bdd
cmp eax, edx
jb 0x180050bdd
mov r8, qword [0x180160a40]
mov eax, ecx
mov rcx, qword [0x18015fb50]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180050bdd
shr dword [0x180160a48], 1
mov qword [0x180160a40], rax
jmp 0x180050bdd
mov ebp, 2
xchg dword [0x18015fb48], r14d
mov r15, qword [rsp + 0x60]
mov eax, ebp
mov r13, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret