joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14020b410
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbx, qword [0x1402b0510]
mov rsi, rcx
test rbx, rbx
je 0x14020b490
mov rax, qword [0x14028fb80]
mov rcx, qword [rax + 0x48]
cmp rbx, rcx
je 0x14020b480
mov rdx, qword [0x1402b0748]
test rdx, rdx
je 0x14020b580
mov rcx, rbx
mov rbx, qword [sym.imp.python312.dll_PyNumber_InPlaceAdd]
call rbx
mov rcx, rax
mov rdx, rsi
mov rax, rbx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp rax
mov rbx, qword [sym.imp.python312.dll_PyNumber_InPlaceAdd]
jmp 0x14020b461
lea r15, str.NUITKA_ONEFILE_BINARY
mov rcx, r15
call fcn.1401eca80
test rax, rax
je 0x14020b5a0
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r13, r14
lea r12, [r15 + 0x28]
mov word [rsp + 0x40], cx
lea rbp, [rsp + 0x3a]
lea rdi, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov eax, 0x4e
nop
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, r15
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x140277122
cmp word [r13], 0
movzx edx, word [rsp + 0x3c]
mov rax, r13
je 0x14020b52e
nop word [rax + rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x14020b520
test rbx, rbx
je 0x140277122
mov word [rax], dx
add r15, 1
xor edx, edx
add r13, 2
mov word [rax + 2], dx
movzx eax, byte [r15]
test al, al
jne 0x14020b4e0
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call qword [sym.imp.python312.dll_PyThreadState_Get]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.14020b2a0
mov rbx, rax
mov qword [0x1402b0510], rbx
jmp 0x14020b432
lea rcx, [0x14028c077]
call qword [sym.imp.python312.dll_PyUnicode_FromString]
mov qword [0x1402b0748], rax
mov rdx, rax
jmp 0x14020b452
mov rbx, qword [0x1402b0528]
test rbx, rbx
jne 0x14020b571
cmp byte [0x1402b0742], 0
jne 0x14020b5bf
mov ecx, 1
call fcn.1401deab0
mov rdx, 0xffffffffffffffff
lea rcx, [0x1402b0540]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
mov qword [0x1402b0528], rax
mov rbx, rax
test rax, rax
je 0x14020b5ed
mov eax, dword [rax]
add eax, 1
je 0x14020b571
mov dword [rbx], eax
jmp 0x14020b571
call qword [sym.imp.python312.dll_PyErr_Print]
call sub.msvcrt.dll_abort
nop
nop dword [rax]
call sub.msvcrt.dll_abort
nop
Function at 0x14020be80
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rsi, str.NUITKA_ONEFILE_BINARY
mov ebx, ecx
mov rcx, rsi
call fcn.1401eca80
test rax, rax
je 0x14020bfd0
mov rcx, rax
mov rdx, 0xffffffffffffffff
lea r14, [rsp + 0x40]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov r15, r14
lea r12, [rsi + 0x28]
mov word [rsp + 0x40], cx
mov r13, rax
lea rbp, [rsp + 0x3a]
mov eax, 0x4e
lea rdi, [rsp + 0x3c]
nop word [rax + rax]
mov rbx, r12
mov r8d, 2
mov rdx, rbp
mov rcx, rdi
sub rbx, rsi
mov byte [rsp + 0x3a], al
mov byte [rsp + 0x3b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x14027713a
cmp word [r15], 0
movzx edx, word [rsp + 0x3c]
mov rax, r15
je 0x14020bf36
nop dword [rax]
add rax, 2
sub rbx, 1
cmp word [rax], 0
jne 0x14020bf28
test rbx, rbx
je 0x14027713a
mov word [rax], dx
add rsi, 1
xor edx, edx
add r15, 2
mov word [rax + 2], dx
movzx eax, byte [rsi]
test al, al
jne 0x14020bee8
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call qword [sym.imp.python312.dll_PyThreadState_Get]
mov rcx, qword [0x1402b0c60]
mov rsi, rax
mov rax, qword [0x14028fb80]
mov rbx, qword [rax + 0x1c0]
test rcx, rcx
je 0x14020c045
mov rdx, rbx
call fcn.1401dd270
mov r8, r13
mov rcx, rsi
mov rbx, rax
mov rdx, rax
call fcn.1401ffda0
mov rdx, qword [rbx]
test edx, edx
js 0x14020bfb2
sub rdx, 1
mov qword [rbx], rdx
je 0x14020c02d
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1402b0520]
lea rsi, [0x1402b0520]
test bl, bl
je 0x14020bff0
mov rax, qword [0x1402b0528]
lea rsi, [0x1402b0528]
test rax, rax
jne 0x14020bfb2
cmp byte [0x1402b0742], 0
jne 0x14020c006
movzx ecx, bl
call fcn.1401deab0
mov rdx, 0xffffffffffffffff
lea rcx, [0x1402b0540]
call qword [sym.imp.python312.dll_PyUnicode_FromWideChar]
mov qword [rsi], rax
test rax, rax
je 0x14020c06f
mov edx, dword [rax]
add edx, 1
je 0x14020bfb2
mov dword [rax], edx
jmp 0x14020bfb2
mov qword [rsp + 0x28], rax
mov rcx, rbx
call qword [sym.imp.python312.dll__Py_Dealloc]
mov rax, qword [rsp + 0x28]
jmp 0x14020bfb2
mov rcx, qword [0x1402b0bd8]
mov rdi, qword [rax + 0x1b0]
test rcx, rcx
je 0x14020c07a
mov rdx, rdi
call fcn.1401dd270
mov qword [0x1402b0c60], rax
mov rcx, rax
jmp 0x14020bf89
call qword [sym.imp.python312.dll_PyErr_Print]
call sub.msvcrt.dll_abort
lea rcx, [0x1402877fb]
call qword [sym.imp.python312.dll_PyImport_ImportModule]
mov qword [0x1402b0bd8], rax
mov rcx, rax
test rax, rax
je 0x14027713a
jmp 0x14020c058
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
Function at 0x1402627d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1402b0501], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x140262858
lea rdx, [0x14028ba62]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1402628c0
mov rbx, qword [0x1402b03a0]
jmp 0x140262815
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x140262810
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140252810
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1402b03a0], rax
mov ebx, dword [rax]
mov qword [0x1402b03a0], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1402b03a0], rdx
call fcn.140261900
cmp eax, ebx
jne 0x140262928
mov byte [0x1402b0501], 1
jmp 0x1402627ec
cmp byte [0x1402b0500], 0
jne 0x140262803
mov rbx, qword [sym.imp.python312.dll_PyDict_New]
call rbx
mov qword [0x1402b0e68], rax
call rbx
mov qword [0x1402b0e60], rax
call rbx
mov qword [0x1402b0e58], rax
call rbx
mov qword [0x1402b0e50], rax
call rbx
mov qword [0x1402b0e48], rax
call rbx
mov qword [0x1402b0e40], rax
call rbx
mov qword [0x1402b0e38], rax
call rbx
mov byte [0x1402b0500], 1
mov qword [0x1402b0e30], rax
jmp 0x140262803
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x140264e50
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.1402765e0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.1402765e0
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x140265b22
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1402b1328]
test eax, eax
je 0x140265bba
lea rax, [0x1402b1300]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1402b1330]
mov qword [rbp - 8], rax
jmp 0x140265b9e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140265b92
cmp qword [rbp - 0x10], 0
je 0x140265b92
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140265b58
lea rax, [0x1402b1300]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140265bbb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140265cc0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140265ce8
mov eax, 0
jmp 0x140265d36
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 0x140265d11
mov eax, 0
jmp 0x140265d36
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140265d31
mov eax, 0
jmp 0x140265d36
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140265d3c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x140265dba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140265db1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140265db1
mov rax, qword [rbp - 8]
jmp 0x140265dcf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140265d84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x18000365c
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rcx
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret

Function at 0x180008280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x1800082fa
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1800082f0
cmp r11, r10
ja 0x180008391
cmp r10, rdx
ja 0x1800083a3
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x1800082f2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1800082d0
jmp 0x180008367
ja 0x1800082fa
mov r11, r10
cmp rax, r8
jne 0x1800082a2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x18000836b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x180008340
mov r8, r10
sub ecx, r9d
jns 0x18000835e
jmp 0x18000836d
cmp r10, rdx
je 0x180008379
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x18000836d
xor al, 1
cmp r8, rdx
jne 0x180008320
jmp 0x18000836d
xor eax, eax
jmp 0x18000836d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x18003a88b]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.180004d40
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.180006e00
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.180006d80
int3
Function at 0x18000985a
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
mov rax, rcx
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x18000a6b7
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, r8
mov rdi, rcx
mov rax, qword [0x18013abd0]
mov al, byte [rax]
cmp al, 1
jne 0x18000a6ed
mov rcx, rdi
mov r8, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x18000a764
xorps xmm0, xmm0
lea rbx, [rsp + 0x20]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.18000af17
lea r14, [rsp + 0x68]
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call fcn.180001d2f
movups xmm0, xmmword [r14]
movups xmmword [rsi], xmm0
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
jmp fcn.18000a248
Function at 0x18000e970
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
je 0x180007605
cmp rdx, 4
jae 0x180007608
xor eax, eax
xor r8d, r8d
jmp 0x1800076a0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x18003a820]
movdqa xmm3, xmmword [0x18003a830]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x180007630
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1800076b7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1800076a0
ret
sub rdx, rcx
cmp rdx, 0x20
jb 0x1800075f0
jmp fcn.180007100
Function at 0x1800128b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x18001290b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x18001290b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x180012926
cmp eax, 0x42
jne 0x18001290b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1800129d6
cmp byte [r8 + r11], 0x5f
jne 0x1800129d6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x180012a3e
mov rcx, rsi
xor edx, edx
call fcn.1800115b0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1800115b0
test al, al
jne 0x180012ad1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x180012962
lea rdx, [0x18013727c]
mov r8d, 1
call fcn.180005f00
test al, al
jne 0x180012ad1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x18001291a
xor r14d, r14d
lea rbx, [0x180137619]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x180012994
cmp byte [rax + rcx], 0x45
je 0x180012af3
sub r14, 1
jb 0x1800129b9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1800129b9
mov r8d, 2
mov rdx, rbx
call fcn.180005f00
test al, al
jne 0x180012ad1
mov rcx, rsi
call fcn.180011d30
test al, al
jne 0x180012ad1
mov rax, qword [rsi]
test rax, rax
jne 0x180012980
jmp 0x18001291a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x180012a98
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x180012a32
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x180012a1c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x180012a0b
add dl, 0xa9
jmp 0x180012a1a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x180012a98
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x180012a98
movzx edx, bl
add rax, rdx
jae 0x1800129e0
jmp 0x180012a98
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x180012a98
cmp rax, rcx
jae 0x180012a95
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x180012aeb
cmp qword [rsi + 0x20], 0
je 0x180012ae4
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.1800128b0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x18001291c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x180012ad9
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim:_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x1801375f8]
test r9b, r9b
cmovne rdx, rax
call fcn.180005f00
test al, al
je 0x180012ad9
mov dil, 2
jmp 0x18001291a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x18001291a
mov dil, 1
xor r9d, r9d
jmp 0x180012a9a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x18001291a
Function at 0x18002a540
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x40], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x20], rax
xor edi, edi
mov ebx, 0xffffffff
xor esi, esi
xor r14d, r14d
cmp r8, 0x201
jae 0x18002a5c0
jmp 0x18002a5af
jae 0x18002a665
cmp r8, 0x201
jae 0x18002a5c0
mov r15d, 0x200
lea r12, [rsp + 0x68]
mov r13, r8
jmp 0x18002a607
sub r8, r14
sub rsi, r14
cmp rsi, r8
jae 0x18002a5e7
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.1800192c0
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
cmp rdi, rbx
mov r14d, 0xffffffff
cmovb r14, rdi
mov qword [rsp + 0x40], r14
mov rsi, rdi
mov r15, r14
mov r12, qword [rsp + 0x20]
mov r13, r14
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov ecx, r13d
mov rdx, r12
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebp, eax
test eax, eax
jne 0x18002a62c
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x18002a6c0
mov r8d, ebp
cmp r13, r8
jne 0x18002a5a0
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x18002a6ea
add r13, r13
cmp r13, rbx
cmovae r13, rbx
mov r8, r13
cmp r8, 0x201
jb 0x18002a5af
jmp 0x18002a5c0
cmp r15, r8
jb 0x18002a704
lea rcx, [rsp + 0x48]
mov rdx, r12
call fcn.18002b4b0
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
mov rsi, qword [rsp + 0x28]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x18002a6a9
mov rcx, qword [0x180140080]
xor edx, edx
mov r8, qword [rsp + 0x20]
call fcn.18003778c
mov rax, rsi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rsi, qword [rsp + 0x28]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rdi, rdi
jne 0x18002a696
jmp 0x18002a6a9
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.180004d40
jmp 0x18002a719
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.180006d80
ud2
Function at 0x18002a750
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, rcx
movabs rdi, 0x8000000000000000
lea rcx, [rsp + 0xa8]
call fcn.1800306e0
mov rax, qword [rsp + 0xa8]
cmp rax, rdi
jne 0x18002a79f
lea rcx, [rsp + 0xb0]
call fcn.1800155e0
mov qword [rsi], rdi
jmp 0x18002a983
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 2
mov qword [rsp + 0x58], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov esi, 0xffffffff
xor r14d, r14d
xor r13d, r13d
cmp r8, 0x201
jae 0x18002a830
jmp 0x18002a80f
jae 0x18002a8d7
cmp r8, 0x201
jae 0x18002a830
mov edi, 0x200
lea rbp, [rsp + 0xa8]
mov r12, r8
jmp 0x18002a877
sub r8, r13
sub r14, r13
cmp r14, r8
jae 0x18002a857
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.1800192c0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
cmp rbx, rsi
mov r13d, 0xffffffff
cmovb r13, rbx
mov qword [rsp + 0x58], r13
mov r14, rbx
mov rdi, r13
mov rbp, qword [rsp + 0x28]
mov r12, r13
xor ecx, ecx
call sub.kernel32.dll_SetLastError
mov rcx, qword [rsp + 0x30]
mov rdx, rbp
mov r8d, r12d
call sub.kernel32.dll_GetEnvironmentVariableW
mov r15d, eax
test eax, eax
jne 0x18002a89e
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x18002a916
mov r8d, r15d
cmp r12, r8
jne 0x18002a800
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x18002a9b5
add r12, r12
cmp r12, rsi
cmovae r12, rsi
mov r8, r12
cmp r8, 0x201
jb 0x18002a80f
jmp 0x18002a830
cmp rdi, r8
jb 0x18002a9cf
lea rcx, [rsp + 0x88]
mov rdx, rbp
call fcn.18002b4b0
movabs rdi, 0x8000000000000000
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
jmp 0x18002a937
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x68], rax
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x60], rdi
mov rsi, qword [rsp + 0x38]
test rbx, rbx
je 0x18002a954
mov rcx, qword [0x180140080]
xor edx, edx
mov r8, qword [rsp + 0x28]
call fcn.18003778c
cmp qword [rsp + 0x60], rdi
jne 0x18002a99a
mov qword [rsi], rdi
lea rcx, [rsp + 0x68]
call fcn.1800155e0
cmp qword [rsp + 0x40], 0
je 0x18002a983
mov rcx, qword [0x180140080]
xor edx, edx
mov r8, qword [rsp + 0x30]
call fcn.18003778c
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rsp + 0x40], 0
jne 0x18002a970
jmp 0x18002a983
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.180004d40
jmp 0x18002a9e4
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rdi
mov r8, rax
call fcn.180006d80
ud2