joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008e7a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x4b8
mov qword [rsp + 0x4a8], rcx
mov qword [rsp + 0x4a0], rdx
mov qword [rsp + 0x498], 0
cmp qword [rsp + 0x4a8], 0
jne 0x14008e7e2
mov dword [rsp + 0x4b4], 0xffffffff
jmp 0x14008ea50
mov rax, qword [rsp + 0x4a8]
mov qword [rsp + 0x498], rax
mov rax, qword [rsp + 0x498]
cmp dword [rax + 0x14], 1
je 0x14008e814
mov dword [rsp + 0x4b4], 0xfffffffc
jmp 0x14008ea50
mov rax, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x498]
mov ecx, dword [rcx + 0x10]
cmp rax, rcx
jb 0x14008e840
mov dword [rsp + 0x4b4], 0xfffffff6
jmp 0x14008ea50
mov rax, qword [rsp + 0x498]
mov rax, qword [rax + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x498]
mov rcx, qword [rcx + 0x68]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rsp + 0x4a0]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x30], rax
cmp rax, 0
jne 0x14008e88c
mov dword [rsp + 0x4b4], 0xfffffff5
jmp 0x14008ea50
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1c]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x30]
add rax, 0x2e
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x4a8]
cmp qword [rax + 0x80], 0
je 0x14008e909
jmp 0x14008e8c2
mov rax, qword [rsp + 0x4a8]
cmp qword [rax + 0x80], 0
je 0x14008e8ff
mov rax, qword [rsp + 0x4a8]
mov rcx, qword [rax + 0x80]
call sub.msvcrt.dll_free
mov rax, qword [rsp + 0x4a8]
mov qword [rax + 0x80], 0
jmp 0x14008e904
jmp 0x14008e909
mov rcx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x3c]
mov edx, eax
mov r8d, 0x5c
mov r9d, 0x2f
call fcn.14008ea60
mov rcx, rax
mov rax, qword [rsp + 0x4a8]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0x4a8]
cmp qword [rax + 0x80], 0
jne 0x14008e95d
mov dword [rsp + 0x4b4], 0xfffffffe
jmp 0x14008ea50
mov rcx, qword [rsp + 0x498]
mov rax, qword [rsp + 0x4a0]
mov edx, eax
lea r8, [rsp + 0x40]
call fcn.14007bc60
cmp eax, 0
jne 0x14008e992
mov dword [rsp + 0x4b4], 0xfffffffd
jmp 0x14008ea50
mov rcx, qword [rsp + 0x4a0]
mov rax, qword [rsp + 0x4a8]
mov qword [rax + 0x78], rcx
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x4a8]
mov qword [rax + 0x90], rcx
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x4a8]
mov qword [rax + 0x88], rcx
mov ecx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x4a8]
mov dword [rax + 0x98], ecx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x4a8]
mov qword [rax + 0xa0], rcx
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x4a8]
mov qword [rax + 0xc8], rcx
mov cx, word [rsp + 0x56]
mov rax, qword [rsp + 0x4a8]
mov word [rax + 0xd0], cx
mov ecx, dword [rsp + 0x7c]
mov rax, qword [rsp + 0x4a8]
mov dword [rax + 0x4e068], ecx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x4a8]
mov qword [rax + 0x4e070], rcx
mov dword [rsp + 0x4b4], 0
mov eax, dword [rsp + 0x4b4]
add rsp, 0x4b8
ret
Function at 0x1400964d0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub rsp, 0x48
mov rax, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], r9
mov rax, qword [rsp + 0x20]
cmp rax, qword [rsp + 0x78]
jbe 0x140096510
mov qword [rsp + 0x40], 0xffffffffffffffe6
jmp 0x1400965d4
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x28]
mov edx, eax
xor r8d, r8d
call sub.msvcrt.dll_fseek
cmp eax, 0
je 0x14009653b
mov qword [rsp + 0x40], 0xffffffffffffffe5
jmp 0x1400965d4
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x38]
mov edx, 1
call sub.msvcrt.dll_fread
cmp rax, qword [rsp + 0x20]
je 0x14009656d
mov qword [rsp + 0x40], 0xffffffffffffffe4
jmp 0x1400965d4
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov edx, eax
xor r8d, r8d
call sub.msvcrt.dll_fseek
cmp eax, 0
je 0x140096598
mov qword [rsp + 0x40], 0xffffffffffffffe5
jmp 0x1400965d4
mov rcx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x38]
mov edx, 1
call sub.msvcrt.dll_fwrite
cmp rax, qword [rsp + 0x20]
je 0x1400965ca
mov qword [rsp + 0x40], 0xffffffffffffffe3
jmp 0x1400965d4
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x140096a50
Capabilities:
Create directory

Disassembly:
sub rsp, 0x158
mov qword [rsp + 0x148], rcx
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x148]
movsx eax, byte [rax]
cmp eax, 0x41
jl 0x140096a8f
mov rax, qword [rsp + 0x148]
movsx eax, byte [rax]
cmp eax, 0x5a
jle 0x140096ac3
mov rax, qword [rsp + 0x148]
movsx ecx, byte [rax]
xor eax, eax
cmp ecx, 0x61
mov byte [rsp + 0x27], al
jl 0x140096ad9
mov rax, qword [rsp + 0x148]
movsx ecx, byte [rax]
xor eax, eax
cmp ecx, 0x7a
mov byte [rsp + 0x27], al
jg 0x140096ad9
mov rax, qword [rsp + 0x148]
movsx eax, byte [rax + 1]
cmp eax, 0x3a
sete al
mov byte [rsp + 0x27], al
mov al, byte [rsp + 0x27]
and al, 1
movzx eax, al
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x105
call sub.msvcrt.dll_memset
cmp dword [rsp + 0x28], 0
je 0x140096b28
mov rax, qword [rsp + 0x148]
mov al, byte [rax]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x148]
mov al, byte [rax + 1]
mov byte [rsp + 0x31], al
mov dword [rsp + 0x2c], 2
mov rax, qword [rsp + 0x148]
movsxd rcx, dword [rsp + 0x2c]
add rax, rcx
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
xor eax, eax
cmp byte [rcx], 0
mov byte [rsp + 0x26], al
je 0x140096b66
cmp dword [rsp + 0x2c], 0x104
setl al
mov byte [rsp + 0x26], al
mov al, byte [rsp + 0x26]
test al, 1
jne 0x140096b77
jmp 0x140096c3e
mov rax, qword [rsp + 0x140]
movsx eax, byte [rax]
cmp eax, 0x2f
je 0x140096b9f
mov rax, qword [rsp + 0x140]
movsx eax, byte [rax]
cmp eax, 0x5c
jne 0x140096c08
cmp dword [rsp + 0x28], 0
jne 0x140096bb5
cmp dword [rsp + 0x2c], 0
jg 0x140096bcb
cmp dword [rsp + 0x28], 0
je 0x140096c08
cmp dword [rsp + 0x2c], 2
jle 0x140096c08
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll__mkdir]
cmp eax, 0xffffffff
jne 0x140096c03
call qword [sym.imp.msvcrt.dll__errno]
cmp dword [rax], 0x11
je 0x140096bfe
mov dword [rsp + 0x154], 0xffffffe9
jmp 0x140096c49
jmp 0x140096c03
jmp 0x140096c08
mov rax, qword [rsp + 0x140]
mov cl, byte [rax]
mov eax, dword [rsp + 0x2c]
mov edx, eax
add edx, 1
mov dword [rsp + 0x2c], edx
cdqe
mov byte [rsp + rax + 0x30], cl
mov rax, qword [rsp + 0x140]
add rax, 1
mov qword [rsp + 0x140], rax
jmp 0x140096b40
mov dword [rsp + 0x154], 0
mov eax, dword [rsp + 0x154]
add rsp, 0x158
ret

Function at 0x140099b20
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.140097610
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140099b90]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140099b78
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14009a3a0
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 fcn.14009ce10
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.14009ce10
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

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

Disassembly:
jmp 0x14009a690
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov esi, 1
cmp byte [0x1400ce308], 1
jne 0x14009a716
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x14009a6d7
lea rax, [0x1400ce310]
cmp r8, rax
je 0x14009a6d7
lea rcx, str._dso__dso____dso_handle
lea rdx, str..._crt_tls_atexit.c
mov r8d, 0x46
call sub.msvcrt.dll__assert
mov ecx, 1
mov edx, 0x18
call sub.msvcrt.dll_calloc
test rax, rax
je 0x14009a716
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], r14
mov ecx, dword [0x1400ce0f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rdi + 0x10], rax
mov ecx, dword [0x1400ce0f0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
jmp 0x14009a690
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov esi, 1
cmp byte [0x1400ce308], 1
jne 0x14009a716
mov r14, rdx
mov rbx, rcx
test r8, r8
je 0x14009a6d7
lea rax, [0x1400ce310]
cmp r8, rax
je 0x14009a6d7
lea rcx, str._dso__dso____dso_handle
lea rdx, str..._crt_tls_atexit.c
mov r8d, 0x46
call sub.msvcrt.dll__assert
mov ecx, 1
mov edx, 0x18
call sub.msvcrt.dll_calloc
test rax, rax
je 0x14009a716
mov rdi, rax
mov qword [rax], rbx
mov qword [rax + 8], r14
mov ecx, dword [0x1400ce0f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rdi + 0x10], rax
mov ecx, dword [0x1400ce0f0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
mov eax, esi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14009c4f0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov edi, edx
mov rbx, rcx
call fcn.14009d3f0
test al, al
je 0x14009c52d
mov ecx, 2
call qword [fcn.14009ce10]
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 fcn.14009c4c0
mov rcx, rbx
mov edx, edi
mov r8, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp fcn.14009d4d0

Function at 0x14009c5a0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.14009d3f0
test al, al
je 0x14009c5d5
mov ecx, 2
call qword [fcn.14009ce10]
lea rdx, str.libunwind:__Unwind_SetIP_context_p__value0x_0llx__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.14009c4c0
mov rcx, rdi
mov edx, 0xffffffff
mov r8, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14009d4d0
Function at 0x14009cf30
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x14009cfa0
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x1400c0010]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x14009cfd6
movsxd r8, dword [rcx + 0x3c]
cmp dword [rcx + r8], 0x4550
jne 0x14009cfd6
movzx edx, word [rcx + r8 + 0x18]
cmp edx, 0x20b
jne 0x14009cfd6
movzx eax, word [rcx + r8 + 6]
ret

Function at 0x14009d050
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400c0010]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14009d07c
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14009d07c
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x14009d07e
xor eax, eax
ret
Function at 0x14009d220
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rdx
mov rsi, rcx
cmp byte [0x1400cf0cb], 1
jne 0x14009d247
movzx eax, byte [0x1400cf0ca]
test al, al
jne 0x14009d26b
jmp 0x14009d28b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1400cf0ca]
mov byte [0x1400cf0cb], 1
test al, al
je 0x14009d28b
mov ecx, 2
call qword [fcn.14009ce10]
lea rdx, str.libunwind:___unw_init_local_cursor_p__context_p__n
mov rcx, rax
mov r8, rsi
mov r9, rdi
call fcn.14009ae10
lea rax, [0x1400c33c8]
mov qword [rsi], rax
lea rax, [0x1400cf0b8]
mov qword [rsi + 8], rax
xorps xmm0, xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x40], xmm0
mov qword [rsi + 0x50], 0
lea rax, [rsi + 0x580]
lea rcx, [rsi + 0xb0]
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 rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov rdx, qword [rdi + 0x80]
movups xmm0, xmmword [rdi + 0x10]
movdqu xmm1, xmmword [rdi + 0x30]
pshufd xmm1, xmm1, 0x4e
movdqu xmm2, xmmword [rdi + 0x20]
pshufd xmm2, xmm2, 0x4e
movups xmm3, xmmword [rdi + 0x40]
movups xmm4, xmmword [rdi + 0x50]
movups xmm5, xmmword [rdi + 0x60]
movups xmm6, xmmword [rdi + 0x70]
mov dword [rsi + 0xe0], 0x10000b
mov qword [rsi + 0x128], rax
movaps xmmword [rsi + 0x130], xmm0
mov qword [rsi + 0x140], rcx
movdqu xmmword [rsi + 0x148], xmm1
movdqu xmmword [rsi + 0x158], xmm2
movups xmmword [rsi + 0x168], xmm3
movups xmmword [rsi + 0x178], xmm4
movups xmmword [rsi + 0x188], xmm5
movups xmmword [rsi + 0x198], xmm6
mov qword [rsi + 0x1a8], rdx
test rdx, rdx
je 0x14009d3d2
mov rcx, rsi
call fcn.14009b9d0
test al, al
jne 0x14009d3d9
mov byte [rsi + 0x658], 1
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14009d3f0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400cf0cb], 1
jne 0x14009d409
movzx eax, byte [0x1400cf0ca]
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1400cf0ca]
mov byte [0x1400cf0cb], 1
add rsp, 0x28
ret
Function at 0x14009d430
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x1400cf0cb], 1
jne 0x14009d455
movzx eax, byte [0x1400cf0ca]
test al, al
jne 0x14009d479
jmp 0x14009d49e
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1400cf0ca]
mov byte [0x1400cf0cb], 1
test al, al
je 0x14009d49e
mov ecx, 2
call qword [fcn.14009ce10]
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.14009ae10
mov rax, qword [rbx]
mov rcx, rbx
mov edx, edi
call qword [rax + 0x10]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x14009d4c4
mov rax, qword [rbx]
mov rcx, rbx
mov edx, edi
call qword [rax + 0x18]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14009d4d0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x1400cf0cb], 1
jne 0x14009d4f6
movzx eax, byte [0x1400cf0ca]
test al, al
jne 0x14009d51a
jmp 0x14009d53f
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1400cf0ca]
mov byte [0x1400cf0cb], 1
test al, al
je 0x14009d53f
mov ecx, 2
call qword [fcn.14009ce10]
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.14009ae10
mov rax, qword [rsi]
mov rcx, rsi
mov edx, edi
call qword [rax + 0x10]
mov ebp, 0xffffe672
test al, al
je 0x14009d5af
mov rax, qword [rsi]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [rax + 0x20]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x14009d5af
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + 0x48]
mov rax, qword [rsi]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [rax + 0x68]
cmp qword [rsp + 0x50], 0
je 0x14009d5af
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [rax + 0x18]
add rax, qword [rsp + 0x50]
mov rbx, qword [rsi]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
call qword [rbx + 0x20]
mov eax, ebp
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x14009d5c0
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
cmp byte [0x1400cf0cb], 1
jne 0x14009d5de
movzx eax, byte [0x1400cf0ca]
test al, al
jne 0x14009d602
jmp 0x14009d61f
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1400cf0ca]
mov byte [0x1400cf0cb], 1
test al, al
je 0x14009d61f
mov ecx, 2
call qword [fcn.14009ce10]
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.14009ae10
mov rax, qword [rsi]
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp qword [rax + 0x40]
Function at 0x14009d630
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
cmp byte [0x1400cf0cb], 1
jne 0x14009d652
movzx eax, byte [0x1400cf0ca]
test al, al
jne 0x14009d676
jmp 0x14009d696
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1400cf0ca]
mov byte [0x1400cf0cb], 1
test al, al
je 0x14009d696
mov ecx, 2
call qword [fcn.14009ce10]
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.14009ae10
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [rax + 0x48]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14009d6c0
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
cmp byte [0x1400cf0cb], 1
jne 0x14009d6de
movzx eax, byte [0x1400cf0ca]
test al, al
jne 0x14009d702
jmp 0x14009d71f
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1400cf0ca]
mov byte [0x1400cf0cb], 1
test al, al
je 0x14009d71f
mov ecx, 2
call qword [fcn.14009ce10]
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.14009ae10
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
mov eax, 0xffffe674
add rsp, 0x20
pop rsi
ret

Function at 0x14009d740
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp byte [0x1400cf0cb], 1
jne 0x14009d76b
movzx eax, byte [0x1400cf0ca]
test al, al
jne 0x14009d78f
jmp 0x14009d7b3
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1400cf0ca]
mov byte [0x1400cf0cb], 1
test al, al
je 0x14009d7b3
mov ecx, 2
call qword [fcn.14009ce10]
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, rsi
mov r9, rbx
call fcn.14009ae10
mov rax, qword [rsi]
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
mov r9, r14
call qword [rax + 0x60]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14009d7e0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x1400cf0c9], 1
jne 0x14009d7f9
movzx eax, byte [0x1400cf0c8]
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x1400cf0c8]
mov byte [0x1400cf0c9], 1
add rsp, 0x28
ret
Function at 0x140001070
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1470
call fcn.140002330
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x1460], rax
lea rax, [rsp + 0x1250]
mov dword [rsp + 0x28], 0x104
mov r8, rcx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
mov r9d, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rsp + 0x38]
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1400011d1
mov ebp, dword [rsp + 0x38]
xor edi, edi
shr ebp, 2
test ebp, ebp
je 0x1400011d1
lea rsi, [rsp + 0x40]
nop dword [rax]
mov r8d, dword [rsi]
test r8d, r8d
je 0x1400011c3
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400011c3
movups xmm0, xmmword [str._unknown_]
mov ecx, dword [0x140003310]
xor edx, edx
mov dword [rsp + 0x1050], ecx
mov r8d, 0x1f4
lea rcx, [rsp + 0x1054]
movaps xmmword [rsp + 0x1040], xmm0
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x3c]
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x1400011ba
mov rdx, qword [rsp + 0x30]
lea r8, [rsp + 0x1040]
mov r9d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
lea rax, [rsp + 0x1040]
lea r8, [rsp + 0x1250]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400011b6
add rax, 2
test ecx, ecx
jne 0x1400011a2
test edx, edx
je 0x1400011fc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rsi, 4
cmp edi, ebp
jb 0x140001100
xor al, al
mov rcx, qword [rsp + 0x1460]
xor rcx, rsp
call fcn.140001510
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400011d3
Function at 0x140001f04
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f4e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f4e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f4e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f4e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f4e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f50
xor al, al
add rsp, 0x28
ret
Function at 0x140001488
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400208d0]
mov dword [rax], 1
mov rax, qword [0x1400208e0]
mov dword [rax], 1
mov rax, qword [0x1400208f0]
mov dword [rax], 1
mov rax, qword [0x1400208c0]
mov dword [rax], 1
mov rax, qword [0x140020730]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014e6
mov eax, 0
jmp 0x140001593
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140001512
mov eax, 0
jmp 0x140001593
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001538
cmp eax, 0x20b
je 0x14000155f
jmp 0x14000158e
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000154b
mov eax, 0
jmp 0x140001593
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001593
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000157a
mov eax, 0
jmp 0x140001593
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001593
mov eax, 0
add rsp, 0x20
pop rbp
ret