joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402120
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov ecx, dword [0x00408624]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x402240
mov rax, qword [0x00408628]
xor ebx, ebx
add rax, 0x18
mov rdx, qword [rax]
cmp rsi, rdx
jb 0x40216c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rsi, rdx
jb 0x402226
add ebx, 1
add rax, 0x28
cmp ebx, ecx
jne 0x402150
mov rcx, rsi
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x402278
movsxd rbx, ebx
lea rbx, [rbx + rbx*4]
shl rbx, 3
mov r13, rbx
add r13, qword [0x00408628]
mov qword [r13 + 0x20], rax
mov dword [r13], 0
call dbg._GetPEImageBase
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
lea rdx, [rsp + 0x20]
mov qword [r13 + 0x18], rax
mov rax, qword [0x00408628]
mov rcx, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x40225b
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x40221f
sub eax, 0x40
and eax, 0xffffffbf
je 0x40221f
add rbx, qword [0x00408628]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x402247
add dword [0x00408624], 1
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.memcpy
xor ebx, ebx
jmp 0x402177
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
mov rax, qword [0x00408628]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call dbg.__report_error
nop
nop dword [rax + rax]

Function at 0x4029d0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004088e0]
test rbx, rbx
je 0x402a24
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 0x402a1b
test rsi, rsi
je 0x402a1b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402a00
lea rcx, [0x00408900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402c60
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x402c70
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0
Function at 0x402c80
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 0x402cc1
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 0x402cb8
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x402cc3
add rax, 0x28
cmp rax, r9
jne 0x402ca4
xor eax, eax
repz ret

Function at 0x402d60
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x00405390]
xor edx, edx
mov r8, rcx
cmp word [r9], 0x5a4d
je 0x402d80
mov rax, rdx
add rsp, 0x28
ret
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402d78
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add rax, r9
movzx edx, word [rax + 0x14]
lea rdx, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402ddd
sub eax, 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 0x402dd4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x402d78
add rdx, 0x28
cmp rdx, r9
jne 0x402dc0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x402ef0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00405390]
xor eax, eax
mov rdx, rcx
cmp word [r8], 0x5a4d
je 0x402f10
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402f08
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 0x402f6d
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 0x402f64
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402f74
add rax, 0x28
cmp rax, r9
jne 0x402f50
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x402f90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x00405390]
xor r9d, r9d
mov r8d, ecx
cmp word [r11], 0x5a4d
je 0x402fb1
mov rax, r9
add rsp, 0x28
ret
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402fa9
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x402fa9
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402fa9
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov rcx, r9
jb 0x403004
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x403020
add rdx, 0x28
cmp rdx, r10
jne 0x402ff0
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jne 0x403038
jmp 0x40300d
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x403046
mov edx, dword [rax + 0xc]
test edx, edx
je 0x40300d
test r8d, r8d
jg 0x403030
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x140014430
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 fcn.140019e00
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140019e00
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400144a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14001f094]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140014630
mov rax, qword [0x14001f098]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x1400144ec
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140014575
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400144d0
mov rcx, rdi
call fcn.140015000
test rax, rax
mov r12, rax
je 0x140014682
mov rax, qword [0x14001f098]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140015140
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14001f098]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140014665
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001456e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400145e0
add dword [0x14001f094], 1
cmp ebx, 8
jae 0x1400145a1
test bl, 4
jne 0x140014640
test ebx, ebx
je 0x140014596
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140014654
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140014596
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1400145ba
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x14001f098]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001456e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140014430
xor esi, esi
jmp 0x1400144f7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140014596
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140014596
mov rax, qword [0x14001f098]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140014430
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140014430
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140014c50
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14001f100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001f0e0]
test rbx, rbx
je 0x140014ca4
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 0x140014c9b
test rsi, rsi
je 0x140014c9b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140014c80
lea rcx, [0x14001f100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140015000
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14001c8e0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001506f
mov rcx, r9
call fcn.140014ed0
test eax, eax
je 0x14001506f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001506d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140015064
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001506f
add rdx, 0x28
cmp rdx, r9
jne 0x140015050
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret

Function at 0x14001a530
Capabilities:
Delete file

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov ebx, ecx
mov rsi, rdx
call fcn.140014230
cmp ebx, 2
jg 0x14001a580
mov ecx, 2
mov r12d, 2
call qword [fcn.140019e00]
lea rdx, str.gpgme_w32spawn:_internal_error_n
mov rcx, rax
call fcn.140013530
cmp ebx, 2
je 0x14001a5d5
mov eax, r12d
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop r12
ret
mov rcx, qword [rsi + 8]
lea r12, [rsp + 0x30]
lea rdx, [rsi + 0x10]
mov r8, r12
lea r9, [rsp + 0x2c]
call fcn.140013ff0
test rax, rax
mov rcx, rax
je 0x14001a614
mov r8d, dword [rsp + 0x2c]
mov rdx, r12
call fcn.140013590
test eax, eax
mov r12d, eax
js 0x14001a61c
je 0x14001a5d5
mov rbx, qword [fcn.140019e00]
mov ecx, 2
call rbx
lea rdx, str.gpgme_w32spawn:_internal_error_n
mov rcx, rax
call fcn.140013530
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14001a570
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rsi, qword [rsi + 8]
mov ecx, 2
mov ebx, eax
call qword [fcn.140019e00]
lea rdx, str.gpgme_w32spawn:_failed_to_delete__s:_ec_ld_n
mov r9d, ebx
mov rcx, rax
mov r8, rsi
call fcn.140013530
jmp 0x14001a570
mov r12d, 2
jmp 0x14001a5b8
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call sub.msvcrt.dll_strerror
mov rdi, qword [rsi]
mov ecx, 2
mov r12, rax
mov rbx, qword [fcn.140019e00]
call rbx
lea rdx, str.gpgme_w32spawn:_executing___s_failed:__s_n
mov r9, r12
mov r12d, 2
mov rcx, rax
mov r8, rdi
call fcn.140013530
jmp 0x14001a5bf
Function at 0x1431a0b7c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1431a0b86
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 0x1431a0baf
pop rbp
sub rbp, 0x33
sub rbp, 0x31a0b7c
sub rsp, 0x20
jmp 0x1431a0bce
mov rax, 0x31a0b7c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x52ae66ea
xor byte [rax], dl
inc rax
dec rcx
jne 0x1431a0bed
jmp 0x1431a0c04
movabs byte [0xeaeaead663610363], al
movabs byte [0xeba2eaeaebe22b6b], al
add esp, dword [rdx - 0x1512d5d3]
invalid
Function at 0x14028c050
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14028c05d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14028c06d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14028c055
lea eax, [rcx + 1]
jmp 0x14028c07b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14028c08e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14028c074
sub eax, 3
jb 0x14028c0ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14028c0fd
sar eax, 1
movsxd rbp, eax
jb 0x14028c0e4
jmp 0x14028c0bc
add ebx, ebx
jne 0x14028c0ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14028c0e4
inc ecx
add ebx, ebx
jne 0x14028c0ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14028c0e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14028c0dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14028c0cc
add ecx, 2
jmp 0x14028c0e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14028c012
jmp 0x14028c05d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xdf600
mov dl, 0x2d
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14028c14d
cmp rsi, rcx
jae 0x14028c155
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14028c134
cmp al, 0x8f
ja 0x14028c134
cmp byte [rsi - 2], 0xf
je 0x14028c13a
sub al, 0xe8
cmp al, 1
ja 0x14028c11e
cmp rsi, rcx
jae 0x14028c155
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14028c124
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14028c155
lodsb al, byte [rsi]
jmp 0x14028c134
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x287000]
mov eax, dword [rdi]
or eax, eax
je 0x14028c1be
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x29fc58]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14028c162
jns 0x14028c197
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14028c1a1
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14028c1b8
mov qword [rbx], rax
add rbx, 8
jmp 0x14028c182
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14028c202
cmp al, 0xef
ja 0x14028c1ea
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14028c1ca
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14028c1d9
mov eax, dword [rdi]
add rdi, 4
jmp 0x14028c1d9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x257]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14028c256
sub rsp, 0xffffffffffffff80
jmp 0x1400c8a9c
Function at 0x173a4f0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x173a4fa
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 0x173a523
pop rbp
sub rbp, 0x33
sub rbp, 0x133a4f0
sub rsp, 0x20
jmp 0x173a542
mov rax, 0x133a4f0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x5850d412
xor byte [rax], dl
inc rax
dec rcx
jne 0x173a561
jmp 0x173a578
pop rdx
wait
sti
cdq
wait
adc dl, byte cs:[rdx]
adc bl, byte [rdx - 0x6d]
rcr dword [rdx], cl
adc edx, dword [rdx]
adc bl, byte [rdx + 0x13]
sti
pop rdx
invalid
Function at 0x14000133c
Capabilities:
Parse pe header

Disassembly:
mov r9d, 0x5a4d
mov r8d, 0x400
mov r10d, 0x4550
test rcx, rcx
je 0x140001370
cmp word [rcx], r9w
jne 0x140001370
cmp dword [rcx + 0x3c], r8d
jg 0x140001370
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], r10d
jne 0x140001370
movzx edx, word [rax + rcx + 4]
jmp 0x140001372
xor edx, edx
test rcx, rcx
je 0x140001398
cmp word [rcx], r9w
jne 0x140001398
cmp dword [rcx + 0x3c], r8d
jg 0x140001398
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], r10d
jne 0x140001398
mov ecx, 0x8664
mov eax, dword [rax + 0x28]
ret
xor eax, eax
ret
Function at 0x1400018e0
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400336c0]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r15, rcx
mov rbx, rdx
lea rcx, [rbp + 2]
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov r14, r9
mov word [rbp], r12w
call 0x1400110a0
lea rcx, [rbp]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140001935
sub rax, 2
cmp word [rbp + rax*2], 0x5c
je 0x140001958
cmp word [rbp + rax*2], 0x2f
je 0x140001958
dec rax
jmp 0x140001943
lea rcx, [rbp + 2]
lea rcx, [rcx + rax*2]
test rcx, rcx
je 0x140001969
mov word [rcx], r12w
lea rcx, [rbp]
mov edx, 0x104
call 0x14000dc4c
lea rdi, [rbp]
lea rcx, [0x140029998]
test rax, rax
mov qword [rsp + 0x60], r12
cmove rdi, r12
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call qword [0x1400241d8]
lea rdx, [0x1400299a8]
mov rcx, rax
call qword [0x1400241c0]
mov rsi, rax
mov qword [0x140049078], rax
test rax, rax
je 0x140001af3
xor edx, edx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x60]
call 0x1400110a0
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x80]
mov r8, r15
xor edx, edx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov dword [rbp - 0x70], 0x68
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], 0x800000c
mov dword [rsp + 0x28], r12d
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x20], r12
call rsi
test eax, eax
je 0x140001af3
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 1
lea rax, [rbp - 0x78]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x28], r12
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x20], r12
call qword [0x1400490b0]
test eax, eax
je 0x140001a8c
cmp eax, 0x40000003
jne 0x140001af3
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140001af3
test rbx, rbx
je 0x140001aca
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140001aca
cmp dword [rbx + 0x3c], 0x400
jg 0x140001aca
movsxd rax, dword [rbx + 0x3c]
add rax, rbx
cmp dword [rax], 0x4550
jne 0x140001aca
mov ecx, 0x20b
cmp word [rax + 0x18], cx
mov al, 1
je 0x140001acd
mov al, r12b
test al, al
lea r8, [rsp + 0x60]
mov rcx, rbx
sete r9b
call fcn.140001450
test al, al
je 0x140001af3
mov rcx, qword [rsp + 0x68]
call qword [0x1400241f8]
mov al, 1
jmp 0x140001af5
xor al, al
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call 0x14000d590
add rsp, 0x320
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1406154d0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1406154e0]
mov dword [rax], 1
mov rax, qword [0x1406154f0]
mov dword [rax], 1
mov rax, qword [0x140615460]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1406154c0]
mov dword [0x14061800c], 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 [0x1406155a0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140615580]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140615440]
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 0x140001f9c
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x80]
mov edx, 0
mov ecx, 2
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0x1d8], rax
lea rdx, [rbp - 0x60]
mov eax, 0
mov ecx, 0x47
mov rdi, rdx
rep stosq qword [rdi], rax
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
call sym.Process32FirstW
lea rax, [rbp - 0x60]
add rax, 0x2c
mov rdx, rax
lea rax, str.taskmgr.exe
mov rcx, rax
mov rax, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
call rax
test eax, eax
jne 0x14000201a
mov eax, 1
jmp 0x140002036
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x1d8]
mov rcx, rax
call sym.Process32NextW
test eax, eax
jne 0x140001ff1
mov eax, 0
add rsp, 0x268
pop rdi
pop rbp
ret

Function at 0x1400023e0
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 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 dbg.vfprintf
call sym.abort
nop
nop dword [rax]