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

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.14003d050
mov qword [rsi], 0
test rax, rax
je 0x140059dc7
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x140059dad
call fcn.140054d90
mov rcx, qword [rsi]
call fcn.140035570
mov qword [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140059dbf
mov qword [rsi], rbx
call fcn.140054d90
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140056790
lea rcx, [rsi + 0x20]
call fcn.1400788d0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
movzx eax, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
movzx eax, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x14005b3c0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401c64e8]
test rdi, rdi
jne 0x14005b493
mov ecx, pe_nt_image_headers64
call fcn.140143888
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140143888
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14005b4b5
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x40], 0
mov rax, rsi
add rax, 0x50
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x48], rax
mov qword [rsi + 0x60], 1
mov dword [rsi + 0x68], 0
mov qword [rsi + 0x70], 0
mov qword [0x1401c64e8], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14005b4c8
mov rcx, rax
call fcn.140169634
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14005b4e0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140143c30
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140005804
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.140005804
int3
Function at 0x14005b4e0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov r8d, 3
call fcn.140037740
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14005b690
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x14018b2f4]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14005b587
lea rdx, [0x14018b344]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005b59a
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1401b1be0]
jmp 0x14005b595
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
jmp 0x14005b59c
xor ebx, ebx
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x14005b617
test r12d, r12d
js 0x14005b6d6
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140143888
mov r14, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r15d, r15d
nop dword [rax + rax]
test r14, r14
je 0x14005b6b0
mov rdx, qword [rbx + r15]
mov rcx, r14
call fcn.140001b3c
add r14, 0x18
add r15, 8
cmp r12, r15
jne 0x14005b5f0
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14005acb0
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14005b63e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x14005b690
mov rdi, qword [rsp + 0x28]
mov rcx, rsi
cmp rdi, rsi
je 0x14005b686
add rdi, 0xffffffffffffffe8
jmp 0x14005b66c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x14005b681
test rdi, rdi
je 0x14005b6c3
test byte [rdi], 1
je 0x14005b660
mov rcx, qword [rdi + 0x10]
call fcn.1401438d8
jmp 0x14005b660
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rsi
call fcn.1401438d8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140143c30
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140005804
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.140005804
lea rcx, [rsp + 0x20]
call fcn.140003430
int3
Function at 0x14005ca90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rdi, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r14, [rsp + 0x22]
xor esi, esi
lea r15, [0x14018b2c0]
movabs r12, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [section..rdata]
lea rbx, [rsp + 0x20]
xor r13d, r13d
jmp 0x14005caf7
inc r13
movzx eax, byte [0x1401c64f8]
xor rax, 3
cmp r13, rax
jae 0x14005cbce
mov rdx, r13
shl rdx, 4
add rdx, r15
mov qword [rsp + 0x30], r12
movaps xmmword [rsp + 0x20], xmm6
mov rcx, rbx
call fcn.14000e21c
movzx eax, byte [rsp + 0x20]
test al, 1
jne 0x14005cb30
mov ecx, eax
shr ecx, 1
mov rdx, r14
jmp 0x14005cb4e
mov rcx, qword [rsp + 0x28]
test rcx, rcx
js 0x14005cc06
mov rdx, qword [rsp + 0x30]
je 0x14005cb4e
test rdx, rdx
je 0x14005cbf3
mov r8, qword [rdi]
mov r10, qword [rdi + 8]
cmp r10, rcx
mov r9, rcx
cmovb r9, r10
test r9, r9
je 0x14005cb6d
test r8, r8
je 0x14005cbf3
cmp rcx, r10
jbe 0x14005cb90
test al, 1
je 0x14005cae0
mov rcx, qword [rsp + 0x30]
call fcn.1401438d8
jmp 0x14005cae0
test r9, r9
je 0x14005cbb4
xor r9d, r9d
nop dword [rax + rax]
movzx r10d, word [r8 + r9*2]
cmp r10w, word [rdx + r9*2]
jne 0x14005cb72
inc r9
cmp rcx, r9
jne 0x14005cba0
test al, 1
jne 0x14005cbbf
shr al, 1
movzx esi, al
jmp 0x14005cbce
mov rsi, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
call fcn.1401438d8
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140143c30
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140005804
lea rcx, [0x140180113]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.140005804
int3
Function at 0x1400632f4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test r8, r8
je 0x140063447
mov rbx, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x140063447
add rax, rcx
cmp word [rax + 0x14], 0x78
jb 0x140063447
add rax, 0x88
je 0x140063447
mov rsi, r8
mov rdi, rdx
mov edx, dword [rax]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x1401b1be0]
test rax, rax
je 0x140063447
cmp rdi, 0xffff
jbe 0x14006343f
mov r14, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x1401b1be0]
mov qword [rsp + 0x30], r14
mov ecx, dword [r14 + 0x18]
lea rcx, [rax + rcx*4]
lea r12, [rdi + 1]
mov qword [rsp + 0x28], rax
xor ebp, ebp
cmp rax, rcx
je 0x140063449
mov r14, rcx
mov r15, rax
mov r13, rcx
sub r13, rax
mov rax, r13
sar rax, 2
shr r13, 0x3f
add r13, rax
and r13, 0xfffffffffffffffe
mov edx, dword [r15 + r13*2]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x1401b1be0]
mov cl, byte [rdi]
test cl, cl
je 0x1400633f5
mov rdx, r12
cmp cl, byte [rax]
jne 0x1400633f2
inc rax
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x1400633e0
xor ecx, ecx
movzx ebp, cl
lea r13, [r15 + r13*2]
movzx ecx, byte [rax]
lea rax, [r13 + 4]
cmp ebp, ecx
cmovle rax, r15
mov rcx, r14
cmovs rcx, r13
jne 0x14006339a
cmp r15, r14
je 0x140063447
mov r14, qword [rsp + 0x30]
mov edx, dword [r14 + 0x24]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x1401b1be0]
sub r13, qword [rsp + 0x28]
sar r13, 1
movzx edi, word [rax + r13]
add di, word [r14 + 0x10]
mov word [rsi], di
mov bpl, 1
jmp 0x140063449
xor ebp, ebp
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140063522
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140063559
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x140063559
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x140063559
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
ret
Function at 0x140067940
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x140067955
mov r8d, r8d
add rsp, 0x28
jmp fcn.1400670c0
test r8d, r8d
jne 0x14006795f
call fcn.140098a80
xor eax, eax
add rsp, 0x28
ret
Function at 0x140072d50
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x7c], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x1401913b0]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [0x1401913c0]
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x8c], 0x20
lea rcx, [rsp + 0x20]
call fcn.140073dc0
mov ebx, dword [rsp + 0x8c]
mov ebp, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x44]
lea rdi, [rsp + 0x48]
mov eax, dword [rsp + 0x88]
lea rcx, [rax + 1]
mov byte [rsp + rax + 0x48], 0x80
cmp rax, 0x38
jb 0x140072e1b
cmp eax, 0x3f
je 0x140072e04
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.140146ec0
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.140073ed0
xor ecx, ecx
jmp 0x140072e21
cmp rcx, 0x38
je 0x140072e34
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.140146ec0
bswap r14d
bswap ebp
mov dword [rsp + 0x80], r14d
mov dword [rsp + 0x84], ebp
lea rcx, [rsp + 0x20]
mov r8d, 1
mov rdx, rdi
call fcn.140073ed0
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
cmp ebx, 0x20
ja 0x140072eeb
cmp ebx, 4
jb 0x140072eeb
shr ebx, 2
mov eax, dword [rsp + 0x20]
bswap eax
mov dword [rsi], eax
cmp ebx, 1
je 0x140072eeb
mov eax, dword [rsp + 0x24]
bswap eax
mov dword [rsi + 4], eax
cmp ebx, 2
je 0x140072eeb
mov eax, dword [rsp + 0x28]
bswap eax
mov dword [rsi + 8], eax
cmp ebx, 3
je 0x140072eeb
mov eax, dword [rsp + 0x2c]
bswap eax
mov dword [rsi + 0xc], eax
cmp ebx, 4
je 0x140072eeb
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [rsi + 0x10], eax
cmp ebx, 5
je 0x140072eeb
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [rsi + 0x14], eax
cmp ebx, 6
je 0x140072eeb
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [rsi + 0x18], eax
cmp ebx, 7
je 0x140072eeb
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [rsi + 0x1c], eax
lea rcx, [rsp + 0x20]
mov edx, 0x70
call fcn.14007dfc0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140143c30
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14007a010
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x1b
call fcn.140054d70
lea rcx, [rsp + 0x50]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.140043ee0
mov rcx, rsi
call fcn.14003d030
test al, al
je 0x14007a174
mov rcx, rsi
call fcn.14003d040
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x14007a112
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jb 0x14007a0f1
call fcn.140054d90
mov rcx, qword [rsi + 0x40]
call fcn.140035570
mov qword [rsi + 0x40], 0
mov rax, rbx
inc rax
cmp rax, 2
jb 0x14007a106
mov qword [rsi + 0x40], rbx
call fcn.140054d90
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
lea rax, [rbx + 1]
cmp rax, 2
jae 0x14007a120
xor edi, edi
jmp 0x14007a174
mov qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14007a174
lea rax, [rsi + 0x30]
mov rax, qword [rax]
lea rcx, [0x140182d20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.140063068
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.140043f40
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140143c30
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007a1a0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x3a
call fcn.140054d70
lea rcx, [rsp + 0x60]
xor r14d, r14d
mov rdx, r15
xor r8d, r8d
call fcn.140043ee0
mov rcx, rsi
call fcn.14003d030
test al, al
je 0x14007a323
cmp ebx, 4
ja case.default.0x14007a244
mov eax, ebx
lea rcx, [0x140191684]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov ebp, 2
mov ebx, 4
jmp 0x14007a298
mov rcx, rsi
call fcn.14007a010
mov r14d, eax
jmp 0x14007a323
mov ebp, 8
mov ebx, 1
jmp 0x14007a298
mov r14, qword [rdi + 8]
mov r15, r14
shr r15, 0x20
mov ebp, 4
mov ebx, 2
jmp 0x14007a29b
mov ebp, 4
mov ebx, 2
jmp 0x14007a298
mov ebx, 0xaaaaaaaa
xor ebp, ebp
xor r15d, r15d
mov rcx, rsi
call fcn.14003d040
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, ebp
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x14007a317
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jb 0x14007a2f6
call fcn.140054d90
mov rcx, qword [rsi + 0x40]
call fcn.140035570
mov qword [rsi + 0x40], 0
mov rax, r14
inc rax
cmp rax, 2
jb 0x14007a30b
mov qword [rsi + 0x40], r14
call fcn.140054d90
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jae 0x14007a350
xor r14d, r14d
lea rcx, [rsp + 0x60]
call fcn.140043f40
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140143c30
mov eax, r14d
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dword [rsp + 0x3c], 0
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
cmp rcx, qword [0x140191698]
jne 0x14007a38c
cmp rdx, qword [0x1401916a0]
jne 0x14007a38c
mov rcx, rsi
call fcn.14003d7b0
xor r14d, r14d
test rax, rax
jle 0x14007a323
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
jmp 0x14007a409
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x30]
call fcn.14007a7a0
mov rcx, qword [rdi + 8]
movsxd rax, dword [rsp + 0x3c]
mov r8, rax
sar r8, 0x3f
add rax, rcx
adc r8, 0
mov edx, r8d
and edx, 1
neg rdx
xor r8, rdx
setne r8b
mov r14, qword [rsp + 0x40]
test r14, r14
js 0x14007a320
test r8b, r8b
jne 0x14007a320
test rdx, rdx
js 0x14007a320
mov r8, r14
shr r8, 0x20
mov qword [rsi + 0x38], rcx
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, ebx
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14007a320
add rsi, 0x30
movsxd rax, dword [rsp + 0x3c]
add qword [rsi], rax
mov r14b, 1
jmp 0x14007a323
Function at 0x14007c1f0
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rdx, qword [rdx]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14007e4b0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14007e54e
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14007e522
call fcn.140054d90
mov rcx, qword [rsi]
call fcn.140035570
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14007e534
mov qword [rsi], rdi
call fcn.140054d90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x14007e552
jmp 0x14007e598
mov byte [rsi + 8], 0
lea rdx, str.WaitableEvent
lea r8, str....._base_synchronizationwaitable_event_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x20
call fcn.140054d70
lea rdx, str.handle_.is_valid__
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r8d, 0xffffffff
mov r9, rdi
call fcn.14005fcb0
mov rcx, rbx
call fcn.14005ff10
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140143c30
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x140090d30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rdi, rdx
mov esi, ecx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], r14
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm6
mov rdx, qword [rdx]
mov r9, qword [rdi + 8]
add r9, rdx
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r8, rdx
call fcn.14000b1a0
mov qword [rsp + 0x30], r14
movaps xmmword [rsp + 0x20], xmm6
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
add r8, rdx
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9, r8
call fcn.14000b1a0
mov rcx, rbx
mov rdx, rdi
call fcn.14000ba60
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0x28]
je 0x140090e23
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x28]
lea rdi, [rsp + 0x40]
lea r12, [0x140192d10]
lea rbx, [rsp + 0x20]
nop word cs:[rax + rax]
mov rcx, rdi
call fcn.140048820
movzx eax, byte [rax]
movzx ecx, sil
xor ecx, eax
shr esi, 8
xor esi, dword [r12 + rcx*4]
mov rcx, rdi
call fcn.1400488f0
mov rcx, rdi
mov rdx, rbx
call fcn.14000ba60
mov rax, qword [r14]
cmp rax, qword [r15]
jne 0x140090df0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140143c30
mov eax, esi
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140092670
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rcx], 0
mov eax, dword [0x1401c65c8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x1a0]
mov qword [rsi + 8], rcx
mov rcx, qword [rax + 0x1a0]
mov qword [rax + 0x1a0], rsi
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x38], 0
mov dword [rsi + 0x40], 0
mov byte [rsi + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x58], r8
mov qword [rsi + 0x60], r9
test byte [0x1401c1d80], 9
jne 0x140092703
mov byte [rsi + 0x30], 0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140143c30
mov rax, rsi
add rsp, 0x30
pop rsi
ret
lea rax, [rsi + 0x18]
mov byte [rsi + 0x30], 1
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [rsp + 0x20]
call qword [0x1401b1be0]
mov rax, qword [rsp + 0x20]
mov qword [rsi + 0x20], rax
jmp 0x1400926ed
Function at 0x14009afa6
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rax, qword [0x1401c2c08]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 8]
mov ebx, 8
inc rax
cmp rax, 1
ja 0x14009b0be
mov rdi, rcx
cmp qword [rcx + 0x18], 0
jne 0x14009b0be
lea rbx, [rdi + 8]
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rcx, rbx
mov rdx, rax
call fcn.140002e3a
mov rax, qword [rbx]
mov ebx, 0x3b
inc rax
cmp rax, 2
jb 0x14009b0be
mov ecx, 0x20
call fcn.140143888
mov r14, rax
mov rcx, rax
call fcn.1400e8fd8
mov r15, qword [rdi + 8]
mov ecx, 0x18
call fcn.140143888
mov rcx, qword [rsi]
xor ebx, ebx
mov qword [rsi], rbx
mov qword [rax], r15
mov qword [rax + 8], rcx
mov qword [rax + 0x10], r14
mov qword [rsp + 0x30], rax
mov qword [rdi + 0x18], r14
lea r14, [rdi + 0x10]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
lea r8, [0x14009b100]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, r14
mov rdx, rax
call fcn.140002e3a
mov rax, qword [rdi + 0x10]
inc rax
cmp rax, 1
ja 0x14009b0ab
mov qword [rdi + 0x18], 0
mov ebx, 0x3b
jmp 0x14009b0b4
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14009b710
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x14009b0df
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1401b1be0]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140143c30
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret