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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140026f30]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140026f40]
mov dword [rax], 1
mov rax, qword [0x140026f50]
mov dword [rax], 1
mov rax, qword [0x140026ed0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140026f20]
mov dword [0x14002c00c], 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 [0x140027000]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140026fe0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140026e80]
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 0x14000312b
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
lea rax, str.echoBinSafe
mov qword [rbp - 0x48], rax
lea rax, str._usr_lib_nim_lib_system_io.nim
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov word [rbp - 0x30], 0
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.nimFrame_3
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x40], 8
lea rax, [0x140023418]
mov qword [rbp - 0x38], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x40], 9
lea rax, [0x140023418]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x28]
jge 0x14000327a
mov qword [rbp - 0x40], 0x333
lea rax, str._usr_lib_nim_lib_system_io.nim
mov qword [rbp - 0x38], rax
cmp qword [rbp - 8], 0
js 0x1400031dc
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x28]
jl 0x1400031f0
mov rax, qword [rbp + 0x28]
lea rdx, [rax - 1]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.raiseIndexError2
mov rax, qword [rbp - 8]
lea rdx, [rax*8]
mov rax, qword [rbp + 0x20]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rbx, qword [rax]
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov r8d, 0
mov rdx, rbx
mov rcx, rax
call sym.writeWindows__systemZio_205
mov qword [rbp - 0x40], 0xb
lea rax, [0x140023418]
mov qword [rbp - 0x38], rax
mov edx, 0
mov rax, qword [rbp - 8]
add rax, 1
jno 0x140003254
mov edx, 1
mov rcx, rax
lea rax, [rbp - 0x58]
mov qword [rax], rcx
mov rax, rdx
and eax, 1
test al, al
je 0x14000326d
call sym.raiseOverflow
mov rax, qword [rbp - 0x58]
mov qword [rbp - 8], rax
jmp 0x1400031aa
nop
mov qword [rbp - 0x40], 0x339
lea rax, str._usr_lib_nim_lib_system_io.nim
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x18], 0
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov r9, rax
mov r8d, 1
mov edx, 1
lea rax, [0x14002343e]
mov rcx, rax
call sym.fwrite
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x40], 0x33a
lea rax, str._usr_lib_nim_lib_system_io.nim
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x1c], 0
mov ecx, 1
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov dword [rbp - 0x1c], eax
call sym.popFrame_3
nop
add rsp, 0x88
pop rbx
pop rbp
ret

Function at 0x14000507f
Capabilities:
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 - 8], 0
cmp qword [rbp + 0x18], 0
je 0x1400050af
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.nimCStrLen
mov rcx, rax
jmp 0x1400050b4
mov ecx, 0
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov r9, rdx
mov r8, rcx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret
Function at 0x14001b530
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 dbg.__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 dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x14001b5a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140040174]
mov rbx, rcx
test esi, esi
jle 0x14001b6d0
mov rax, qword [0x140040178]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001b5eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14001b675
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14001b5d0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x14001b6f2
mov rax, qword [0x140040178]
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 [0x140040178]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001b6d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001b66e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14001b680
add dword [0x140040174], 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 [0x140040178]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001b66e
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 0x14001b5f8
mov rax, qword [0x140040178]
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 0x14001bc60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400401e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400401c0]
test rbx, rbx
je 0x14001bcbc
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 0x14001bcb3
test rsi, rsi
je 0x14001bcb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14001bc98
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 0x14001bed0
Capabilities:
Parse pe header

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

Function at 0x14001bf00
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 0x14001bf4d
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 0x14001bf44
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14001bf4f
add rax, 0x28
cmp rax, r9
jne 0x14001bf30
xor eax, eax
ret

Function at 0x14001bf50
Capabilities:
Parse pe header

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

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

Function at 0x14001c070
Capabilities:
Parse pe header

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

Disassembly:
mov r8, qword [0x140026ed0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14001c0d0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14001c0d8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14001c0d0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x14001c120
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14001c117
test rcx, rcx
je 0x14001c0d0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14001c108
xor eax, eax
ret

Function at 0x14001c130
Capabilities:
Parse pe header

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

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

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

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

Disassembly:
mov r11, qword [0x140026ed0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14001c222
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14001c230
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14001c222
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14001c222
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x14001c222
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 0x14001c285
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14001c298
add rdx, 0x28
cmp rdx, r10
jne 0x14001c270
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14001c2a7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14001c2b7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14001c28e
test ecx, ecx
jg 0x14001c2a0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001000
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0xe0
mov rdi, rsp
mov ecx, 0x38
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140011090]
xor rax, rsp
mov qword [rsp + 0xd8], rax
xor eax, eax
mov word [rsp + 0x30], ax
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 0x8e
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, 0x48
lea rdx, [rsp + 0x30]
lea rcx, str.logYSLoader
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jbe 0x14000109f
lea rdx, [rsp + 0x30]
lea rcx, [0x14000b3e8]
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
je 0x140001092
lea rdx, [rsp + 0x30]
lea rcx, [0x14000b3f0]
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jne 0x14000109f
mov dword [rsp + 0xd0], 1
jmp 0x1400010aa
mov dword [rsp + 0xd0], 0
movzx eax, byte [rsp + 0xd0]
mov edi, eax
mov rcx, rsp
lea rdx, [0x14000ccb0]
call fcn.140008050
mov eax, edi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140008030
add rsp, 0xe0
pop rdi
ret
Function at 0x140002400
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rdi, rsp
mov ecx, 0x24
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x88], 0xfffffffffffffffe
cmp dword [rsp + 0xb8], 2
je 0x140002453
mov eax, 0x57
jmp 0x140002583
cmp qword [rsp + 0xd0], 0
jne 0x140002468
mov eax, 0x57
jmp 0x140002583
mov r9d, 1
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.140004130
nop
cmp qword [rsp + 0xc0], 0
jne 0x1400024a1
lea rax, [rsp + 0x64]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xc0]
xor r8d, r8d
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
je 0x1400024ff
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x78], eax
lea rcx, [rsp + 0x38]
call fcn.140004300
mov eax, dword [rsp + 0x78]
jmp 0x140002583
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 1
je 0x140002524
mov dword [rsp + 0x7c], 0x65e
lea rcx, [rsp + 0x38]
call fcn.140004300
mov eax, dword [rsp + 0x7c]
jmp 0x140002583
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0xc8]
movzx eax, word [rcx + rax*2 - 2]
test eax, eax
je 0x140002567
mov dword [rsp + 0x80], 0xea
lea rcx, [rsp + 0x38]
call fcn.140004300
mov eax, dword [rsp + 0x80]
jmp 0x140002583
mov dword [rsp + 0x84], 0
lea rcx, [rsp + 0x38]
call fcn.140004300
mov eax, dword [rsp + 0x84]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14000d240]
call fcn.140008050
mov rax, rdi
add rsp, 0x90
pop rdi
ret
Function at 0x1400034e0
Capabilities:
Enumerate processes

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
mov rdi, rsp
mov ecx, 0x74
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e0]
mov qword [rsp + 0x1a8], 0xfffffffffffffffe
mov rax, qword [0x140011090]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x30], 0x130
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x12c
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x1e0]
call sub.KERNEL32.dll_Process32First
mov dword [rsp + 0x164], eax
cmp dword [rsp + 0x164], 0
je 0x140003593
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x1e8], eax
jne 0x140003578
mov eax, dword [rsp + 0x50]
jmp 0x140003608
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x1e0]
call sub.KERNEL32.dll_Process32Next
mov dword [rsp + 0x164], eax
jmp 0x140003558
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Win32_error__u_attempting_to_find_parent_process
lea rcx, [rsp + 0x198]
call fcn.1400048c0
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x1b8]
call fcn.140004cf0
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.140003ed0
lea rdx, [0x14000fe68]
lea rcx, [rsp + 0x170]
call sub.MSVCR100.dll__CxxThrowException
nop
lea rcx, [rsp + 0x198]
call fcn.140004a50
nop
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14000d870]
call fcn.140008050
mov rax, rdi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140008030
add rsp, 0x1d0
pop rdi
ret

Function at 0x140003640
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rdi, rsp
mov ecx, 0xa4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a0]
mov rax, qword [0x140011090]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov dword [rsp + 0x30], 0x238
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call sub.KERNEL32.dll_Process32FirstW
mov dword [rsp + 0x274], eax
cmp dword [rsp + 0x274], 0
je 0x1400036f7
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x2a8], eax
jne 0x1400036dc
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x2b0]
call fcn.140004760
jmp 0x14000370b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x2a0]
call sub.KERNEL32.dll_Process32NextW
mov dword [rsp + 0x274], eax
jmp 0x1400036b1
lea rdx, [0x14000b4ac]
mov rcx, qword [rsp + 0x2b0]
call fcn.140004760
mov rcx, rsp
lea rdx, [0x14000d900]
call fcn.140008050
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140008030
add rsp, 0x290
pop rdi
ret
Function at 0x14000864b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140011090]
jne 0x14000804a
rol rcx, 0x10
test cx, 0xffff
jne 0x140008046
repz ret
ror rcx, 0x10
jmp 0x1400085a4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140011250]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140011348]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140008629
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140011250]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000864b
mov rax, qword [rsp + 0x88]
mov qword [0x140011348], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400112e8], rax
mov rax, qword [0x140011348]
mov qword [0x1400111c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400112d0], rax
mov dword [0x1400111b0], 0xc0000409
mov dword [0x1400111b4], 1
mov rax, qword [0x140011090]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140011098]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140011248], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000dfe0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140011248], 0
jne 0x1400086d2
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x4140a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41422b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005844e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414105
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414114
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x414133
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x414143
cmp rbx, 0x1000
jae 0x41410b
jmp 0x4141ad
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x414155
xor edx, edx
jmp 0x4141a4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005844e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x414139
jmp 0x414128
call sym.runtime.getlasterror.abi0
xorps xmm15, xmm15
mov r14, qword [0x005844e8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call sym.runtime.printlock
lea rax, [0x004a2191]
mov ebx, 0x18
nop dword [rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x38]
call sym.runtime.printuint
lea rax, [0x004a2498]
mov ebx, 0x19
nop dword [rax + rax]
call sym.runtime.printstring
mov rax, qword [rsp + 0x30]
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea rax, [0x004a4053]
mov ebx, 0x21
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.sysUnusedOS