joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003d620
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14003d64d
xor eax, eax
jmp 0x14003d7b9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003d687
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14003d687
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14003d7b9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14003d7ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003d6ca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14003d6f5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14003d7b1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003d764
sub eax, 1
je 0x14003d764
cmp eax, 2
jne 0x14003d7ac
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14003d7b1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14003d792
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14003d7ac
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14003d7b1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14003e8a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14003db70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14003dc43
cmp byte [rcx + 0x71], 0
je 0x14003dc43
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14003dc3f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003dc04
sub eax, 1
je 0x14003dc08
cmp eax, 2
jne 0x14003dc3f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14003e8a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14003dc36
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14003dc3f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14003dbec
xor al, al
jmp 0x14003dbec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14003e8a0
add rsp, 0x60
pop rbx
ret

Function at 0x14003f670
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003f6ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003f6ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003f6ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003f6ba
cmp dword [rcx + 0x84], 0xe
jbe 0x14003f6ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003f6bc
xor al, al
add rsp, 0x28
ret
Function at 0x140015cb0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140015cd1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140015cfe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140015d00
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140015d59
test ecx, ecx
jle 0x140015d39
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140015d59
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140015d59
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
and bh, bh
invalid
Function at 0x140016320
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400c2040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001634d
xor eax, eax
jmp 0x1400164b9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140016387
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140016387
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400164b9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400164ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400163ca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400163f5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400164b1
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140016464
sub eax, 1
je 0x140016464
cmp eax, 2
jne 0x1400164ac
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400164b1
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140016492
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400164ac
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400164b1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14009dbe0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140018050
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400c2040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140018123
cmp byte [rcx + 0x71], 0
je 0x140018123
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001811f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400180e4
sub eax, 1
je 0x1400180e8
cmp eax, 2
jne 0x14001811f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009dbe0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140018116
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14001811f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400180cc
xor al, al
jmp 0x1400180cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14009dbe0
add rsp, 0x60
pop rbx
ret
Function at 0x1400364a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x78], rcx
mov rax, qword [rdx]
mov qword [rcx], rax
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x20]
mov dword [rcx + 0x20], eax
add rcx, 0x28
add rdx, 0x28
call fcn.140007db0
nop
lea r15, [r14 + 0x48]
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rax
mov rdx, qword [rsi + 0x50]
sub rdx, qword [rsi + 0x48]
sar rdx, 5
test rdx, rdx
je 0x14003657c
mov rcx, r15
call fcn.140020820
mov qword [rsp + 0x80], r15
mov rbx, qword [r15]
mov rbp, qword [rsi + 0x50]
mov rdi, qword [rsi + 0x48]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r15
cmp rdi, rbp
je 0x14003656d
nop
mov rdx, rdi
mov rcx, rbx
call fcn.140007db0
add rbx, 0x20
mov qword [rsp + 0x28], rbx
add rdi, 0x20
cmp rdi, rbp
jne 0x140036550
mov rdx, rbx
mov rcx, rbx
call fcn.1400085e0
mov qword [r15 + 8], rbx
lea rbx, [r14 + 0x60]
mov qword [rsp + 0x78], rbx
mov rax, qword [rsi + 0x60]
mov qword [rbx], rax
lea rcx, [rbx + 8]
lea rdx, [rsi + 0x68]
call fcn.1400366c0
nop
movsd xmm0, qword [rsi + 0x88]
movsd qword [rbx + 0x28], xmm0
movsd xmm0, qword [rsi + 0x90]
movsd qword [rbx + 0x30], xmm0
mov eax, dword [rsi + 0x98]
mov dword [rbx + 0x38], eax
movsd xmm0, qword [rsi + 0x9c]
movsd qword [rbx + 0x3c], xmm0
movsd xmm0, qword [rsi + 0xa4]
movsd qword [rbx + 0x44], xmm0
mov eax, dword [rsi + 0xac]
mov dword [rbx + 0x4c], eax
mov eax, dword [rsi + 0xb0]
mov dword [rbx + 0x50], eax
lea rcx, [rbx + 0x58]
lea rdx, [rsi + 0xb8]
call fcn.140007db0
mov eax, dword [rsi + 0xd8]
mov dword [rbx + 0x78], eax
movsd xmm0, qword [rsi + 0xdc]
movsd qword [rbx + 0x7c], xmm0
movups xmm0, xmmword [rsi + 0xe8]
movups xmmword [rbx + 0x88], xmm0
mov eax, dword [rsi + 0xf8]
mov dword [rbx + 0x98], eax
mov eax, dword [rsi + 0xfc]
mov dword [rbx + 0x9c], eax
mov eax, dword [rsi + 0x100]
mov dword [rbx + 0xa0], eax
mov eax, dword [rsi + 0x104]
mov dword [rbx + 0xa4], eax
mov eax, dword [rsi + 0x108]
mov dword [rbx + 0xa8], eax
mov eax, dword [rsi + 0x10c]
mov dword [rbx + 0xac], eax
mov rax, qword [rsi + 0x110]
mov qword [rbx + 0xb0], rax
mov eax, dword [rsi + 0x118]
mov dword [rbx + 0xb8], eax
mov eax, dword [rsi + 0x11c]
mov dword [rbx + 0xbc], eax
movzx eax, byte [rsi + 0x120]
mov byte [rbx + 0xc0], al
movss xmm0, dword [rsi + 0x128]
movss dword [r14 + 0x128], xmm0
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140036bf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x1a0
movaps xmmword [r11 - 0x28], xmm6
mov rax, qword [0x1400c2040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rdx
mov rbx, rcx
mov qword [r11 - 0x40], rcx
mov qword [rsp + 0x40], rdx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rsi, rax
cmp byte [0x14012d8cc], 0
je 0x140036cdf
mov rcx, rbx
call fcn.140026690
cmp byte [0x14012dcb4], 0
jne 0x140036c64
mov ecx, dword [0x1400f7580]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140036caf
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140036caf
movsd xmm0, qword [rbx + 0xa4]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [rbx + 0xac]
mov dword [rsp + 0x38], eax
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140039d00
cmp byte [0x14012d8c9], 0
je 0x140036cdf
mov ecx, dword [0x1400f7580]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140036cdf
cmp esi, 0xc8
jb 0x140036cdf
cmp byte [0x14012dcb4], 0
sete byte [0x14012dcb4]
cmp byte [0x14012df3c], 0
jne 0x140036e57
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400364a0
mov rsi, rax
cmp byte [0x14012db08], 0
je 0x140036e4e
mov eax, 8
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov ecx, dword [rax + rcx]
cmp dword [0x14012df38], ecx
jle 0x140036d51
lea rcx, [0x14012df38]
call fcn.14009dca8
cmp dword [0x14012df38], 0xffffffff
jne 0x140036d51
mov qword [0x14012dcb8], 0
lea rcx, [0x14012df38]
call fcn.14009dc3c
cmp dword [rsi + 0xd8], 1
jbe 0x140036e43
movss xmm5, dword [rsi + 0x88]
movss xmm4, dword [rsi + 0x8c]
movss xmm1, dword [rsi + 0xe0]
movss xmm6, dword [0x1400b072c]
mulss xmm1, xmm6
movss xmm0, dword [rsi + 0xdc]
mulss xmm0, xmm6
movss xmm2, dword [0x14012dcbc]
subss xmm2, xmm1
movss xmm1, dword [0x14012dcb8]
subss xmm1, xmm0
addss xmm2, xmm4
movaps xmm3, xmm5
addss xmm3, xmm1
subss xmm4, xmm2
movss xmm0, dword [rsi + 0x128]
mulss xmm0, dword [0x1400b06c4]
divss xmm4, xmm0
mulss xmm4, dword [0x14012c500]
cvttss2si r14d, xmm4
subss xmm5, xmm3
divss xmm5, xmm0
mulss xmm5, dword [0x14012c504]
cvttss2si ebp, xmm5
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140036e19
neg ebp
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebp
mov edx, r14d
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
movss xmm1, dword [rsi + 0xe0]
mulss xmm1, xmm6
movss xmm0, dword [rsi + 0xdc]
mulss xmm0, xmm6
movss dword [0x14012dcb8], xmm0
movss dword [0x14012dcbc], xmm1
jmp 0x140036e4e
mov qword [0x14012dcb8], 0
mov rcx, rsi
call fcn.140026190
nop
mov rcx, rbx
call fcn.140026190
nop
mov rcx, rdi
call fcn.140037d20
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14009dbe0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003db50
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x490], rbx
mov rax, qword [0x1400c2040]
xor rax, rbp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov dword [rbp], 0x438
mov edx, dword [rcx + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
lea rcx, [rbp + 0x30]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14003dbc0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14003dc3c
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14003dbeb
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14009eda0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14003dc3c
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x30]
mov dword [rsp + 0x28], eax
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 3
mov byte [rbx], r14b
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14003dc3f
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x14003dc4c
mov rdx, qword [rdi]
sub rdx, rbx
nop
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x14003dc62
inc rbx
test eax, eax
jne 0x14003dc50
test ecx, ecx
mov rcx, rsi
je 0x14003dcc2
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14003dbb1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14003dcbe
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14003dcb9
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003dd39
mov rcx, r8
call fcn.14009e06c
xor eax, eax
jmp 0x14003dd05
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov rbx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14003dd02
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14003dcfd
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003dd39
mov rcx, r8
call fcn.14009e06c
mov rax, rbx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x440]
xor rcx, rbp
call fcn.14009dbe0
mov rbx, qword [rbp + 0x490]
lea rsp, [rbp + 0x450]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14003e1a0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x1400c2040]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
mov ecx, 0xf
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop dword [rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x14003e220
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14003e29c
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14003e24b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14009eda0
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14003e29c
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x2c]
mov dword [rsp + 0x28], eax
mov r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 3
mov byte [rbx], r14b
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14003e29f
mov rbx, r14
cmp qword [rdi + 0x18], 0xf
mov rdx, rdi
jbe 0x14003e2ac
mov rdx, qword [rdi]
sub rdx, rbx
nop
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x14003e2c2
inc rbx
test eax, eax
jne 0x14003e2b0
test ecx, ecx
mov rcx, rsi
je 0x14003e322
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003e210
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14003e31e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14003e319
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003e3a3
mov rcx, r8
call fcn.14009e06c
xor eax, eax
jmp 0x14003e363
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0xf
jbe 0x14003e361
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14003e35c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003e3a3
mov rcx, r8
call fcn.14009e06c
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.14009dbe0
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140042060
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400420bd
lea rbx, [0x1400a89f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400420a4
cmp r10, 2
jb 0x1400420a4
cmp byte [r9], r8b
jne 0x1400420a4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140042080
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400420ff
lea rbx, [0x1400a89f0]
cmp r8b, 0x23
jne 0x1400420e3
cmp byte [r9], r8b
jne 0x1400420e3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400420d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140042240
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14004225a
mov qword [r8], 0
lea rdx, [0x1400aee60]
call fcn.140042110
mov rbx, rax
test rax, rax
jne 0x14004227a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140042353
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140042353
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140042353
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140042353
cmp rdi, 0xffffffffffffffff
je 0x140042353
mov rax, qword [0x14012dbd0]
test rax, rax
je 0x1400422f0
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140042353
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140042340
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14012dbd0]
test rax, rax
je 0x140042335
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14004235c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14004234e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14004235e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret