joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400156f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14007d1f0]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x140015728
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14001577f
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0xc0000011
jne 0x14001578c
xor edx, edx
xor eax, eax
jmp 0x1400157b6
cmp eax, 0x103
je 0x1400157c0
test eax, eax
js 0x14001579f
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400157b6
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x14007d250]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.14000cd20
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400060a0
mov ecx, 7
int 0x29
ud2

Function at 0x140015810
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x14007d1f0]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x140015848
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400158a6
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1400158d3
test eax, eax
js 0x1400158b2
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1400158c9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x14007d250]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.14000cd20
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1400060a0
mov ecx, 7
int 0x29
ud2
Function at 0x14001d7f0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
in al, dx
push rax
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140088141]
mov ecx, 0x10
mov edx, 8
call fcn.140003b30
test rax, rax
je 0x14001d8db
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
add byte [rbp + rcx*4 + 5], cl
invalid
add dword [rax], eax
add byte [rcx], dh
push qword [rcx]
leave
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
sbb al, byte [rcx]
add byte [rax - 0x77], cl
ret 0x8548
invalid
jne 0x14001d8cd
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
call 0x1205f61bc
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rax
invalid
invalid
mov rax, qword [rax]
test rax, rax
je 0x14001d88a
mov rcx, qword [rbp - 0x18]
call rax
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14001d8a4
mov r8, qword [rax + 0x10]
call fcn.140003b40
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.140003b40
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.14002e070
ud2
Function at 0x1423d50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1423d5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1423d6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1423d55
lea eax, [rcx + 1]
jmp 0x1423d7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1423d8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1423d74
sub eax, 3
jb 0x1423dae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1423dfd
sar eax, 1
movsxd rbp, eax
jb 0x1423de4
jmp 0x1423dbc
add ebx, ebx
jne 0x1423dba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1423de4
inc ecx
add ebx, ebx
jne 0x1423dca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1423de4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1423ddd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1423dcc
add ecx, 2
jmp 0x1423de9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01423d12
jmp 0x1423d5d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x100f000]
mov eax, dword [rdi]
or eax, eax
je 0x1423e59
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1023000]
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 0x1423e09
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 0x1423e53
mov qword [rbx], rax
add rbx, 8
jmp 0x1423e29
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 0x1423e9d
cmp al, 0xef
ja 0x1423e85
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1423e65
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1423e74
mov eax, dword [rdi]
add rdi, 4
jmp 0x1423e74
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 + 0x1af]
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 0x1423ef1
sub rsp, 0xffffffffffffff80
jmp 0x45bb20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140035400]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140035410]
mov dword [rax], 1
mov rax, qword [0x140035420]
mov dword [rax], 1
mov rax, qword [0x140035380]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400353f0]
mov dword [0x14003800c], 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 [0x1400354c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400354a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140035360]
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 0x1400014b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor esi, esi
movsxd rax, dword [rcx + 0x3c]
mov edi, dword [rcx + rax + 0x88]
add rdi, rcx
mov rbx, rcx
mov rbp, rdx
mov r12d, dword [rdi + 0x20]
mov r13d, dword [rdi + 0x18]
add r12, rcx
cmp esi, r13d
jae 0x14000151d
mov edx, dword [r12 + rsi*4]
mov rcx, rbp
add rdx, rbx
call sym.strcmp
mov edx, eax
lea rax, [rsi + 1]
test edx, edx
jne 0x140001518
mov eax, dword [rdi + 0x24]
add rsi, rsi
add rsi, rbx
movzx edx, word [rsi + rax]
mov eax, dword [rdi + 0x1c]
lea rdx, [rbx + rdx*4]
mov eax, dword [rdx + rax]
add rax, rbx
jmp 0x14000151f
mov rsi, rax
jmp 0x1400014de
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x140001b30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400380c4]
mov rbx, rcx
test esi, esi
jle 0x140001c60
mov rax, qword [0x1400380c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001b7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001c05
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001b60
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001c82
mov rax, qword [0x1400380c8]
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 [0x1400380c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001c67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001bfe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001c10
add dword [0x1400380c4], 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 [0x1400380c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001bfe
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 0x140001b88
mov rax, qword [0x1400380c8]
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 0x140002210
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140038120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140038100]
test rbx, rbx
je 0x14000226c
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 rsi, rsi
je 0x140002263
test eax, eax
jne 0x140002263
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002248
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 0x140002480
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002498
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400024a0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400024b0
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 0x1400024fd
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 0x1400024f4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400024ff
add rax, 0x28
cmp rax, r9
jne 0x1400024e0
xor eax, eax
ret

Function at 0x140002500
Capabilities:
Parse pe header

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

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

Function at 0x140002620
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140035380]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000263f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002648
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000263f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002660
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140035380]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002680
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002688
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002680
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400026d0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400026c7
test rcx, rcx
je 0x140002680
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400026b8
xor eax, eax
ret
Function at 0x1400026e0
Capabilities:
Parse pe header

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

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

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

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

Disassembly:
mov r11, qword [0x140035380]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400027d2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400027e0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400027d2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400027d2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400027d2
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 0x140002835
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002848
add rdx, 0x28
cmp r10, rdx
jne 0x140002820
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002857
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002867
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000283e
test ecx, ecx
jg 0x140002850
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002ac0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0xa0
lea rbx, [0x140034458]
call dbg.__main
xor r9d, r9d
movabs rdx, 0x7ace8f9c9f1ed481
movabs rax, 0x6464b7b6d58a6bb6
mov dword [rsp + 0x3c], r9d
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov r9d, 0x10
mov edx, 0xc
mov rcx, rbx
lea r8, str.BHQDwislGKoBZny
call sym.gxfWjnfsFPPoQVi_char__unsigned_long_long__char__unsigned_long_long_
movss xmm0, dword [0x140035004]
call sym.SleepShort_float_
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rbx
lea rbx, section..data
mov rcx, rax
mov rsi, rbx
call sym.myGetProcAddress_HINSTANCE____char_const_
movss xmm0, dword [0x140035008]
mov qword [0x140038030], rax
call sym.SleepShort_float_
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x31450
call qword [0x140038030]
movss xmm0, dword [0x14003500c]
mov qword [rsp + 0x40], rax
call sym.SleepShort_float_
mov r9d, 0x10
lea r8, [rsp + 0x60]
mov rcx, rbx
mov edx, 0x31450
call sym.aAkdibfBfgRFGXpHxQKwA_char__unsigned_int__char__unsigned_long_long_
mov rdi, qword [rsp + 0x40]
mov ecx, 0xc514
rep movsd dword [rdi], dword [rsi]
lea rsi, [0x140034450]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov r9d, 0x20
mov rcx, rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
call sym.NtProtectVirtualMemory
movss xmm0, dword [0x140035010]
call sym.SleepShort_float_
mov rcx, rsi
mov r9d, 0x10
lea r8, str.BHQDwislGKoBZny
mov edx, 6
call sym.gxfWjnfsFPPoQVi_char__unsigned_long_long__char__unsigned_long_long_
mov rcx, rsi
call sym.bOXwqlfdxSjIGMYylVK_char_const_
test eax, eax
je 0x140002c89
xor r8d, r8d
xor edx, edx
xor ecx, ecx
cdqe
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x50]
xor eax, eax
mov qword [rsp + 0x78], rdx
mov edx, 0x1fffff
mov dword [rsp + 0x88], ecx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x98], r8
lea r8, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x70], 0x30
call sym.NtOpenProcess
test eax, eax
js 0x140002c89
mov rcx, qword [rsp + 0x48]
mov r8d, 0x31450
mov rdx, rbx
call sym.cUQjbwRleoc_void__unsigned_char__unsigned_int_
mov rcx, qword [rsp + 0x48]
call sym.NtClose
xor eax, eax
add rsp, 0xa0
pop rbx
pop rsi
pop rdi
ret
Function at 0x140011280
Capabilities:
Terminate process

Disassembly:
jmp 0x1400166e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011320
Capabilities:
Parse pe header

Disassembly:
jmp 0x140017a20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140017a40
xor al, al
jmp 0x140017ac1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140017a53
xor al, al
jmp 0x140017ac1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140017a7d
xor al, al
jmp 0x140017ac1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017a91
xor al, al
jmp 0x140017ac1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017aa3
xor al, al
jmp 0x140017ac1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140017abf
xor al, al
jmp 0x140017ac1
mov al, 1
add rsp, 0x38
ret
Function at 0x140015920
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400114a1
movzx eax, al
test eax, eax
jne 0x140015940
mov ecx, 7
call fcn.1400113f2
nop
mov byte [rsp + 0x20], 0
call fcn.140011406
mov byte [rsp + 0x21], al
cmp dword [0x1400228b8], 1
jne 0x140015964
mov ecx, 7
call fcn.1400113f2
nop
jmp 0x1400159bc
cmp dword [0x1400228b8], 0
jne 0x1400159b7
mov dword [0x1400228b8], 1
lea rdx, [0x14001d660]
lea rcx, [0x14001d330]
call fcn.140011217
test eax, eax
je 0x140015998
mov eax, 0xff
jmp 0x140015ac1
lea rdx, [0x14001d220]
lea rcx, [section..rdata]
call fcn.1400113fc
mov dword [0x1400228b8], 2
jmp 0x1400159bc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400113de
call fcn.14001134d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140015a19
mov rcx, qword [rsp + 0x30]
call fcn.1400111b3
movzx eax, al
test eax, eax
je 0x140015a19
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140029020]
nop
call fcn.140011393
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140015a4d
mov rcx, qword [rsp + 0x38]
call fcn.1400111b3
movzx eax, al
test eax, eax
je 0x140015a4d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011456
nop
call fcn.140015b70
mov dword [rsp + 0x28], eax
call fcn.140011320
movzx eax, al
test eax, eax
jne 0x140015a6c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140015a7b
call fcn.140011465
nop
xor edx, edx
mov cl, 1
call fcn.14001119f
mov eax, dword [rsp + 0x28]
jmp 0x140015ac1
add rsp, 0x68
ret