joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a350
Capabilities:
Find process by pid

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x98
mov rax, qword [0x140016030]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0xc0000001
cmp qword [rsp + 0x30], 0
jne 0x14000a3ba
mov eax, dword [rsp + 0xb0]
lea rdx, [rsp + 0x30]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jge 0x14000a3ba
xor al, al
jmp 0x14000a59f
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeAttachProcess]
nop
mov rcx, qword [rsp + 0xc0]
call fcn.140009a60
movzx eax, al
test eax, eax
je 0x14000a55b
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
lea rax, [rcx + rax - 1]
mov rcx, rax
call fcn.140009a60
movzx eax, al
test eax, eax
je 0x14000a55b
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
cmp dword [0x140020c3c], 0
jne 0x14000a44a
cmp dword [0x140020bfc], 0
je 0x14000a480
call fcn.1400024f0
cmp dword [0x140020c3c], 0
je 0x14000a45d
call fcn.14000fd50
cmp dword [0x140020bfc], 0
je 0x14000a480
call fcn.140002a90
btr rax, 0x10
mov rcx, rax
call fcn.140002b90
mov dword [rsp + 0x24], 1
cmp dword [0x140020c3c], 0
jne 0x14000a4df
cmp dword [0x140020bfc], 0
jne 0x14000a4a3
movabs rax, 0x8000000000000000
cmp qword [rsp + 0x40], rax
jb 0x14000a4df
mov r8d, dword [rsp + 0xc8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.14000ada0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xc8]
cmp dword [rsp + 0x38], eax
je 0x14000a4d5
mov dword [rsp + 0x20], 0xc0000001
jmp 0x14000a4dd
mov dword [rsp + 0x20], 0
jmp 0x14000a4fc
mov eax, dword [rsp + 0xc8]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0
cmp dword [0x140020c3c], 0
jne 0x14000a50c
cmp dword [rsp + 0x24], 0
je 0x14000a55b
mov qword [rsp + 0x50], 0
cmp dword [rsp + 0x24], 0
je 0x14000a52e
call fcn.140002a90
bts rax, 0x10
mov rcx, rax
call fcn.140002b90
cmp dword [0x140020c3c], 0
je 0x14000a546
call fcn.14000fe10
mov qword [rsp + 0x50], rax
call fcn.14000fdb0
call fcn.140002500
cmp qword [rsp + 0x50], 0
je 0x14000a55b
mov dword [rsp + 0x20], 0xc0000001
call qword [sym.imp.ntoskrnl.exe_KeDetachProcess]
jmp 0x14000a56b
cmp qword [rsp + 0xb8], 0
jne 0x14000a581
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp dword [rsp + 0x20], 0
jl 0x14000a592
mov dword [rsp + 0x28], 1
jmp 0x14000a59a
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400128c0
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x14000a7b0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x168
mov rax, qword [0x140016030]
xor rax, rsp
mov qword [rsp + 0x150], rax
cmp qword [0x1400160f8], 0
jne 0x14000a895
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
test eax, eax
je 0x14000a7f5
xor eax, eax
jmp 0x14000a89c
cmp dword [rsp + 0x34], 0xa
jb 0x14000a884
cmp dword [rsp + 0x3c], 0x3839
jb 0x14000a884
call fcn.140002ab0
and rax, 0xfffffffffffff000
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_MmGetVirtualForPhysical]
mov qword [rsp + 0x28], rax
movabs rax, 0xffffff8000000000
mov rcx, qword [rsp + 0x28]
and rcx, rax
mov rax, rcx
mov qword [0x1400160f8], rax
movabs rax, 0x7ffffffff8
mov rcx, qword [0x1400160f8]
add rcx, rax
mov rax, rcx
mov qword [0x140020c20], rax
movabs rax, 0x7b7ffffff8
mov rcx, qword [0x1400160f8]
add rcx, rax
mov rax, rcx
mov qword [0x140020c28], rax
jmp 0x14000a895
movabs rax, 0xfffff68000000000
mov qword [0x1400160f8], rax
mov rax, qword [0x1400160f8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400128c0
add rsp, 0x168
ret
Function at 0x140001000
Capabilities:
Parse pe header

Disassembly:
push rsi
sub rsp, 0x20
mov rax, qword [0x14008c028]
mov dword [rax], 1
mov rax, qword [0x14008c030]
mov dword [rax], 1
mov rax, qword [0x14008c038]
mov dword [rax], 1
mov rcx, qword [0x14008c008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x14000108b
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x14000108b
add rcx, rdx
movzx edx, word [rcx + 0x18]
cmp edx, 0x20b
je 0x140001073
cmp edx, 0x10b
jne 0x14000108b
cmp dword [rcx + 0x74], 0xf
jb 0x14000108b
add rcx, 0xe8
jmp 0x140001083
cmp dword [rcx + 0x84], 0xf
jb 0x14000108b
add rcx, 0xf8
xor eax, eax
cmp dword [rcx], 0
setne al
mov rcx, qword [0x14008c020]
cmp dword [rcx], 1
mov dword [0x1400b0434], eax
mov ecx, 2
sbb ecx, 0
call sym.__set_app_type
mov rax, qword [0x14008c088]
mov esi, dword [rax]
call dbg.__p__fmode
mov dword [rax], esi
mov rax, qword [0x14008c078]
mov esi, dword [rax]
call dbg.__p__commode
mov dword [rax], esi
call dbg._setargv
mov rax, qword [section..rdata]
cmp dword [rax], 1
jne 0x1400010e5
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400013a0
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x10
mov qword [rsp + 8], 0
mov rdx, qword gs:[0x60]
nop
mov rbx, qword gs:[0x60]
mov rbx, qword [rbx + 0x18]
nop
mov rbx, qword [rbx + 0x10]
mov rax, qword [rbx]
nop
mov rax, qword [rax]
nop
mov rdx, rax
nop
mov rdx, qword [rdx + 0x30]
nop
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
nop
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
nop
mov rax, qword [rax]
nop
mov rdx, rax
nop
mov rdx, qword [rdx + 0x30]
mov qword [rsp], rdx
mov rax, qword [rsp]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
add rsp, 0x10
pop rbx
ret
Function at 0x140001420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x14008c098]
mov qword [rsp + 0x91], rax
mov eax, dword [0x14008c0a0]
mov dword [rsp + 0x99], eax
mov ax, word [0x14008c0a4]
mov word [rsp + 0x9d], ax
mov al, byte [0x14008c0a6]
mov byte [rsp + 0x9f], al
call sym.ttuetmmdw__
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
add rax, 0x18
add rax, 0x70
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx]
add rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x64]
cmp rax, rcx
jae 0x140001628
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
cmp dword [rax + rcx*4], 0
jne 0x140001555
jmp 0x140001615
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x60]
cmp rax, rcx
jae 0x140001610
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + rcx*2]
cmp rax, qword [rsp + 0x40]
jne 0x1400015f8
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x2c]
add rax, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x91]
call sym.strcmp
cmp eax, 0
jne 0x1400015f3
mov eax, dword [rsp + 0x3c]
add rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
jmp 0x140001634
jmp 0x1400015f8
jmp 0x1400015fd
mov rax, qword [rsp + 0x30]
add rax, 1
mov qword [rsp + 0x30], rax
jmp 0x14000156f
jmp 0x140001615
mov rax, qword [rsp + 0x40]
add rax, 1
mov qword [rsp + 0x40], rax
jmp 0x14000152a
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xa0]
add rsp, 0xa8
ret
Function at 0x1400017e0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x48]
call sym.cqxtpgubzvcgdel_char_
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x14000183b
mov qword [rsp + 0x50], 0
jmp 0x1400018f4
mov rcx, qword [rsp + 0x48]
lea rdx, [0x14008c0a7]
call sym.fopen
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000186b
mov qword [rsp + 0x50], 0
jmp 0x1400018f4
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call sym..weak._Znay.default.__clang_call_terminate
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
call sym.rewind
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
mov r9, qword [rsp + 0x30]
mov edx, 1
call sym.fread
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x30]
call sym.fclose
cmp qword [rsp + 0x28], 0
jne 0x1400018ea
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
cmp rax, 0
je 0x1400018dc
mov rcx, qword [rsp + 0x20]
call sym..weak._ZdaPv.default.__clang_call_terminate
mov qword [rsp + 0x50], 0
jmp 0x1400018f4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rsp, 0x58
ret
Function at 0x14001d2f0
Capabilities:
Encode data using xor

Disassembly:
cmp rdx, r8
je 0x14001d31b
movabs rcx, 0xf000000000000000
mov r9, r8
sub r9, rdx
mov rax, rdx
not rax
add rax, r8
jne 0x14001d31e
xor r8d, r8d
test r9b, 1
jne 0x14001d37e
jmp 0x14001d395
xor eax, eax
ret
mov r8, r9
and r8, 0xfffffffffffffffe
xor eax, eax
nop word [rax + rax]
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rax, r10
shr rax, 0x38
and eax, 0xfffffff0
xor rax, r10
shl rax, 4
movsx r10, byte [rdx + 1]
add r10, rax
mov r11, r10
and r11, rcx
mov rax, r11
shr rax, 0x38
or rax, r11
xor rax, r10
add rdx, 2
add r8, 0xfffffffffffffffe
jne 0x14001d330
mov r8, rax
shl r8, 4
test r9b, 1
je 0x14001d395
movsx rax, byte [rdx]
add r8, rax
and rcx, r8
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r8
ret

Function at 0x14001d4e0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x14001d527
movabs rcx, 0xf000000000000000
nop word cs:[rax + rax]
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x14001d500
ret

Function at 0x1400561e0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call dbg.__acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sym.fwrite
mov ecx, 2
call dbg.__acrt_iob_func
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sym.vfprintf
call sym.abort
int3

Function at 0x140058240
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
call sym.logAPIs
test al, al
je 0x140058293
mov r14, qword [dbg.__acrt_iob_func]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0llx__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call sym.fprintf_1
mov ecx, 2
call r14
mov rcx, rax
call sym.fflush
mov rcx, rbx
mov edx, edi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp sym.__unw_set_reg

Function at 0x140058320
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
call sym.logAPIs
test al, al
je 0x140058368
mov rbx, qword [dbg.__acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.libunwind:__Unwind_SetIP_context_p__value0x_0llx__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call sym.fprintf_1
mov ecx, 2
call rbx
mov rcx, rax
call sym.fflush
mov rcx, rdi
mov edx, 0xffffffff
mov r8, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sym.__unw_set_reg
Function at 0x1400605a0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
xor edi, edi
cmp rax, 8
ja 0x14006061f
mov rax, qword [0x14008c008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14006061f
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14006061d
add rax, rcx
movzx ecx, word [rax + 0x18]
cmp ecx, 0x20b
jne 0x14006061d
movzx ebx, word [rax + 6]
test ebx, ebx
je 0x14006061d
movzx ecx, word [rax + 0x14]
lea rdi, [rcx + rax]
add rdi, 0x18
nop dword [rax]
mov r8d, 8
mov rcx, rdi
mov rdx, rsi
call sym.strncmp
test eax, eax
je 0x14006061f
add rdi, 0x28
dec ebx
jne 0x140060600
xor edi, edi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
mov rax, qword [0x14008c008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14006069c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14006069c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14006069c
movzx edx, word [rax + 6]
test edx, edx
je 0x14006069c
sub rcx, qword [0x14008c008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140060688
add rax, 0x28
dec edx
je 0x14006069c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140060680
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140060680
jmp 0x14006069e
xor eax, eax
ret

Function at 0x1400606a0
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x14008c008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x1400606d5
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x1400606d5
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x1400606d5
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x140060750
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14008c008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14006077c
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14006077c
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x14006077e
xor eax, eax
ret

Function at 0x140060810
Capabilities:
Parse pe header

Disassembly:
push rsi
mov rdx, qword [0x14008c008]
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x1400608ad
movsxd rax, dword [rdx + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x1400608ad
add rax, rdx
movzx r8d, word [rax + 0x18]
cmp r8d, 0x20b
jne 0x1400608ad
mov r8d, dword [rax + 0x90]
test r8, r8
je 0x1400608ad
movzx r9d, word [rax + 6]
test r9, r9
je 0x1400608ad
movzx r10d, word [rax + 0x14]
shl r9, 3
lea r9, [r9 + r9*4]
add r10, rax
add r10, 0x24
xor eax, eax
xor r11d, r11d
jmp 0x140060889
add r11, 0x28
cmp r9d, r11d
je 0x1400608af
mov esi, dword [r10 + r11]
cmp esi, r8d
ja 0x140060880
add esi, dword [r10 + r11 - 4]
cmp esi, r8d
jbe 0x140060880
add rdx, r8
add rdx, 0xc
xor eax, eax
cmp dword [rdx - 8], 0
jne 0x1400608d1
jmp 0x1400608cc
xor eax, eax
pop rsi
ret
dec ecx
add rdx, 0x14
cmp dword [rdx - 8], 0
jne 0x1400608d1
cmp dword [rdx], 0
je 0x1400608af
test ecx, ecx
jg 0x1400608c0
mov eax, dword [rdx]
add rax, qword [0x14008c008]
jmp 0x1400608af
Function at 0x140060910
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm12
movaps xmmword [rsp + 0x70], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x50], xmm9
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rdx
mov rsi, rcx
cmp byte [0x1400b1433], 1
jne 0x140060963
cmp byte [0x1400b1432], 0
jne 0x140060982
jmp 0x1400609b4
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400b1433], 1
test rax, rax
setne byte [0x1400b1432]
je 0x1400609b4
mov rbx, qword [dbg.__acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_init_local_cursor_p__context_p__n
mov rcx, rax
mov r8, rsi
mov r9, rdi
call fcn.140056950
mov ecx, 2
call rbx
mov rcx, rax
call sym.fflush
lea rax, method.libunwind::AbstractUnwindCursor.AbstractUnwindCursor__
mov qword [rsi], rax
lea rax, [0x1400b1218]
mov qword [rsi + 8], rax
lea rax, [rsi + 0x580]
lea rcx, [rsi + 0xb0]
xorps xmm0, xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x50], xmm0
movaps xmmword [rsi + 0x60], xmm0
movaps xmmword [rsi + 0x70], xmm0
movaps xmmword [rsi + 0x80], xmm0
movaps xmmword [rsi + 0x90], xmm0
mov qword [rsi + 0xa0], 0
movaps xmmword [rsi + 0x580], xmm0
movaps xmmword [rsi + 0x590], xmm0
movaps xmmword [rsi + 0x5a0], xmm0
movaps xmmword [rsi + 0x5b0], xmm0
movaps xmmword [rsi + 0x5c0], xmm0
movaps xmmword [rsi + 0x5d0], xmm0
movaps xmmword [rsi + 0x5e0], xmm0
movaps xmmword [rsi + 0x5f0], xmm0
movaps xmmword [rsi + 0x600], xmm0
movaps xmmword [rsi + 0x610], xmm0
movaps xmmword [rsi + 0x620], xmm0
movaps xmmword [rsi + 0x630], xmm0
movaps xmmword [rsi + 0x640], xmm0
movups xmmword [rsi + 0x649], xmm0
mov qword [rsi + 0x80], rcx
mov qword [rsi + 0x98], rax
mov rbx, qword [rdi]
mov r14, qword [rdi + 8]
mov r15, qword [rdi + 0x80]
movups xmm6, xmmword [rdi + 0x10]
movdqu xmm0, xmmword [rdi + 0x30]
pshufd xmm7, xmm0, 0x4e
movdqu xmm0, xmmword [rdi + 0x20]
pshufd xmm8, xmm0, 0x4e
movups xmm9, xmmword [rdi + 0x40]
movups xmm10, xmmword [rdi + 0x50]
movups xmm11, xmmword [rdi + 0x60]
movups xmm12, xmmword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov dword [rsi + 0xe0], 0x10000b
mov qword [rsi + 0x128], rbx
movaps xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x140], r14
movdqu xmmword [rsi + 0x148], xmm7
movdqu xmmword [rsi + 0x158], xmm8
movups xmmword [rsi + 0x168], xmm9
movups xmmword [rsi + 0x178], xmm10
movups xmmword [rsi + 0x188], xmm11
movups xmmword [rsi + 0x198], xmm12
mov qword [rsi + 0x1a8], r15
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
mov rcx, rsi
xor edx, edx
call qword [0x1400b9008]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x60]
movaps xmm11, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140060b70
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400b1433], 1
jne 0x140060b8c
cmp byte [0x1400b1432], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
test rax, rax
setne al
setne byte [0x1400b1432]
mov byte [0x1400b1433], 1
add rsp, 0x28
ret

Function at 0x140060bc0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x1400b1433], 1
jne 0x140060be5
cmp byte [0x1400b1432], 0
jne 0x140060c04
jmp 0x140060c3d
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400b1433], 1
test rax, rax
setne byte [0x1400b1432]
je 0x140060c3d
mov r14, qword [dbg.__acrt_iob_func]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.140056950
mov ecx, 2
call r14
mov rcx, rax
call sym.fflush
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rcx, rbx
mov edx, edi
call qword [0x1400b9008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x140060c71
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov edx, edi
call qword [0x1400b9008]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140060c80
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x1400b1433], 1
jne 0x140060ca6
cmp byte [0x1400b1432], 0
jne 0x140060cc5
jmp 0x140060cfe
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400b1433], 1
test rax, rax
setne byte [0x1400b1432]
je 0x140060cfe
mov r14, qword [dbg.__acrt_iob_func]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rbx
lea rdx, str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_llx__n
mov rcx, rax
mov r8, rsi
mov r9d, edi
call fcn.140056950
mov ecx, 2
call r14
mov rcx, rax
call sym.fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
mov edx, edi
call qword [0x1400b9008]
mov ebp, 0xffffe672
test al, al
je 0x140060d9f
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [0x1400b9008]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x140060d9f
mov rax, qword [rsi]
mov rax, qword [rax + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [0x1400b9008]
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [0x1400b9008]
cmp qword [rsp + 0x48], 0
je 0x140060d9f
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [0x1400b9008]
add rax, qword [rsp + 0x48]
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x20]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
mov rax, r9
call qword [0x1400b9008]
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140060db0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x1400b1433], 1
jne 0x140060dd5
cmp byte [0x1400b1432], 0
jne 0x140060df4
jmp 0x140060e2d
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400b1433], 1
test rax, rax
setne byte [0x1400b1432]
je 0x140060e2d
mov r14, qword [dbg.__acrt_iob_func]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_fpreg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.140056950
mov ecx, 2
call r14
mov rcx, rax
call sym.fflush
mov rax, qword [rbx]
mov rax, qword [rax + 0x28]
mov rcx, rbx
mov edx, edi
call qword [0x1400b9008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x140060e62
mov rax, qword [rbx]
mov rax, qword [rax + 0x30]
mov rcx, rbx
mov edx, edi
call qword [0x1400b9008]
movsd qword [rsi], xmm0
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140060e70
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmm6, xmm2
mov esi, edx
mov rdi, rcx
cmp byte [0x1400b1433], 1
jne 0x140060e98
cmp byte [0x1400b1432], 0
jne 0x140060eb7
jmp 0x140060eef
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400b1433], 1
test rax, rax
setne byte [0x1400b1432]
je 0x140060eef
mov rbx, qword [dbg.__acrt_iob_func]
mov ecx, 2
call rbx
movsd qword [rsp + 0x20], xmm6
lea rdx, str.libunwind:___unw_set_fpreg_cursor_p__regNum_d__value_g__n
mov rcx, rax
mov r8, rdi
mov r9d, esi
call fcn.140056950
mov ecx, 2
call rbx
mov rcx, rax
call sym.fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x28]
mov rcx, rdi
mov edx, esi
call qword [0x1400b9008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x140060f23
mov rax, qword [rdi]
mov rax, qword [rax + 0x38]
mov rcx, rdi
mov edx, esi
movaps xmm2, xmm6
call qword [0x1400b9008]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x140060f30
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x1400b1433], 1
jne 0x140060f4d
cmp byte [0x1400b1432], 0
jne 0x140060f6c
jmp 0x140060f9b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sym.getenv
mov byte [0x1400b1433], 1
test rax, rax
setne byte [0x1400b1432]
je 0x140060f9b
mov rdi, qword [dbg.__acrt_iob_func]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140056950
mov ecx, 2
call rdi
mov rcx, rax
call sym.fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x40]
mov r8, qword [0x1400b9008]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8