joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006a290
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x1400ad070]
test esi, esi
je 0x14006a359
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14006a34e
je 0x14006a2eb
xor ebx, ebx
test rdi, rdi
je 0x14006a2ef
test byte [rdi], 1
mov qword [rdi], 0
mov eax, dword [rdi + 0x10]
cmove eax, ebx
mov r14d, 0
cmovne r14, qword [rdi + 8]
mov ebx, eax
jmp 0x14006a2f2
xor eax, eax
jmp 0x14006a34e
xor r14d, r14d
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov ecx, 0x18
mov edx, 8
call fcn.140004d10
test rax, rax
je 0x14006a37a
mov qword [rax], r14
mov byte [rax + 8], bl
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14006a34b
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.140004d20
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x1400ad058]
call fcn.1400640b0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14006a2c3
jmp 0x14006a34e
mov ecx, 8
mov edx, 0x18
call fcn.140087e80
int3

Function at 0x14006a390
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x1400ad090]
test esi, esi
je 0x14006a3c6
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14006a3e1
add rax, 4
jmp 0x14006a45a
lea rcx, [0x1400ad078]
call fcn.1400640b0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14006a3bd
je 0x14006a458
xor r14d, r14d
test rdi, rdi
je 0x14006a3f9
cmp byte [rdi], 0
mov byte [rdi], 0
movzx eax, byte [rdi + 1]
cmovne r14d, eax
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov ecx, 8
mov edx, 4
call fcn.140004d10
test rax, rax
je 0x14006a467
mov rbx, rax
mov dword [rax], esi
add rax, 4
mov r15, rax
mov byte [rbx + 4], r14b
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14006a453
mov edx, 8
mov r8d, 4
mov rcx, rdi
call fcn.140004d20
mov rax, r15
jmp 0x14006a45a
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov ecx, 4
mov edx, 8
call fcn.140087e80
int3
Function at 0x14006a480
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rdi, rcx
mov esi, dword [0x1400ad0d0]
test esi, esi
je 0x14006a552
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14006a549
je 0x14006a4cd
test rdi, rdi
je 0x14006a4d1
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x14006a4d3
mov rbx, qword [rdi + 8]
jmp 0x14006a4d3
xor eax, eax
jmp 0x14006a549
xor ebx, ebx
mov qword [rbp - 8], rbx
mov dword [rbp], esi
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140004d10
test rax, rax
je 0x14006a573
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14006a546
mov rax, qword [rdi]
test rax, rax
je 0x14006a533
lock dec qword [rax]
jne 0x14006a533
mov rcx, rdi
call fcn.1400252c0
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140004d20
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400ad0b8]
call fcn.1400640b0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14006a4b1
jmp 0x14006a549
mov ecx, 8
mov edx, 0x10
call fcn.140087e80
ud2

Function at 0x14006a5b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x1400ad110]
test esi, esi
je 0x14006a661
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14006a658
je 0x14006a5f9
test rdi, rdi
je 0x14006a5fd
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x14006a5ff
mov rbx, qword [rdi + 8]
jmp 0x14006a5ff
xor eax, eax
jmp 0x14006a658
xor ebx, ebx
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140004d10
test rax, rax
je 0x14006a682
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14006a655
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140004d20
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400ad0f8]
call fcn.1400640b0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14006a5dd
jmp 0x14006a658
mov ecx, 8
mov edx, 0x10
call fcn.140087e80
int3
Function at 0x14006a6a0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rdi, rcx
mov esi, dword [0x1400ad130]
test esi, esi
je 0x14006a772
dec esi
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
ja 0x14006a769
je 0x14006a6ed
test rdi, rdi
je 0x14006a6f1
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x14006a6f3
mov rbx, qword [rdi + 8]
jmp 0x14006a6f3
xor eax, eax
jmp 0x14006a769
xor ebx, ebx
mov qword [rbp - 8], rbx
mov dword [rbp], esi
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call fcn.140004d10
test rax, rax
je 0x14006a793
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.KERNEL32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.KERNEL32.dll_TlsSetValue
test rdi, rdi
je 0x14006a766
mov rax, qword [rdi]
test rax, rax
je 0x14006a753
lock dec qword [rax]
jne 0x14006a753
mov rcx, rdi
call fcn.140025320
mov edx, 0x10
mov r8d, 8
mov rcx, rdi
call fcn.140004d20
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400ad118]
call fcn.1400640b0
mov esi, eax
mov ecx, esi
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jbe 0x14006a6d1
jmp 0x14006a769
mov ecx, 8
mov edx, 0x10
call fcn.140087e80
ud2
Function at 0x1400abec0
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 fcn.1400acc80
mov r8d, 0x1b
mov edx, 1
lea rcx, [0x140ab83a0]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400acc80
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 0x1400abf30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140acc204]
mov rbx, rcx
test esi, esi
jle 0x1400ac060
mov rax, qword [0x140acc208]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400abf7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400ac005
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400abf60
mov rcx, rbx
call fcn.1400ac9a0
mov rdi, rax
test rax, rax
je 0x1400ac082
mov rax, qword [0x140acc208]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400acae0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140acc208]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400ac067
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400abffe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400ac010
add dword [0x140acc204], 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 [0x140acc208]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400abffe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140ab8418]
mov edx, eax
call fcn.1400abec0
nop dword [rax]
xor esi, esi
jmp 0x1400abf88
mov rax, qword [0x140acc208]
mov edx, dword [rdi + 8]
lea rcx, [0x140ab83e0]
mov r8, qword [rax + rbx + 0x18]
call fcn.1400abec0
mov rdx, rbx
lea rcx, [0x140ab83c0]
call fcn.1400abec0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400ac610
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140acc260]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140acc240]
test rbx, rbx
je 0x1400ac66c
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 0x1400ac663
test eax, eax
jne 0x1400ac663
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400ac648
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 0x1400ac9a0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x1400aca20
Capabilities:
Parse pe header

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

Function at 0x1400acae0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140ab8560]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400acaff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400acb08
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000fed0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000fee0]
mov dword [rax], 1
mov rax, qword [0x14000fef0]
mov dword [rax], 1
mov rax, qword [0x14000fe80]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000fec0]
mov dword [0x14001300c], 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 [0x14000ffa0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000ff80]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000fe30]
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 0x1400035f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140013194]
mov rbx, rcx
test esi, esi
jle 0x140003720
mov rax, qword [0x140013198]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000363b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400036c5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003620
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140003742
mov rax, qword [0x140013198]
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 [0x140013198]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003727
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400036be
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400036d0
add dword [0x140013194], 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 [0x140013198]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400036be
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 0x140003648
mov rax, qword [0x140013198]
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 0x140003cb0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140013200]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400131e0]
test rbx, rbx
je 0x140003d0c
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 0x140003d03
test rsi, rsi
je 0x140003d03
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003ce8
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 0x140003f20
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140003f38
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140003f40
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140003f50
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 0x140003f9d
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 0x140003f94
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140003f9f
add rax, 0x28
cmp rax, r9
jne 0x140003f80
xor eax, eax
ret

Function at 0x140003fa0
Capabilities:
Parse pe header

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

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

Function at 0x1400040c0
Capabilities:
Parse pe header

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

Function at 0x140004100
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000fe80]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140004120
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140004128
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140004120
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140004170
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140004167
test rcx, rcx
je 0x140004120
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140004158
xor eax, eax
ret
Function at 0x140004180
Capabilities:
Parse pe header

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

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

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

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

Disassembly:
mov r11, qword [0x14000fe80]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140004272
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140004280
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140004272
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140004272
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140004272
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 0x1400042d5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400042e8
add rdx, 0x28
cmp rdx, r10
jne 0x1400042c0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400042f7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140004307
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400042de
test ecx, ecx
jg 0x1400042f0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001ad0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x1b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor ebp, ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov ecx, 0x20
call fcn.140003330
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x70], 0x130
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140001c4a
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140001c40
movabs r14, 0x7ffffffffffffff
nop
mov rdi, qword [rbx]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], ebp
mov rcx, rdi
mov edx, dword [rsp + 0x78]
cmp byte [rax + 0x19], 0
jne 0x140001bc8
nop dword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rax + 0x1c], edx
jae 0x140001bb4
mov dword [rsp + 0x38], ebp
mov rax, qword [rax + 0x10]
jmp 0x140001bc2
mov dword [rsp + 0x38], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140001ba0
cmp byte [rcx + 0x19], 0
jne 0x140001bd3
cmp edx, dword [rcx + 0x1c]
jae 0x140001c2a
cmp qword [rbx + 8], r14
je 0x140001c75
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov ecx, 0x20
call fcn.140003330
mov r8, rax
mov eax, dword [rsp + 0x78]
mov dword [r8 + 0x1c], eax
mov qword [r8], rdi
mov qword [r8 + 8], rdi
mov qword [r8 + 0x10], rdi
mov word [r8 + 0x18], 0
mov qword [rsp + 0x58], rbp
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140002c20
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001b80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140003310
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400011c0
nop
int3