joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420560
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005a3092], 0
jne 0x4206c5
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x42066e
xor eax, eax
nop
nop
nop
mov rcx, rax
shr rax, 3
and rcx, 7
mov edx, 1
shl edx, cl
nop
add rax, qword [rbx + 0x50]
lock or byte [rax], dl
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x4206ba
lea rbx, [0x0059a660]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov esi, 1
shl esi, cl
test sil, bl
jne 0x42062f
lock or byte [rdx], sil
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
mov rcx, qword [rsp + 0x30]
add qword [rax + 0x16a8], rcx
mov rcx, qword [rsp + 0x38]
add qword [rax + 0x16b0], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
cmp word [rbx + 0x5e], 0
je 0x42068a
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x420595
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
movzx esi, byte [rbx + 0x66]
cmp sil, 0x40
sbb rdi, rdi
shr rdx, cl
and rax, rdx
movzx edx, word [rbx + 0x5c]
imul rax, rdx
mov ecx, esi
shr rax, cl
and rax, rdi
jmp 0x420595
mov ecx, 0x40
nop
call fcn.004652a0
lea rax, [0x004ed650]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.00435f80
nop
int3
Function at 0x427e60
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4280ce
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
nop
lea rax, [0x005a3010]
mov qword [rsp], rax
call fcn.0040b3e0
lea rax, [0x005a2f80]
mov qword [rsp], rax
call fcn.004187e0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
nop
nop
lea rcx, [0x005a3010]
mov qword [rsp], rcx
call fcn.0040b640
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], 1
lea rdi, [rax + 0x10]
cmp dword [0x005a32d0], 0
jne 0x4280bf
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
cmp dword [0x005a32d0], 0
nop dword [rax]
jne 0x428098
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.004279c0
cmp byte [rsp + 0x10], 0
je 0x428036
cmp dword [0x005a30c8], 0
jne 0x427f54
mov byte [rsp + 0x88], 1
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 8], xmm0
call fcn.00413840
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x18]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rcx + 0xa0]
test byte [rbx], al
test byte [rax], al
mov qword [rsp], rdx
lea rax, [rbx + 0x1698]
mov qword [rsp + 0x38], rax
mov qword [rsp + 8], rax
call fcn.0041f380
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 8
lea rax, [0x004ab042]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call fcn.0041f1e0
nop
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x427f42
cmp byte [rax + 0xb1], 0
je 0x427f42
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x427f42
nop
nop
lea rax, [0x005a3010]
mov qword [rsp], rax
call fcn.0040b3e0
nop
mov rax, qword [0x005a2fb0]
sub rax, qword [0x005a2f80]
mov qword [0x005a2fb0], rax
mov rax, qword [0x005a2f98]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [0x005a2f98], rcx
nop
nop
lea rax, [0x005a3010]
mov qword [rsp], rax
call fcn.0040b640
mov byte [rsp + 0x88], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x20]
mov rdi, rcx
mov rbx, qword [rsp + 0x78]
call fcn.00464f20
lea rdi, [rax + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.00464ee0
jmp 0x427f1b
mov rcx, qword [rsp + 0x68]
call fcn.00464ee0
jmp 0x427ee8
call fcn.00463100
jmp fcn.00427e60
Function at 0x456fe0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4570c1
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x0045ed20]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00462fa0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
call fcn.00463100
jmp fcn.00456fe0
Function at 0x464c60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x402b60
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.00409a40
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.00463100
jmp 0x402b00
cmp byte [0x005a3091], 0
je 0x464c7f
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 8]
mov rax, qword [rax]
lea rdx, [rsp + 0x18]
jmp 0x462120
jmp 0x402b00

Function at 0x464ca0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x005a3300]
nop
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*4]
xor rax, rcx
shl rcx, 0x20
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rcx, rax
mov qword [rsp + 0x18], rcx
ret
cmp byte [0x005a3091], 0
je 0x464cdc
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005a3560]
aesenc xmm0, xmmword [0x005a3570]
aesenc xmm0, xmmword [0x005a3580]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x409cc0

Function at 0x464d00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x005a3300]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x005a3091], 0
je 0x464d3d
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005a3560]
aesenc xmm0, xmmword [0x005a3570]
aesenc xmm0, xmmword [0x005a3580]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x409d40
Function at 0x46e960
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rdx, 5
sar rsi, 0x3f
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x46ea39
lea rsi, [rdx + rdx*2]
lea rdi, [0x004b7de0]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x46e9e2
inc rdx
nop
jmp 0x46e9b8
cmp r9, 0xffffffffffffffe0
jle 0x46e9ed
dec rdx
jmp 0x46e9b8
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.00465280
nop
int3
Function at 0x474640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x474786
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x47474d
mov rdx, qword [rsp + 0x38]
nop dword [rax + rax]
cmp rcx, rdx
ja 0x474780
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x40]
cmp rdx, rbx
jne 0x474714
mov rsi, qword [rsp + 0x20]
movzx edi, byte [rsi + 0x400]
movzx r8d, byte [rsi + 0x401]
lea rax, [rcx - 1]
mov r9, qword [rsp + 0x30]
cmp rax, r9
jae 0x474757
xor eax, eax
jmp 0x4746f7
movzx r9d, byte [rbx + rax]
inc edi
movzx r10d, dil
mov r11d, dword [rsi + r10*4]
add r8d, r11d
movzx r12d, r8b
mov r13d, dword [rsi + r12*4]
mov dword [rsi + r10*4], r13d
mov dword [rsi + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rsi + r10*4]
mov byte [rdx + rax], r9b
inc rax
cmp rax, rcx
jl 0x4746c2
mov byte [rsi + 0x400], dil
mov byte [rsi + 0x401], r8b
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
nop
mov rsi, rdx
lea rdi, [rbx + rcx]
lea rdi, [rdi - 1]
cmp rdx, rdi
ja 0x474745
mov rdx, rbx
lea rdi, [rcx + rsi]
lea rdi, [rdi - 1]
cmp rbx, rdi
jbe 0x47475f
mov rbx, rdx
mov rdx, rsi
nop dword [rax + rax]
jmp 0x474698
mov rdx, rsi
jmp 0x474698
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, r9
call fcn.00465280
lea rax, [0x004cc0a0]
mov qword [rsp], rax
lea rax, [0x00505900]
mov qword [rsp + 8], rax
call fcn.00435680
nop dword [rax + rax]
call fcn.00465300
nop
call fcn.00463100
jmp fcn.00474640

Function at 0x4813e0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rsp + 8]
xor ebx, ebx
jmp 0x481401
movzx esi, byte [rax + rbx]
inc rbx
imul edx, edx, 0x1000193
xor edx, esi
cmp rbx, rcx
jl 0x4813f2
mov dword [rsp + 0x28], edx
ret
Function at 0x4a87b0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
test rax, rax
mov qword [0x005a64f0], rax
je 0x4a87e5
lea rcx, [0x005a6500]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.runtime:_failed_to_create_runtime_initialization_wait_event._n
lea r9, [rax + 0x60]
mov r8d, 0x3d
mov edx, 1
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x4a90b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x005a6b24]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x4a9238
mov rax, qword [0x005a6b28]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x4a90fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4a9185
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x4a90e0
mov rcx, rbx
call fcn.004a9d50
test rax, rax
mov r12, rax
je 0x4a926d
mov rax, qword [0x005a6b28]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.004a9e80
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x005a6b28]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4a9250
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4a917e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x4a91e0
add dword [0x005a6b24], 1
cmp edi, 8
jae 0x4a91b3
test dil, 4
jne 0x4a9224
test edi, edi
je 0x4a91a8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x4a923f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x4a91a8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x4a91cc
jmp 0x4a91a8
add rsi, qword [0x005a6b28]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4a917e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004aa360
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x4a91a8
xor esi, esi
jmp 0x4a9107
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x4a91a8
mov rax, qword [0x005a6b28]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.004aa360
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.004aa360
nop
nop dword [rax]
Function at 0x4a99c0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x005a6e00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x005a6de0]
test rbx, rbx
je 0x4a9a14
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x4a9a0b
test rsi, rsi
je 0x4a9a0b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4a99f0
lea rcx, [0x005a6e00]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4a9d50
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x0056ec00]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x4a9dbd
mov rcx, r8
call fcn.004a9c30
test eax, eax
je 0x4a9dbd
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4a9dbd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4a9db4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4a9dbf
add rax, 0x28
cmp rax, r9
jne 0x4a9da0
xor eax, eax
add rsp, 0x28
ret

Function at 0x4aa360
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x00401540]
jmp 0x401510
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.004aa300
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.004aa300
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x401530
Function at 0x2fc7b7970
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 0x2fc7b8372
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc7d9108]
test eax, eax
je 0x2fc7b840a
lea rax, [0x2fc7d90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc7d9110]
mov qword [rbp - 8], rax
jmp 0x2fc7b83ee
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 0x2fc7b83e2
cmp qword [rbp - 0x10], 0
je 0x2fc7b83e2
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 0x2fc7b83a8
lea rax, [0x2fc7d90e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc7b840b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc7b8510
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 0x2fc7b8538
mov eax, 0
jmp 0x2fc7b8586
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 0x2fc7b8561
mov eax, 0
jmp 0x2fc7b8586
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 0x2fc7b8581
mov eax, 0
jmp 0x2fc7b8586
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc7b858c
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 0x2fc7b860a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc7b8601
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 0x2fc7b8601
mov rax, qword [rbp - 8]
jmp 0x2fc7b861f
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 0x2fc7b85d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x65b562d3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x65b56331
test cl, cl
je 0x65b562f6
nop dword [rax]
nop word [rax + rax]
jmp 0x65b56424
mov qword [rsi], rax
inc r9d
jmp 0x65b563c1
cmp eax, dword [rdi]
jne 0x65b562ee
mov eax, dword [rbx + 0x24]
jmp 0x65b563b9
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
cmp cl, cl
je 0x65b5636b
mov r15d, dword [rbx + 0x20]
add r15, rdx
jmp 0x65b56408
mov r14d, r9d
nop dword [rax]
jmp 0x65b563f1
mov qword [rsp + 0x20], rsi
push rdi
jmp 0x65b5634f
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
jmp 0x65b56329
mov rdx, qword [rbp + 0x30]
movsxd rax, dword [rdx + 0x3c]
jmp 0x65b5635f
mov rdi, r8
mov rsi, rcx
jmp 0x65b56302
push r15
mov rax, qword gs:[0x60]
cmp sp, sp
je 0x65b56347
mov ebx, dword [rax + rdx + 0x88]
add rbx, rdx
jmp 0x65b5630e
mov rdx, qword [rax]
mov rbp, qword [rdx]
cmp si, si
je 0x65b5633d
add rcx, r8
movzx edx, word [rax + r8]
jmp 0x65b56380
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x65b562eb
pop r15
pop rdi
jmp 0x65b56417
xor r11d, r11d
mov r10, r15
jmp 0x65b563d2
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
jmp 0x65b5638b
movzx ecx, cl
add eax, ecx
jmp 0x65b56418
add rdx, r8
movzx ecx, byte [rdx]
jmp 0x65b562d5
mov ecx, dword [rbx + 0x1c]
add rax, r11
jmp 0x65b56376
add r10, 4
add r11, 2
jmp 0x65b563e5
xor eax, eax
mov edx, dword [r10]
jmp 0x65b563ae
nop
mov r8, qword [rbp + 0x30]
jmp 0x65b563cb
add rsi, 8
sub r14, 1
jne 0x65b563f1
jmp 0x65b563fc
cmp r9d, dword [rbx + 0x18]
jb 0x65b563d3
add rdi, 4
jmp 0x65b563d9
xor r9d, r9d
cmp dword [rbx + 0x18], r9d
jbe 0x65b563eb
jmp 0x65b56393
mov r14, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
jmp 0x65b5639b
test r9d, r9d
je 0x65b56401
mov qword [rsp + 0x18], r14
jmp 0x65b5631a
ret
movzx ecx, byte [rdx]
test cl, cl
jne 0x65b56424
jmp 0x65b562f6
ror eax, 0xd
lea rdx, [rdx + 1]
jmp 0x65b563a7
Function at 0x65b56430
Capabilities:
Parse pe header

Disassembly:
jmp 0x65b5647c
mov byte [rax + 0x1a], 0
call fcn.65b56722
cmp dl, dl
je 0x65b56472
xor r8d, r8d
mov r9, qword [rax + 0x78]
jmp 0x65b565b2
mov byte [rsp + r8 + 0x20], dl
inc r8
jmp 0x65b565a0
mov qword [rax + 0x20], rsi
push rdi
jmp 0x65b5645f
sub rsp, 0x120
mov ebp, edx
jmp 0x65b56485
movzx eax, cl
cmovbe edx, eax
jmp 0x65b5644b
mov r8, qword [rax + 0x60]
mov rax, qword [r8 + 0x20]
jmp 0x65b5643f
mov rax, rsp
mov qword [rax + 0x10], rbp
jmp 0x65b56458
mov word [rax + 0x18], 0x6b2f
mov rsi, rcx
cmp ch, ch
je 0x65b56432
mov edx, 0x3f
cmp ecx, 0x7f
jmp 0x65b5646a
nop
movzx eax, byte [rbx]
jmp 0x65b564df
movzx eax, byte [rbx + 1]
inc rbx
jmp 0x65b564b7
nop word [rax + rax]
cmp al, 0x27
ja 0x65b564a2
jmp 0x65b564bf
cmp al, 0x22
jne 0x65b564b1
sub ebx, edx
jmp 0x65b56517
movsx rax, al
bt rcx, rax
jb 0x65b564bb
cmp ch, ch
je 0x65b564a2
cmp al, 0x22
je 0x65b564bb
movabs rcx, 0x8100000001
cmp bl, bl
je 0x65b564ab
cmp al, 0x27
ja 0x65b564f9
movsx rax, al
cmp sp, sp
je 0x65b564ec
bt rcx, rax
jae 0x65b564f9
inc rbx
jmp 0x65b5649d
movzx eax, byte [rbx]
mov rdx, rbx
jmp 0x65b564cd
xor eax, eax
mov rbx, qword [rsp + 0x130]
jmp 0x65b56562
mov rdi, rax
test rax, rax
je 0x65b56501
jmp 0x65b56539
cmp ebp, ebx
jb 0x65b56501
mov r8d, ebx
jmp 0x65b56570
mov byte [rsp + r8 + 0x20], 0
call fcn.65b5662a
jmp 0x65b5650d
mov eax, ebx
mov byte [rbx + rsi], 0
jmp 0x65b56503
pop rdi
ret
lea rcx, [rsp + 0x140]
call fcn.65b56693
jmp 0x65b5657a
mov rsi, qword [r11 + 0x28]
mov rsp, r11
jmp 0x65b56537
mov qword [rsp + 0x130], rbx
lea rcx, [rsp + 0x20]
cmp dh, dh
je 0x65b56520
lea r11, [rsp + 0x120]
mov rbp, qword [r11 + 0x18]
jmp 0x65b56548
mov rcx, rsi
call fcn.65b566b8
jmp 0x65b5652d
movabs rcx, 0x8500000000
lea rbx, [rdi + rax]
jmp 0x65b5649c
cmp r8, 0xfe
jae 0x65b565a8
movzx ecx, word [r9 + r8*2]
jmp 0x65b56492
cmp word [r9 + r8*2], 0
jne 0x65b5658d
lea rdx, [rsp + 0x140]
jmp 0x65b56551
cmp word [r9], r8w
je 0x65b565a8
nop dword [rax]
cmp sp, sp
je 0x65b5658d