joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140132a48
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140132a78
xor eax, eax
jmp 0x140132b3b
mov rbp, rbx
cmp word [rax], si
je 0x140132a9d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140132a84
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140132a80
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140132968
movsxd r14, eax
test eax, eax
jne 0x140132adb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140132a71
mov rcx, r14
call fcn.14012f1fc
mov rdi, rax
test rax, rax
jne 0x140132af4
xor ecx, ecx
call fcn.14012e584
jmp 0x140132ad0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140132968
test eax, eax
jne 0x140132b25
mov rcx, rdi
call fcn.14012e584
jmp 0x140132b2f
xor ecx, ecx
call fcn.14012e584
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140136e5c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140136e72
mov al, 1
jmp 0x140136ed2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140136e83
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140136ed0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140133368
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140136ed0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140136ed0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140136ed0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140136ed2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140137f10
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140131a38
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140137f9a
cmp byte [rbp - 0x21], r15b
je 0x140137f95
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140137fd0
call fcn.14012e7d4
test eax, eax
jne 0x140137fbc
cmp byte [rbp - 0x21], r15b
je 0x140137fb4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140137fd0
cmp byte [rbp - 0x21], r15b
je 0x140137fcd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140131018
test eax, eax
jne 0x140138070
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140131a38
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14013800f
cmp byte [rbp - 0x21], r15b
je 0x140138044
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140138044
call fcn.14012e7d4
test eax, eax
jne 0x140138030
cmp byte [rbp - 0x21], r15b
je 0x140138029
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140138044
cmp byte [rbp - 0x21], r15b
je 0x140138041
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140131018
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140138070
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140138073
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140138081
mov rcx, rdi
call fcn.14012e584
cmp byte [rbp + 0x3f], r15b
je 0x140138090
mov rcx, qword [rbp + 0x27]
call fcn.14012e584
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14013a600
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013a628
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14013a628
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002260
Capabilities:
Create device object
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
lea rcx, [0x140002880]
mov qword [rax + 0x68], rcx
lea rax, [0x140007260]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
mov r9d, 0x22
lea r8, [0x140007208]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400022d1
lea rcx, [0x140002d00]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x40]
jmp 0x1400023ab
lea rdx, [0x140007208]
lea rcx, [0x140007218]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140002312
lea rcx, [0x140002d20]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [0x140007260]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [rsp + 0x40]
jmp 0x1400023ab
mov dword [rsp + 0x44], 0
jmp 0x140002326
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x1b
jge 0x140002345
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
lea rdx, section..text
mov qword [rcx + rax*8 + 0x70], rdx
jmp 0x14000231c
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x60]
lea rdx, [0x140001c30]
mov qword [rcx + rax + 0x70], rdx
lea rcx, [0x140002d40]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x68]
or eax, 0x20
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x68], eax
lea rcx, [0x140002d70]
call sub.ntoskrnl.exe_DbgPrint
call fcn.140002760
mov rcx, qword [rsp + 0x60]
call fcn.1400027c0
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x14162ba50
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14162ba5d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14162ba6d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14162ba55
lea eax, [rcx + 1]
jmp 0x14162ba7b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14162ba8e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14162ba74
sub eax, 3
jb 0x14162baae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14162bafd
sar eax, 1
movsxd rbp, eax
jb 0x14162bae4
jmp 0x14162babc
add ebx, ebx
jne 0x14162baba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14162bae4
inc ecx
add ebx, ebx
jne 0x14162baca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14162bae4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14162badd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14162bacc
add ecx, 2
jmp 0x14162bae9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14162ba12
jmp 0x14162ba5d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x15f2000]
mov eax, dword [rdi]
or eax, eax
je 0x14162bb69
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x16339d8]
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 0x14162bb0d
jns 0x14162bb42
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14162bb4c
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 0x14162bb63
mov qword [rbx], rax
add rbx, 8
jmp 0x14162bb2d
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 0x14162bbad
cmp al, 0xef
ja 0x14162bb95
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14162bb75
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x14162bb84
mov eax, dword [rdi]
add rdi, 4
jmp 0x14162bb84
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 + 0x237]
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
mov byte [fcn.14162bc2c], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.14162bc2c
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14162bc1c
sub rsp, 0xffffffffffffff80
jmp 0x1400c1ba4
Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013500
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]
add rsp, 0x28
ret

Function at 0x1400112a3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014890
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400148b0
xor al, al
jmp 0x140014931
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400148c3
xor al, al
jmp 0x140014931
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 0x1400148ed
xor al, al
jmp 0x140014931
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014901
xor al, al
jmp 0x140014931
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014913
xor al, al
jmp 0x140014931
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001492f
xor al, al
jmp 0x140014931
mov al, 1
add rsp, 0x38
ret
Function at 0x1400111e5
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f70
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]
add rsp, 0x28
ret

Function at 0x140011267
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142e0
xor al, al
jmp 0x140014361
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400142f3
xor al, al
jmp 0x140014361
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 0x14001431d
xor al, al
jmp 0x140014361
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014331
xor al, al
jmp 0x140014361
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014343
xor al, al
jmp 0x140014361
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001435f
xor al, al
jmp 0x140014361
mov al, 1
add rsp, 0x38
ret
Function at 0x14062a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14062a1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14062a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062a06f
add dl, dl
jne 0x14062a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062a0f6
xor eax, eax
add dl, dl
jne 0x14062a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14062a1ad
add dl, dl
jne 0x14062a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14062a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14062a07e
mov eax, 1
add dl, dl
jne 0x14062a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14062a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062a0fb
sub eax, ebx
mov ebx, 1
jne 0x14062a14c
mov ecx, 1
add dl, dl
jne 0x14062a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14062a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14062a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14062a15d
cmp eax, 0x7d00
jae 0x14062a19b
cmp eax, 0x500
jb 0x14062a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062a07e
cmp eax, 0x7f
ja 0x14062a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14062a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14062a1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14062a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007c80
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 [0x140755b1b], 1
jne 0x140007cd3
cmp byte [0x140755b1a], 0
jne 0x140007cf2
jmp 0x140007d24
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140755b1b], 1
test rax, rax
setne byte [0x140755b1a]
je 0x140007d24
mov rbx, qword [fcn.140006c60]
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.140004f40
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
lea rax, [0x1400393a8]
mov qword [rsi], rax
lea rax, [0x140755b08]
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 [0x14075b008]
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 0x140007ee0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x140755b1b], 1
jne 0x140007efc
cmp byte [0x140755b1a], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x140755b1a]
mov byte [0x140755b1b], 1
add rsp, 0x28
ret

Function at 0x140007f30
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 [0x140755b1b], 1
jne 0x140007f55
cmp byte [0x140755b1a], 0
jne 0x140007f74
jmp 0x140007fad
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140755b1b], 1
test rax, rax
setne byte [0x140755b1a]
je 0x140007fad
mov r14, qword [fcn.140006c60]
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.140004f40
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rcx, rbx
mov edx, edi
call qword [0x14075b008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x140007fe1
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov edx, edi
call qword [0x14075b008]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140007ff0
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 [0x140755b1b], 1
jne 0x140008016
cmp byte [0x140755b1a], 0
jne 0x140008035
jmp 0x14000806e
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140755b1b], 1
test rax, rax
setne byte [0x140755b1a]
je 0x14000806e
mov r14, qword [fcn.140006c60]
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.140004f40
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
mov edx, edi
call qword [0x14075b008]
mov ebp, 0xffffe672
test al, al
je 0x14000810f
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [0x14075b008]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x14000810f
mov rax, qword [rsi]
mov rax, qword [rax + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [0x14075b008]
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [0x14075b008]
cmp qword [rsp + 0x48], 0
je 0x14000810f
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [0x14075b008]
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 [0x14075b008]
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140008120
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x140755b1b], 1
jne 0x14000813d
cmp byte [0x140755b1a], 0
jne 0x14000815c
jmp 0x14000818b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140755b1b], 1
test rax, rax
setne byte [0x140755b1a]
je 0x14000818b
mov rdi, qword [fcn.140006c60]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004f40
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x40]
mov r8, qword [0x14075b008]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8

Function at 0x1400081b0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x140755b1b], 1
jne 0x1400081d1
cmp byte [0x140755b1a], 0
jne 0x1400081f0
jmp 0x140008222
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140755b1b], 1
test rax, rax
setne byte [0x140755b1a]
je 0x140008222
mov rbx, qword [fcn.140006c60]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.140004f40
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [0x14075b008]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140008250
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x140755b1b], 1
jne 0x14000826d
cmp byte [0x140755b1a], 0
jne 0x14000828c
jmp 0x1400082bb
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140755b1b], 1
test rax, rax
setne byte [0x140755b1a]
je 0x1400082bb
mov rdi, qword [fcn.140006c60]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004f40
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x50]
mov rcx, rsi
call qword [0x14075b008]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400082e0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [0x140755b1b], 1
jne 0x14000830b
cmp byte [0x140755b1a], 0
jne 0x14000832a
jmp 0x140008362
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x140755b1b], 1
test rax, rax
setne byte [0x140755b1a]
je 0x140008362
mov r15, qword [fcn.140006c60]
mov ecx, 2
call r15
mov dword [rsp + 0x20], edi
lea rdx, str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
mov rcx, rax
mov r8, r14
mov r9, rbx
call fcn.140004f40
mov ecx, 2
call r15
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [r14]
mov rax, qword [rax + 0x60]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [0x14075b008]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400083a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x140755b19], 1
jne 0x1400083bc
cmp byte [0x140755b18], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x140755b18]
mov byte [0x140755b19], 1
add rsp, 0x28
ret