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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r9, qword [0x140095ee8]
mov r14, r8
movaps xmmword [rsp + 0x30], xmm6
mov ebp, edx
mov rsi, rcx
mov rdi, r9
mov rbx, qword [r9 + 0x40a0]
test edx, edx
jne 0x14000c515
mov r8d, 0x170b
lea rdx, [0x140055720]
lea rcx, str.id___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [0x140095ee8]
mov rax, qword [r9 + 0x40a0]
cmp qword [rax + 0x1c0], 0
jne 0x14000c537
cmp qword [r9 + 0x4ec0], 0
lea rcx, [rax + 0x268]
je 0x14000c53e
lea rcx, [rax + 0x238]
movss xmm2, dword [rcx]
movss xmm3, dword [rcx + 4]
lea rcx, [rsp + 0x60]
subss xmm3, dword [rax + 0x11c]
subss xmm2, dword [rax + 0x118]
mov rdx, qword [r14]
call fcn.140018ee0
test byte [rdi + 0x4ac0], 2
je 0x14000c59f
test byte [rdi + 0x4ac8], 1
je 0x14000c59f
movss xmm0, dword [rdi + 0x4ae0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14000c58c
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rdi + 0x4ae4]
comiss xmm0, xmm1
jbe 0x14000c59f
movss dword [rsp + 0x64], xmm0
or dword [r9 + 0x4ac0], 2
lea rcx, [rsp + 0x60]
movsd xmm0, qword [rsp + 0x60]
xor edx, edx
movsd qword [r9 + 0x4ae0], xmm0
mov dword [r9 + 0x4ac8], 1
or dword [rdi + 0x4ac0], 0x100
mov dword [rdi + 0x4af8], 1
mov r9, qword [rbx + 8]
test rsi, rsi
je 0x14000c5fc
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rsi
call fcn.1400026f0
jmp 0x14000c60c
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.1400026f0
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x3958]
mov r8d, 0x1000107
call fcn.14000fdf0
mov rsi, qword [rdi + 0x40a0]
movzx r14d, al
movss dword [rdi + 0x3958], xmm6
cmp word [rsi + 0xd8], 1
mov dword [rsi + 0x90], ebp
jne 0x14000c656
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, ebp
lea rdx, [0x140056ac9]
not r9d
lea r10, [0x14005b9c0]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000c683
cmp byte [rdx], r8b
jne 0x14000c683
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 0x14000c670
not ebx
cmp dword [rdi + 0x4114], ebx
jne 0x14000c6b3
xor edx, edx
xor ecx, ecx
call fcn.1400083a0
cmp dword [rdi + 0x4bec], ebp
jne 0x14000c6f8
cmp word [rsi + 0x174], 0
jne 0x14000c6ce
cmp byte [rsi + 0x17a], 0
je 0x14000c6f8
xor edx, edx
mov rcx, rsi
call fcn.140012e60
xor edx, edx
mov rcx, rsi
call fcn.14001c860
mov rdx, rsi
mov ecx, ebx
call fcn.1400083a0
mov eax, dword [rdi + 0x4c20]
mov dword [rdi + 0x4140], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140013f20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x108], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x140013f5c
mov r8d, 0x832
lea rdx, [0x140055570]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x110]
lea rdx, [0x14005b9c0]
movsxd r8, dword [rsi + 0x108]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x40f8], ebx
jne 0x140013fd7
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140021ca0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001a090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140095ee8]
mov edi, ecx
cmp byte [rbx + 0x4df5], 0
jne 0x14001a0e2
cmp byte [rbx + 0x4df6], 0
jne 0x14001a0e2
movsx r9d, word [rbx + 0x51f0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002670
test dil, 2
je 0x14001a21f
jmp 0x14001a17c
movss xmm0, dword [rbx + 0x3a08]
mov eax, dword [rbx + 0x4ac0]
movaps xmm1, xmm0
mulss xmm1, dword [0x14006558c]
mulss xmm0, dword [0x140065584]
addss xmm1, dword [rbx + 0xe0]
addss xmm0, dword [rbx + 0xe4]
test al, 1
jne 0x14001a13d
xor ecx, ecx
movss dword [rbx + 0x4ad0], xmm1
mov qword [rbx + 0x4ad8], rcx
or eax, 1
movss dword [rbx + 0x4ad4], xmm0
mov dword [rbx + 0x4ac4], 1
movss xmm0, dword [rbx + 0x3a64]
lea r8, str.Tooltip__02d
mulss xmm0, dword [0x140065500]
lea rcx, [rsp + 0x20]
or eax, 0x40
mov edx, 0x10
mov dword [rbx + 0x4ac0], eax
movss dword [rbx + 0x4b20], xmm0
movsx r9d, word [rbx + 0x51f0]
call fcn.140002670
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001a1d0
lea r11, [0x14005b9c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001a1b3
cmp byte [r8], r9b
jne 0x14001a1b3
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 0x14001a1a0
not ecx
call fcn.14000c950
test rax, rax
je 0x14001a21f
cmp byte [rax + 0xca], 0
je 0x14001a21f
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, 0x10
inc word [rbx + 0x51f0]
movsx r9d, word [rbx + 0x51f0]
call fcn.140002670
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000fdf0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1400204b0
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 + 0x5358], 0
lea rbx, [rcx + 0x5360]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140020557
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14002050a
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.140023280
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003280
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5358]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5368]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140095ee0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002055f
mov rcx, rbx
call fcn.140003280
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400208a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x140095ee8]
xor ebp, ebp
cmp byte [rbx + 0x52a0], bpl
jne 0x14002099c
cmp dword [rbx + 0x52c8], ebp
je 0x1400208e7
mov r8d, 0x3828
lea rdx, [0x140055720]
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140020995
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140002ad0
mov rdi, rax
test rax, rax
je 0x140020995
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140020921
mov rcx, rax
call fcn.140020af0
mov r8, qword [0x140095ee8]
test r8, r8
je 0x14002098c
movsx rdx, word [r8 + 0x5480]
lea rcx, [r8 + 0x5484]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140020981
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5480], cx
movsx rax, cx
lea rcx, [r8 + 0x5484]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x547c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x52a0], 1
movss xmm0, dword [rbx + 0x52a4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140020a39
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x52a4], xmm0
jb 0x140020a39
mov rdi, qword [rbx + 0x20]
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x140020a27
mov rax, qword [0x140095ee8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x52a4], ebp
call fcn.140020d70
lea rdx, [0x14005b14c]
mov rcx, rdi
mov rsi, rax
call fcn.140002940
mov rdi, rax
test rax, rax
je 0x140020a2e
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140020a2e
mov byte [rbx + 0xb4], 1
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x52a4], ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140020a50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140095ee8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140020ab3
mov qword [rsp], rbx
lea rbx, [0x14005b9c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140020a93
cmp byte [r8], r9b
jne 0x140020a93
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 0x140020a80
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52b8]
not eax
mov r8, qword [r10 + 0x52c0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140020adf
cmp dword [r8 + 8], eax
je 0x140020ae6
add r8, 0x48
cmp r8, rcx
jne 0x140020ad0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003c140
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140095ee8]
mov ebx, ecx
mov rdi, qword [rax + 0x4ec0]
cmp ecx, 0xffffffff
jne 0x14003c166
cmp dword [rdi + 0x74], ecx
cmovne ebx, dword [rdi + 0x74]
mov eax, dword [rdi + 0x6c]
cmp ebx, eax
jne 0x14003c174
mov ebx, 0xffffffff
jmp 0x14003c179
cmp ebx, 0xffffffff
jl 0x14003c17d
cmp ebx, eax
jl 0x14003c197
mov r8d, 0xd43
lea rdx, [0x140062200]
lea rcx, str.column_n____1__column_n___table__ColumnsCount
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rdi + 4], 7
je 0x14003c207
mov r10d, dword [rdi]
lea r8, [0x140062fd9]
movzx eax, word [rdi + 0x78]
lea r11, [0x14005b9c0]
not r10d
mov byte [rdi + 0x23b], 1
mov ecx, r10d
mov word [rdi + 0x224], bx
mov word [rdi + 0x7a], ax
mov r9b, 0x23
nop dword [rax]
cmp r9b, 0x23
jne 0x14003c1e3
cmp byte [r8], r9b
jne 0x14003c1e3
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 0x14003c1d0
not ecx
call fcn.14001a490
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14005404c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140054096
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140054096
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140054096
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140054096
cmp dword [rcx + 0x84], 0xe
jbe 0x140054096
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140054098
xor al, al
add rsp, 0x28
ret
Function at 0x140011840
Capabilities:
Resume thread
Suspend thread

Disassembly:
cmp qword [rcx + 0x60], 0xffffffffffffffff
je 0x14000a0c7
mov eax, dword [rcx + 0x38]
shr eax, 5
test al, 1
jne 0x14000a0c7
mov eax, dword [rcx + 0x38]
shr eax, 7
test al, 1
jne 0x14000a0c7
mov rdx, rcx
mov rcx, qword [rcx + 0x60]
jmp 0x140011840
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x1407b65c0]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rax, qword [0x1407b5bd8]
mov rbx, rdx
mov rdi, rcx
cmp rax, 0xffffffffffffffff
jne 0x14001189e
xor edx, edx
lea rcx, str.kernel32
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
lea rdx, str.QueueUserAPC2
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1407b5bd8], rax
test rax, rax
je 0x1400118fa
mov rcx, rbx
call fcn.14000a3c0
test al, al
jne 0x140011948
mov dl, 1
mov rcx, rbx
call fcn.14000a440
mov r9d, 0x10001
lea rcx, [0x1400114b0]
mov r8, rbx
mov rdx, rdi
call qword [0x1407b5bd8]
test eax, eax
jne 0x140011948
xor edx, edx
mov rcx, rbx
call fcn.14000a440
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140011948
mov qword [0x1407b5bd8], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x140011948
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x40100003
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x14001193f
mov eax, dword [rsp + 0x50]
test eax, eax
jns 0x14001193f
test eax, 0x18000000
jne 0x14001193f
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [0x1407cba90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140066a60
mov rbx, qword [rsp + 0x520]
add rsp, 0x500
pop rdi
ret

Function at 0x140011ad0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140011ae4
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140011b90
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x140011bb9
add rsp, 0x38
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret

Function at 0x140011bd0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov r9, rdx
mov qword [rsp + 0x28], 0
mov r8, rcx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140011c05
add rsp, 0x30
pop rbx
ret
mov edx, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140015710
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x1407b65c0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movzx ebx, r8b
mov rdi, rdx
mov r8d, 0x40
lea rdx, [rsp + 0x50]
call fcn.140015340
mov r8d, send
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov r10d, eax
lea ecx, [rax - 1]
cmp ecx, 0xf
ja 0x1400157d5
xor ecx, ecx
mov r9d, ecx
test eax, eax
je 0x1400157ce
nop
mov edx, r9d
movzx r8d, word [rsp + rdx*2 + 0x20]
lea eax, [r8 - 0x30]
test bl, bl
je 0x140015795
cmp ax, 9
ja 0x1400157d5
lea rcx, [rcx + rcx*4]
lea rcx, [rcx - 0x18]
lea rcx, [r8 + rcx*2]
jmp 0x1400157c6
shl rcx, 4
cmp ax, 9
ja 0x1400157a5
add rcx, 0xffffffffffffffd0
jmp 0x1400157c3
lea eax, [r8 - 0x61]
cmp ax, 5
ja 0x1400157b5
add rcx, 0xffffffffffffffa9
jmp 0x1400157c3
lea eax, [r8 - 0x41]
cmp ax, 5
ja 0x1400157d5
add rcx, 0xffffffffffffffc9
add rcx, r8
inc r9d
cmp r9d, r10d
jb 0x140015770
mov qword [rdi], rcx
mov al, 1
jmp 0x1400157d7
xor al, al
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140066a60
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rdi
ret
Function at 0x140016fb0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1407b65c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r9
mov rbx, r8
mov r14, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001709f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, 0x48
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.KERNEL32.dll_K32GetProcessMemoryInfo
test eax, eax
je 0x14001709f
mov rdx, qword [rsp + 0x70]
test r14, r14
je 0x14001707a
xorps xmm0, xmm0
test rdx, rdx
js 0x140017021
cvtsi2ss xmm0, rdx
jmp 0x140017039
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x140716350]
test rdi, rdi
js 0x140017053
cvtsi2ss xmm0, rdi
jmp 0x14001706b
mov rax, rdi
mov rcx, rdi
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
xor eax, eax
test rbx, rbx
je 0x140017091
cmp rdx, rdi
jbe 0x14001708b
mov qword [rbx], rax
jmp 0x140017091
sub rdi, rdx
mov qword [rbx], rdi
test rsi, rsi
je 0x140017168
jmp 0x140017165
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdx, qword [rsp + 0x48]
cmp rdx, qword [rsp + 0x28]
jae 0x140017142
test r14, r14
je 0x140017131
mov rcx, rdx
xorps xmm0, xmm0
sub rcx, qword [rsp + 0x50]
js 0x1400170db
cvtsi2ss xmm0, rcx
jmp 0x1400170f0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, qword [0x140716350]
test rdx, rdx
js 0x14001710a
cvtsi2ss xmm0, rdx
jmp 0x140017122
mov rax, rdx
mov rcx, rdx
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rax, xmm1
mov dword [r14], eax
test rbx, rbx
je 0x140017139
mov qword [rbx], rdx
test rsi, rsi
je 0x140017168
xor eax, eax
jmp 0x140017165
test r14, r14
je 0x14001714e
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
test rbx, rbx
je 0x14001715b
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
test rsi, rsi
je 0x140017168
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140066a60
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop r14
pop rdi
pop rsi
ret

Function at 0x140017370
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1407b65c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140066a60
add rsp, 0x78
ret
Function at 0x1400175d0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov dword [0x1407cc7b0], eax
mov eax, dword [rsp + 0x24]
mov dword [0x1407cc7b4], eax
mov eax, dword [rsp + 0x48]
mov dword [0x1407cc7b8], eax
mov dword [rsp + 0x60], ebx
mov byte [0x1407cc7bd], bl
call fcn.1400187c0
test al, al
je 0x14001763e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
test eax, eax
je 0x14001763e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001763e
inc eax
mov byte [0x1407cc7bd], 1
mov dword [0x1407cc840], eax
mov byte [0x1407cc7be], bl
mov word [rsp + 0x60], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessGroupAffinity]
mov edi, 1
test eax, eax
jne 0x14001767b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001767b
movzx eax, word [rsp + 0x60]
jmp 0x140017682
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.1400186b0
test al, al
je 0x1400176ab
call fcn.1400173b0
test al, al
je 0x1400176ab
cmp dword [0x1407cc844], edi
seta al
mov byte [0x1407cc7be], al
jmp 0x1400176b2
movzx eax, byte [0x1407cc7be]
test al, al
je 0x140017700
mov r9d, dword [0x1407cc848]
test r9, r9
je 0x140017783
lea r8, [0x1407cc7c0]
nop dword [rax]
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
inc rbx
mov rax, qword [rdx]
bts rax, rcx
mov qword [rdx], rax
cmp rbx, r9
jb 0x1400176d0
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x140017783
mov r9, qword [rsp + 0x60]
lea r8, [0x1407cc7c0]
nop dword [rax]
test r9, rdi
je 0x140017751
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rcx
mov qword [rdx], rax
rol rdi, 1
test r9, rdi
je 0x140017776
lea rdx, [rbx + 1]
mov rax, rdx
and edx, 0x3f
shr rax, 6
lea rcx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rdx
mov qword [rcx], rax
rol rdi, 1
add rbx, 2
cmp rbx, 0x40
jb 0x140017730
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x1400671f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140067242
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140067242
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140067242
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140067242
cmp dword [rcx + 0x84], 0xe
jbe 0x140067242
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140067244
xor al, al
add rsp, 0x28
ret

Function at 0x14006ab00
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14006ab28
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14006ab28
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400739b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1401ddd60
nop
test rbx, rbx
je 0x140073a06
add rbx, 0xc
mov rdx, rbx
jmp 0x140073a08
xor edx, edx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140008350
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.1400083a0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x140073a85
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1401ddda0
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14008d320
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.140008350
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.1400083a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140003bf9
mov dword [rax + 0xe0], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret