joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ae0e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400ae122
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400ae169
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400ae1c2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400ae180
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400ae203
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400c0402]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400c0403]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400ae1d0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400af22c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400af276
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400af276
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400af276
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400af276
cmp dword [rcx + 0x84], 0xe
jbe 0x1400af276
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400af278
xor al, al
add rsp, 0x28
ret
Function at 0x14092a810
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14092a997
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 0x14092a841
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14092a827
add dl, dl
jne 0x14092a84e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14092a8ae
xor eax, eax
add dl, dl
jne 0x14092a85d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14092a965
add dl, dl
jne 0x14092a86e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14092a87b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14092a888
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14092a895
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14092a8a2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14092a836
mov eax, 1
add dl, dl
jne 0x14092a8be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14092a8cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14092a8b3
sub eax, ebx
mov ebx, 1
jne 0x14092a904
mov ecx, 1
add dl, dl
jne 0x14092a8e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14092a8f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14092a8db
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14092a836
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14092a920
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14092a92d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14092a915
cmp eax, 0x7d00
jae 0x14092a953
cmp eax, 0x500
jb 0x14092a94e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14092a836
cmp eax, 0x7f
ja 0x14092a956
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14092a836
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14092a98a
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 0x14092a836
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140033f40]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140033f50]
mov dword [rax], 1
mov rax, qword [0x140033f60]
mov dword [rax], 1
mov rax, qword [0x140033ee0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140033f30]
mov dword [0x14003900c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140034010]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140033ff0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140033e90]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140004d5c
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
lea rax, str.echoBinSafe
mov qword [rbp - 0x48], rax
lea rax, str._usr_lib_nim_lib_system_io.nim
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov word [rbp - 0x30], 0
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.nimFrame_4
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x40], 8
lea rax, [0x1400304a8]
mov qword [rbp - 0x38], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x40], 9
lea rax, [0x1400304a8]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x28]
jge 0x140004eab
mov qword [rbp - 0x40], 0x333
lea rax, str._usr_lib_nim_lib_system_io.nim
mov qword [rbp - 0x38], rax
cmp qword [rbp - 8], 0
js 0x140004e0d
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x28]
jl 0x140004e21
mov rax, qword [rbp + 0x28]
lea rdx, [rax - 1]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.raiseIndexError2
mov rax, qword [rbp - 8]
lea rdx, [rax*8]
mov rax, qword [rbp + 0x20]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rbx, qword [rax]
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov r8d, 0
mov rdx, rbx
mov rcx, rax
call sym.writeWindows__systemZio_205
mov qword [rbp - 0x40], 0xb
lea rax, [0x1400304a8]
mov qword [rbp - 0x38], rax
mov edx, 0
mov rax, qword [rbp - 8]
add rax, 1
jno 0x140004e85
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x58]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x140004e9e
call sym.raiseOverflow
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
jmp 0x140004ddb
nop
mov qword [rbp - 0x40], 0x339
lea rax, str._usr_lib_nim_lib_system_io.nim
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x18], 0
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov r9, rax
mov r8d, 1
mov edx, 1
lea rax, [0x1400304ce]
mov rcx, rax
call sym.fwrite
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x40], 0x33a
lea rax, str._usr_lib_nim_lib_system_io.nim
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x1c], 0
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov dword [rbp - 0x1c], eax
call sym.popFrame_4
nop
add rsp, 0x88
pop rbx
pop rbp
ret

Function at 0x140006d3f
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 8], 0
cmp qword [rbp + 0x18], 0
je 0x140006d6f
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.nimCStrLen_1
mov rcx, rax
jmp 0x140006d74
mov ecx, 0
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov r9, rdx
mov r8, rcx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140027fc0
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 dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140028030
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14004c654]
mov rbx, rcx
test esi, esi
jle 0x140028160
mov rax, qword [0x14004c658]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14002807b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140028105
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140028060
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140028182
mov rax, qword [0x14004c658]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14004c658]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140028167
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400280fe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140028110
add dword [0x14004c654], 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 [0x14004c658]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400280fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140028088
mov rax, qword [0x14004c658]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400286f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14004c6c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14004c6a0]
test rbx, rbx
je 0x14002874c
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 0x140028743
test rsi, rsi
je 0x140028743
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140028728
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 0x140028960
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140028978
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140028980
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140028990
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400289dd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400289d4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400289df
add rax, 0x28
cmp rax, r9
jne 0x1400289c0
xor eax, eax
ret

Function at 0x1400289e0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140028a70
mov rdx, qword [0x140033ee0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140028a5e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140028a5e
cmp word [rax + 0x18], 0x20b
jne 0x140028a5e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140028a70
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140028a49
add rbx, 0x28
cmp rbx, rdi
je 0x140028a70
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140028a40
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140028a80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140033ee0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140028aa0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140028aa8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140028aa0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140028afd
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 0x140028af4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140028aa0
add rax, 0x28
cmp rax, r9
jne 0x140028ae0
xor eax, eax
ret

Function at 0x140028b00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140033ee0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140028b1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140028b28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140028b1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140028b40
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140033ee0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140028b60
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140028b68
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140028b60
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140028bb0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140028ba7
test rcx, rcx
je 0x140028b60
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140028b98
xor eax, eax
ret

Function at 0x140028bc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140033ee0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140028bdf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140028be8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140028c00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140033ee0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140028c20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140028c28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140028c20
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140028c20
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140028c74
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140028c80
add rdx, 0x28
cmp r9, rdx
jne 0x140028c60
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140028c90
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140033ee0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140028cb2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140028cc0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140028cb2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140028cb2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140028cb2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140028d15
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140028d28
add rdx, 0x28
cmp rdx, r10
jne 0x140028d00
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140028d37
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140028d47
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140028d1e
test ecx, ecx
jg 0x140028d30
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x18001eb40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18001eb74
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x18001eb60
ret
Function at 0x18002fda0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
lea edi, [rcx + 0x462]
mov rsi, r8
mov rbp, rdx
mov ebx, ecx
cmp ecx, edi
jae 0x18002ffbf
movabs r15, 0x2020202020202020
xor r14d, r14d
mov eax, ebx
sub eax, 8
je 0x18002ff5a
sub eax, 0x123
je 0x18002fef2
sub eax, 1
je 0x18002ff11
sub eax, 0xba
je 0x18002fecc
cmp eax, 0xbb
jne 0x18002fefe
mov dword [rsp + 0x98], r15d
mov r8d, 1
lea rdx, [rsp + 0x80]
xor ecx, ecx
call fcn.18006664c
test eax, eax
jle 0x18002fe10
mov r8d, 3
lea rdx, [rsp + 0x99]
lea rcx, [rsp + 0x98]
call fcn.180050810
movsx eax, byte [rsp + 0x80]
mov byte [rsp + 0x9b], al
cmp dword [rsp + 0x98], 0x74697571
je 0x18002feb3
mov ecx, eax
mov ebx, eax
call fcn.180053954
movzx ecx, byte [rsp + 0x80]
test eax, eax
mov edx, 0x3f
mov r9d, ebx
cmovne edx, ecx
mov r8d, ebx
movsx edx, dl
lea rcx, str.InheritedStyleChangeFromParentFrame
call fcn.18004d7a0
lea rcx, [0x18007cf7c]
call fcn.18004d7a0
mov ecx, 1
call fcn.180056044
mov rcx, rax
call fcn.180056370
jmp 0x18002fe10
lea rdx, [rsp + 0x98]
mov ecx, 0xb4
mov ebx, 0x2a1
call fcn.18001e9d0
jmp 0x18002fefe
xor edx, edx
mov dword [rsp + 0x98], r14d
lea rcx, [rsp + 0x98]
lea r8d, [rdx + 0x69]
call fcn.180049170
cmp eax, 0xffffffff
je 0x18002ffbf
jmp 0x18002fefe
lea rcx, str.p_bind_trace_pprofiling__YAXPAVIReader_12_PAXPAV__internal_on_collection_started_v0_post_mac_12__Z
call fcn.18004d7a0
add ebx, 0xbb
cmp ebx, edi
jb 0x18002fdd3
jmp 0x18002ffbf
movsxd rax, dword [rbp]
mov r9d, 0xdd
mov qword [rsp + 0x30], r14
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsi + rax*8 + 0xd0]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call fcn.180042d30
mov qword [rsp + 0x98], rax
movss xmm0, dword [rsp + 0x98]
movss dword [rsp + 0x80], xmm0
jmp 0x18002ffbf
xor r8d, r8d
mov edx, 0xa1
xor ecx, ecx
call fcn.180008d00
test al, al
jne 0x18002ffaa
lea rax, [0x180007740]
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x48], rsi
xor edx, edx
mov dword [rsp + 0x20], 0x6a
xor ecx, ecx
call fcn.1800471c0
test al, al
jne 0x18002ffaa
mov byte [rsp + 0x80], r14b
jmp 0x18002ffbf
lea rdx, [rsi + 0x50]
mov ecx, 0x4a
call fcn.180024380
mov byte [rsp + 0x80], al
mov eax, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18003ebf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, qword [rsp + 0x70]
lea r13d, [rcx + 0x426]
mov r14, rdx
mov edi, ecx
cmp ecx, r13d
jae 0x18003eced
mov r12d, dword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov r15, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x70]
cmp edi, 0x1ee
ja 0x18003ecdd
je 0x18003ecaf
mov eax, edi
sub eax, 0x8c
je 0x18003ec8c
sub eax, 0x36
je 0x18003ec75
cmp eax, 0x7b
jne 0x18003ed15
xor edx, edx
lea r8d, [rax - 0x79]
mov rcx, rbp
call fcn.180056d0c
mov rcx, rbp
call fcn.1800571f0
mov r12d, eax
jmp 0x18003ed15
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm0
mov qword [r14 + 0x20], rax
jmp 0x18003ed15
lea rdx, [0x18007e358]
mov rcx, r14
mov r12d, 0xffffffff
call fcn.180056744
mov rbp, rax
test rax, rax
je 0x18003ed32
jmp 0x18003ed15
mov rcx, rbp
call fcn.18005735c
movsxd rsi, r12d
mov rcx, rsi
call fcn.180054544
mov r9, rbp
mov r8, rsi
mov edx, 1
mov rcx, rax
mov r15, rax
call fcn.1800569d0
mov rsi, rax
jmp 0x18003ed15
cmp edi, 0x29f
je 0x18003ed05
cmp edi, 0x350
jne 0x18003ed15
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rbp
call fcn.180056150
test rsi, rsi
je 0x18003ed26
mov rbx, r15
add edi, 0xb1
cmp edi, r13d
jb 0x18003ec32
jmp 0x18003eced
mov rcx, r15
call fcn.18005453c
xor eax, eax
jmp 0x18003ecf0
mov rdx, r14
lea rcx, str.could_not_open__s_n
call fcn.18004d7a0
lea rcx, str.fopen
call fcn.180054ea8
mov ecx, 1
call fcn.180054e44
int3
Function at 0x18004d9b0
Capabilities:
Create thread

Disassembly:
mov r8d, 0x63
jmp fcn.1800334c0

Function at 0x180054e44
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x180054c64
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180054c64
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180054c64
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180054c64
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180054c64
cmp dword [rcx + 0x84], 0xe
jbe 0x180054c64
cmp dword [rcx + 0xf8], esi
je 0x180054c64
mov ecx, r14d
call fcn.180054dac
mov ecx, 2
call fcn.1800629f0
nop
cmp byte [0x1800d1440], 0
jne 0x180054d2e
mov r15d, 1
mov eax, r15d
xchg dword [0x1800d1430], eax
test ebx, ebx
jne 0x180054cd7
mov rdi, qword [0x1800cee28]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1800d1438]
cmp rcx, rax
je 0x180054cce
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x180079418]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1800d17a8]
jmp 0x180054ce3
cmp ebx, r15d
jne 0x180054ce9
lea rcx, [0x1800d17c0]
call fcn.180065b78
nop
test ebx, ebx
jne 0x180054d00
lea rdx, [0x1800794d8]
lea rcx, [0x1800794b8]
call fcn.180065dd0
lea rdx, [0x1800794e8]
lea rcx, [0x1800794e0]
call fcn.180065dd0
movzx eax, byte [0x1800d1440]
test esi, esi
cmove eax, r15d
mov byte [0x1800d1440], al
jmp 0x180054d2e
mov ecx, 2
call fcn.180062a44
test esi, esi
jne 0x180054d45
mov ecx, r14d
call fcn.180054d60
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x180054bf4