joyce8/EMBER2024-capa huggingface dataset:
Function at 0x292982120
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x2929821f4
jb 0x292982253
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.292982000
aeskeygenassist xmm1, xmm0, 1
call fcn.292982020
aeskeygenassist xmm1, xmm2, 2
call fcn.292982000
aeskeygenassist xmm1, xmm0, 2
call fcn.292982020
aeskeygenassist xmm1, xmm2, 4
call fcn.292982000
aeskeygenassist xmm1, xmm0, 4
call fcn.292982020
aeskeygenassist xmm1, xmm2, 8
call fcn.292982000
aeskeygenassist xmm1, xmm0, 8
call fcn.292982020
aeskeygenassist xmm1, xmm2, 0x10
call fcn.292982000
aeskeygenassist xmm1, xmm0, 0x10
call fcn.292982020
aeskeygenassist xmm1, xmm2, 0x20
call fcn.292982000
aeskeygenassist xmm1, xmm0, 0x20
call fcn.292982020
aeskeygenassist xmm1, xmm2, 0x40
call fcn.292982000
jmp 0x2929822c1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.292981f60
aeskeygenassist xmm1, xmm2, 2
call fcn.292981fc0
aeskeygenassist xmm1, xmm2, 4
call fcn.292981f60
aeskeygenassist xmm1, xmm2, 8
call fcn.292981fc0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.292981f60
aeskeygenassist xmm1, xmm2, 0x20
call fcn.292981fc0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.292981f60
aeskeygenassist xmm1, xmm2, 0x80
call fcn.292981fc0
jmp 0x2929822c1
aeskeygenassist xmm1, xmm0, 1
call fcn.292981f20
aeskeygenassist xmm1, xmm0, 2
call fcn.292981f20
aeskeygenassist xmm1, xmm0, 4
call fcn.292981f20
aeskeygenassist xmm1, xmm0, 8
call fcn.292981f20
aeskeygenassist xmm1, xmm0, 0x10
call fcn.292981f20
aeskeygenassist xmm1, xmm0, 0x20
call fcn.292981f20
aeskeygenassist xmm1, xmm0, 0x40
call fcn.292981f20
aeskeygenassist xmm1, xmm0, 0x80
call fcn.292981f20
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.292981f20
aeskeygenassist xmm1, xmm0, 0x36
call fcn.292981f20
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x2929822ce
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret

Function at 0x2929826a0
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
mov ax, word [rsp + 8]
push rcx
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rdi, qword gs:[0x30]
mov dword [rdi + 0x68], 0
sub rsp, 0x80
cmp ecx, 4
jle 0x2929826e0
cmp ecx, 0x10
jle 0x2929826d6
int 3
mov rdi, rsp
cld
rep movsq qword [rdi], qword [rsi]
mov rsi, rsp
sub rsp, 8
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x18]
movq xmm0, rcx
movq xmm1, rdx
movq xmm2, r8
movq xmm3, r9
mov r10, rcx
syscall
add rsp, 0x88
pop rcx
mov dword [rsp + 0x28], eax
ret
Function at 0x292984860
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x292984877
inc rax
cmp rax, 4
jge 0x29298488f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x292984874
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x2929848a0
inc rax
cmp rax, 4
jge 0x2929848ae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x2929848d7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x2929848bb
jmp 0x29298489d
Function at 0x292992d60
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x292992ff9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x2929cd560]
call fcn.2928ed120
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x2929d9c22]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x2929cd560]
call fcn.2928ed120
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x2929d99e2]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x2929cd4a0]
call fcn.2928ed120
cmp dword [0x292b05840], 0
jne 0x292992df7
mov rcx, qword [rsp + 0x70]
jmp 0x292992e04
call fcn.292941ac0
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x2929daa14]
mov qword [rax], rcx
nop
lea rax, [0x2929cd4a0]
call fcn.2928ed120
cmp dword [0x292b05840], 0
jne 0x292992e40
mov rcx, qword [rsp + 0x68]
jmp 0x292992e4d
call fcn.292941ac0
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x2929da594]
mov qword [rax], rcx
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rcx
lea rax, [0x2929bd960]
call fcn.2928ed120
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.292987cc0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x292992fee
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x2929bd900]
call fcn.2928ed120
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.292987cc0
movzx ecx, word [0x292b055e2]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x78], rdx
lea rax, [0x2929bd9c0]
nop dword [rax]
call fcn.2928ed120
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.2929826a0
xorps xmm15, xmm15
mov r14, qword [0x292b05818]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.29293e660
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.292941e40
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.29293fba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.292992d60
Function at 0x292993040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea r12, [rsp - 0x98]
cmp r12, qword [r14 + 0x10]
jbe 0x2929931fe
push rbp
mov rbp, rsp
sub rsp, 0x110
movups xmmword [rsp + 0xd0], xmm15
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xf0], xmm15
movups xmmword [rsp + 0x100], xmm15
mov qword [rsp + 0x21], 0
mov qword [rsp + 0x22], 0
mov byte [rsp + 0x21], 0x6e
movabs rdx, 0x6c6c642e6c6c6474
mov qword [rsp + 0x22], rdx
lea rax, [rsp + 0x50]
lea rbx, [rsp + 0x21]
mov ecx, 9
call fcn.29292c6a0
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x36], 0
mov qword [rsp + 0x3a], 0
mov dword [rsp + 0x36], 0x6e72656b
movabs rdx, 0x6c6c642e32336c65
mov qword [rsp + 0x3a], rdx
lea rax, [rsp + 0xb0]
lea rbx, [rsp + 0x36]
mov ecx, 0xc
call fcn.29292c6a0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x42], 0
mov qword [rsp + 0x48], 0
mov word [rsp + 0x42], 0x656b
mov dword [rsp + 0x44], 0x6c656e72
movabs rdx, 0x6c6c642e65736162
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x90]
lea rbx, [rsp + 0x42]
mov ecx, 0xe
nop dword [rax]
call fcn.29292c6a0
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x2a], 0
mov qword [rsp + 0x2e], 0
mov dword [rsp + 0x2a], 0x61766461
movabs rdx, 0x6c6c642e32336970
mov qword [rsp + 0x2e], rdx
lea rax, [rsp + 0x70]
lea rbx, [rsp + 0x2a]
mov ecx, 0xc
call fcn.29292c6a0
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x100], rax
xor eax, eax
jmp 0x2929931ef
mov qword [rsp + 0x18], rax
shl rax, 4
mov rdx, qword [rsp + rax + 0xd0]
mov rbx, qword [rsp + rax + 0xd8]
mov rax, rdx
call fcn.292993220
mov rax, qword [rsp + 0x18]
inc rax
cmp rax, 4
jl 0x2929931c6
add rsp, 0x110
pop rbp
ret
nop
call fcn.29293fba0
jmp fcn.292993040
Function at 0x2929999c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.29299a840
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.29299a840
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x292999a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x292b0a1c4]
mov rbx, rcx
test esi, esi
jle 0x292999b60
mov rax, qword [0x292b0a1c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x292999a7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x292999b05
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x292999a60
mov rcx, rbx
call fcn.29299a290
mov rdi, rax
test rax, rax
je 0x292999b82
mov rax, qword [0x292b0a1c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.29299a3d0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x292b0a1c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x292999b67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x292999afe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x292999b10
add dword [0x292b0a1c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x292b0a1c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x292999afe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2929999c0
nop dword [rax]
xor esi, esi
jmp 0x292999a88
mov rax, qword [0x292b0a1c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2929999c0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.2929999c0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x292999f00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x292b0a200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x292b0a1e0]
test rbx, rbx
je 0x292999f5c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x292999f53
test rsi, rsi
je 0x292999f53
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x292999f38
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x29299a290
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x292aaa2d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x29299a2b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x29299a2b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x29299a2b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x29299a30d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x29299a304
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x29299a2b0
add rax, 0x28
cmp rax, r9
jne 0x29299a2f0
xor eax, eax
ret

Function at 0x29299a310
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x292aaa2d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x29299a32f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x29299a338
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x29299a32f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x29299a3d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x292aaa2d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x29299a3ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x29299a3f8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x2fc4d7460
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.2fc4d8540
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d7e62
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d7efa
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 0x2fc4d7ede
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 0x2fc4d7ed2
cmp qword [rbp - 0x10], 0
je 0x2fc4d7ed2
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 0x2fc4d7e98
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d7efb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d8000
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 0x2fc4d8028
mov eax, 0
jmp 0x2fc4d8076
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 0x2fc4d8051
mov eax, 0
jmp 0x2fc4d8076
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 0x2fc4d8071
mov eax, 0
jmp 0x2fc4d8076
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d807c
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 0x2fc4d80fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d80f1
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 0x2fc4d80f1
mov rax, qword [rbp - 8]
jmp 0x2fc4d810f
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 0x2fc4d80c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc50afd0
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc50b9d2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc530108]
test eax, eax
je 0x2fc50ba6a
lea rax, [0x2fc5300e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc530110]
mov qword [rbp - 8], rax
jmp 0x2fc50ba4e
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 0x2fc50ba42
cmp qword [rbp - 0x10], 0
je 0x2fc50ba42
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 0x2fc50ba08
lea rax, [0x2fc5300e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc50ba6b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc50bb70
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 0x2fc50bb98
mov eax, 0
jmp 0x2fc50bbe6
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 0x2fc50bbc1
mov eax, 0
jmp 0x2fc50bbe6
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 0x2fc50bbe1
mov eax, 0
jmp 0x2fc50bbe6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc50bbec
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 0x2fc50bc6a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc50bc61
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 0x2fc50bc61
mov rax, qword [rbp - 8]
jmp 0x2fc50bc7f
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 0x2fc50bc34
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14189f7f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14189f7fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14189f80d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14189f7f5
lea eax, [rcx + 1]
jmp 0x14189f81b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14189f82e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14189f814
sub eax, 3
jb 0x14189f84e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14189f89d
sar eax, 1
movsxd rbp, eax
jb 0x14189f884
jmp 0x14189f85c
add ebx, ebx
jne 0x14189f85a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14189f884
inc ecx
add ebx, ebx
jne 0x14189f86a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14189f884
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14189f87d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14189f86c
add ecx, 2
jmp 0x14189f889
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14189f7b2
jmp 0x14189f7fd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1895000]
mov eax, dword [rdi]
or eax, eax
je 0x14189f905
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x18a2a50]
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 0x14189f8a9
jns 0x14189f8de
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14189f8e8
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 0x14189f8ff
mov qword [rbx], rax
add rbx, 8
jmp 0x14189f8c9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14189f949
cmp al, 0xef
ja 0x14189f931
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14189f911
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14189f920
mov eax, dword [rdi]
add rdi, 4
jmp 0x14189f920
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 + 0x267]
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
mov byte [fcn.14189f9c8], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14189f9c8
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14189f9b8
sub rsp, 0xffffffffffffff80
jmp 0x1407cb080