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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14014fd30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14005d01e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14005d017
call fcn.14005ceb0
jmp 0x14005cffe

Function at 0x14005fb20
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14005fb35
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x14006b590
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
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 0x14006b62a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14006b614
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006b5f1
mov qword [rsi], rdi
call fcn.140076150
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 0x14006b62e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140076150
mov rcx, qword [rsi]
call fcn.1400779a0
mov qword [rsi], 0
jmp 0x14006b5df
mov byte [rsi + 8], 0
int3
Function at 0x1400779d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401536c0]
mov ecx, dword [0x14014fde0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140077a30
mov rsi, qword [0x1401536b8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14009fb90
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401536c0]
call fcn.14009e7c0
cmp dword [0x1401536c0], 0xffffffff
jne 0x140077a0c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400a1ce0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14009e668
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140153708]
mov ecx, dword [0x14014fde0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140077af0
lea r8, [0x1401536d8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14003b080
mov qword [0x1401536b8], rsi
lea rcx, [0x1401536c0]
call fcn.14009e858
jmp 0x140077a0c
lea rcx, [0x140153708]
call fcn.14009e7c0
cmp dword [0x140153708], 0xffffffff
jne 0x140077ac1
xorps xmm0, xmm0
movups xmmword [0x1401536f8], xmm0
movups xmmword [0x1401536e8], xmm0
movups xmmword [0x1401536d8], xmm0
lea rcx, [0x1401536d8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140153708]
call fcn.14009e858
jmp 0x140077ac1

Function at 0x140078680
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.140078540
mov qword [rsi], 0
test rax, rax
je 0x1400786d3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140078707
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400786cb
mov qword [rsi], rbx
call fcn.140076150
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140071ee0
lea rcx, [rsi + 0x20]
call fcn.140087990
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140076150
mov rcx, qword [rsi]
call fcn.1400779a0
mov qword [rsi], 0
jmp 0x1400786b9
Function at 0x140088770
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x140088846
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
jne 0x14008884a
xor eax, eax
lea rcx, [0x14012c2e0]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x1400887be
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.140087d90
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140088862
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x14008880d
lea rcx, section..text
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009fb90
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140088830
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x1400887b5
jmp 0x14008884c
bt eax, 9
jae 0x140088882
call fcn.140004350
lea rax, [0x140004820]
test rdi, rdi
je 0x14008880d
lea rcx, [0x140004520]
jmp 0x14008880a
call fcn.1400fb540
lea rax, [0x1400fbd40]
test rdi, rdi
je 0x14008880d
lea rcx, [0x1400fb420]
jmp 0x14008880a

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x14008b1cb
xor ecx, ecx
lea r9, [0x14012c4a0]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x14008b1b0
ret
Function at 0x14008d5a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x140056e20]
mov qword [rsp + 0x20], rax
lea rcx, [0x14015c5b0]
lea rdx, [0x140056cc0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14008d634
cmp dword [0x14015c5b8], 0
jne 0x14008d630
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14015c5bc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14008d630
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009fb90
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14008d618
call fcn.1400b7470
int3
Function at 0x140098040
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14014fd30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140098074
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140098074
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14009806e

Function at 0x14009ee94
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009eede
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009eede
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009eede
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009eede
cmp dword [rcx + 0x84], 0xe
jbe 0x14009eede
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009eee0
xor al, al
add rsp, 0x28
ret

Function at 0x14009f3b0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x14009f428
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14009f428
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x14009f428
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14009f41c
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14009f43a
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14009f40a
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14009f42a

Function at 0x1400b2158
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400b218f
call fcn.1400b51b4
mov dword [rax], 0x16
call fcn.1400b7518
xor eax, eax
jmp 0x1400b221d
mov rdx, r9
mov rcx, r8
call fcn.1400b2240
mov rbx, rax
test rax, rax
je 0x1400b221a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400b22b0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400b2207
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b51f4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400b21ee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400b21fd
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140075730
jmp 0x1400b221a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b2217
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400b5518
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140111a48]
mov rbp, rcx
call fcn.1400c73cc
xor edi, edi
test rax, rax
je 0x1400b55fe
mov ebx, edi
call fcn.1400b51b4
mov r14d, dword [rax]
call fcn.1400b51b4
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400b9de0
mov rsi, rax
test rax, rax
je 0x1400b558f
call fcn.1400b51b4
mov dword [rax], r14d
jmp 0x1400b55b9
call fcn.1400b51b4
cmp dword [rax], 0x22
jne 0x1400b55f6
call fcn.1400b51b4
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400b9de0
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400b55f6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400b55bd
cmp rax, 3
je 0x1400b55d8
mov rcx, rsi
call fcn.1400b5474
test al, al
je 0x1400b55e9
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400b55e9
mov dil, 1
mov rcx, rbx
call fcn.140075730
mov al, dil
jmp 0x1400b5600
mov rcx, rbx
call fcn.140075730
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14009fb90
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400beb30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400beb58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400beb58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400c8b88
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400c26d4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400c8c29
cmp ebx, dword [rsp + 0x30]
je 0x1400c8c22
test esi, esi
je 0x1400c8c22
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400c8bfd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400c8c0a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400c8be7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400c8c0e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400c8c2b
mov eax, 1
jmp 0x1400c8c2b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c9c4c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400c9c7c
xor eax, eax
jmp 0x1400c9d3f
mov rbp, rbx
cmp word [rax], si
je 0x1400c9ca1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c9c88
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c9c84
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400c9b6c
movsxd r14, eax
test eax, eax
jne 0x1400c9cdf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c9c75
mov rcx, r14
call fcn.1400373e0
mov rdi, rax
test rax, rax
jne 0x1400c9cf8
xor ecx, ecx
call fcn.140075730
jmp 0x1400c9cd4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400c9b6c
test eax, eax
jne 0x1400c9d29
mov rcx, rdi
call fcn.140075730
jmp 0x1400c9d33
xor ecx, ecx
call fcn.140075730
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400c9d5c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400c9de3
mov rsi, rbx
cmp word [rax], bp
je 0x1400c9da2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c9d8c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c9d88
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400373e0
mov rdi, rax
test rax, rax
je 0x1400c9dd0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400a1630
mov rbp, rdi
xor ecx, ecx
call fcn.140075730
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400cd05c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400cd0a6
call fcn.1400b51d4
mov dword [rax], 0xf
call fcn.1400b51b4
mov dword [rax], 0xd
call fcn.1400b7518
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009fb90
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400cd0b1
lea eax, [rbx + 1]
jmp 0x1400cd093
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400cd091
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400cd093

Function at 0x1400cd67c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400cd692
mov al, 1
jmp 0x1400cd6f2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400cd6a3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400cd6f0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400b5a4c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cd6f0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400cd6f0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400cd6f0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400cd6f2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400d1148
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400ac9c4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400d11d2
cmp byte [rbp - 0x21], r15b
je 0x1400d11cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400d1208
call fcn.1400c2ea4
test eax, eax
jne 0x1400d11f4
cmp byte [rbp - 0x21], r15b
je 0x1400d11ec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400d1208
cmp byte [rbp - 0x21], r15b
je 0x1400d1205
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400b1fdc
test eax, eax
jne 0x1400d12a8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400ac9c4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400d1247
cmp byte [rbp - 0x21], r15b
je 0x1400d127c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400d127c
call fcn.1400c2ea4
test eax, eax
jne 0x1400d1268
cmp byte [rbp - 0x21], r15b
je 0x1400d1261
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400d127c
cmp byte [rbp - 0x21], r15b
je 0x1400d1279
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400b1fdc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400d12a8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400d12ab
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400d12b9
mov rcx, rdi
call fcn.140075730
cmp byte [rbp + 0x3f], r15b
je 0x1400d12c8
mov rcx, qword [rbp + 0x27]
call fcn.140075730
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400ee470
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov qword [rsp + 0x48], r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx ebp, word [rcx + 0x28]
movzx esi, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx r12d, word [rdi + 0x28]
call r15
mov word [rsp + 0x46], ax
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.1400a1ce0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.14002b3e0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400ee575
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400ee575
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x1400ee575
dec r8d
mov rcx, qword [rsp + 0x48]
call fcn.14006cf20
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14009fb90
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.1400a1ce0
movzx eax, r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.14002b3e0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400ee5f6
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400ee5f6
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400ee53f
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400a1ce0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.14002b3e0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400ee677
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400ee677
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400ee53f
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400a1ce0
movzx eax, word [rsp + 0x46]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.14002b3e0
lea r8, [rsp + 0x58]
mov qword [r8], 0
lea r9, [rsp + 0x54]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400ee6fc
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400ee6fc
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x1400ee53f
xor esi, esi
jmp 0x1400ee54f
Function at 0x1400efb40
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400efb4d
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400f0e60
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140153658]
test rax, rax
jne 0x1400f0ea4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140153658]
test rax, rax
je 0x1400f0e91
cmp eax, 2
jne 0x1400f0efc
mov ecx, 2
call fcn.140078f00
test al, al
je 0x1400f0f59
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.14003c620
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1400d4ed0
mov rcx, rsi
call fcn.14003cc70
jmp 0x1400f0f59
mov eax, 1
lock xadd qword [0x140153690], rax
inc rax
cmp rax, 2
jl 0x1400f0f20
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140153618], eax
mov qword [0x140153610], rsi
mov rcx, qword [0x140143198]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140078f00
test al, al
jne 0x1400f0f89
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14009fb90
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.14003c620
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x1400f0eed