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

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180009990
lea r11, [0x1800c3b00]
nop dword [rax]
cmp r9b, 0x23
jne 0x180009973
cmp byte [r8], r9b
jne 0x180009973
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 0x180009960
mov r11, qword [0x180204970]
not eax
movsxd rcx, dword [r11 + 0x1a18]
mov r9, qword [r11 + 0x1a20]
mov r10, rcx
mov rdx, rcx
mov r8, r9
test ecx, ecx
je 0x1800099f8
nop dword [rax]
nop dword [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800099e9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800099ec
mov rdx, r8
test rdx, rdx
jne 0x1800099c0
mov r8, qword [r11 + 0x1a20]
shl r10, 4
add r10, r8
cmp r9, r10
je 0x180009a0e
cmp dword [r9], eax
jne 0x180009a0e
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18000fad0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x180204970]
mov rbp, rcx
mov rsi, qword [rax + 0x1a30]
lea rbx, [rsi + 0xc0]
mov eax, dword [rbx]
mov edx, eax
test eax, eax
jg 0x18000fb27
mov r8d, 0x51b
lea rdx, str.C:UserszuxviDesktop_aaaaaimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx]
mov edx, eax
movsxd rcx, eax
lea r8, [0x1800c3b00]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rcx*4 - 4]
not edi
movzx eax, bpl
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x34]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x35]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x36]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x37]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rsi + 0xc4]
not edi
cmp edx, r8d
jne 0x18000fc0b
lea ecx, [rdx + 1]
test r8d, r8d
je 0x18000fbf5
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18000fbfa
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180017cd0
mov edx, dword [rbx]
mov rax, qword [rsi + 0xc8]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
movsxd rcx, edx
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18000fc30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x180204970]
mov ebp, ecx
mov rsi, qword [rax + 0x1a30]
lea rbx, [rsi + 0xc0]
mov eax, dword [rbx]
mov edx, eax
test eax, eax
jg 0x18000fc85
mov r8d, 0x51b
lea rdx, str.C:UserszuxviDesktop_aaaaaimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx]
mov edx, eax
movsxd rcx, eax
lea r8, [0x1800c3b00]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rcx*4 - 4]
not edi
movzx eax, bpl
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rsi + 0xc4]
not edi
cmp edx, r8d
jne 0x18000fd1d
lea ecx, [rdx + 1]
test r8d, r8d
je 0x18000fd07
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18000fd0c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180017cd0
mov edx, dword [rbx]
mov rax, qword [rsi + 0xc8]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
movsxd rcx, edx
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180015bd0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x180204970]
cmp byte [rbx + 0x2f88], 0
je 0x180015cbc
cmp qword [rbx + 0x2f90], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f98]
je 0x180015ca4
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x180015c4b
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180017980
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.180003730
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x2f90]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x2fa0]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x180204968]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.180003730
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x1800164c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x180204970]
xor r15d, r15d
mov rbp, rcx
mov dword [rdi + 0x2f50], r15d
test rcx, rcx
je 0x18001660c
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2f58]
mov dword [rdi + 0x2f50], r15d
mov r8d, dword [rbx + 4]
mov qword [rsp + 0x48], rsi
test r8d, r8d
jns 0x180016522
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.180017980
mov eax, r15d
mov dword [rbx], r15d
cmp dword [rbx + 4], eax
jne 0x18001653c
mov edx, 8
mov rcx, rbx
call fcn.180017980
mov eax, dword [rbx]
movsxd rcx, eax
mov esi, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov eax, dword [rdi + 0x2f68]
mov ecx, dword [rbx]
test eax, eax
jle 0x1800165ad
mov qword [rsp + 0x50], r14
mov r14, r15
cmp r15d, eax
jl 0x18001657f
mov r8d, 0x511
lea rdx, str.C:UserszuxviDesktop_aaaaaimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x2f70]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + reloc.WLDAP32.dll_Ordinal_32]
mov eax, dword [rdi + 0x2f68]
inc esi
add r14, 0x30
cmp esi, eax
jl 0x18001657f
mov ecx, dword [rbx]
mov r14, qword [rsp + 0x50]
test ecx, ecx
lea eax, [rcx - 1]
lea rdx, [0x1800c3810]
mov rcx, rbp
cmove eax, r15d
movsxd rsi, eax
mov rax, qword [rdi + 0x2f60]
lea rdi, [0x180204968]
test rax, rax
cmovne rdi, rax
call fcn.180002b60
mov rbx, rax
test rax, rax
je 0x180016602
mov r9, rax
mov r8, rsi
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 rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x18002c740
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test edx, edx
lea rax, str.SCROLLX
lea rdi, str.SCROLLY
mov rbx, rcx
cmove rdi, rax
mov eax, dword [rcx + 0xc0]
test eax, eax
jg 0x18002c78b
mov r8d, 0x51b
lea rdx, str.C:UserszuxviDesktop_aaaaaimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0xc0]
movsxd rdx, eax
mov rcx, rdi
mov rax, qword [rbx + 0xc8]
mov r8d, dword [rax + rdx*4 - 4]
xor edx, edx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.180002ab0
Function at 0x180040a10
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180040a41
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180204eb8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180204ec8]
lea rdx, [rdi + rdi]
call fcn.18003c370
mov rcx, qword [0x180204eb8]
lea r9, [rdi - 1]
mov qword [0x180204ee0], r9
mov qword [0x180204ee8], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x180040bc5
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rsi
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rdi
xor r11, rax
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x180204ec8]
mov r10, qword [r11]
cmp r10, rbx
jne 0x180040b03
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x180040b86
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x180040b40
mov r10, qword [rax]
cmp r10, rcx
je 0x180040b3a
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x180040b86
mov r8, rax
cmp r10, rax
je 0x180040b62
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x180040b9a
cmp r10, rax
jne 0x180040b50
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
je 0x180040bc0
mov r9, qword [0x180204ee0]
jmp 0x180040ab1
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x180040b86
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180041ce0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1800fb060]
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]
cmp rdi, 0x40000000
jbe 0x180041d2d
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180204f80]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x60], r15
cmovbe r15, qword [rsp + 0x60]
sub r15, 0xfff
test rsi, rsi
je 0x180041d6f
cmp rsi, r14
jb 0x180041d67
cmp rsi, r15
jae 0x180041d67
cmp qword [rsi + 8], 0
jne 0x180041f2d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180041d52
mov qword [rsp + 0xb8], rbx
mov rbx, rdi
mov qword [rsp + 0xc0], rbp
cmp rdi, r14
jb 0x180041df2
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 0x180041de9
nop word [rax + rax]
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180041de9
cmp dword [rsp + 0x40], 0x10000
je 0x180041e6b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x180041de9
sub rbx, rbp
cmp rbx, r14
jae 0x180041db0
test rsi, rsi
jne 0x180041ed6
cmp rdi, r15
ja 0x180041f1d
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 0x180041f1d
mov r8d, Ordinal_50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180041f1d
cmp dword [rsp + 0x40], 0x10000
je 0x180041ea4
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 0x180041e22
jmp 0x180041f1d
test rbx, rbx
je 0x180041de9
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180041ed6
cmp rbx, r14
jae 0x180041d90
jmp 0x180041df2
test rdi, rdi
je 0x180041f1d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180041ed6
cmp rdi, r15
jbe 0x180041e00
jmp 0x180041f1d
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x180041ef0
mov rax, qword [0x180204f80]
mov qword [rsi], rax
mov qword [0x180204f80], rsi
mov rbp, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xb8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800b00f0
mov rsi, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rdi
ret
Function at 0x1800428b0
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 [0x1800fb060]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800429db
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_33
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800429d2
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800429b4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800429b4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800429b4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180042972
mov rcx, qword [0x180204978]
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 0x1800429d2
jmp 0x1800429a7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800429a7
mov rcx, qword [0x180204978]
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 0x1800429d2
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], Ordinal_33
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180042920
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180042a33
cmp dword [rbx + 0xc], esi
jbe 0x180042a33
nop word [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180042a2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180042700
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800429f0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800b00f0
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 0x180042a60
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 [0x1800fb060]
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 [0x180204f70]
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 0x180042ad3
mov eax, 0xa
jmp 0x180042b62
test esi, esi
je 0x180042af5
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 0x180042b18
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180042b18
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180042b11
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180042b18
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]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800b00f0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180042b90
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 [0x180204f7c]
mov ebx, edi
test ecx, ecx
je 0x180042ccb
mov rax, qword [0x180204f70]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180042be8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180042bc0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180042ccb
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800428b0
mov r8d, dword [0x180204f7c]
cmp ebx, r8d
jae 0x180042c58
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180204f70]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180042c51
mov edx, esi
mov ecx, ebx
call fcn.180042a60
mov edi, eax
test eax, eax
jne 0x180042c58
mov r8d, dword [0x180204f7c]
inc ebx
cmp ebx, r8d
jb 0x180042c20
cmp qword [rsp + 0x20], 0
je 0x180042ccb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180042cb7
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
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180042ca8
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 0x180042c80
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180204978]
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 0x180043020
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 [0x18020496c], ebp
je 0x180043077
cmp rbx, 0x20
jae 0x180043060
xor ecx, ecx
jmp 0x180043062
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18020496c], ebp
jne 0x180043056
cmp qword [0x180204978], r15
je 0x180043171
test rdi, rdi
jne 0x180043097
mov ecx, esi
call fcn.180042b90
mov ebp, eax
jmp 0x180043176
mov ecx, dword [0x180204f7c]
mov ebx, r15d
test ecx, ecx
je 0x1800430bf
mov r8, qword [0x180204f70]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x1800430c9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800430b0
mov ebp, 4
jmp 0x180043176
cmp ebx, 0xffffffff
je 0x1800430bf
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180043168
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800428b0
mov edx, esi
mov ecx, ebx
call fcn.180042a60
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180043176
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180043152
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180043148
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 0x180043120
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180204978]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180043176
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180043176
mov ebp, 2
xchg dword [0x18020496c], 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 0x180048800
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x48
cmp byte [0x180204d6e], 0
je 0x180048a18
mov rax, qword [0x180204d48]
mov qword [rsp + 0x60], rsi
xor esi, esi
test rax, rax
jne 0x1800488f6
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x40], rdi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rbx, rbp
nop
mov r9, qword [rbx + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov r11d, dword [rax + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1800488c8
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1800488c8
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0x811c9dc5
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1800488c3
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1800488a0
cmp edx, 0x95466b05
je 0x1800489f5
test r8d, r8d
jne 0x180048880
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rbp
je 0x1800488dd
cmp qword [rax + 0x30], rsi
jne 0x180048850
mov rax, rsi
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov qword [0x180204d48], rax
mov ecx, dword [0x180204d70]
call rax
test ax, ax
je 0x180048a13
mov rax, qword [0x180204f48]
mov r10, qword [rax]
test r10, r10
je 0x180048a13
mov r10, qword [r10 + 8]
test r10, r10
je 0x180048a13
mov rax, qword [0x180204f18]
mov r9, qword [rax]
test r9, r9
je 0x180048a13
mov r9, qword [r9 + 0x18]
test r9, r9
je 0x180048a13
mov r11d, dword [0x180204f2c]
mov r8, rsi
movss xmm3, dword [0x1800eb8c8]
nop dword [rax]
movsxd rax, esi
cmp rax, qword [r9 + 0x108]
jae 0x180048a13
mov rdx, qword [r9 + 0x100]
test rdx, rdx
je 0x1800489ea
mov rdx, qword [r8 + rdx]
test rdx, rdx
je 0x1800489ea
cmp rdx, r10
je 0x1800489ea
mov ecx, dword [r11 + rdx]
test ecx, ecx
je 0x1800489ea
and ecx, 0x1fc000
cmp ecx, 0x8000
je 0x1800489ea
movsd xmm1, qword [r10 + 0x90]
mov eax, dword [r10 + 0x98]
movaps xmm2, xmm1
mov dword [rsp + 0x28], eax
movss xmm0, dword [rsp + 0x28]
shufps xmm2, xmm2, 0x55
addss xmm2, xmm3
movss dword [rsp + 0x38], xmm0
mov eax, dword [rsp + 0x38]
mov dword [rdx + 0x280], 0x3dcccccd
unpcklps xmm1, xmm2
movsd qword [rdx + 0x90], xmm1
mov dword [rdx + 0x98], eax
inc esi
add r8, 0x10
jmp 0x180048960
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x1800488e0
mov rsi, qword [rsp + 0x60]
add rsp, 0x48
ret