joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f6b0
Capabilities:
Set thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x50], rax
test rcx, rcx
je 0x14001f8fc
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140120f50], rax
jne 0x14001f8ff
mov rsi, rcx
mov r14d, dword [rcx + 8]
add r14, 0x518
mov byte [rsp + 0x3f], 0xaa
cmp byte [rcx + 2], 0
sete al
bsr rdx, r14
xor rdx, 0xffffffffffffffc0
lea rcx, [0x1400fb0d0]
mov cl, byte [rdx + rcx + 0x41]
mov r8, r14
shr r8, cl
and r8d, 7
lea rcx, [0x1400fb120]
mov rcx, qword [rcx + rdx*8 + 0x208]
and rcx, r14
lea rdx, [r8 + rdx*8]
add rdx, 0x208
cmp rcx, 1
sbb rdx, 0xffffffffffffffff
lea rcx, [0x1400fa8b0]
movzx ecx, word [rcx + rdx*2 + 0x400]
cmp cx, 0x6e
setb dl
and dl, al
movzx eax, dl
or eax, ecx
movzx eax, ax
lea r12, [rax + rax*4]
lea r15, [rsi + r12*8]
add r15, 0x48
lea rdi, [rsi + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14001f882
mov rax, qword [r15]
mov rbx, qword [rax]
test rbx, rbx
je 0x14001f88f
mov byte [rsp + 0x3f], 0
mov r8, qword [rbx]
test r8, r8
je 0x14001f87b
lea rdx, [rsi + 0x48]
mov rcx, r8
bswap rcx
mov r14d, dword [rdx + r12*8 + 0x18]
mov rdx, rcx
xor rdx, rbx
cmp rdx, 0x1fffff
ja 0x14001f902
mov edx, ecx
and edx, 0x1fc000
je 0x14001f902
prefetcht0 byte [rcx]
mov qword [rax], rcx
mov ecx, dword [rax + 0x18]
lea edx, [rcx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [rax + 0x18], ecx
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
add rax, qword [rsi + 0x1498]
mov qword [rsi + 0x1498], rax
mov rcx, qword [rsi + 0x14a0]
cmp rcx, rax
cmova rax, rcx
mov qword [rsi + 0x14a0], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rbx
mov rdx, rsi
call fcn.14004f1e0
mov ecx, dword [0x140125ab0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401238c0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x120], rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140080f00
mov rax, rbx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x14001f7dc
mov rcx, rdi
call fcn.14004edd0
jmp 0x14001f789
lea rax, [rsp + 0x3f]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x4000
mov rcx, r15
mov rdx, rsi
mov r8d, 2
mov r9, r14
call fcn.14004cf20
test rax, rax
je 0x14001f8f5
mov rbx, rax
and rax, 0xffffffffffe00000
mov ecx, ebx
shr ecx, 0xe
movzx ecx, cl
shl rcx, 5
or rcx, rax
mov rax, rcx
or rax, 0x1000
or rcx, 0x101e
movzx ecx, byte [rcx]
and ecx, 0x3f
shl rcx, 5
sub rax, rcx
jmp 0x14001f7f6
xor ebx, ebx
jmp 0x14001f820
int3
int3
movaps xmm0, xmmword [0x1400f9dc0]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm0
lea rdx, str.first
mov rcx, rsi
call fcn.1400b4550
mov rcx, rsi
call fcn.140018990
mov rcx, r14
call fcn.1400b45b0
int3
Function at 0x140021cd0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x140127588], 0
jne 0x140021d0d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140021d00
mov dword [rdi], eax
mov dword [0x140127590], eax
mov qword [0x140127588], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x140025c40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x140025cab
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x140138008]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rsi], rdi
test al, al
jns 0x140025c8d
call fcn.14007fab0
jmp 0x140025c8d
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.140057090
lea rdx, [0x14012b330]
mov rcx, rbx
call fcn.140057c70
mov r14, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140025ceb
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140138008]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1400f9dc0]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x140138008]
movzx eax, byte [rbx + 0x17]
test al, al
js 0x140025d2e
mov edx, eax
and edx, 0x7f
jmp 0x140025d32
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
test rdx, rdx
je 0x140025c9d
test al, al
cmovns rcx, rbx
mov r14, rcx
jmp 0x140025d8e
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x140138008]
cmp eax, 0xffffffff
jne 0x140025d64
xor edi, edi
inc r14
movzx eax, byte [rbp - 9]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rbp - 0x20]
mov r8, rbx
cmovs rdx, qword [rbp - 0x18]
cmovs r8, rcx
add rdx, r8
cmp r14, rdx
je 0x140025c9d
test rdi, rdi
je 0x140025d62
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140025d4a
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x140025d64
Function at 0x14002c9d0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14012c018]
mov ecx, dword [0x1401238c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002ca0b
movzx eax, word [0x14012bfe8]
cmp eax, 9
jne 0x14002ca53
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14012c018]
call fcn.14007fbc4
cmp dword [0x14012c018], 0xffffffff
jne 0x14002c9f5
xorps xmm0, xmm0
movups xmmword [0x14012c008], xmm0
movups xmmword [0x14012bff8], xmm0
movups xmmword [0x14012bfe8], xmm0
lea rcx, [0x14012bfe8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14012c018]
call fcn.14007fc5c
jmp 0x14002c9f5
test eax, eax
je 0x14002ca06
cmp eax, 6
jne 0x14002ca63
mov eax, 2
jmp 0x14002ca06
cmp eax, 0xc
jne 0x14002ca6f
mov eax, 3
jmp 0x14002ca06
mov eax, 4
jmp 0x14002ca06

Function at 0x14002d610
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002d698
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14002d682
cmp dword [rsp + 0x38], 4
jne 0x14002d682
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140080f00
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x14002d682
Function at 0x14002d6a0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.140080ea0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140083020
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002d77b
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x14002d7fe
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.14009c7f8
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14002d7e1
cmp rdi, 0xa
jbe 0x14002d77f
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.14002bd50
jmp 0x14002d7b1
mov edi, eax
jmp 0x14002d7b3
mov rbx, rsi
test rdi, rdi
je 0x14002d7a0
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.140082970
mov al, byte [rsi + 0x17]
test al, al
js 0x14002d7d2
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140080f00
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi + 8], rdi
jmp 0x14002d7ab
mov r9, qword [rsi + 8]
jmp 0x14002d753
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14002d7d8
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x14002d782
cmp eax, 2
jne 0x14002d8a1
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140083020
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x14002d8ab
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14009c7f8
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x14002d880
cmp rdi, 0xa
ja 0x14002d74a
mov rbx, rsi
test rdi, rdi
je 0x14002d7a0
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x14002d795
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x14002d7d8
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x14002d867
mov edi, 0x3f4
jmp 0x14002d7b3
mov edi, 0xea
jmp 0x14002d7b3
Function at 0x14002df00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400f9dc0]
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.14005fa50
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14005b1f0
cmp byte [rdi + 0x17], 0
jns 0x14002df72
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.14005b430
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140080f00
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002dfb0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140083020
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002e04f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14009c7f8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14005fbc0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140030d00
mov rcx, rsi
mov rdx, r14
call fcn.14005fd90
mov rcx, r14
call fcn.14005fd10
mov rcx, rbx
call fcn.14005fd10
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140080f00
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002e080
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140083020
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 0x14002e12e
cmp word [rsp + 0x70], 0
je 0x14002e12e
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14009c7f8
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14005fbc0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140080f00
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14005fba0
lea rcx, [rsp + 0x40]
call fcn.14005fd10
jmp 0x14002e0f7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400f9dc0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14005fa80
mov rcx, rdi
call fcn.14002dfb0
test al, al
jne 0x14002e115
lea rax, [0x1400fe404]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14005fbc0
jmp 0x14002e122
Function at 0x14002f2f0
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 [0x140114028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14002f4a0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.140099db4
movaps xmm6, xmmword [0x1400f9dc0]
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.14005fa50
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14005b1f0
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.1400929fc
mov ecx, eax
call fcn.140092a4c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14002f4a4
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 + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.140099a3c
test rax, rax
je 0x14002f443
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14002f4af
add r15, r12
mov rcx, rbx
call fcn.1400992a4
test eax, eax
je 0x14002f4b3
mov r12, r15
mov rcx, rbx
call fcn.1400992d0
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.14005b430
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140080f00
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 0x14002f475
mov r14d, 0xffff
jmp 0x14002f3e1
xor ebx, ebx
jmp 0x14002f453
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 0x14002f406
Function at 0x140031770
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14012c220]
test rdi, rdi
jne 0x140031823
mov ecx, 0x50
call fcn.14007fa74
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14007fa74
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140031845
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 [0x14012c220], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140031871
mov rcx, rax
call fcn.14009c7f8
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400318a0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140080f00
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.1400bdb50
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.1400bdb50
int3
Function at 0x1400318a0
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 [0x140114028]
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.14002da20
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140031a34
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1400fe7b4]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140031a6b
lea rdx, [0x1400fe804]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140031a59
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 0x140031a61
test r12d, r12d
js 0x140031ad6
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14007fa74
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 0x140031a7e
mov rdx, qword [r14 + r15]
call fcn.1400b2b70
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x1400319a2
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400314a0
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400319f6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140031a34
cmp r15, rbx
je 0x140031a2c
add r15, 0xffffffffffffffe8
jmp 0x140031a1a
mov rcx, qword [r15]
call fcn.14007fab0
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x140031a2c
test r15, r15
je 0x140031aaa
cmp byte [r15 + 0x17], 0
jns 0x140031a0e
jmp 0x140031a06
mov rcx, rbx
call fcn.14007fab0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140080f00
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140031954
xor r15d, r15d
xor ebx, ebx
jmp 0x1400319cf
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140031951
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.1400bdb50
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.1400bdb50
lea rcx, [rsp + 0x30]
call fcn.1400b2b50
int3
Function at 0x140035390
Capabilities:
Create thread

Disassembly:
jmp 0x140035390
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x140114028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.14007fa74
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x140114ec8]
jne 0x1400353fd
mov rcx, r15
call fcn.14004b5b0
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x140035800]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140035471
test r14, r14
je 0x140035466
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140080f00
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140035440
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14003548a
mov ebp, eax
cmp eax, 0x5af
je 0x14003548a
cmp ebp, 0xe
jne 0x1400354b5
mov rcx, rbx
call fcn.1400b4250
test rsi, rsi
je 0x140035440
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x140114ec8]
jne 0x1400354ab
call fcn.14004b700
mov rcx, rsi
call fcn.14007fab0
jmp 0x140035440
mov eax, dword [0x14012c380]
mov ecx, dword [0x1401238c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140035538
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140030310
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x1400354f5
and r8d, 0x7f
jmp 0x1400354ff
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.1400536b0
mov rcx, qword [0x14012c378]
mov rdx, r14
call fcn.14003b1e0
cmp byte [rsp + 0x4f], 0
jns 0x140035492
mov rcx, qword [rsp + 0x38]
call fcn.14007fab0
jmp 0x140035492
lea rcx, [0x14012c380]
call fcn.14007fbc4
cmp dword [0x14012c380], 0xffffffff
jne 0x1400354d6
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14003b1b0
mov qword [0x14012c378], rax
lea rcx, [0x14012c380]
call fcn.14007fc5c
jmp 0x1400354d6