joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c8384
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400c84cc

Function at 0x1400c84cc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400c84cc
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400c853b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c853b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c853b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c853b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c853b
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c853b
cmp dword [rcx + 0xf8], 0
je 0x1400c853b
mov ecx, ebx
call fcn.1400c8404
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400c8660
nop
cmp dword [rbp + 0x20], 0
je 0x1400c8589
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400c8498
int3

Function at 0x1400cb234
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 [0x140145040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140138bd8]
mov rbp, rcx
call fcn.1400dc90c
xor edi, edi
test rax, rax
je 0x1400cb31a
mov ebx, edi
call fcn.1400b5430
mov r14d, dword [rax]
call fcn.1400b5430
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400b5f94
mov rsi, rax
test rax, rax
je 0x1400cb2ab
call fcn.1400b5430
mov dword [rax], r14d
jmp 0x1400cb2d5
call fcn.1400b5430
cmp dword [rax], 0x22
jne 0x1400cb312
call fcn.1400b5430
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400b5f94
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400cb312
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400cb2d9
cmp rax, 3
je 0x1400cb2f4
mov rcx, rsi
call fcn.1400cb190
test al, al
je 0x1400cb305
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400cb305
mov dil, 1
mov rcx, rbx
call fcn.14008bde0
mov al, dil
jmp 0x1400cb31c
mov rcx, rbx
call fcn.14008bde0
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400b7310
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 0x1400ccd98
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140154c30]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400ccdef
cmp word [rdx], r13w
jne 0x1400ccdef
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400ccdf4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400ccf19
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400ccf3a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400cce2d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400cce54
cmp r9, r8
jae 0x1400cce64
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400cce0e
jmp 0x1400ccf19
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ccf0e
cmp dword [rsp + 0x80], esi
je 0x1400ccf0e
lea r8, [0x140154c30]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400ccee6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400cceb6
mov word [rbx], r13w
jmp 0x1400ccf16
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400ccec3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400ccf16
cmp word [rsp + 0x70], r13w
jne 0x1400ccef3
cmp rbx, r14
je 0x1400cceb0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400db518
cmp word [rsp + 0x70], r13w
je 0x1400ccf19
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140154c30]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400ccf13
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400ccf19
Function at 0x1400d3ff0
Capabilities:
Parse pe header

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

Function at 0x1400de0c8
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.1400d7c14
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 0x1400de169
cmp ebx, dword [rsp + 0x30]
je 0x1400de162
test esi, esi
je 0x1400de162
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400de13d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400de14a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400de127
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400de14e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400de16b
mov eax, 1
jmp 0x1400de16b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400df190
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 0x1400df1c0
xor eax, eax
jmp 0x1400df283
mov rbp, rbx
cmp word [rax], si
je 0x1400df1e5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400df1cc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400df1c8
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.1400df0b0
movsxd r14, eax
test eax, eax
jne 0x1400df223
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400df1b9
mov rcx, r14
call fcn.140060380
mov rdi, rax
test rax, rax
jne 0x1400df23c
xor ecx, ecx
call fcn.14008bde0
jmp 0x1400df218
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.1400df0b0
test eax, eax
jne 0x1400df26d
mov rcx, rdi
call fcn.14008bde0
jmp 0x1400df277
xor ecx, ecx
call fcn.14008bde0
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 0x1400df2a0
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 0x1400df327
mov rsi, rbx
cmp word [rax], bp
je 0x1400df2e6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400df2d0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400df2cc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140060380
mov rdi, rax
test rax, rax
je 0x1400df314
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400eabe0
mov rbp, rdi
xor ecx, ecx
call fcn.14008bde0
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 0x1400e259c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140145040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400e25e6
call fcn.1400caef0
mov dword [rax], 0xf
call fcn.1400b5430
mov dword [rax], 0xd
call fcn.1400cd12c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400b7310
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400e25f1
lea eax, [rbx + 1]
jmp 0x1400e25d3
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 0x1400e25d1
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400e25d3

Function at 0x1400e2bbc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400e2bd2
mov al, 1
jmp 0x1400e2c32
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400e2be3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400e2c30
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400cb75c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400e2c30
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400e2c30
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400e2c30
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400e2c32
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400e7458
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.1400c2af4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400e74e2
cmp byte [rbp - 0x21], r15b
je 0x1400e74dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400e7518
call fcn.1400d83e4
test eax, eax
jne 0x1400e7504
cmp byte [rbp - 0x21], r15b
je 0x1400e74fc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400e7518
cmp byte [rbp - 0x21], r15b
je 0x1400e7515
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.1400c7fdc
test eax, eax
jne 0x1400e75b8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400c2af4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400e7557
cmp byte [rbp - 0x21], r15b
je 0x1400e758c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400e758c
call fcn.1400d83e4
test eax, eax
jne 0x1400e7578
cmp byte [rbp - 0x21], r15b
je 0x1400e7571
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400e758c
cmp byte [rbp - 0x21], r15b
je 0x1400e7589
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.1400c7fdc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400e75b8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400e75bb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400e75c9
mov rcx, rdi
call fcn.14008bde0
cmp byte [rbp + 0x3f], r15b
je 0x1400e75d8
mov rcx, qword [rbp + 0x27]
call fcn.14008bde0
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 0x1400f0470
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400f04a7
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x1400f0481
ret

Function at 0x1400f0520
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400f0558
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x1400f0531
ret
Function at 0x140105d40
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 [0x140145040]
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.1400eb280
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.14002a260
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 0x140105e45
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140105e45
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x140105e45
dec r8d
mov rcx, qword [rsp + 0x48]
call fcn.1400ac3d0
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b7310
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.1400eb280
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.14002a260
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 0x140105ec6
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140105ec6
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x140105e0f
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400eb280
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.14002a260
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 0x140105f47
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140105f47
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x140105e0f
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400eb280
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.14002a260
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 0x140105fcc
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140105fcc
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x140105e0f
xor esi, esi
jmp 0x140105e1f
Function at 0x140107590
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140145040]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1401575f0]
test rax, rax
je 0x1401076b9
cmp eax, 2
je 0x14010764a
mov eax, 1
lock xadd qword [0x140157628], rax
inc rax
cmp rax, 2
jl 0x1401075eb
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1401575a8], eax
mov qword [0x1401575a0], rsi
mov rcx, qword [0x1401471d0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.140029310
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x14010767c
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.140029310
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1400edbd0
mov rcx, rsi
call fcn.1400080e0
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.1400b7310
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1401575f0]
test rax, rax
je 0x1401076c0
jmp 0x1401075be
Function at 0x140107e70
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140145040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1401577c0], 0
je 0x140107eb6
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400b7310
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1401577b8]
test rdi, rdi
jne 0x140107f99
mov ecx, 0x18
call fcn.1400b4d4c
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400eb280
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1401213c0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140058780
movzx ecx, byte [rdi + 0x17]
test cl, cl
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
mov r9, rcx
cmovs r9, r8
mov r10, rdi
cmovs r10, rax
test r9, r9
je 0x140107f7d
add r9, r9
test r9, r9
je 0x140107f7d
lea rdx, [r9 - 2]
cmp word [r10 + r9 - 2], 0x5c
mov r9, rdx
jne 0x140107f3f
cmp rdx, 0xfffffffffffffffe
je 0x140107f7d
sar rdx, 1
lea r9, [rdx + 1]
test cl, cl
jns 0x1401080f5
cmp r8, rdx
jbe 0x14010810d
mov qword [rdi + 8], r9
mov word [rax + rdx*2 + 2], 0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140059400
mov qword [0x1401577b8], rdi
cmp byte [rdi + 0x17], 0
jns 0x140107fa2
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401577c0], rax
inc rax
cmp rax, 1
ja 0x140107e99
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400eb280
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x1401080e1
mov rcx, qword [0x1401577b8]
lea rdx, [rsp + 0x40]
call fcn.140013d00
mov rcx, qword [0x1401577b8]
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x1401080e8
mov rax, qword [rcx + 8]
test rax, rax
je 0x14010810a
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x14010806c
lea rdx, [0x140135b0c]
mov r8d, 1
call fcn.140059400
mov rcx, qword [0x1401577b8]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140059400
mov rcx, qword [0x1401577b8]
cmp byte [rcx + 0x17], 0
jns 0x140108095
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401577c0], rax
inc rax
cmp rax, 1
ja 0x140107e99
mov qword [0x1401577c0], 0
xor esi, esi
jmp 0x140107e99
test rax, rax
je 0x14010810a
mov rdx, rcx
jmp 0x140108052
cmp rdx, rcx
jae 0x14010810d
and r9b, 0x7f
mov byte [rdi + 0x17], r9b
mov rax, rdi
jmp 0x140107f76
int3
int3
Function at 0x140109e40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
mov rax, r8
sub rax, rdx
je 0x140109e7d
js 0x140109e81
shr rax, 2
lea r9, [0x14012a4b0]
movzx r10d, byte [rdx]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rdx
cmp rdx, r8
jne 0x140109e5c
cmp eax, dword [rcx + 0x18]
sete al
ret
xor eax, eax
jmp 0x140109e76
int3

Function at 0x14010b3c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call fcn.14003bb00
test rax, rax
jne 0x14010b401
mov rcx, rdi
call fcn.14002ec90
test al, al
je 0x14010b401
mov r8d, 0x28
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14002eb70
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x140145040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movdqu xmm0, xmmword [r8]
movdqa xmmword [rsp + 0x20], xmm0
mov ebx, 1
cmp rcx, rdx
je 0x14010bb5b
mov rsi, r9
mov rdi, rcx
movdqu xmm0, xmmword [rdi]
pxor xmm0, xmmword [rsp + 0x20]
ptest xmm0, xmm0
je 0x14010bb72
add rdi, 0x70
cmp rdi, rdx
jne 0x14010bb41
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b7310
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
cmp rdi, rdx
je 0x14010bb5b
cmp byte [rdi + 0x27], 0
js 0x14010bb83
lea rcx, [rdi + 0x10]
jmp 0x14010bb87
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x14010bb5b
mov qword [rsi], rdi
xor ebx, ebx
jmp 0x14010bb5b

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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x140145040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov esi, 1
cmp r14, rax
je 0x14010bd75
mov rdi, r9
mov rbx, rcx
movdqu xmm0, xmmword [r14]
pxor xmm0, xmmword [rsp + 0x20]
ptest xmm0, xmm0
je 0x14010bd8e
add r14, 0x70
cmp r14, rax
jne 0x14010bd5a
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b7310
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp r14, rax
je 0x14010bd75
mov eax, dword [r14 + 0x68]
cmp eax, r8d
je 0x14010bdab
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
jmp 0x14010bd75
cmp byte [r14 + 0x27], 0
js 0x14010bdb8
lea rcx, [r14 + 0x10]
jmp 0x14010bdbc
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010bd75
shr eax, 3
and eax, 2
mov esi, eax
jne 0x14010bd75
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x14010bd75