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

Disassembly:
test dword [rcx + 0x10], 0x100000
je 0x18008929d
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180089276
lea r11, [0x18009a520]
cmp r9b, 0x23
jne 0x180089259
cmp byte [r8], r9b
jne 0x180089259
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 0x180089246
mov rcx, qword [0x1800bd0c8]
not eax
cmp dword [rcx + 0x1c6c], eax
jne 0x18008928d
mov dword [rcx + 0x1c70], eax
cmp dword [rcx + 0x1ca8], eax
jne 0x1800892b0
mov byte [rcx + 0x1cac], 1
ret
mov rax, qword [0x1800bd0c8]
mov rcx, qword [rax + 0x1c20]
jmp fcn.180006c40
ret

Function at 0x180092100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1800b8040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x180092140
cmp al, 0x25
jne 0x180092134
cmp byte [r8 + 1], al
jne 0x180092140
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x180092127
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1800922aa
cmp byte [r8 + 1], dl
je 0x1800922aa
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x18009217d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1800921a5
sub dl, 0x61
cmp dl, 0x19
ja 0x180092197
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1800921a5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x180092160
jmp 0x1800921a8
inc r9
cmp r8, r9
jae 0x1800921df
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1800921d4
bt rdx, rax
jb 0x1800921da
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1800921c0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.180002850
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x180092218
nop
inc rcx
cmp byte [rcx], 0x20
je 0x180092210
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x180092298
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x18009223a
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x180092248
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x180092286
movss xmm2, dword [0x1800ad8cc]
nop
cmp al, 0x39
ja 0x180092286
movzx eax, al
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 0x180092260
cmp r9b, 0x2d
jne 0x1800922a5
xorps xmm1, xmmword [0x1800adc30]
movaps xmm0, xmm1
jmp 0x1800922ad
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1800922ad
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180095d70
add rsp, 0x90
pop rbx
ret
Function at 0x1800928f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1800b8040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x180092930
cmp al, 0x25
jne 0x180092924
cmp byte [r8 + 1], al
jne 0x180092930
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x180092917
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x180092a94
cmp byte [r8 + 1], dl
je 0x180092a94
lea r11, [rsp + 0x20]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x18009296d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x180092995
sub dl, 0x61
cmp dl, 0x19
ja 0x180092987
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x180092995
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x180092950
jmp 0x180092998
inc r9
cmp r8, r9
jae 0x1800929cf
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1800929c4
bt rdx, rax
jb 0x1800929ca
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1800929b0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.180002850
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x180092a08
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x180092a00
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x180092a86
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x180092a2a
movzx r8d, byte [rcx + 1]
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, r8b
cmp r8b, 0x2b
jne 0x180092a38
movzx eax, byte [rcx + 1]
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
cmp al, 0x30
jl 0x180092a74
movsd xmm2, qword [0x1800ad870]
nop
cmp al, 0x39
ja 0x180092a74
movzx eax, al
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 0x180092a50
cmp r9b, 0x2d
jne 0x180092a8f
xorps xmm1, xmmword [0x1800adc20]
movaps xmm0, xmm1
jmp 0x180092a97
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x180092a97
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180095d70
add rsp, 0x90
pop rbx
ret
Function at 0x180092ab0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1800b8040]
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 0x180092aff
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800be6a0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x180092b3d
cmp rsi, r14
jb 0x180092b35
cmp rsi, r15
jae 0x180092b35
cmp qword [rsi + 8], 0
jne 0x180092d07
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180092b20
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 0x180092bd2
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 0x180092bc9
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 0x180092bc9
cmp dword [rsp + 0x40], 0x10000
je 0x180092c4b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180092bc9
sub rbx, rbp
cmp rbx, r14
jae 0x180092b90
test rsi, rsi
jne 0x180092cb0
cmp rdi, r15
ja 0x180092cef
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 0x180092cef
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180092cef
cmp dword [rsp + 0x40], 0x10000
je 0x180092c81
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 0x180092c02
jmp 0x180092cef
test rbx, rbx
je 0x180092bc9
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 0x180092cb0
cmp rbx, r14
jae 0x180092b70
jmp 0x180092bd2
test rdi, rdi
je 0x180092cef
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 0x180092cb0
cmp rdi, r15
jbe 0x180092be0
jmp 0x180092cef
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 0x180092cc0
mov rax, qword [0x1800be6a0]
mov qword [rsi], rax
mov qword [0x1800be6a0], 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.180095d70
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180093720
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800b8040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x18009386f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180093866
mov esi, 1
mov qword [rsp + 0x68], rbx
cmp dword [rsp + 0x20], 0x10
jb 0x18009381c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18009381c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18009381c
mov rdx, qword [rdi]
test rdx, rdx
jne 0x1800937dd
mov rcx, qword [0x1800bd0e8]
mov r8d, 0x200
mov dword [rdi + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rdi], rax
mov rdx, rax
test rax, rax
je 0x180093845
lea rbx, [rdi + 0xc]
jmp 0x180093811
mov eax, dword [rdi + 8]
lea rbx, [rdi + 0xc]
cmp dword [rbx], eax
jb 0x180093811
mov rcx, qword [0x1800bd0e8]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rdi + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180093845
mov qword [rdi], rax
mov ecx, dword [rbx]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180093783
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180093861
mov r8, qword [rdi]
xor esi, esi
test r8, r8
je 0x180093861
mov rcx, qword [0x1800bd0e8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x68]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180095d70
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180093890
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebp, r8d
mov qword [rcx], 0
mov r14d, edx
mov qword [rcx + 8], 0
mov rdi, rcx
call fcn.180093720
test eax, eax
jne 0x1800938d7
mov eax, 9
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rdi], 0
je 0x18009394e
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0xc], ebx
jbe 0x180093936
mov qword [rsp + 0x38], rsi
nop
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18009392a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.180093570
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800938f0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbp, qword [rsp + 0x40]
xor eax, eax
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180093970
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 [0x1800b8040]
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 [0x1800be690]
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 0x1800939e3
mov eax, 0xa
jmp 0x180093a76
test esi, esi
je 0x180093a05
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 0x180093a28
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180093a28
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180093a21
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180093a28
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.180095d70
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180093aa0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1800be69c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x180093ae7
mov rax, qword [0x1800be690]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180093af4
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x180093ad0
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x180093ae7
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.180093890
mov edi, eax
test eax, eax
jne 0x180093bdd
mov r9d, dword [0x1800be69c]
cmp ebx, r9d
jae 0x180093b6c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1800be690]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x180093b65
mov edx, esi
mov ecx, ebx
call fcn.180093970
mov edi, eax
test eax, eax
jne 0x180093b6c
mov r9d, dword [0x1800be69c]
inc ebx
cmp ebx, r9d
jb 0x180093b30
cmp qword [rsp + 0x20], 0
je 0x180093bdb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180093bc7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180093bb8
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 0x180093b90
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800bd0e8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x180093ee0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov r14d, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x1800bd0e0], edi
je 0x180093f29
cmp rbx, 0x20
jae 0x180093f12
xor ecx, ecx
jmp 0x180093f14
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800bd0e0], edi
jne 0x180093f08
cmp qword [0x1800bd0e8], r14
mov qword [rsp + 0x60], r13
je 0x1800940cb
mov ecx, dword [0x1800be69c]
mov ebx, r15d
test ecx, ecx
je 0x180093f61
mov rdx, qword [0x1800be690]
mov rax, rdx
cmp qword [rax], r14
je 0x180093f6c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180093f52
mov r14d, 4
jmp 0x1800940d1
cmp ebx, 0xffffffff
je 0x180093f61
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x180094030
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180093890
mov r14d, eax
test eax, eax
jne 0x1800940d1
xor edx, edx
mov ecx, ebx
call fcn.180093970
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x180094020
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18009400c
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, eax
mov qword [rsp + 0x58], rsi
nop dword [rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180093ff8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180093fd0
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800bd0e8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x1800940d1
mov rdx, qword [0x1800be690]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180092d30
mov edx, dword [0x1800be69c]
dec edx
cmp ebx, edx
jae 0x18009407f
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x1800be690]
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 [0x1800be698]
mov eax, ecx
mov dword [0x1800be69c], edx
shr eax, 1
cmp eax, 0x20
jb 0x1800940d1
cmp eax, edx
jb 0x1800940d1
mov r8, qword [0x1800be690]
mov eax, ecx
mov rcx, qword [0x1800bd0e8]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1800940d1
shr dword [0x1800be698], 1
mov qword [0x1800be690], rax
jmp 0x1800940d1
mov r14d, 2
xchg dword [0x1800bd0e0], r15d
mov r13, qword [rsp + 0x60]
mov eax, r14d
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180094700
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp rdx, 1
jne 0x180094742
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180094680]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180094742
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub dword [rcx], ebp
sub edi, edi
cmp bh, byte [rdx]
cmp bh, bh
xor eax, 0x61ff3434
pop rsi
pop rsi
push qword [rax + 0x6c]
insb byte [rdi], dx
inc dword [rdi + rdi*2 - 0x716c0081]
xchg ebx, eax
invalid
invalid
xchg ebx, eax
mov cs, word [rsi - 0x67676201]
jmp qword [rdx - 0x5b006263]
pushfq
cwde
cwde
invalid
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
jne 0x14003f707
jno 0x14003f6cf
retf 0xc5c5
movabs dword [0xbfbfc5ffc1c1c8ff], eax
inc ecx
sar dword [rbx - 0x4b460045], 0xb4
jmp [rbp - 0x5f005556]
pushfq
pushfq
invalid
xchg ecx, eax
mov ebx, 0xb4b4b9ff
jmp [rbp - 0x5f005556]
invalid
jmp qword [rsi + rbx*4 - 0x605b0062]

Function at 0x140007284
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x18]
mov r9, rdx
mov r8, rcx
mov qword [r11 - 0x10], rax
xor edi, edi
mov edx, 0x1000
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
je 0x14000734a
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x14000730e
lea rsi, [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000730b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbx]
lea rcx, [0x1400205b8]
mov rdx, rsi
call fcn.140011c68
jmp 0x14000730e
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400072db
mov rdx, qword [0x14001f118]
lea rcx, [0x1400205b8]
mov rdi, rdx
inc rdx
mov qword [0x14001f118], rdx
lea edx, [rbx + 0x20]
call fcn.140011cb0
lea rcx, [0x140021170]
mov qword [rax], rbp
mov qword [rax + 8], rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x18001a7f0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov ebx, dword [rsp + 0x58]
mov r15d, edx
imul r12d, edx, 0x178
mov rsi, rcx
mov ebp, edx
cmp edx, r12d
ja 0x18001a991
mov r10d, dword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x60]
cmp ebp, 0xdb0
ja 0x18001a8c5
je 0x18001a991
mov eax, ebp
sub eax, 0x49
je 0x18001a898
sub eax, 0x3f
je 0x18001a88e
sub eax, 0x3a
je 0x18001a872
cmp eax, 0x38
jne 0x18001a982
movzx eax, byte [rsi + 0xc]
cmp al, 2
jne 0x18001a982
mov byte [rsi + 0xc], 1
jmp 0x18001a982
mov r8, qword [rsi + 0x78]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10d, eax
jmp 0x18001a982
xor r14d, r14d
xor edi, edi
jmp 0x18001a982
mov eax, dword [rsi]
cmp eax, 0x80
jb 0x18001a9b8
cmp eax, 0x800
jb 0x18001a9b1
cmp eax, 0x10000
jb 0x18001a9aa
mov ebx, 4
jmp 0x18001a982
cmp ebp, 0x1980
je 0x18001a900
cmp ebp, 0x2460
je 0x18001a8ea
cmp ebp, 0x3278
jne 0x18001a982
mov byte [rdi + rsi], 0
jmp 0x18001a982
cmp r10d, 0xb7
jne 0x18001a982
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rsi + r9], 0
jne 0x18001a910
xor edx, edx
cmp r14, r9
jae 0x18001a982
mov ebp, 0x1980
nop word [rax + rax]
movsx r8d, byte [r14 + rsi]
mov eax, r8d
sub eax, 9
je 0x18001a96e
sub eax, 1
je 0x18001a96e
sub eax, 3
je 0x18001a96e
sub eax, 0x13
je 0x18001a96e
cmp eax, 2
jne 0x18001a973
test edx, edx
je 0x18001a967
cmp edx, 1
jne 0x18001a973
xor edx, edx
cmp byte [r14 + rsi - 1], 0x5c
sete dl
jmp 0x18001a973
mov edx, 1
jmp 0x18001a973
cmp edx, 1
jne 0x18001a97a
mov byte [rdi + rsi], r8b
inc rdi
inc r14
cmp r14, r9
jb 0x18001a930
imul eax, r15d, 0x2f
add ebp, eax
cmp ebp, r12d
jbe 0x18001a831
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov eax, 3
jmp 0x18001a993
mov eax, 2
jmp 0x18001a993
mov eax, 1
jmp 0x18001a993