joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007150
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1030
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rsi, rdx
xor edi, edi
lea rdx, [0x14002d824]
call fcn.1400039f0
mov rbx, rax
test rax, rax
je 0x1400071b2
lea rdx, [0x14002d91c]
mov rcx, rsi
call fcn.1400039f0
mov rsi, rax
mov rcx, rbx
test rax, rax
jne 0x1400071bc
call fcn.14000f544
mov eax, 0xffffffff
jmp 0x140007251
call fcn.14000f5dc
test eax, eax
jne 0x14000723f
nop word [rax + rax]
mov r9, rbx
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x1000
call fcn.14000f894
test rax, rax
je 0x140007226
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8, rax
mov edx, 1
call fcn.14000ffd4
test rax, rax
je 0x140007221
mov rcx, rsi
call fcn.14000f608
test eax, eax
jne 0x140007221
mov rcx, rbx
call fcn.14000f5dc
test eax, eax
je 0x1400071d0
jmp 0x14000723f
mov rcx, rsi
jmp 0x140007235
mov rcx, rbx
call fcn.14000f608
test eax, eax
je 0x14000723f
mov rcx, rbx
call fcn.1400181f4
mov edi, 0xffffffff
mov rcx, rbx
call fcn.14000f544
mov rcx, rsi
call fcn.14000f544
mov eax, edi
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14000bab0
lea r11, [rsp + 0x1030]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140007280
Capabilities:
Create directory

Disassembly:
push rdi
push r14
mov eax, 0x3058
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x3030], rax
mov rdi, r8
mov r14, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x1400072b0
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], 0
jne 0x1400072c1
inc rax
mov qword [rsp + 0x3050], rbx
add rax, rcx
mov qword [rsp + 0x3048], rbp
mov qword [rsp + 0x3040], rsi
cmp rax, 0x1000
jae 0x1400073b6
mov r9, rdx
mov dword [rsp + 0x20], 0x5c
mov edx, 0x1000
lea r8, str._s_c
lea rcx, [rsp + 0x30]
call fcn.140001c60
mov edx, 0x5c
movsxd rbp, eax
mov rcx, rdi
call fcn.14000c940
mov rbx, rax
test rax, rax
je 0x1400073b2
mov esi, 0x1000
sub rsi, rbp
lea rbp, [rsp + rbp + 0x30]
nop
mov r9d, ebx
mov qword [rsp + 0x20], rdi
sub r9d, edi
lea r8, [0x14002f47c]
mov rdx, rsi
mov rcx, rbp
call fcn.140001c60
lea rcx, [rsp + 0x30]
call fcn.140003990
test eax, eax
jne 0x14000739c
mov r8d, 0x1000
lea rdx, [rsp + 0x1030]
lea rcx, [rsp + 0x30]
call fcn.1400088f0
mov rdx, qword [r14 + 0x3038]
lea rcx, [rsp + 0x1030]
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x1400073b6
lea rcx, [rbx + 1]
mov edx, 0x5c
call fcn.14000c940
mov rbx, rax
test rax, rax
jne 0x140007340
xor eax, eax
jmp 0x1400073bb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x3040]
mov rbp, qword [rsp + 0x3048]
mov rbx, qword [rsp + 0x3050]
mov rcx, qword [rsp + 0x3030]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x3058
pop r14
pop rdi
ret
Function at 0x140007630
Capabilities:
Create directory
Get disk information
Query environment variable

Disassembly:
push rdi
mov eax, 0x4040
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x4030], rax
xor r8d, r8d
xor edx, edx
call fcn.1400088f0
mov rdi, rax
test rax, rax
jne 0x140007676
lea rcx, str.LOADER:_failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.140001f30
xor eax, eax
jmp 0x1400077ff
mov r8d, 0x1000
mov qword [rsp + 0x4058], rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.140015e10
test ebx, ebx
jne 0x1400076b3
lea rcx, str.LOADER:_failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.140001f30
xor eax, eax
jmp 0x1400077f7
lea rcx, [rsp + 0x30]
call fcn.140008760
test eax, eax
je 0x14000771f
cmp word [rsp + 0x34], 0x5c
je 0x1400076e5
lea rcx, [rsp + 0x30]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400076d2
mov eax, dword [0x14002f5a0]
mov dword [rcx], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 1
jg 0x140007710
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, str.LOADER:_runtime_tmpdir_points_to_non_existent_drive__ls__type:__d___n
call fcn.140001f30
xor eax, eax
jmp 0x1400077f7
lea rcx, [rsp + 0x30]
call fcn.140018848
jmp 0x1400077f7
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.140018ce4
mov rbx, rax
test rax, rax
jne 0x14000774c
lea rcx, str.LOADER:_failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.140001f30
xor eax, eax
jmp 0x1400077f7
mov edx, 0x5c
mov rcx, rbx
call fcn.14000cb00
mov rdi, rax
test rax, rax
je 0x1400077ae
mov r9, rdi
mov qword [rsp + 0x20], rbx
sub r9, rbx
lea r8, str._.s
sar r9, 1
lea rcx, [rsp + 0x2030]
mov edx, 0x1000
call fcn.140001d50
xor edx, edx
lea rcx, [rsp + 0x2030]
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.14000cb00
mov rdi, rax
test rax, rax
jne 0x140007761
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x1400077f4
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x1400077f4
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9, rbx
lea r8, str.LOADER:_failed_to_create_runtime_tmpdir_path__ls__n
mov edx, eax
lea rcx, str.CreateDirectory
call fcn.140002310
mov rcx, rbx
call fcn.140015e10
xor eax, eax
jmp 0x1400077f7
mov rax, rbx
mov rbx, qword [rsp + 0x4058]
mov rcx, qword [rsp + 0x4030]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x4040
pop rdi
ret
Function at 0x140007820
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2280
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x2270], rax
mov rbp, rcx
lea r8, [0x14002f890]
mov r9, rcx
mov ebx, 0x1000
mov edx, ebx
lea rcx, [rsp + 0x270]
call fcn.140001d50
mov edi, eax
cmp eax, ebx
jge 0x140007963
dec edi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
sub ebx, edi
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140007963
nop
movzx edx, word [rsp + 0x4c]
movzx ecx, word [rsp + 0x4e]
cmp dx, 0x2e
jne 0x1400078c7
test cx, cx
je 0x140007933
cmp dx, dx
jne 0x1400078c7
cmp cx, dx
jne 0x1400078c7
cmp word [rsp + 0x50], 0
je 0x140007933
movsxd rax, edi
lea rcx, [rsp + 0x270]
movsxd rdx, ebx
lea r9, [rsp + 0x4c]
lea r8, [0x14002f89c]
lea rcx, [rcx + rax*2]
call fcn.140001d50
cmp eax, ebx
jge 0x140007933
mov eax, dword [rsp + 0x20]
test al, 0x10
je 0x140007925
bt eax, 0xa
jae 0x140007916
cmp dword [rsp + 0x44], 0xa000000c
jne 0x140007916
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x140007933
lea rcx, [rsp + 0x270]
call fcn.140007820
jmp 0x140007933
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x1400078a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
dec eax
neg eax
sbb eax, eax
jmp 0x140007968
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2270]
xor rcx, rsp
call fcn.14000bab0
lea r11, [rsp + 0x2280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140007ac0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x2050
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x2040], rax
xor r14d, r14d
mov rbp, rcx
cmp qword [rcx + 0x3068], r14
je 0x140007b5a
lea rcx, [0x14002f768]
call fcn.140007c90
mov rcx, qword [rbp + 0x3068]
mov r14, rax
call fcn.140007630
mov rdi, rax
test rax, rax
je 0x140007b48
mov rdx, rax
lea rcx, [0x14002f770]
call fcn.140019114
mov rcx, rdi
mov ebx, eax
call fcn.140015e10
test ebx, ebx
je 0x140007b5a
lea rcx, str.LOADER:_failed_to_set_the_TMP_environment_variable._n
call fcn.140001f30
mov rcx, r14
call fcn.140015e10
mov eax, 0xffffffff
jmp 0x140007c65
lea rdx, [rsp + 0x40]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.DLL_GetTempPathW]
call sub.KERNEL32.DLL_GetCurrentProcessId
mov r9d, eax
lea r8, str._MEI_d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140008700
xor ebx, ebx
mov esi, 0xffffffff
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140019a44
mov rdx, qword [rbp + 0x3038]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov rcx, rdi
test eax, eax
jne 0x140007bc7
call fcn.140015e10
inc ebx
cmp ebx, 5
jl 0x140007b90
jmp 0x140007bf6
lea rdx, [rbp + 0x2022]
mov r8d, 0x1000
call fcn.1400089a0
test rax, rax
jne 0x140007bec
lea rcx, str.LOADER:_length_of_teporary_directory_path_exceeds_maximum_path_length__n
call fcn.140001f30
jmp 0x140007bee
xor esi, esi
mov rcx, rdi
call fcn.140015e10
cmp qword [rbp + 0x3068], 0
je 0x140007c63
xor r8d, r8d
lea rcx, [0x14002f768]
xor edx, edx
call fcn.1400088f0
test r14, r14
je 0x140007c49
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov rdi, rax
call fcn.1400088f0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140019114
mov rcx, rdi
call fcn.140015e10
mov rcx, rbx
call fcn.140015e10
mov rcx, r14
jmp 0x140007c5e
lea rdx, [0x14002f484]
mov rcx, rax
mov rbx, rax
call fcn.140019114
mov rcx, rbx
call fcn.140015e10
mov eax, esi
mov rcx, qword [rsp + 0x2040]
xor rcx, rsp
call fcn.14000bab0
lea r11, [rsp + 0x2050]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140007c90
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x4020], rax
xor r8d, r8d
xor edx, edx
call fcn.1400088f0
mov r8d, 0x1000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffe
ja 0x140007d22
mov r8d, 0x1000
lea rdx, [rsp + 0x2020]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0xffe
ja 0x140007d22
xor r8d, r8d
lea rcx, [rsp + 0x2020]
xor edx, edx
call fcn.1400089a0
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x4038
ret
Function at 0x1400083b0
Capabilities:
Enumerate process modules

Disassembly:
push rbx
push rbp
push r12
mov eax, 0x4050
call fcn.14000bdb0
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rsp + 0x4030], rax
xor ebp, ebp
mov rbx, rcx
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rcx, rax
xor edx, edx
mov r12, rax
call sub.KERNEL32.DLL_K32EnumProcessModules
test eax, eax
je 0x14000857e
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x14000857e
mov edx, 1
mov qword [rsp + 0x4040], r15
call fcn.140015e08
mov r15, rax
test rax, rax
je 0x140008576
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov rcx, r12
call sub.KERNEL32.DLL_K32EnumProcessModules
test eax, eax
je 0x14000856e
lea rcx, [rbx + 0x2022]
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
call fcn.1400088f0
test rax, rax
je 0x14000856e
mov qword [rsp + 0x4078], rsi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x4080], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x4048], r14
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], bp
jne 0x140008490
mov r14d, dword [rsp + 0x20]
shr r14, 3
test r14, r14
je 0x1400084fc
mov rbx, rbp
mov rsi, r15
nop dword [rax]
mov rdx, qword [r15 + rbx*8]
lea r8, [rsp + 0x2030]
mov r9d, 0x1000
mov rcx, r12
call sub.KERNEL32.DLL_K32GetModuleFileNameExW
test eax, eax
je 0x1400084f4
mov r8, rdi
lea rdx, [rsp + 0x2030]
lea rcx, [rsp + 0x30]
call fcn.140018918
test eax, eax
jne 0x1400084f4
mov rax, qword [r15 + rbx*8]
inc ebp
mov qword [rsi], rax
add rsi, 8
inc rbx
cmp rbx, r14
jl 0x1400084b0
mov r14, qword [rsp + 0x4048]
movsxd rsi, ebp
test ebp, ebp
jle 0x14000855e
mov rdi, r15
nop
mov rdx, qword [rdi]
lea r8, [rsp + 0x2030]
mov r9d, 0x1000
mov rcx, r12
call sub.KERNEL32.DLL_K32GetModuleFileNameExW
test eax, eax
je 0x140008554
mov rcx, qword [rdi]
mov ebx, 1
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
test eax, eax
je 0x140008554
nop
cmp ebx, 0x20
jge 0x140008554
mov rcx, qword [rdi]
inc ebx
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
test eax, eax
jne 0x140008540
add rdi, 8
sub rsi, 1
jne 0x140008510
mov rdi, qword [rsp + 0x4080]
mov rsi, qword [rsp + 0x4078]
mov rcx, r15
call fcn.140015e10
mov r15, qword [rsp + 0x4040]
mov rcx, qword [rsp + 0x4030]
xor rcx, rsp
call fcn.14000bab0
add rsp, 0x4050
pop r12
pop rbp
pop rbx
ret
Function at 0x180010a30
Capabilities:
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [0x18015d4b8]
mov rdi, qword [rbx]
cmp rdi, rbx
je 0x180010a6e
nop dword [rax]
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x180010a5f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdi, qword [rdi]
cmp rdi, rbx
jne 0x180010a50
mov rbx, qword [0x18015d4b8]
mov rcx, qword [0x18015d4c0]
test rcx, rcx
je 0x180010b29
mov rax, qword [0x18015d4e8]
shr rax, 3
cmp rax, rcx
jbe 0x180010aa5
mov rdx, qword [rbx]
lea rcx, [0x18015d4b0]
mov r8, rbx
call fcn.18001c250
jmp 0x180010b29
mov rax, qword [rbx + 8]
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rax], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x180010ad5
nop dword [rax + rax]
mov rdi, qword [rcx]
mov edx, 0x20
call fcn.1800b4a88
mov rcx, rdi
test rdi, rdi
jne 0x180010ac0
mov rax, qword [0x18015d4b8]
mov qword [rax], rax
mov rax, qword [0x18015d4b8]
mov qword [rax + 8], rax
mov rdi, qword [0x18015d4c8]
mov rcx, qword [0x18015d4d0]
sub rcx, rdi
mov qword [0x18015d4c0], rsi
add rcx, 7
shr rcx, 3
cmp rdi, qword [0x18015d4d0]
cmova rcx, rsi
mov rsi, qword [rsp + 0x30]
test rcx, rcx
je 0x180010b29
mov rax, qword [0x18015d4b8]
rep stosq qword [rdi], rax
call fcn.1800643d0
call fcn.180010a20
call fcn.1800658f0
call fcn.180065bd0
call fcn.1800660a0
call fcn.180066570
call fcn.180010a20
call fcn.180069870
call fcn.18006a4f0
call fcn.18006bac0
call fcn.18006bbd0
call fcn.18006bcd0
call fcn.18006be50
call fcn.18006d0c0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x18006d320
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x38], 0
mov rdi, rcx
jne 0x180021d23
cmp byte [rcx + 0x69], 0
je 0x180021d23
cmp byte [rcx + 0x68], 0
je 0x180021d23
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
call fcn.18001f720
call fcn.1800b1170
call fcn.1800b01e0
call fcn.18007ef00
call fcn.180077110
mov rcx, rdi
mov qword [0x18015d4a0], rax
call fcn.18001b890
movzx ebx, byte [rdi + 0x30]
call fcn.180077fc0
mov rsi, rax
call fcn.180077790
test bl, bl
mov ecx, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov ebp, 1
cmovne ecx, ebp
xorps xmm0, xmm0
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x18011a0c0]
mulss xmm1, dword [rax + 0x10]
addss xmm1, dword [rsi]
comiss xmm0, xmm1
ja 0x180021caf
movss xmm0, dword [0x1800bd738]
minss xmm0, xmm1
mov rcx, rdi
movss dword [rsi], xmm0
call fcn.180010b80
mov qword [0x18015d4a0], 0
lea r8, [rdi + 0x18]
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
mov edx, ebp
mov rax, qword [rcx]
call qword [rax + 0x108]
call fcn.180080e80
call fcn.1800773e0
mov rcx, rax
call fcn.1800b0220
cmp byte [0x18015d308], 0
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
je 0x180021d23
inc qword [rdi + 0x88]
cmp qword [rdi + 0x88], 0xa
jb 0x180021d23
mov rcx, rdi
mov byte [rdi + 0x68], 0
add rsp, 0x20
pop rdi
jmp 0x180010a30
add rsp, 0x20
pop rdi
ret
sub rsp, 0x28
mov rcx, qword [0x18015db30]
call fcn.18001ed00
mov rcx, qword [0x18015db38]
add rsp, 0x28
jmp fcn.18001ed00
Function at 0x18001c250
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x18001c455
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
xor rcx, rax
mov qword [rsp + 0x78], rdx
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x14]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x15]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x16]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x17]
imul rcx, r8
xor rcx, rax
mov rax, qword [rsi + 0x30]
imul rcx, r8
and rax, rcx
shl rax, 4
add rax, rdx
mov qword [rsp + 0x68], rax
mov rcx, qword [rax]
mov r15, qword [rax + 8]
mov qword [rsp + 0x70], rcx
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1800b4a88
dec qword [rsi + 0x10]
cmp rdi, r15
je 0x18001c369
cmp rbx, rbp
jne 0x18001c330
cmp qword [rsp + 0x70], r14
jne 0x18001c434
mov rcx, qword [rsp + 0x68]
mov qword [rcx], rbx
jmp 0x18001c434
mov rcx, qword [rsp + 0x68]
cmp qword [rsp + 0x70], r14
jne 0x18001c37d
mov qword [rcx], r12
mov rax, r12
jmp 0x18001c380
mov rax, r13
mov qword [rcx + 8], rax
cmp rbx, rbp
je 0x18001c434
nop dword [rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x14]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x15]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x16]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x17]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
nop
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1800b4a88
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x18001c461
cmp rbx, rbp
jne 0x18001c410
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x18001c390
jmp 0x18001c434
Function at 0x18001e4b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18001e4f4
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180010570]
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
jne 0x18001e4f4
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x18001ed00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rcx
lea rcx, [0x18015d210]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call fcn.18001e730
lea r8, [rsp + 0x48]
lea rcx, [0x18015d210]
mov rdx, qword [rax]
mov edi, dword [rdx + 0x20]
sub edi, dword [rdx + 0x18]
lea rdx, [rsp + 0x20]
call fcn.18001e730
lea r9, [rsp + 0x40]
mov r8d, 0x40
mov edx, edi
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18001eda0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp r8d, 5
jae 0x18001edc3
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
mov ebx, r8d
mov r8d, 0x40
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, ebx
mov edx, 0x90
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
sub esi, edi
mov byte [rdi], 0xe9
sub esi, 5
mov edx, ebx
mov rcx, rdi
mov dword [rdi + 1], esi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18001f030
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rsi, rcx
mov qword [rax + 0x20], rcx
movzx r15d, r8b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor ebp, ebp
mov qword [rax - 0x78], rbp
test r8b, r8b
je 0x18001f09d
mov ecx, r15d
call fcn.1800b4a4c
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rbx, [rax + r15]
mov qword [rsp + 0x40], rbx
mov r8d, r15d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], rbx
jmp 0x18001f0a2
mov rdi, qword [rsp + 0x30]
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x20]
lea rcx, [0x18015d210]
call fcn.18001e730
mov rcx, qword [rax]
add rcx, 0x18
lea rdx, [rsp + 0x30]
call fcn.18001ebc0
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14d, dword [rsp + 0x4c]
lea r12, [r14 - 1]
not r12
and r12, rsi
lea rax, [r12 - 0x7fffff00]
mov r13, qword [rsp + 0x50]
cmp rax, r13
cmovb r13, rax
lea rax, [r12 + 0x7fffff00]
mov rcx, qword [rsp + 0x58]
cmp rax, rcx
cmova rcx, rax
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rax, r12
div r14
sub r12, rdx
lea rdi, [r12 + r14]
mov rax, rdi
sub rax, r12
mov rbx, r12
sub rbx, rax
cmp r12, rax
cmovbe rbx, rbp
cmp rdi, rcx
jbe 0x18001f154
cmp rbx, r13
jb 0x18001f20f
cmp rdi, rcx
jae 0x18001f176
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18001f1a5
cmp rbx, r13
jbe 0x18001f19b
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18001f1a5
add rdi, r14
mov rcx, qword [rsp + 0x20]
jmp 0x18001f130
mov rdx, qword [rsp + 0xc8]
mov rcx, rsi
call fcn.18001f270
cmp r15, 5
jb 0x18001f20f
lea edx, [r15 + 5]
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x18001f20f
mov r8, r15
mov rdi, qword [rsp + 0xc0]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r15 + rdi]
lea rcx, [rbx + r15]
call fcn.18001f270
mov r8d, r15d
mov rdx, rsi
mov rcx, rdi
call fcn.18001eda0
mov rbp, rbx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18001f24e
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001f249
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001f249
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800b4a88
mov rax, rbp
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001f270
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x22], rdx
lea r9, [rsp + 0x48]
mov edx, 0xd
mov word [rsp + 0x20], 0xba49
mov r8d, 0x40
mov word [rsp + 0x2a], 0xff41
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [rsp + 0x20]
lea r9, [rsp + 0x48]
mov eax, dword [rsp + 0x28]
mov edx, 0xd
mov r8d, dword [rsp + 0x48]
mov rcx, rbx
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
mov byte [rbx + 0xc], 0xe2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
add rsp, 0x30
pop rbx
ret