joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59ca30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbp
mov rbp, rsp
mov r8d, r8d
pop rbp
jmp fcn.0059c2c0

Function at 0x5b3a10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
nop
lea rcx, [rbp + 0x78]
mov rdx, qword [rbp + 0xc8]
call fcn.004102a0
mov rcx, qword [rbp + 0x78]
call fcn.005b2f10
mov byte [rbp + 0x83], al
cmp byte [rbp + 0x83], 0
jne 0x5b3a83
lea rcx, [rbp + 0x78]
mov edx, 1
mov r8d, 1
call fcn.00411540
mov rax, qword [rbp + 0xc0]
mov rax, qword [rax + 8]
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0xc8]
call fcn.005b4be0
mov qword [rbp + 0x90], rax
cmp qword [rbp + 0x90], 0
je 0x5b3bd6
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x90]
call fcn.005b3420
mov rcx, qword [rbp + 0xc0]
lea rdx, [rbp + 0x54]
call fcn.005b3d40
test al, al
je 0x5b3bb6
lea rcx, [rbp + 0x70]
xor edx, edx
mov r8d, dword [rbp + 0x58]
add r8d, 1
call fcn.0040fea0
mov eax, dword [rbp + 0x54]
sub eax, 1
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0
jl 0x5b3bb5
mov eax, dword [rbp + 0x58]
add eax, 1
mov dword [rbp + 0x88], eax
mov rcx, qword [rbp + 0x70]
call fcn.00410f00
mov rcx, qword [rbp + 0x90]
mov edx, dword [rbp + 0x84]
mov r8, rax
lea r9, [rbp + 0x88]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.005b3340
test al, al
je 0x5b3ba1
mov rcx, qword [rbp + 0x70]
call fcn.00410f00
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00410f90
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x40]
call fcn.005b3a10
sub dword [rbp + 0x84], 1
cmp dword [rbp + 0x84], 0xffffffff
jne 0x5b3b15
nop
nop
mov rcx, qword [rbp + 0xc0]
mov rdx, qword [rbp + 0x98]
call fcn.005b3420
mov rcx, qword [rbp + 0x90]
call sub.advapi32.dll_RegCloseKey
cmp byte [0x006009bc], 0
je 0x5b3c35
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.005b3400
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00410f00
mov rcx, rbx
mov rdx, rax
mov rax, qword [rbp + 0xc0]
mov r8d, dword [rax + 0x2c]
and r8d, 0x300
xor r9, r9
call sub.advapi32.dll_RegDeleteKeyExW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.005b3340
mov byte [rbp + 0x8f], al
jmp 0x5b3c74
mov rcx, qword [rbp + 0xc0]
movzx rdx, byte [rbp + 0x83]
call fcn.005b3400
mov rbx, rax
mov rcx, qword [rbp + 0x78]
call fcn.00410f00
mov rcx, rbx
mov rdx, rax
call sub.advapi32.dll_RegDeleteKeyW
mov rcx, qword [rbp + 0xc0]
mov edx, eax
call fcn.005b3340
mov byte [rbp + 0x8f], al
nop
lea rcx, [rbp + 0x40]
call fcn.0040fba0
lea rcx, [rbp + 0x70]
mov edx, 2
call fcn.0040fc80
movzx rax, byte [rbp + 0x8f]
lea rsp, [rbp + 0xa8]
pop rbx
pop rbp
ret
Function at 0x5b3d10
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.00410f00
mov rcx, qword [rbx + 8]
mov rdx, rax
call sub.advapi32.dll_RegDeleteValueW
mov rcx, rbx
mov edx, eax
call fcn.005b3340
add rsp, 0x20
pop rbx
ret

Function at 0x5b3df0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
nop
mov rax, qword [rbp + 0x50]
mov rcx, rax
mov rbx, qword [rax]
call qword [rbx + 0x90]
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x70]
call fcn.005b3d40
test al, al
je 0x5b3eed
lea rcx, [rbp + 0x68]
xor edx, edx
mov r8d, dword [rbp + 0x74]
add r8d, 1
call fcn.0040fea0
xor eax, eax
mov esi, dword [rbp + 0x70]
sub esi, 1
mov ebx, eax
cmp ebx, esi
jg 0x5b3eec
sub esi, eax
add esi, 1
mov eax, dword [rbp + 0x74]
add eax, 1
mov dword [rbp + 0x8c], eax
mov rcx, qword [rbp + 0x68]
call fcn.00410f00
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 8]
mov edx, ebx
mov r8, rax
lea r9, [rbp + 0x8c]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumKeyExW
mov rcx, qword [rbp + 0x68]
call fcn.00410f00
lea rcx, [rbp + 0x58]
mov rdx, rax
call fcn.00410f90
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
call qword [rax + 0x78]
add ebx, 1
sub esi, 1
test esi, esi
jne 0x5b3e65
nop
nop
lea rcx, [rbp + 0x58]
call fcn.0040fba0
lea rcx, [rbp + 0x68]
call fcn.0040fba0
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret

Function at 0x5b4110
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x90
mov rbp, rsp
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x50], rdx
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
nop
mov rax, qword [rbp + 0x50]
mov rcx, rax
mov rbx, qword [rax]
call qword [rbx + 0x90]
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x70]
call fcn.005b3d40
test al, al
je 0x5b420d
lea rcx, [rbp + 0x68]
xor edx, edx
mov r8d, dword [rbp + 0x7c]
add r8d, 1
call fcn.0040fea0
xor eax, eax
mov esi, dword [rbp + 0x78]
sub esi, 1
mov ebx, eax
cmp ebx, esi
jg 0x5b420c
sub esi, eax
add esi, 1
mov eax, dword [rbp + 0x7c]
add eax, 1
mov dword [rbp + 0x8c], eax
mov rcx, qword [rbp + 0x68]
call fcn.00410f00
mov rcx, qword [rbp + 0x48]
mov rcx, qword [rcx + 8]
mov edx, ebx
mov r8, rax
lea r9, [rbp + 0x8c]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumValueW
mov rcx, qword [rbp + 0x68]
call fcn.00410f00
lea rcx, [rbp + 0x58]
mov rdx, rax
call fcn.00410f90
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
call qword [rax + 0x78]
add ebx, 1
sub esi, 1
test esi, esi
jne 0x5b4185
nop
nop
lea rcx, [rbp + 0x58]
call fcn.0040fba0
lea rcx, [rbp + 0x68]
call fcn.0040fba0
lea rsp, [rbp + 0x90]
pop rbx
pop rsi
pop rbp
ret
Function at 0x5b5370
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x98
mov rbp, rsp
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x48], rbp
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
nop
mov rax, qword [rbp + 0xb0]
mov rax, qword [rax + 0x50]
mov rax, qword [rax + 8]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0xb8]
call fcn.005b3420
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
lea rdx, [rbp + 0x64]
call fcn.005b3d40
test al, al
je 0x5b54f0
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
xor r9, r9
call fcn.005b51f0
lea rcx, [rbp + 0x58]
xor edx, edx
mov r8d, dword [rbp + 0x70]
add r8d, 1
call fcn.0040fea0
xor eax, eax
mov ebx, dword [rbp + 0x6c]
sub ebx, 1
mov dword [rbp + 0x80], eax
cmp dword [rbp + 0x80], ebx
jg 0x5b54ef
sub ebx, eax
add ebx, 1
mov eax, dword [rbp + 0x70]
add eax, 1
mov dword [rbp + 0x84], eax
mov rcx, qword [rbp + 0x58]
call fcn.00410f00
mov rcx, qword [rbp + 0xb8]
mov edx, dword [rbp + 0x80]
mov r8, rax
lea r9, [rbp + 0x84]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.advapi32.dll_RegEnumValueW
mov rcx, qword [rbp + 0xb0]
mov rcx, qword [rcx + 0x50]
mov edx, eax
call fcn.005b3340
test al, al
je 0x5b54dd
mov rcx, qword [rbp + 0x58]
call fcn.00410f00
lea rcx, [rbp + 0x40]
mov rdx, rax
call fcn.00410f90
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov r8, qword [rbp + 0xc0]
mov r9, qword [rbp + 0x40]
call fcn.005b51f0
add dword [rbp + 0x80], 1
sub ebx, 1
test ebx, ebx
jne 0x5b543f
nop
nop
mov rax, qword [rbp + 0xb0]
mov rcx, qword [rax + 0x50]
mov rdx, qword [rbp + 0x88]
call fcn.005b3420
nop
lea rcx, [rbp + 0x40]
call fcn.0040fba0
lea rcx, [rbp + 0x58]
call fcn.0040fba0
lea rsp, [rbp + 0x98]
pop rbx
pop rbp
ret
Function at 0x5b6530
Capabilities:
Query environment variable

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, rdx
call fcn.00410f00
mov rdi, rax
mov rcx, rdi
xor edx, edx
xor r8, r8
call sub.kernel32.dll_GetEnvironmentVariableW
mov esi, eax
test esi, esi
jle 0x5b657d
mov rcx, rbx
mov edx, esi
sub edx, 1
call fcn.00411180
mov rcx, qword [rbx]
call fcn.00410f00
mov rcx, rdi
mov rdx, rax
mov r8d, esi
call sub.kernel32.dll_GetEnvironmentVariableW
jmp 0x5b6585
mov rcx, rbx
call fcn.0040fba0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x5b6660
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0x108
mov rbp, rsp
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rdx
mov word [rbp + 0x64], r8w
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x78], 0
nop
lea rcx, [rbp + 0x78]
mov edx, 4
xor r8, r8
mov r9, qword [rbp + 0x50]
mov qword [rsp + 0x20], 0
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x28], rax
call fcn.00411450
lea rcx, [rbp + 0x98]
mov edx, 0x68
xor r8, r8
call fcn.0040b7a0
mov dword [rbp + 0x98], 0x68
mov dword [rbp + 0xd4], 1
movzx rax, word [rbp + 0x64]
mov word [rbp + 0xd8], ax
mov rcx, qword [rbp + 0x78]
call fcn.00410f00
mov rbx, rax
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x50]
call fcn.00433070
mov rcx, qword [rbp + 0x68]
call fcn.00410f00
xor ecx, ecx
mov rdx, rbx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x30
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
setne al
mov byte [rbp + 0x67], al
lea rcx, [0x005b6804]
mov rdx, qword [rbp + 0x50]
call fcn.005b6590
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_TerminateProcess
movzx rax, byte [rbp + 0x67]
test al, al
je 0x5b67a4
mov rcx, qword [rbp + 0x80]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov rcx, qword [rbp + 0x80]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp + 0x88]
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x68]
call fcn.0040fba0
lea rcx, [rbp + 0x78]
call fcn.0040fba0
movzx rax, byte [rbp + 0x67]
lea rsp, [rbp + 0x108]
pop rbx
pop rbp
ret
Function at 0x5b6a40
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x70], rcx
mov byte [rbp + 0x78], dl
nop
mov rcx, qword [0x004c9e28]
mov dl, 1
mov r8, qword [rbp + 0x70]
mov r9w, 2
call fcn.004ff9e0
mov qword [rbp + 0x58], rax
nop
mov rcx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
call qword [rax]
lea rcx, [rbp + 0x50]
mov rdx, qword [0x005b69f8]
mov r8d, 1
mov r9, rax
call fcn.00413fe0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x40], rax
cmp qword [rbp + 0x40], 0
je 0x5b6ab9
mov rax, qword [rbp + 0x40]
mov rax, qword [rax - 8]
mov qword [rbp + 0x40], rax
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
mov r8d, dword [rbp + 0x40]
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
call qword [rax + 0x18]
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
je 0x5b6aea
mov rax, qword [rbp + 0x38]
mov rax, qword [rax - 8]
mov qword [rbp + 0x38], rax
xor eax, eax
mov ecx, dword [rbp + 0x38]
sub ecx, 1
mov dword [rbp + 0x4c], eax
cmp dword [rbp + 0x4c], ecx
jg 0x5b6b1d
sub ecx, eax
add ecx, 1
mov rax, qword [rbp + 0x50]
movsxd rdx, dword [rbp + 0x4c]
lea rax, [rax + rdx]
movzx rdx, byte [rbp + 0x78]
xor byte [rax], dl
add dword [rbp + 0x4c], 1
sub ecx, 1
test ecx, ecx
jne 0x5b6aff
nop
mov rcx, qword [rbp + 0x58]
xor edx, edx
call fcn.004fcda0
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0
je 0x5b6b44
mov rax, qword [rbp + 0x30]
mov rax, qword [rax - 8]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
mov r8d, dword [rbp + 0x30]
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
call qword [rax + 0x20]
nop
mov rcx, qword [rbp + 0x58]
call fcn.0040c890
nop
lea rcx, [rbp + 0x50]
mov rdx, qword [0x005b69f8]
call fcn.004141b0
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x5b7270
Capabilities:
Set file attributes

Disassembly:
push rbp
sub rsp, 0x190
mov rbp, rsp
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x44], edx
mov qword [rbp + 0x48], r8
mov qword [rbp + 0x50], 0
nop
lea rcx, [rbp + 0x58]
call fcn.0040f5b0
cmp eax, 1
setle cl
movzx rcx, cl
mov dword [rbp + 0x18c], ecx
test eax, eax
jne 0x5b7306
lea rcx, [rbp + 0x58]
lea rdx, [0x005b7350]
mov r8, qword [rbp + 0x38]
mov r9d, dword [rbp + 0x44]
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.0041a2a0
nop
lea rcx, [rbp + 0x50]
call fcn.005b6bc0
mov rcx, qword [rbp + 0x50]
call fcn.00410f00
mov rcx, rax
mov edx, 6
call sub.kernel32.dll_SetFileAttributesW
nop
lea rcx, [rbp + 0x50]
call fcn.0040fba0
jmp 0x5b7301
call fcn.0040f700
mov eax, dword [rbp + 0x18c]
lea rsp, [rbp + 0x190]
pop rbp
ret
Function at 0x2fc4d7740
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d8820
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d8142
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d81da
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fa110]
mov qword [rbp - 8], rax
jmp 0x2fc4d81be
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d81b2
cmp qword [rbp - 0x10], 0
je 0x2fc4d81b2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d8178
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d81db
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d82e0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d8308
mov eax, 0
jmp 0x2fc4d8356
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d8331
mov eax, 0
jmp 0x2fc4d8356
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d8351
mov eax, 0
jmp 0x2fc4d8356
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d835c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d83da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d83d1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d83d1
mov rax, qword [rbp - 8]
jmp 0x2fc4d83ef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d83a4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc51d5e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc51e6c0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc51dfe2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc540108]
test eax, eax
je 0x2fc51e07a
lea rax, [0x2fc5400e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc540110]
mov qword [rbp - 8], rax
jmp 0x2fc51e05e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc51e052
cmp qword [rbp - 0x10], 0
je 0x2fc51e052
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc51e018
lea rax, [0x2fc5400e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc51e07b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc51e180
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc51e1a8
mov eax, 0
jmp 0x2fc51e1f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc51e1d1
mov eax, 0
jmp 0x2fc51e1f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc51e1f1
mov eax, 0
jmp 0x2fc51e1f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc51e1fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc51e27a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc51e271
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc51e271
mov rax, qword [rbp - 8]
jmp 0x2fc51e28f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc51e244
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003080
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 0x1400030dd
lea rbx, [0x1400a9620]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400030c4
cmp r10, 2
jb 0x1400030c4
cmp byte [r9], r8b
jne 0x1400030c4
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 0x1400030a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000311f
lea rbx, [0x1400a9620]
cmp r8b, 0x23
jne 0x140003103
cmp byte [r9], r8b
jne 0x140003103
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 0x1400030f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003220
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000323e
mov qword [r8], r14
lea rdx, [0x1400a9150]
call fcn.140003130
mov rbx, rax
test rax, rax
jne 0x140003263
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.140041d00
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003385
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.140043610
test eax, eax
jne 0x140003385
mov rcx, rbx
call fcn.140041d00
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003385
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call fcn.140043610
test eax, eax
jne 0x140003385
cmp rdi, 0xffffffffffffffff
je 0x140003385
mov rcx, rdi
call fcn.140006910
mov rbp, rax
test rax, rax
je 0x140003385
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140056e20
mov rcx, rbx
cmp rax, rdi
je 0x140003373
call fcn.140042e70
mov r8, qword [0x1400b96a0]
test r8, r8
je 0x140003369
movsx rdx, word [r8 + 0x6048]
lea rcx, [r8 + 0x604c]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000335e
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 + 0x6048], cx
movsx rax, cx
lea rcx, [r8 + 0x604c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6044]
mov rcx, rbp
call fcn.140056440
jmp 0x14000338d
call fcn.140042e70
test rsi, rsi
je 0x140003380
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000338f
mov rcx, rbx
call fcn.140042e70
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140006410
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x1400a9620]
mov rax, qword [rcx + 0x108]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x1400064a6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140018e40
mov eax, ebx
add rsp, 0x20
pop rbx
ret