joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415720
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41594a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00431da0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x41579b
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x4157ae
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x4157d0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x4157e4
cmp rbx, 0x1000
jae 0x4157a5
jmp 0x41586e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x4157f6
xor esi, esi
jmp 0x415860
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00431da0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x4157da
jmp 0x4157c2
call fcn.0045fba0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x4158e9
call fcn.004362e0
lea rax, [0x004acae5]
mov ebx, 0x19
call fcn.00436be0
mov rax, qword [rsp + 0x68]
call fcn.004368e0
lea rax, [0x004ac72f]
mov ebx, 0x19
nop
call fcn.00436be0
mov eax, dword [rsp + 0x34]
call fcn.004368e0
call fcn.00436540
call fcn.00436360
lea rax, [0x004a9731]
mov ebx, 0xd
call fcn.00434a20
cmp eax, 0x5af
je 0x415893
call fcn.004362e0
lea rax, [0x004acae5]
mov ebx, 0x19
call fcn.00436be0
mov rax, qword [rsp + 0x38]
call fcn.004368e0
lea rax, [0x004ac72f]
mov ebx, 0x19
nop dword [rax]
call fcn.00436be0
mov eax, dword [rsp + 0x34]
call fcn.004368e0
call fcn.00436540
call fcn.00436360
lea rax, [0x004ae1df]
mov ebx, 0x1f
call fcn.00434a20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00415720
Function at 0x41e020
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x00597371], 0
jne 0x41e10f
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and ebx, 7
mov rsi, rcx
mov rcx, rbx
mov edi, 1
shl edi, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], dil
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x41e105
lea rbx, [0x005697d0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and edx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and eax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
nop dword [rax]
test al, bl
jne 0x41e0e7
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rsi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call fcn.0045e700
lea rax, [0x004b0189]
mov ebx, 0x2c
nop dword [rax + rax]
call fcn.00434a20
nop
int3

Function at 0x420860
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x420961
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 8], 0
jmp 0x4208a0
mov rax, qword [rsp + 0x50]
mov rcx, rdx
mov rbx, qword [rsp + 0x58]
nop
cmp qword [rsp + 8], rbx
jae 0x420951
test byte [rax], al
lea rcx, [rax + 0x100c0]
mov rax, rcx
call fcn.004213c0
nop dword [rax]
test rax, rax
je 0x420951
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
lea rcx, [0x004209a0]
mov qword [rsp + 0x10], rcx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 8]
mov qword [rsp + 0x38], rbx
lea rbx, [rsp + 0x10]
mov qword [rsp], rbx
call fcn.0045bec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x42093f
xor eax, eax
jmp 0x420949
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x60]
test al, al
je 0x420892
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
nop
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045c000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.00420860
Function at 0x442f60
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4430cf
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x442f78
cmp edx, ecx
jne 0x4430bd
nop dword [rax]
test rsi, rsi
jne 0x4430bd
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x442fd6
nop
call fcn.00460000
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
nop dword [rax + rax]
call fcn.00442e60
mov rcx, qword [0x00543578]
mov rdx, qword [0x00543570]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
sar esi, 5
mov r8d, esi
shl esi, 5
sub edi, esi
test edi, edi
jl 0x4430b8
cmp edi, 0x20
sbb esi, esi
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x4430ad
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x00543f10]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x00543f10], rbx
mov edx, 1
lea rsi, [0x00543f18]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x44309c
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1228], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x004af933]
mov ebx, 0x28
call fcn.00434a20
mov rcx, rax
mov rax, rsi
call fcn.0045e6e0
call fcn.00432f40
lea rax, [0x004aee1b]
mov ebx, 0x23
call fcn.00434a20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045c000
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00442f60
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140eaa550]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x140eaa560]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140003160
jmp 0x14000123c
mov rax, qword [0x140eaa560]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x140eaa560]
mov dword [rax], 1
mov rax, qword [0x140eaa5a0]
mov rdx, rax
mov rax, qword [0x140eaa590]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x140eaf024], 1
mov rax, qword [0x140eaa560]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x140eaa580]
mov rdx, rax
mov rax, qword [0x140eaa570]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x140eaa560]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140eaa550]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x140eaa4b0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x140eaa4b0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.140002328
mov rax, qword [0x140eaa5e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140eaa540]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.140001b20
mov eax, dword [0x140eaf004]
lea rdx, [0x140eaf008]
mov ecx, eax
call fcn.14000147c
call fcn.1400018b7
mov rax, qword [0x140eaa4d0]
mov rax, qword [rax]
mov rdx, qword [0x140eaf010]
mov qword [rax], rdx
mov rcx, qword [0x140eaf010]
mov rdx, qword [0x140eaf008]
mov eax, dword [0x140eaf004]
mov r8, rcx
mov ecx, eax
call fcn.140001754
mov dword [0x140eaf01c], eax
mov eax, dword [0x140eaf020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x140eaf01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x140eaf024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x140eaf01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140eaa500]
mov dword [rax], 1
mov rax, qword [0x140eaa510]
mov dword [rax], 1
mov rax, qword [0x140eaa520]
mov dword [rax], 1
mov rax, qword [0x140eaa480]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400016d0
Capabilities:
Terminate process
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 + 0x20], r8
mov rax, qword [rbp + 0x10]
lea rdx, [0x140eaa050]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fopen
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140001722
mov rax, qword [rbp + 0x10]
mov rdx, rax
lea rax, str.Error_creating_file:__s_n
mov rcx, rax
call fcn.140002f40
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x18]
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rax, qword [rbp - 8]
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140001754
Capabilities:
Execute command

Disassembly:
push rbp
sub rsp, 0x120
lea rbp, [rsp + 0x80]
call fcn.1400018b7
mov ecx, 0x1d4c0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov r8d, 0x7beb98
lea rax, [0x140004020]
mov rdx, rax
lea rax, str.C:_Users_Public_Documents_test.pdf
mov rcx, rax
call fcn.1400016d0
mov r8d, 0x6e66c2
lea rax, [0x1407c2bc0]
mov rdx, rax
lea rax, str.C:_Users_Public_Documents_tester.exe
mov rcx, rax
call fcn.1400016d0
mov ecx, 0x1388
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rax, [rbp - 0x60]
lea r8, str.C:_Users_Public_Documents_test.pdf_C:_Users_Public_Documents_tester.exe
mov edx, 0x100
mov rcx, rax
call fcn.140002ee0
lea rax, [rbp - 0x60]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_system
mov eax, 0
add rsp, 0x120
pop rbp
ret
Function at 0x140001b30
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.140002e90
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x140002802
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140eaf168]
test eax, eax
je 0x14000289a
lea rax, [0x140eaf140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140eaf170]
mov qword [rbp - 8], rax
jmp 0x14000287e
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 0x140002872
cmp qword [rbp - 0x10], 0
je 0x140002872
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 0x140002838
lea rax, [0x140eaf140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000289b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400029a0
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 0x1400029c8
mov eax, 0
jmp 0x140002a16
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 0x1400029f1
mov eax, 0
jmp 0x140002a16
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 0x140002a11
mov eax, 0
jmp 0x140002a16
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x140002a1c
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 0x140002a9a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140002a91
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 0x140002a91
mov rax, qword [rbp - 8]
jmp 0x140002aaf
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 0x140002a64
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140007278
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 0x14000704c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000704c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000704c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000704c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000704c
cmp dword [rcx + 0x84], 0xe
jbe 0x14000704c
cmp dword [rcx + 0xf8], esi
je 0x14000704c
mov ecx, r14d
call fcn.140007194
mov ecx, 2
call fcn.1400097e4
nop
cmp byte [0x1400192c0], 0
jne 0x140007116
mov r15d, 1
mov eax, r15d
xchg dword [0x1400192b4], eax
test ebx, ebx
jne 0x1400070bf
mov rdi, qword [section..data]
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 [0x1400192b8]
cmp rcx, rax
je 0x1400070b6
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400058f4]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1400192d0]
jmp 0x1400070cb
cmp ebx, r15d
jne 0x1400070d1
lea rcx, [0x1400192e8]
call fcn.140007788
nop
test ebx, ebx
jne 0x1400070e8
lea rdx, [0x14000f2f0]
lea rcx, [0x14000f2d0]
call fcn.140006f0c
lea rdx, [0x14000f300]
lea rcx, [0x14000f2f8]
call fcn.140006f0c
movzx eax, byte [0x1400192c0]
test esi, esi
cmove eax, r15d
mov byte [0x1400192c0], al
jmp 0x140007116
mov ecx, 2
call fcn.140009838
test esi, esi
jne 0x14000712d
mov ecx, r14d
call fcn.140007148
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 0x140006fdc

Function at 0x14127c9f8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14127ca02
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x14127ca2b
pop rbp
sub rbp, 0x33
sub rbp, 0x127c9f8
sub rsp, 0x20
jmp 0x14127ca4a
mov rax, 0x127c9f8
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x60ea8a6b
xor byte [rax], dl
inc rax
dec rcx
jne 0x14127ca69
jmp 0x14127ca80
and esp, edx
invalid
Function at 0x140014010
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140005f30
sub rsp, rax
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140012bf0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001405f
mov rax, rbp
jmp 0x140014167
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1164d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140015130
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1164d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140014163
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014163
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140015130
test rax, rax
js 0x140014163
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140014163
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140014155
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140014155
cmp byte [rcx], 0xd
jne 0x14001413b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001414a
cmp byte [rcx + 1], 0xa
jne 0x14001414a
inc rcx
jmp 0x14001414a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x2e480]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001411d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140014167
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140005b40
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140014388
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001439e
mov al, 1
jmp 0x1400143fe
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400143af
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400143fc
mov ecx, dword [rcx + 0x18]
nop
call fcn.140018ae4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400143fc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400143fc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400143fc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400143fe
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400144d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1401164d0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140014527
cmp word [rdx], r13w
jne 0x140014527
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001452c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140014651
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140014672
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140014565
mov rdx, r9
mov word [rbx], cx
jmp 0x14001458c
cmp r9, r8
jae 0x14001459c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140014546
jmp 0x140014651
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014646
cmp dword [rsp + 0x80], esi
je 0x140014646
lea r8, [0x1401164d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001461e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400145ee
mov word [rbx], r13w
jmp 0x14001464e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400145fb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001464e
cmp word [rsp + 0x70], r13w
jne 0x14001462b
cmp rbx, r14
je 0x1400145e8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140015138
cmp word [rsp + 0x70], r13w
je 0x140014651
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1401164d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001464b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140014651