joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b600
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0x300000050
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
lea rax, [0x14001b750]
mov qword [rdi + 8], rax
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov rax, qword [rcx]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rbx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x28], rax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rbx
lea rax, str.GxSplashWindow
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x14001b6e0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0x18], rax
test rax, rax
je 0x14001b6bc
add rsi, 0x20
mov rcx, rsi
call fcn.1400597c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140080c40
nop
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14001b6f0
Capabilities:
Terminate thread

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14001b712
mov edx, 0x10
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14001b748
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14001b736
mov rcx, qword [rsi + 0x18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x18], 0
add rsp, 0x20
pop rsi
ret
Function at 0x14001bc60
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x14001bca7
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001bcb2
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14001bc9f
mov qword [rsi], rdi
call fcn.14005cbc0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14005cbc0
mov rcx, qword [rsi]
call fcn.140054c00
mov qword [rsi], 0
jmp 0x14001bc8d

Function at 0x14001bd00
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14001bd26
call fcn.14005cbc0
cmp qword [rsi], rbx
je 0x14001bd55
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001bd62
cmp r14, 2
jb 0x14001bd4d
mov qword [rsi], rbx
call fcn.14005cbc0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14005cbc0
mov rcx, qword [rsi]
call fcn.140054c00
mov qword [rsi], 0
jmp 0x14001bd3f

Function at 0x14001bd80
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14001bda5
call fcn.14005cbc0
cmp qword [rsi], rbx
je 0x14001bdd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001bde1
cmp r14, 2
jb 0x14001bdcc
mov qword [rsi], rbx
call fcn.14005cbc0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14005cbc0
mov rcx, qword [rsi]
call fcn.140054c00
mov qword [rsi], 0
jmp 0x14001bdbe

Function at 0x14001beb0
Capabilities:
Terminate process

Disassembly:
mov rcx, qword [rcx]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14001bebe
ret
xor edx, edx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
jno 0x14020987f
mov bh, 0x54
push rsp
jg 0x140209823
std
pop rsp
push rsi
out 0x25, eax
mov ebp, esp
jl 0x14020989e
nop
xor dword [rbx - 0x3de9249], 0x5a
insd dword [rdi], dx
and esp, edi
pop rdx
outsb dx, byte [rsi]
jl 0x140209820
push 0x24724efb
xchg edi, eax
push 0x23
pop rsi
mov ecx, 0x9c042a83
pushfq
pushfq
in eax, dx
xchg r15, rax
jae 0x140209855
shr dword [rbx], cl
invalid
sbb edi, ebx
call 0x1a2fc3fd6
invalid
invalid
mov bh, 0x7e
cmp esi, dword [rdi + 0x45]
imul esp, ebp, 0x6776b13
mov ebx, 0xc150b654
pushfq
invalid
invalid
invalid
mov ebx, 0xb9fc6c7a
hlt
Function at 0x14001dfa0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str.opera_splash_done_
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.1400b18a0
movzx r8d, byte [rsi + 0x1f]
test r8b, r8b
js 0x14001dfe3
lea rdx, [rsi + 8]
and r8d, 0x7f
jmp 0x14001dfeb
mov r8, qword [rsi + 0x10]
mov rdx, qword [rsi + 8]
mov rcx, rdi
call fcn.14002a980
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x30], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
cmp byte [rsp + 0x4f], 0
jns 0x14001e023
mov rcx, qword [rsp + 0x38]
call fcn.14007f7f4
cmp byte [rsp + 0x37], 0
js 0x14001e031
lea r9, [rsp + 0x20]
jmp 0x14001e036
mov r9, qword [rsp + 0x20]
xor r14d, r14d
xor ecx, ecx
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x14001e073
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x14001e0ee
call fcn.14005cbc0
mov r14, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [r14 + 1]
cmp rbx, 2
jb 0x14001e082
call fcn.14005cbc0
cmp qword [rsi + 0x40], r14
je 0x14001e0b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x14001e0f6
cmp rbx, 2
jb 0x14001e0ac
mov qword [rsi + 0x40], r14
call fcn.14005cbc0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0x37], 0
jns 0x14001e0c5
mov rcx, qword [rsp + 0x20]
call fcn.14007f7f4
mov rax, qword [rsi + 0x40]
inc rax
test rax, 0xfffffffffffffffe
setne bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140080c40
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
xor r14d, r14d
jmp 0x14001e06b
call fcn.14005cbc0
mov rcx, qword [rsi + 0x40]
call fcn.140054c00
mov qword [rsi + 0x40], 0
jmp 0x14001e09d

Function at 0x14002afe0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140120790]
mov ecx, dword [0x14011d7f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002b01b
movzx eax, word [0x140120760]
cmp eax, 9
jne 0x14002b063
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140120790]
call fcn.14007f908
cmp dword [0x140120790], 0xffffffff
jne 0x14002b005
xorps xmm0, xmm0
movups xmmword [0x140120780], xmm0
movups xmmword [0x140120770], xmm0
movups xmmword [0x140120760], xmm0
lea rcx, [0x140120760]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140120790]
call fcn.14007f9a0
jmp 0x14002b005
test eax, eax
je 0x14002b016
cmp eax, 6
jne 0x14002b073
mov eax, 2
jmp 0x14002b016
cmp eax, 0xc
jne 0x14002b07f
mov eax, 3
jmp 0x14002b016
mov eax, 4
jmp 0x14002b016
Function at 0x14002b6e0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14002b741
test r12, r12
je 0x14002b858
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140080c40
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x14002b7a6
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14002b78f
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1400826b0
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
mov r12, r14
jmp 0x14002b70e
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r15d, 1
cmovne r15, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x50], rax
mov rax, r15
shr rax, 0x3d
jne 0x14002b884
lea rcx, [r15*8]
call fcn.14007f7b8
mov rdx, r15
and rdx, 0xfffffffffffffffc
mov rcx, r12
sub rcx, rbx
mov r9, r12
lea rdx, [rax + rdx*2]
mov r8, rdx
sub r9, rbx
je 0x14002b823
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x14002b858
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14002b80b
lea r9, [rax + r15*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x30]
mov qword [rcx], r14
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r12
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r12
call fcn.14004cd20
mov r12, qword [rsi + 0x10]
jmp 0x14002b70e
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1400b23f0
call fcn.1400b1860
int3

Function at 0x14002bd00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400f3050]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.14005cba0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140057ef0
cmp byte [rdi + 0x17], 0
jns 0x14002bd72
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140057f70
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140080c40
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002bdb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400f3050]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x233
call fcn.14005cba0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140057ef0
cmp byte [rdi + 0x17], 0
jns 0x14002be22
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.140057f70
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140080c40
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002be70
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140082d60
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002bf0f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14009c058
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14005cc50
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002fce0
mov rcx, rsi
mov rdx, r14
call fcn.14002f2b0
mov rcx, r14
call fcn.14005cda0
mov rcx, rbx
call fcn.14005cda0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140080c40
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002bf40
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140082d60
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002bfd5
cmp word [rsp + 0x70], 0
je 0x14002bfd5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14009c058
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14005cc50
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140080c40
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400f3050]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14005cbd0
mov rcx, rdi
call fcn.14002be70
test al, al
jne 0x14002c027
lea rax, [0x1400f6bce]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14005cc50
jmp 0x14002c034
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14005cc30
lea rcx, [rsp + 0x40]
call fcn.14005cda0
jmp 0x14002bfb7
Function at 0x14002d1d0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14002d380
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.140099614
movaps xmm6, xmmword [0x1400f3050]
lea r14, [rsp + 0x80]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x48
call fcn.14005cba0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140057ef0
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.140092648
mov ecx, eax
call fcn.140092698
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14002d384
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x140138008]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.14009929c
test rax, rax
je 0x14002d323
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14002d38f
add r15, r12
mov rcx, rbx
call fcn.140098b04
test eax, eax
je 0x14002d393
mov r12, r15
mov rcx, rbx
call fcn.140098b30
test eax, eax
sete bl
mov rdi, r12
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x140138008]
lea rcx, [rsp + 0x80]
call fcn.140057f70
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140080c40
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x14002d355
mov r14d, 0xffff
jmp 0x14002d2c1
xor ebx, ebx
jmp 0x14002d333
test r12, r12
mov eax, 0x10000
cmove r14, rax
lea r8, [r15 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea r12, [rsp + 0x20]
mov rcx, r12
call qword [0x140138008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14002d2e6
Function at 0x140030600
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x68]
mov rcx, rdi
call fcn.14005a7f0
cmp byte [rdi + 0x17], 0
jns 0x140030647
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x7f], 0
jns 0x140030668
mov rcx, qword [rsp + 0x68]
call fcn.14007f7f4
test rsi, rsi
je 0x14003070f
test edi, edi
je 0x14003070f
mov ecx, edi
add rcx, rcx
call fcn.14007f828
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.14005a7f0
cmp byte [r14 + 0x17], 0
jns 0x1400306ab
mov r14, qword [rsp + 0x68]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x7f], 0
jns 0x1400306cb
mov rcx, qword [rsp + 0x68]
call fcn.14007f7f4
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14003073d
mov rcx, rbx
call fcn.14009c058
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.14005a820
cmp byte [rsi + 0x17], 0
js 0x140030733
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14007f830
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140080c40
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.14007f7f4
jmp 0x1400306f6
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400b23f0
int3
Function at 0x140030d00
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140120960]
test rdi, rdi
jne 0x140030db3
mov ecx, 0x50
call fcn.14007f7b8
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14007f7b8
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140030dd5
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x140120960], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140030e01
mov rcx, rax
call fcn.14009c058
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140030e30
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140080c40
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1400b23f0
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400b23f0
int3
Function at 0x140030e30
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14010f028]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.14002b3d0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140030fc0
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1400f6f74]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140031059
lea rdx, [0x1400f6fc4]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003103d
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140138008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14003104f
test r12d, r12d
js 0x140031045
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14007f7b8
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x140030fe5
mov rdx, qword [r14 + r15]
call fcn.1400b18a0
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x140030f32
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140030a30
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140030f86
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140030fc0
cmp r15, rbx
je 0x140030fb8
add r15, 0xffffffffffffffe8
jmp 0x140030faa
mov rcx, qword [r15]
call fcn.14007f7f4
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x140030fb8
test r15, r15
je 0x140031011
cmp byte [r15 + 0x17], 0
jns 0x140030f9e
jmp 0x140030f96
mov rcx, rbx
call fcn.14007f7f4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140080c40
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1400b23f0
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1400b23f0
xor r14d, r14d
jmp 0x140030ee4
lea rcx, [rsp + 0x30]
call fcn.1400b1880
xor r15d, r15d
xor ebx, ebx
jmp 0x140030f5f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140030ee1