joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400054b0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400054c0]
mov dword [rax], 1
mov rax, qword [0x1400054d0]
mov dword [rax], 1
mov rax, qword [0x140005450]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400054a0]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140005580]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140005560]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140005400]
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 [sym._matherr]
call sym.__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 0x140001920
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 dword [rax]
Function at 0x140001990
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140008094]
test esi, esi
mov rbx, rcx
jle 0x140001ac0
mov rax, qword [0x140008098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400019db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001a65
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400019c0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x140001ae2
mov rax, qword [0x140008098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001ac7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001a5e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001a70
add dword [0x140008094], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140008098]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001a5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400019e8
mov rax, qword [0x140008098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002050
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x1400020ac
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 0x1400020a3
test rsi, rsi
je 0x1400020a3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002088
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 0x1400022c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop

Function at 0x1400022d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
Function at 0x1400022e0
Capabilities:
Parse pe header

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

Function at 0x140002310
Capabilities:
Enumerate pe sections

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

Function at 0x140002360
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400023f0
mov rdx, qword [0x140005450]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400023de
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400023de
cmp word [rax + 0x18], 0x20b
jne 0x1400023de
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400023f0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400023c9
add rbx, 0x28
cmp rbx, rdi
je 0x1400023f0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400023c0
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 0x140002400
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140002480
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x140005450]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400024e0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400024e8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400024e0
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140002530
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002527
test rcx, rcx
je 0x1400024e0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002518
xor eax, eax
ret

Function at 0x140002540
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x140005450]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400025a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400025a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025a0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x1400025a0
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]
cmp rcx, r8
mov rax, r8
jb 0x1400025f4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002600
add rdx, 0x28
cmp r9, rdx
jne 0x1400025e0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140005450]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002632
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002640
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002632
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002632
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140002632
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]
cmp rax, r9
mov r8, r9
jb 0x140002695
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400026a8
add rdx, 0x28
cmp rdx, r10
jne 0x140002680
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400026b7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400026c7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000269e
test ecx, ecx
jg 0x1400026b0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x2fc4cf820
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.2fc4d0900
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d0222
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f2108]
test eax, eax
je 0x2fc4d02ba
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f2110]
mov qword [rbp - 8], rax
jmp 0x2fc4d029e
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 0x2fc4d0292
cmp qword [rbp - 0x10], 0
je 0x2fc4d0292
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 0x2fc4d0258
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d02bb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d03c0
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 0x2fc4d03e8
mov eax, 0
jmp 0x2fc4d0436
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 0x2fc4d0411
mov eax, 0
jmp 0x2fc4d0436
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 0x2fc4d0431
mov eax, 0
jmp 0x2fc4d0436
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d043c
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 0x2fc4d04ba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d04b1
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 0x2fc4d04b1
mov rax, qword [rbp - 8]
jmp 0x2fc4d04cf
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 0x2fc4d0484
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x180003ec0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 8], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 0x20], 0
and al, 0x20
add byte [rax], al
add byte [rax], al
mov rax, qword [0x18001ac30]
add eax, 0x16d38
mov qword [rsp + 0x10], rax
and al, 0x10
jno 0x180003f29
push rbx
pop rbx
jo 0x180003f29
add dh, ah
jno 0x180003eeb
enter 0xffffffffffffdd8c, 0xffffffffffffffc8
jno 0x180003ef3
jno 0x180003f78
leave
jno 0x180003f50
imul ebx, dword [rdx - 0x18051837], 0x29afac8
out 0x80, al
leave
mov edi, fs
imul ebp, dword [rcx + 2], 0x71c980f4
or byte [rax - 0x75], 0x44
and al, 0x10
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180003f3f
xor eax, eax
jmp 0x18000407f
mov rax, qword [rsp + 0x10]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
jns 0x180003f84
push rdx
push rdi
push rsi
nop
pop rsi
pop rdi
pop rdx
js 0x180003f84
fisttp qword [rbp + rbx*8 - 0xb360b38]
jno 0x180003f6e
mov word [rcx + 0x69], gs
mov word [rsi - 0xb65fd19], fs
imul esi, esp, 0x9a807169
add ah, dh
and ah, 0xdd
out 0xc9, eax
imul ecx, dword [rsi + riz*4 - 0xb65fd19], 0x7169f469
sbb byte [rdx - 0x7f19fdc2], 0xe4
fucom st(7)
leave
jno 0x180003efa
invalid
cli
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x180003f98
xor eax, eax
jmp 0x18000407f
mov dword [rsp], 0
jmp 0x180003fa9
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
and al, 0xff
ror byte [rcx - 0x74b7dbfc], 0x44
and al, 8
mov rax, qword [rsp + 8]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x180004054
mov rax, qword [rsp + 8]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 8]
lea rax, [rcx + rax + 0x18]
mov ecx, dword [rsp]
imul rcx, rcx, 0x28
add rax, rcx
mov qword [rsp + 0x18], rax
jno 0x180004009
push rdi
push rsp
push rdx
pop rdx
pop rsp
pop rdi
jo 0x180004009
invalid
out 0xc9, eax
fld qword [rdx]
fnstsw word [rsi]
cli
cmp byte [rsi], 0xc8
jno 0x180003fa3
out 0x80, eax
enter 0xffffffffffffa6a6, 0xffffffffffffffe4
fld qword ds:[rax + 0x48e7f4fa]
mov eax, dword [rsp + 0x18]
mov rax, qword [rsp + 0x18]
cmp dword [rax + 0x24], 0xe0000020
js 0x180004035
and byte [rax], al
add al, ah
jne 0x18000404f
ja 0x180004043
nop
jbe 0x180004043
imul edi, edx, 0x8c69fa69
out 0x8c, eax
out 0xfa, al
jno 0x180003ff1
in al, 0xdd
in al, 0x8c
fnsave dword ds:[rcx - 0x37]
jno 0x18000400f
cli
leave
add ah, ah
frstor dword [rsi - 0x65fd228f]
cmpsb byte [rsi], byte [rdi]
enter 0xffffffffffffe6a6, 0xfffffffffffffff4
invalid
in al, 0xdd
cmpsb byte [rsi], byte [rdi]
jno 0x180004017
add bl, byte [rdx - 0x1959375a]
hlt
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x180004054
jmp 0x180003fa1
cmp qword [rsp + 0x20], 0
jne 0x180004060
xor eax, eax
jmp 0x18000407f
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov rcx, qword [0x18001ac30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x180013e40
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rsp + 8], 0
mov qword [rsp], 0
mov qword [rsp + 0x20], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x238]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180013eed
mov rax, qword [rsp]
cmp dword [rax + 0x3c], 0
jle 0x180013eed
mov rax, qword [rsp]
cmp dword [rax + 0x3c], 0x190
jge 0x180013eed
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
jne 0x180013eed
jmp 0x180013efc
mov rax, qword [rsp + 8]
dec rax
mov qword [rsp + 8], rax
jmp 0x180013e99
mov rax, qword [rsp + 8]
add rsp, 0x38
ret

Function at 0x180013f10
Capabilities:
Hash data with crc32
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0
mov dword [rsp + 8], 0
mov dword [rsp], 0xffffffff
jo 0x180013f64
push rdx
push rax
nop
pop rax
pop rdx
jno 0x180013f64
mov ebp, ds
enter 0x2a6, 0x69
invalid
mov dword [rsp + 4], 0
jmp 0x180013f78
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 4], eax
jae 0x180014043
jl 0x180013fb2
jge 0x180013fb2
out 0xe6, eax
cmpsb byte ds:[rsi], byte [rdi]
hlt
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
and eax, 0xff
mov dword [rsp + 8], eax
jne 0x180013ffb
push rbp
push rdi
pop rdi
pop rbp
je 0x180013ffb
enter 0xffffffffffff9ac8, 0xffffffffffffffe6
leave
out 2, eax
imul ebx, ebp, 0x6969e7e7
fstp st(5)
out 0xc9, eax
invalid
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp + 8]
lea rdx, [0x18001a810]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
je 0x18001403e
push rsp
push rdi
push rax
nop
pop rax
pop rdi
pop rsp
jne 0x18001403e
and esp, esp
cli
in al, 0xfa
cli
jno 0x18001401c
hlt
out 0x3e, eax
xor ah, 0xf4
jno 0x180013fc4
hlt
frstor dword [rsi + 0x71dd7102]
invalid
jno 0x180013fcb
jno 0x180014027
in al, 0x9a
mov ebp, ds
enter 0xffffffffffffe671, 0x69
jno 0x180014023
leave
jmp 0x180013f6e
je 0x18001406f
jne 0x18001406f
jno 0x18001402f
out 0xe4, eax
in al, 2
jno 0x180014018
imul eax, dword [rdx], 0xa6e7fafa
leave
fstp st(5)
enter 0x71e4, 0xfffffffffffffffa
in al, 0x3e
out 0x69, al
invalid
mov eax, dword [rsp]
xor eax, 0xffffffff
mov dword [rsp], eax
jb 0x1800140a4
nop
jae 0x1800140a4
enter 0xffffffffffffe7dd, 0xffffffffffffffe7
out 0xdd, al
jno 0x1800140ee
cmpsb byte [rsi], byte [rdi]
cmpsb byte [rsi], byte [rdi]
out 0xc9, eax
cmpsb byte [rsi], byte [rdi]
out 0xe7, eax
fucom st(7)
imul ecx, ecx, 0x69dddd3e
cmpsb byte [rsi], byte [rdi]
leave
out 0xa6, al
out 0x8c, al
out 0x9a, al
cli
invalid
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x18
ret
Function at 0x14000a918
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14000a93f
and qword [r8], 0
call fcn.14000aa24
mov rbx, rax
test rax, rax
je 0x14000aa07
mov rcx, rax
call fcn.14000a8a0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000a9fe
mov rax, qword [0x1400831b0]
test rax, rax
je 0x14000a977
inc dword [rax + 0xf4]
mov rdx, qword [0x1400831c0]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x14000a9fe
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x14000a9d6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400831b0]
test rax, rax
je 0x14000a9c4
dec dword [rax + 0xf4]
mov rdx, qword [0x1400831c0]
mov rcx, rsi
call qword [0x14006b008]
jmp 0x14000aa07
test ebp, ebp
jle 0x14000a9e8
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000a9f9
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000aa09
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14000ad7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x14000adaa
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x14005ca30]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x14000ad87
not r8d
mov eax, r8d
ret

Function at 0x14000adb4
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14000ae0e
mov r11b, 0x23
lea rdi, [0x14005ca30]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x14000adf8
cmp rdx, 2
jb 0x14000adf8
cmp byte [r10], r11b
jne 0x14000adf8
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x14000add6
jmp 0x14000ae4f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14000ae4f
mov r11b, 0x23
lea rdi, [0x14005ca30]
cmp dl, r11b
jne 0x14000ae33
cmp byte [r10], r11b
jne 0x14000ae33
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x14000ae21
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14000cc88
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c78], 0
lea rbx, [rcx + 0x5c80]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14000cd21
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x14000ccd9
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400190c8
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400187c4
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c78]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1400831b8]
movsxd r8, eax
mov rax, qword [rdi + 0x5c88]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14000cd29
mov rcx, rbx
call fcn.1400187c4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140013e50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400831b0]
mov rbx, rcx
and dword [rax + 0x5bdc], 0
test rcx, rcx
je 0x140013eb9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140013ec4
lea rdx, [0x14005e12c]
mov rcx, rbx
mov rdi, rax
call fcn.14000aa24
mov rbx, rax
test rax, rax
je 0x140013eb9
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret