joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a7590
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x18015f6c0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x1800a761e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1800a75c2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x1800a7630
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x18015f6c0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1800a7734
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1800a772f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x1800a7704
cmp qword [rsp + 0x38], 2
jb 0x1800a7704
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800a7704
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800a7704
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1800a7677
jmp 0x1800a77c6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x1800a77c6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x1800a779c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800a779c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800a779c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1800a7734
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1800deb90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1801eb708]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
jne 0x1800debc6
jmp 0x1800dede0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
and eax, 0xc0
test eax, eax
jne 0x1800debe1
mov byte [rsp + 0x20], 1
jmp 0x1800debe6
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1800dec0d
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax + 0x50]
movss dword [rsp + 0x38], xmm0
jmp 0x1800dec16
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax + 0x2c]
subss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x2c], xmm0
mov rax, qword [rsp + 0x88]
movss xmm0, dword [rsp + 0x2c]
addss xmm0, dword [rax + 0x10]
comiss xmm0, dword [rsp + 0x90]
jbe 0x1800dec56
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x1800dec5e
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call fcn.180102350
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
jmp 0x1800decab
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x1800dedb2
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jge 0x1800dedb2
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call fcn.1800c8560
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0x20
test eax, eax
je 0x1800decfe
jmp 0x1800dedb2
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0xc0
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 4]
and ecx, 0xc0
cmp eax, ecx
je 0x1800ded25
jmp 0x1800dedb2
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x2c]
addss xmm0, dword [rax + 0x10]
mov rax, qword [rsp + 0x50]
subss xmm0, dword [rax + 0x384c]
movss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x40]
movss xmm0, dword [rsp + 0x2c]
addss xmm0, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
addss xmm0, dword [rax + 0x14]
mov rax, qword [rsp + 0x50]
addss xmm0, dword [rax + 0x384c]
movss dword [rsp + 0x4c], xmm0
cmp dword [rsp + 0x30], 0
jge 0x1800ded94
movss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [rsp + 0x48]
ja 0x1800dedab
cmp dword [rsp + 0x30], 0
jle 0x1800dedad
movss xmm0, dword [rsp + 0x90]
comiss xmm0, dword [rsp + 0x4c]
jae 0x1800dedad
jmp 0x1800dedb2
jmp 0x1800dec9b
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x34], eax
je 0x1800dede0
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov r8d, eax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1800deb50
add rsp, 0x78
ret
Function at 0x180112e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov r8, qword [rsp + 0xf8]
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x38]
call fcn.180110560
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x40]
call fcn.180110560
movss xmm0, dword [rsp + 0x3c]
ucomiss xmm0, dword [0x18015fc6c]
je 0x180112e81
movss xmm0, dword [rsp + 0x44]
divss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x30], xmm0
jmp 0x180112e8a
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x38]
ucomiss xmm0, dword [0x18015fc6c]
je 0x180112ead
movss xmm0, dword [rsp + 0x40]
divss xmm0, dword [rsp + 0x38]
movss dword [rsp + 0x34], xmm0
jmp 0x180112eb6
xorps xmm0, xmm0
movss dword [rsp + 0x34], xmm0
movss xmm2, dword [rsp + 0x30]
movss xmm1, dword [rsp + 0x34]
lea rcx, [rsp + 0x58]
call fcn.1800181e0
movsxd rax, dword [rsp + 0xe8]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0xe0]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x48], rax
movsxd rax, dword [rsp + 0xf0]
imul rax, rax, 0x14
mov rcx, qword [rsp + 0xe0]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x50], rax
movzx eax, byte [rsp + 0x118]
test eax, eax
je 0x18011301a
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x70]
call fcn.180110710
mov r8, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x60]
call fcn.1801107c0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
jmp 0x180112f64
mov rax, qword [rsp + 0x20]
add rax, 0x14
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x20], rax
jae 0x180113015
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x20]
movss xmm2, dword [rax + 4]
mov rax, qword [rsp + 0x20]
movss xmm1, dword [rax]
lea rcx, [rsp + 0x80]
call fcn.1800181e0
mov r8, qword [rsp + 0xf8]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180110560
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.180110c00
mov r8, rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x98]
call fcn.180110500
mov qword [rsp + 0x78], rax
mov r9, qword [rsp + 0x68]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xa0]
call fcn.180110870
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
jmp 0x180112f56
jmp 0x1801130b6
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
jmp 0x180113034
mov rax, qword [rsp + 0x28]
add rax, 0x14
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x28], rax
jae 0x1801130b6
mov rax, qword [rsp + 0x28]
movss xmm2, dword [rax + 4]
mov rax, qword [rsp + 0x28]
movss xmm1, dword [rax]
lea rcx, [rsp + 0xa8]
call fcn.1800181e0
mov r8, qword [rsp + 0xf8]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.180110560
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.180110c00
mov r8, rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0xc0]
call fcn.180110500
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
jmp 0x180113026
add rsp, 0xd8
ret
Function at 0x180126530
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180126556
mov dword [rsp + 0x20], 1
jmp 0x18012655e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x18014e3e0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18014e464
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1801666f0]
cmp byte [rcx + rax], 0
je 0x18014e464
dec r8
sub rdx, 1
jne 0x18014e44a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x6d8a13b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d8c25e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d8a1538
mov rax, qword [0x6d8c25e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d8a13fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d8a1485
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d8a13e0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d8a156d
mov rax, qword [0x6d8c25e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d8c25e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d8a1550
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d8a147e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d8a14e0
add dword [0x6d8c25e4], 1
cmp edi, 8
jae 0x6d8a14b3
test dil, 4
jne 0x6d8a1524
test edi, edi
je 0x6d8a14a8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d8a153f
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 0x6d8a14a8
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 0x6d8a14cc
jmp 0x6d8a14a8
add rsi, qword [0x6d8c25e8]
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 0x6d8a147e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d8a14a8
xor esi, esi
jmp 0x6d8a1407
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d8a14a8
mov rax, qword [0x6d8c25e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d8a1cc0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d8c28c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d8c28a0]
test rbx, rbx
je 0x6d8a1d14
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 0x6d8a1d0b
test rsi, rsi
je 0x6d8a1d0b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d8a1cf0
lea rcx, [0x6d8c28c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d8a1f50
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d8a1f60
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d8a1f70
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d8a1fb1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d8a1fa8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d8a1fb3
add rax, 0x28
cmp rax, r9
jne 0x6d8a1f94
xor eax, eax
ret

Function at 0x6d8a2050
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8bf1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d8a20bd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8a20bd
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 0x6d8a20bd
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 0x6d8a20b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8a20bf
add rax, 0x28
cmp rax, r9
jne 0x6d8a20a0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d8a21c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d8bf1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d8a21e0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8a21d8
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 0x6d8a223d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d8a2234
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d8a2244
add rax, 0x28
cmp rax, r9
jne 0x6d8a2220
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d8a2260
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d8bf1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d8a22ce
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d8a22ce
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d8a22ce
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d8a22ce
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d8a22c5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d8a22d5
add rcx, 0x28
cmp rcx, rax
jne 0x6d8a22b0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d8a22e8
jmp 0x6d8a22ce
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d8a22f6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d8a22ce
test r9d, r9d
jg 0x6d8a22e0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d8a2660
Capabilities:
Write file on windows

Disassembly:
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 sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x140b4a0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b4a237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b4a0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b4a0c7
add dl, dl
jne 0x140b4a0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b4a14e
xor eax, eax
add dl, dl
jne 0x140b4a0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b4a205
add dl, dl
jne 0x140b4a10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b4a11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b4a128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b4a135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b4a142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b4a0d6
mov eax, 1
add dl, dl
jne 0x140b4a15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b4a16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b4a153
sub eax, ebx
mov ebx, 1
jne 0x140b4a1a4
mov ecx, 1
add dl, dl
jne 0x140b4a186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b4a193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b4a17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b4a0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b4a1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b4a1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b4a1b5
cmp eax, 0x7d00
jae 0x140b4a1f3
cmp eax, 0x500
jb 0x140b4a1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b4a0d6
cmp eax, 0x7f
ja 0x140b4a1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b4a0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b4a22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b4a0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140009290
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140009320
jmp 0x14000930f
jae 0x1400093e0
cmp r8, 0x201
jae 0x140009320
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140009378
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14000934f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1401865b0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400093a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140009448
mov r8d, r14d
cmp r15, r8
jne 0x140009300
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000946b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000930f
jmp 0x140009320
cmp rsi, r8
jb 0x140009485
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000e080
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140009431
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140001290
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140009419
jmp 0x140009431
lea rcx, [0x14018eab8]
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140187340
jmp 0x14000949a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1401877b0
ud2