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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rcx]
mov rbx, rcx
lea ecx, [rax*2 - 1]
add ecx, eax
call fcn.180001bb0
mov r8, qword [rbx + 8]
mov r9d, 0x807249c
mov dword [rsp + 0x20], 0x3b3515ac
mov rsi, rax
mov dword [rsp + 0x24], 0x3f3111a8
mov rdx, rax
mov dword [rsp + 0x28], 0x4a461da4
mov r11d, 1
mov dword [rsp + 0x2c], 0x4e4260df
mov dword [rsp + 0x30], r9d
mov ecx, dword [rsp + 0x20]
mov byte [rsp + 0x34], 0
mov cl, byte [rsp + 0x34]
test cl, cl
jne 0x180004fd4
xor ecx, ecx
mov eax, dword [rsp + rcx*4 + 0x20]
xor eax, r9d
mov dword [rsp + rcx*4 + 0x20], eax
add rcx, r11
cmp rcx, 5
jb 0x180004fc0
mov rax, qword [rbx]
xor edi, edi
xor r9d, r9d
sub rax, r11
je 0x18000504b
mov cl, byte [r8]
lea eax, [rcx - 0x26]
cmp al, 0x37
ja 0x180004ffb
movabs r10, 0xfffffffaafff01
bt r10, rax
jb 0x18000502d
lea eax, [rcx - 0x61]
cmp al, 0x19
jbe 0x18000502d
mov byte [rdx], 0x25
add rdx, r11
movzx eax, byte [r8]
shr rax, 4
mov al, byte [rsp + rax + 0x20]
mov byte [rdx], al
add rdx, r11
movsx rax, byte [r8]
and eax, 0xf
mov al, byte [rsp + rax + 0x20]
mov byte [rdx], al
mov eax, 3
jmp 0x180005032
mov byte [rdx], cl
mov eax, r11d
mov rcx, qword [rbx]
add edi, eax
add r9d, r11d
inc rdx
sub rcx, r11
mov eax, r9d
add r8, r11
cmp rax, rcx
jb 0x180004fe1
mov byte [rdx], 0
mov rdx, r11
mov rcx, qword [rbx + 0x10]
call fcn.180001b8c
lea eax, [rdi + 1]
movsxd rcx, eax
call fcn.180001bb0
mov rdx, rsi
mov qword [rbx + 0x10], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov rax, qword [rbx + 0x10]
movsxd rcx, edi
mov byte [rcx + rax], 0
mov rcx, rbx
mov rdx, qword [rbx + 0x10]
call fcn.180004dfc
mov rax, qword [rbx + 0x10]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1000010a0
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1000cc510]
jne 0x10003c5b3
rol rcx, 0x10
test cx, 0xffff
jne 0x10003c5af
ret 0
ror rcx, 0x10
jmp 0x10008b360
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1000cea10]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov r11, qword [0x1000ceb08]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x10008b3e5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1000cea10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.ntdll.dll_RtlVirtualUnwind
jmp 0x10008b407
mov rax, qword [rsp + 0x88]
mov qword [0x1000ceb08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000ceaa8], rax
mov rax, qword [0x1000ceb08]
mov qword [0x1000ce980], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1000cea90], rax
mov dword [0x1000ce970], 0xc0000409
mov dword [0x1000ce974], 1
mov rax, qword [0x1000cc510]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1000cc518]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000ac960]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x100003900
Capabilities:
Encode data using xor

Disassembly:
xorps xmm0, xmm13
or r14, rsi
xor r11, r11
lea rax, [rax + 0x46]
and rdi, r13
mov rsi, qword [rsp + r11]
shr r13, 0x3a
mov r15, 0x491751d8
sub rax, r11
add r10, 0xf
mov r14, 0x49157f2f
shr rdi, 0xa
xor r15, r14
lea r10, [r10 + 0xf4]
xor r12, 0x8a
sub rsi, r15
and rax, r14
mov r15, 0x3724397a
rol rdi, 0x36
mov r11, 0x372d4afa
add rax, 0x24
xorps xmm3, xmm4
xor r15, r11
and rax, rbx
add r15, rsi
pop r14
mov rax, r14
push rax
xor r14, 0x17
mov rbx, qword [r15]
mov r14, r13
mov r14, 0x6b185921
subps xmm5, xmm4
and r15, r10
mov r11, 0x6b177251
push rdi
pop r12
xor r14, r11
dec r12
inc r12
add r14, rsi
or r12, 0x56
sub rdi, 0x56
mov r13, 0xa6585e9
or r15, 0xba
xor r15, 0xb5
mov rsi, 0xa651c2c
and rax, r12
xor r13, rsi
ror rdi, 0x2e
mov r12, 0x43
test rdi, r11
mov rsi, 0x47
test rdi, r11
or r10, 0x64
xor r12, rsi
xor r15, rdi
push r14
and r15, rsi
push r13
shl r10, 0x18
push rbx
or r11, 0xd1
or r10, rax
sub rsp, 0x20
test rsi, rdi
xchg r15, rax
mov rcx, r14
or r15, rsi
mov rdx, r13
or rsi, r10
mov r8, r12
and rdi, r11
mov r15, rax
lea r9, [rsp]
push r12
pop rsi
call rbx
rol r12, 0x2b
add rsp, 0x20
xchg rsi, rax
rol r14, 0x32
pop r13
mov rsi, rax
pop r15
mov r10, 0xd3
and rdi, 0x1f
pop rbx
nop
pop r10
mov rsi, r10
push rsi
xor r11, r11
xor r12, rdi
pop r12
mov rsi, r12
push rsi
lea rdi, [rbx + r11]
sub rax, r12
shr r10, 0x22
mov sil, byte [rdi]
add r14, 0xa5
xor sil, 0xf8
or rax, r10
sub r10, 0x93
add sil, 0xd5
push r12
pop rax
mov byte [rdi], sil
push rax
pop r12
or r10, r14
inc r11
push r12
pop r10
cmp r11, r15
mov rax, r10
xchg r10, r14
jne 0x100003a5b
xchg r14, r12
mov rsi, 0x8b
or rdi, 0xec
mov r14, 0xab
and rdi, 0xb3
xorps xmm0, xmm12
xor rsi, r14
inc rax
push rbx
push rdi
pop r14
inc r12
sub rsp, 0x20
sub r11, 0x16
lea r12, [r12 + 0x7b]
mov rcx, rbx
mov r11, 0xc2
mov rdx, r15
test rbx, r11
mov r8, rsi
ror r14, 0x1c
and rbx, rax
lea r9, [rsp]
cmp rsi, r11
call r13
mov r15, 0x78
add rsp, 0x20
dec rdi
nop
ret
Function at 0x10000c384
Capabilities:
Get file size

Disassembly:
test rcx, rcx
je 0x10000c4b8
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rdi, rcx
cmp qword [rcx + 0x40], 0
je 0x10000c4a8
lea rdx, [0x1000cdcf8]
lea rcx, [rax + 0x10]
call fcn.100028ad4
nop
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov r12d, 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8d, r12d
mov edx, 0x80000000
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x100034dd2
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
setne bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x100034dd2
cmp dword [rsp + 0x74], 0
jne 0x100034dd2
mov edx, r12d
mov rcx, rdi
call fcn.100002984
test eax, eax
je 0x10000c454
mov r9, qword [rdi + 0x648]
mov r8, r12
mov edx, 0x40f
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 1
mov r8d, dword [rsp + 0x70]
mov edx, 0xc3cf
lea rcx, [rsp + 0x80]
call fcn.10000c980
nop
mov r11, qword [rax]
mov edx, r12d
mov rcx, rdi
call fcn.100002984
mov r9d, eax
mov r8, r11
mov rcx, rdi
call fcn.1000029c8
nop
lea rcx, [rsp + 0x80]
call fcn.100001188
jmp 0x10000c49e
lea rcx, [rsp + 0x78]
call fcn.100001188
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret
mov edx, r12d
mov rcx, rdi
call fcn.100002984
test eax, eax
je 0x10003c7c9
mov r9d, 1
lea r8, [0x1000a69fc]
mov rcx, rdi
call fcn.1000029c8
xor r9d, r9d
mov r8, r12
mov edx, 0x40f
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10000c49e
xor r9d, r9d
lea r8, [0x1000a69fc]
mov rcx, rdi
call fcn.1000029c8
nop
jmp 0x10000c49e

Function at 0x10000cb80
Capabilities:
Clear file content

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
cmp dword [rcx + 0x1d4], 0
je 0x10000cbb5
mov rcx, qword [rdx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rax + 0x40]
nop
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.10000cc10
mov ecx, dword [rdi + 0x1dc]
test ecx, ecx
je 0x10000cbef
xor r9d, r9d
mov r8, qword [rsp + 0x40]
lea edx, [r9 + 5]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop
lea rcx, [rsp + 0x40]
call fcn.100001188
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x100013668
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, rdx
mov rbp, rcx
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov esi, 0x80004005
xor edi, edi
and qword [r11 - 0x30], rdi
and qword [r11 - 0x28], rdi
and qword [r11 - 0x50], rdi
lea rcx, [r11 - 0x50]
mov qword [r11 - 0x68], rcx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Ribbon
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000137a4
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x50], rdi
mov eax, dword [rsp + 0xa0]
add eax, eax
mov dword [rsp + 0x30], eax
xor esi, esi
mov dword [rsp + 0xa0], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rsi
lea r9, [rsp + 0xa8]
xor r8d, r8d
lea rdx, str.QatItems
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100013733
cmp dword [rsp + 0xa8], 1
jne 0x10004e184
mov esi, dword [rsp + 0x30]
shr esi, 1
mov dword [rsp + 0xa0], esi
xor eax, eax
test eax, eax
jne 0x100013792
mov ecx, esi
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1000034f0
mov rsi, rax
test rax, rax
je 0x100013792
lea r9, [rsp + 0xa0]
mov r8, rax
lea rdx, str.QatItems
lea rcx, [rsp + 0x50]
call fcn.100013990
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.100013818
mov rcx, rsi
call sub.msvcrt.dll_free
mov rbx, qword [rsp + 0x40]
test rdi, rdi
je 0x1000137a2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
xor esi, esi
test rdi, rdi
jne 0x10004e197
test esi, esi
js 0x1000137f2
test rbx, rbx
je 0x1000137f2
and dword [rsp + 0xa0], 0
and dword [rsp + 0xa4], 0
mov rax, qword [rbx]
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, rbx
call qword [rax + 0x28]
mov r11, qword [rbp]
mov rdx, rbx
mov rcx, rbp
call qword [r11 + 0x20]
mov esi, eax
test rbx, rbx
je 0x100013800
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
mov eax, esi
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
cmp dword [rsp + 0xa8], 2
je 0x100013724
jmp 0x100013792
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1000137ad
Function at 0x100013990
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
mov eax, dword [r9]
mov rbx, r8
mov rdi, r9
add eax, eax
xor esi, esi
lea rdx, str.QatItems
mov dword [r9], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x30], eax
lea rax, [r11 - 0x18]
lea r9, [r11 + 0x20]
xor r8d, r8d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x100013a17
cmp dword [rsp + 0x68], 1
jne 0x10004e1ff
mov ecx, dword [rsp + 0x30]
cmp rbx, rsi
je 0x100013a11
cmp ecx, esi
je 0x10004e216
test cl, 1
jne 0x10004e20a
mov rax, rcx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
jne 0x10004e214
shr ecx, 1
xor eax, eax
mov dword [rdi], ecx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rsp + 0x68], 2
je 0x1000139e6
mov eax, 0xd
jmp 0x100013a17
jmp 0x10004e20a
mov word [rbx], si
jmp 0x100013a11
Function at 0x100014d68
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rdx
mov rbp, rcx
xor ebx, ebx
mov qword [rax + 0x20], rbx
lea rcx, [0x1000a69fc]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0xe0], rax
mov edi, 0x80004005
test rsi, rsi
je 0x100014ead
movdqu xmm0, xmmword [0x1000aaae8]
movdqu xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x60]
call fcn.10000d760
test eax, eax
js 0x10004e168
and dword [rsp + 0xd8], ebx
and dword [rsp + 0xdc], ebx
mov rax, qword [rsi]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, rsi
call qword [rax + 0x28]
lea r11d, [rbx + 0xd]
mov word [rsp + 0x70], r11w
mov qword [rsp + 0x78], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rbx, qword [rsp + 0xe8]
mov rax, qword [rbx]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [rax + 0x1d0]
test eax, eax
jne 0x100014e90
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
and qword [rsp + 0xe0], 0
mov rax, qword [rbx]
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call qword [rax + 0x110]
nop
mov eax, 0xfff
cmp word [rsp + 0x70], ax
je 0x10004e159
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x100014ead
and qword [rsp + 0xe8], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Ribbon
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100014f57
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xe0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.QatItems
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rsi, rsi
je 0x100014f4c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
xor edi, edi
test rsi, rsi
jne 0x10004e175
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
test rbx, rbx
je 0x100014f74
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x10]
mov eax, edi
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
mov eax, 8
mov word [rsp + 0x70], ax
jmp 0x100014ea0
mov rbx, qword [rsp + 0xe8]
jmp 0x100014ead
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x100014f57
Function at 0x10001b680
Capabilities:
Get geographical location

Disassembly:
push rbx
sub rsp, 0x250
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1000cc510]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ebx, 0xac
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xe0]
call sub.msvcrt.dll_memset
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x190]
call sub.msvcrt.dll_memset
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
mov ebx, 0x56
mov r9d, ebx
lea r8, [rsp + 0xe0]
mov edx, 0x1001
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10001b7bf
mov r9d, ebx
lea r8, [rsp + 0x190]
mov edx, 0x1002
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10001b7bf
mov r9d, ebx
lea r8, [rsp + 0x30]
mov edx, 0x1004
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100043df5
lea rcx, [rsp + 0x20]
call fcn.100001194
nop
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x20]
call fcn.100001284
lea rdx, [0x1000ac4d4]
lea rcx, [rsp + 0x20]
call fcn.10000bf7c
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.10000bf7c
lea rdx, [0x1000ac470]
lea rcx, [rsp + 0x20]
call fcn.10000bf7c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.10000bf7c
mov rdx, qword [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__wsetlocale]
nop
lea rcx, [rsp + 0x20]
call fcn.100001188
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1000010a0
add rsp, 0x250
pop rbx
ret
mov r9d, ebx
lea r8, [rsp + 0x30]
lea edx, [rbx - 0x4b]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x10001b747
jmp 0x10001b7bf
Function at 0x100022eb8
Capabilities:
Terminate process

Disassembly:
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100024d1c
mov dword [0x1000cc4a8], eax
cmp dword [0x1000cc49c], ebx
jne 0x100051329
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
nop
jmp 0x100051329
sub rsp, 0x28
call fcn.10001fee4
add rsp, 0x28
jmp 0x100022ed0
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call fcn.100003900
add byte [rax + 0x48b4865], dl
and eax, 0x30
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x1000cc388], rdi
jne 0x1000512b3
mov eax, dword [0x1000cc500]
cmp eax, 1
je 0x1000512d3
mov eax, dword [0x1000cc500]
cmp eax, ebx
jne 0x1000512ea
mov dword [0x1000cc500], 1
lea r13, [0x1000ac378]
lea rdi, [0x1000ac360]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x100022f7c
cmp eax, ebx
jne 0x100022f7c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x100022f71
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x100022f5a
cmp eax, ebx
jne 0x1000512e0
mov eax, dword [0x1000cc500]
cmp eax, 1
jne 0x100022fac
lea rdx, [0x1000ac358]
lea rcx, [0x1000ac138]
call sub.msvcrt.dll__initterm
mov dword [0x1000cc500], 2
cmp r12d, ebx
jne 0x100022fbb
mov rax, rbx
xchg qword [0x1000cc388], rax
cmp qword [0x1000d21e8], rbx
jne 0x1000512f9
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
je 0x100051322
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
jbe 0x100022fff
cmp word [rcx], 0x22
je 0x10005133f
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x100022fe4
cmp word [rcx], bx
je 0x100023008
cmp edx, ebx
jne 0x100022fea
cmp word [rcx], bx
je 0x100013cbb
cmp word [rcx], 0x20
ja 0x100013cbb
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x100023008
cmp rax, rdi
jne 0x1000512c3
mov r12d, 1
jmp 0x100022f1a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100022f09
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x100022f84
mov eax, 0xff
jmp 0x10005137e
mov dword [0x1000d2b54], 1
jmp 0x100022f84
lea rcx, [0x1000d21e8]
call fcn.10008b2fc
cmp eax, ebx
je 0x100022fc8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x1000d21e8]
nop
jmp 0x100022fc8
mov eax, 0xff
jmp 0x10005137e
cmp dword [0x1000d2b54], ebx
jne 0x10005133d
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000cc4a8]
jmp 0x10005137e
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
jmp 0x100022ff4
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
Function at 0x100027b40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100027b87
cmp rcx, 0xffffffffffffffff
je 0x100027b87
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100027b85
cmp dword [rcx + 0x3c], edx
jl 0x100027b85
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100027b85
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100027b87
mov rax, rdx
add rsp, 0x18
ret

Function at 0x100029784
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x10
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x10004d001
mov byte [rbx + 0x98], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx + 0x98], 0
jne 0x10004d091
mov rax, qword [rsi]
mov rcx, rax
sub eax, dword [rdi]
shr rcx, 0x20
sub ecx, dword [rdi + 4]
movd xmm1, eax
movd xmm0, ecx
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
call sub.msvcrt.dll_atan2
mov r9d, 0xb60b60b7
mov eax, r9d
mulsd xmm0, qword [0x1000aed50]
mulsd xmm0, qword [0x1000aed48]
addsd xmm0, qword [0x1000aed40]
cvttsd2si r8d, xmm0
imul r8d
mov eax, r9d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0xb4
sub r8d, edx
add r8d, 0x16
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x2d
mov dword [rbx + 0x9c], edx
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.10007cd70
mov byte [rbx + 0x98], 1
jmp 0x1000297bc
Function at 0x100029d04
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x490
mov rax, qword [0x1000cc510]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rax, qword [rsp + 0x508]
mov rbp, qword [rsp + 0x4f8]
mov r15, qword [rsp + 0x4f0]
mov r14, qword [rsp + 0x500]
mov rsi, rdx
mov r12, rcx
lea rdx, [rsp + 0x270]
mov ecx, 0x104
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rax
mov r13, r9
mov rdi, r8
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor r8d, r8d
cmp eax, r8d
je 0x100046132
lea r8, [rsp + 0x270]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.100029f08
xor r8d, r8d
mov ebx, eax
jmp 0x100029d9e
cmp dword [0x1000cdd28], r8d
jne 0x100029dc4
lea rcx, [rsp + 0x60]
mov r9, r15
mov r8, r13
mov rdx, rdi
mov qword [rsp + 0x20], rbp
call fcn.100029fcc
xor r8d, r8d
mov ebx, eax
cmp ebx, r8d
je 0x100029ebb
mov ebx, 1
cmp rsi, r8
je 0x10003c417
cmp word [rsi], r8w
je 0x10003c417
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor r8d, r8d
mov ebp, ebx
cmp eax, 0xffffffff
je 0x10003c417
cmp ebp, r8d
je 0x10003c4ad
lea rdx, [rsp + 0x60]
mov r8, r13
mov rcx, rsi
call fcn.10002ab8c
xor r8d, r8d
cmp eax, r8d
je 0x10003c4ad
mov rdi, qword [rsp + 0x40]
cmp ebx, r8d
je 0x100046179
lea rcx, [rsp + 0x60]
mov r9d, ebp
mov r8, rsi
mov rdx, r12
call fcn.10002a124
mov ebx, eax
test eax, eax
je 0x100046179
movdqu xmm0, xmmword [0x1000a9d70]
mov r9, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x64
lea rdx, [rsp + 0x50]
movdqu xmmword [rsp + 0x50], xmm0
mov r8, r15
mov rcx, r12
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
call fcn.10000e7a4
mov rcx, r13
mov rdx, rax
call fcn.10000eb20
lea rcx, [0x1000cdcf8]
mov rdx, r12
movdqu xmm0, xmmword [rsp + 0x50]
mov dword [r13 + 0x18], 4
movdqu xmmword [r13 + 0x1c], xmm0
call fcn.100001284
jmp 0x100029ebb
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1000010a0
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ebp, r8d
jmp 0x100029dfc
mov rcx, qword [rdi]
lea rax, [0x1000a7510]
cmp rcx, qword [rax]
je 0x10004613a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, r8d
je 0x100046150
mov rdi, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
mov r8d, 0x64
mov rdx, rdi
call fcn.10003c500
xor r8d, r8d
mov ebx, eax
jmp 0x100029e26
mov ebx, r8d
jmp 0x100029d9e
mov rcx, qword [rdi + 8]
cmp rcx, qword [rax + 8]
jne 0x10003c4c0
mov eax, r8d
jmp 0x10003c4c5
mov rdx, qword [r14]
cmp rdx, r8
je 0x10003c4ce
lea rcx, [rsp + 0x60]
call fcn.1000712e0
xor r8d, r8d
mov ebx, eax
cmp eax, r8d
jne 0x10003c4ce
jmp 0x100029e21
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
jmp 0x100029ebb