joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008aed0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rsi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x108], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x70]
mov qword [rdi + 0x40], r15
movaps xmm6, xmmword [0x1401bc9e0]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov r9d, 0x2b3
call fcn.1400f2140
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400e51a0
test rsi, rsi
je 0x14008b16a
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400f2ae0
mov ecx, 0x65
mov rdx, rdi
call fcn.14008ce60
test al, al
je 0x14008b037
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xc0]
mov rcx, rdi
mov rdx, rbx
call fcn.14009ab50
mov rcx, rdi
mov rdx, rbx
call fcn.1400f2dd0
mov rcx, rbx
call fcn.1400f2d50
mov qword [rbx + 0x40], r15
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.1400f2140
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400e51a0
cmp byte [rsp + 0x47], 0
jns 0x14008b01b
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400e5410
cmp edi, 0xffffffff
jne 0x14008b0ff
lea rcx, [rsp + 0x30]
call fcn.1400f2d50
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.1400f2ae0
mov ecx, 0x67
mov rdx, rdi
call fcn.14008ce60
test al, al
je 0x14008b0f1
lea rbx, [rsp + 0xc0]
mov qword [rbx + 0x40], r15
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.1400f2140
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400e51a0
cmp byte [rsp + 0x47], 0
jns 0x14008b0c0
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400e5410
cmp edi, 0xffffffff
je 0x14008b0f1
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14008aae0
test al, al
jne 0x14008b11c
lea rcx, [rsp + 0x30]
call fcn.1400f2d50
xor esi, esi
jmp 0x14008b137
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.14008aae0
test al, al
je 0x14008b037
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400f2d60
mov rcx, rdi
call fcn.1400f2d50
mov sil, 1
lea rcx, [rsp + 0x70]
call fcn.1400e5410
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140126950
mov eax, esi
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x14008b8c0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x24]
mov dword [r8], 1
movsxd rcx, ecx
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140126950
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14008beb0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1401298e0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14008c210
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401bc9e0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14008c420
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14008bf46
and eax, 0x7f
jmp 0x14008bf4b
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14008c01f
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1401298e0
mov rcx, r15
mov rdx, r14
call fcn.14008c3d0
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x14008c063
mov rcx, r14
call fcn.14008c120
test al, al
jne 0x14008c0b0
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14008bfb2
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14008c05c
call r13
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.140024cf0
mov rcx, r15
mov rdx, r14
call fcn.14008c420
mov rcx, rdi
mov rdx, r14
call fcn.1400f2dd0
mov rcx, r14
call fcn.1400f2d50
movzx eax, byte [rsp + 0x47]
test al, al
js 0x14008c00e
and eax, 0x7f
jmp 0x14008c013
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x14008bf6b
lea rcx, [rsp + 0x30]
call fcn.1400f2d50
lea rcx, [rsp + 0x298]
call fcn.14008c360
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140126950
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x14008bfd3
test bl, bl
je 0x14008c088
cmp byte [rsp + 0x47], 0
js 0x14008c075
lea rcx, [rsp + 0x30]
jmp 0x14008c07a
mov rcx, qword [rsp + 0x30]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14008bf93
lea rcx, [rsp + 0x48]
call fcn.14008c120
test al, al
jne 0x14008c09c
mov edx, dword [rsp + 0x48]
jmp 0x14008c067
lea rcx, [rsp + 0x48]
call fcn.14008c120
test al, al
je 0x14008bfa3
jmp 0x14008c05c
xor ebp, ebp
test bl, bl
je 0x14008bfd3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rsi
mov r8b, 1
call fcn.14008beb0
mov ebp, eax
test eax, eax
jne 0x14008bfd3
cmp byte [rsp + 0x47], 0
jns 0x14008c0ea
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14008bfd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14008bfd3
Function at 0x14008dc00
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 [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14008ddc9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.14014609c
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x40], rax
movaps xmm6, xmmword [0x1401bc9e0]
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, VarR8FromUI1
call fcn.1400f2140
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400e51a0
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.14013d66c
mov ecx, eax
call fcn.14013d6cc
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14008ddbe
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 [0x140215008]
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.140145d24
test rax, rax
je 0x14008dd61
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14008ddcd
add r15, r12
mov rcx, rbx
call fcn.140145510
test eax, eax
je 0x14008ddd1
mov r12, r15
mov rcx, rbx
call fcn.14014553c
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 [0x140215008]
lea rcx, [rsp + 0x80]
call fcn.1400e5410
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140126950
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14d, 0xffff
jmp 0x14008dcff
xor ebx, ebx
jmp 0x14008dd93
xor ebx, ebx
jmp 0x14008dd71
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 [0x140215008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14008dd24
Function at 0x140096c70
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.140096d30
mov eax, dword [rsi]
mov dword [reloc.WS2_32.dll_accept], eax
test al, 1
jne 0x140096c91
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1402041c0]
test rcx, rcx
jne 0x140096cab
mov rcx, qword [0x140204198]
test rcx, rcx
je 0x140096ccf
jmp 0x140096cf1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1402041c0], 0
mov rcx, qword [0x140204198]
test rcx, rcx
jne 0x140096cf1
and byte [reloc.WS2_32.dll_accept], 0xfe
mov ecx, SafeArrayCopy
call fcn.140125da0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140204198], rax
mov rdx, qword [rsi + 8]
call fcn.140097c40
cmp dword [rsi + 0x14], 0
jne 0x140096d16
mov rcx, qword [0x140204198]
cmp byte [rcx + 0x17], 0
jns 0x140096d10
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.140191210
Function at 0x14009bcc0
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 [0x1401e8038]
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.1400e6c90
cmp byte [rdi + 0x17], 0
jns 0x14009bd07
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 0x14009bd28
mov rcx, qword [rsp + 0x68]
call fcn.140125ddc
test rsi, rsi
je 0x14009bdcf
test edi, edi
je 0x14009bdcf
mov ecx, edi
add rcx, rcx
call fcn.140125e1c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x68]
mov rcx, r14
call fcn.1400e6c90
cmp byte [r14 + 0x17], 0
jns 0x14009bd6b
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 0x14009bd8b
mov rcx, qword [rsp + 0x68]
call fcn.140125ddc
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14009bdfd
mov rcx, rbx
call fcn.1401486d4
lea rdx, [rsp + 0x30]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x68]
call fcn.1400e70d0
cmp byte [rsi + 0x17], 0
js 0x14009bdf3
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.140125e24
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140126950
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.140125ddc
jmp 0x14009bdb6
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.1401623d0
int3
Function at 0x14009c450
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140204280]
test rdi, rdi
jne 0x14009c503
mov ecx, 0x50
call fcn.140125da0
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, SafeArrayCopy
call fcn.140125da0
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14009c525
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 [0x140204280], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14009c551
mov rcx, rax
call fcn.1401486d4
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14009c580
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140126950
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.1401623d0
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.1401623d0
int3
Function at 0x14009c580
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 [0x1401e8038]
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.1400871d0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14009c714
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1401cf604]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14009c74b
lea rdx, [0x1401cf654]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14009c739
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140215008]
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 0x14009c741
test r12d, r12d
js 0x14009c7b6
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140125da0
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 0x14009c75e
mov rdx, qword [r14 + r15]
call fcn.140161540
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14009c682
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14009c180
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14009c6d6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14009c714
cmp r15, rbx
je 0x14009c70c
add r15, 0xffffffffffffffe8
jmp 0x14009c6fa
mov rcx, qword [r15]
call fcn.140125ddc
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14009c70c
test r15, r15
je 0x14009c78a
cmp byte [r15 + 0x17], 0
jns 0x14009c6ee
jmp 0x14009c6e6
mov rcx, rbx
call fcn.140125ddc
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140126950
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 0x14009c634
xor r15d, r15d
xor ebx, ebx
jmp 0x14009c6af
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14009c631
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.1401623d0
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.1401623d0
lea rcx, [rsp + 0x30]
call fcn.140161760
int3
Function at 0x14009f950
Capabilities:
Initialize winsock library

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov rax, qword [0x1402042c8]
cmp rax, 1
jbe 0x14009f991
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140126950
nop
add rsp, 0x1c0
pop rsi
ret
lea rcx, [0x1402042c8]
call fcn.140098570
test al, al
je 0x14009f9e8
lea rsi, [rsp + 0x20]
mov r8d, 0x198
mov rcx, rsi
mov dl, 0xaa
call fcn.1401298e0
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14009f9cd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, [0x1402042d0]
lea rcx, [0x1402042c8]
xor r8d, r8d
mov r9, rcx
call fcn.140098630
jmp 0x14009f977
mov rax, qword [0x1402042c8]
jmp 0x14009f977

Function at 0x1400a2210
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov ebx, r9d
mov rsi, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
test r8b, r8b
jne 0x1400a22e6
or ebx, 8
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400a239e
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400a22de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x1400a22e2
call fcn.1400f2160
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov qword [rsi + 8], 0
cmp rbx, 0xffffffffffffffff
je 0x1400a229e
test rbx, rbx
je 0x1400a22c1
call fcn.1400f2160
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400a22b9
mov qword [rsi + 8], rbx
call fcn.1400f2160
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140126950
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400a2283
xor ebx, ebx
jmp 0x1400a227b
lea r8, [rsp + 0x30]
mov rcx, rdx
mov edx, 2
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400a239e
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400a2396
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rdi, 0xffffffffffffffff
je 0x1400a239a
call fcn.1400f2160
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x38]
mov qword [r14], rax
or ebx, 8
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 2
xor r15d, r15d
mov rcx, rdi
mov edx, ebx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
mov rbx, qword [r14]
cmovne r15, rbx
mov qword [rsp + 0x30], r15
test r15, r15
je 0x1400a23a6
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400a2268
call fcn.1400f2160
mov rcx, rdi
call fcn.1400db920
jmp 0x1400a225e
xor edi, edi
jmp 0x1400a232a
xor edi, edi
jmp 0x1400a2322
mov byte [rsi], 0
jmp 0x1400a22c1
mov byte [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400a22c1
call fcn.1400f2160
mov rcx, rdi
call fcn.1400db920
jmp 0x1400a22c1
Function at 0x1400a58a0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x1400a5995
cmp qword [rsi], 0
jne 0x1400a5995
cmp dword [rsi + 0x14], 0
jne 0x1400a5995
cmp qword [rsi + 8], 0
jne 0x1400a5995
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x1400a5914
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400a597c
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a590c
mov qword [rsi], r14
call fcn.1400f2160
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x1400a594e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x1400a5964
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400a5946
mov qword [rsi + 8], r14
call fcn.1400f2160
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400f2160
mov rcx, qword [rsi + 8]
call fcn.1400db920
mov qword [rsi + 8], 0
jmp 0x1400a5933
call fcn.1400f2160
mov rcx, qword [rsi]
call fcn.1400db920
mov qword [rsi], 0
jmp 0x1400a58fa
mov rcx, rsi
call fcn.14019af30
mov rax, qword [rsi]
jmp 0x1400a58da
Function at 0x1400abba0
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 [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x1400abc01
test r12, r12
je 0x1400abd18
mov rax, qword [rdi]
mov qword [r12], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140126950
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 0x1400abc66
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 0x1400abc4f
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140129230
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 0x1400abbce
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 0x1400abd44
lea rcx, [r15*8]
call fcn.140125da0
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 0x1400abce3
sar rcx, 3
lea r8, [r9 + rdx]
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x1400abd18
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x1400abccb
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.14019c3d0
mov r12, qword [rsi + 0x10]
jmp 0x1400abbce
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.1401623d0
call fcn.140161690
int3