joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140097fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140148020]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, r9
mov r14, r8
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
movups xmmword [rsp + 0x30], xmm0
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea r8d, [r15 + 9]
lea rdx, str.EventData
lea rcx, [rsp + 0x30]
call fcn.140004fe0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
lea r8d, [r15 + 0x23]
lea rdx, str.Microsoft.ApplicationInsights.Event
lea rcx, [rsp + 0x50]
call fcn.140004fe0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.14009b6e0
lea r12, vtable.ApplicationInsights::core::EventData.0
mov qword [rbp - 0x60], r12
lea rax, [rbp - 0x10]
cmp rax, rbx
je 0x140098092
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 8
jb 0x140098086
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1400040b0
cmp qword [r14 + 8], 0
jbe 0x1400980a5
mov rdx, r14
lea rcx, [rbp + 0x10]
call fcn.14007f500
cmp qword [rsi + 8], 0
jbe 0x1400980b8
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.140097b00
mov dword [rbp - 0x68], 4
mov rdx, qword [rdi + 8]
add rdx, 0x20
lea rcx, [rsp + 0x70]
call fcn.1400041e0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400986a0
test al, al
je 0x14009811c
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisableTracking
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x70]
test eax, eax
jne 0x140098116
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14009812e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rbp - 0x60]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
call fcn.1400998a0
nop
mov qword [rbp - 0x60], r12
lea rcx, [rbp + 0x20]
call fcn.140097f30
mov r8, qword [rbp + 0x10]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.1400050e0
mov edx, 0x60
mov rcx, qword [rbp + 0x10]
call fcn.1400a2510
lea rcx, [rbp - 0x10]
call fcn.1400053f0
lea rax, vtable.ApplicationInsights::core::Domain.0
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x38]
call fcn.1400053f0
lea rcx, [rbp - 0x58]
call fcn.1400053f0
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400a24f0
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14009a480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x14009a613
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x14009a613
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x14009a519
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x14009a637
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14009a52f
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x14009a52f
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x14009a542
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x14009a58d
mov r9d, eax
cmp eax, 0x800
jae 0x14009a55c
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x14009a58d
cmp eax, 0x10000
jae 0x14009a576
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x14009a58d
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x14009a613
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x14009a5b1
cmp r10d, 3
jae 0x14009a5bd
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x14009a5ee
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x14009a5d0
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x14009a4ce
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x14009a622

Function at 0x14009f3f0
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rcx, str.Application_Insights_SDK_1.0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx + 8], rax
add rsp, 0x30
pop rbx
ret
Function at 0x1400a1bf4
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 0x1400a1c78
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400ff350]
cmp byte [rcx + rax], 0
je 0x1400a1c78
dec r8
sub rdx, 1
jne 0x1400a1c5e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400a3614
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a365e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a365e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a365e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a365e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a365e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a3660
xor al, al
add rsp, 0x28
ret
Function at 0x1400c1acc
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 0x1400c1b53
mov rsi, rbx
cmp word [rax], bp
je 0x1400c1b12
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c1afc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c1af8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400bb5d4
mov rdi, rax
test rax, rax
je 0x1400c1b40
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400a4bc0
mov rbp, rdi
xor ecx, ecx
call fcn.1400bb634
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 0x1400c48c8
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.1400bb078
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 0x1400c4969
cmp ebx, dword [rsp + 0x30]
je 0x1400c4962
test esi, esi
je 0x1400c4962
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400c493d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400c494a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400c4927
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400c494e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400c496b
mov eax, 1
jmp 0x1400c496b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f2340
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400f2368
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400f2368
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001084
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
xor ebx, ebx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14000113b
mov ebx, esi
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
lea edx, [rdi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140001134
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140001153
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov eax, 0x1f
test edi, edi
cmove edi, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
test eax, eax
je 0x140001153
xor ebx, ebx
jmp 0x140001153
mov edi, 0xe
jmp 0x140001153
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov eax, 0x1f
test edi, edi
cmove edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
test rbx, rbx
je 0x14000119c
mov rdx, rbx
lea rcx, str.ORIGINAL_SETUP_WORKINGDIR_ENV_VAR
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001424
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r8, str.Microsoft.Windows.Setup.Autorun_F2F632C7_AC94_4B7A_D06B_97D56ED9DC8B
xor ecx, ecx
xor edx, edx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140001480
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
jne 0x140001480
mov rcx, rbx
mov esi, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
xor ebx, ebx
test rdi, rdi
je 0x14000148a
mov qword [rdi], rbx
jmp 0x14000149e
test rbx, rbx
je 0x14000149e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400016e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call sub.msvcrt.dll_memset
xor edi, edi
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rbx
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
jne 0x140001774
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x1400017ee
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
jne 0x1400017c5
test rsi, rsi
je 0x1400017ca
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop dword [rax + rax]
test eax, eax
jne 0x1400017ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400017ca
mov edi, 0x8000ffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000180c
Capabilities:
Check if file exists
Get file attributes
Get system information on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor r15d, r15d
mov r14, r9
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140001974
cmp word [rcx], r15w
je 0x140001974
test rdx, rdx
je 0x140001974
cmp word [rdx], r15w
je 0x140001974
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop dword [rax + rax]
movzx eax, word [rsp + 0x30]
test eax, eax
je 0x1400018a7
cmp eax, 9
je 0x14000189e
mov eax, 0x8000ffff
jmp 0x140001979
lea rsi, [0x140003478]
jmp 0x1400018ae
lea rsi, [0x140003480]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call sub.msvcrt.dll_memset
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], r15w
jne 0x1400018c4
mov edx, 0x5c
mov qword [rsp + 0x28], rdi
cmp dx, word [rbx + rax*2 - 2]
lea rcx, str._s_s_s
lea r8, [0x140003488]
mov qword [rsp + 0x20], rsi
cmovne r8, rcx
mov r9, rbx
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.140001008
test eax, eax
js 0x140001979
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000193d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x140001979
test al, 0x10
je 0x140001948
mov eax, 0x800700a1
jmp 0x140001979
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.140001364
test rax, rax
je 0x140001920
cmp qword [rax + 0x10], r15
lea rcx, [0x14000357c]
mov rdx, r14
cmovne rcx, qword [rax + 0x10]
call fcn.1400016e0
jmp 0x140001979
mov eax, 0x80070057
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400023e0
add rsp, 0x288
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400019a0
Capabilities:
Enumerate gui resources
Set current directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r12, rcx
xor ebx, ebx
and dword [rbp - 0x10], ebx
xor ecx, ecx
mov qword [rbp - 8], rbx
mov r15, r8
call fcn.140001424
test eax, eax
je 0x1400019fd
and dword [rbp - 0xc], ebx
lea rdx, [rbp - 0xc]
lea rcx, [0x1400014c0]
call qword [sym.imp.USER32.dll_EnumWindows]
nop dword [rax + rax]
mov eax, 0xb7
jmp 0x140001b22
call fcn.1400011b4
mov rdi, rax
test rax, rax
je 0x140001afc
call fcn.140001290
mov rsi, rax
test rax, rax
je 0x140001afc
call fcn.140001084
cmp qword [rsi + 0x10], rbx
lea r14, [0x14000357c]
mov rdx, r14
lea r9, [rbp - 0x10]
cmovne rdx, qword [rsi + 0x10]
mov rcx, r14
cmp qword [rdi + 0x10], rbx
mov r8, r15
cmovne rcx, qword [rdi + 0x10]
call fcn.14000180c
test eax, eax
jns 0x140001ad9
lea rcx, [rbp - 8]
call fcn.140001424
test eax, eax
je 0x140001a85
and dword [rbp - 0xc], ebx
lea rdx, [rbp - 0xc]
lea rcx, [0x1400014c0]
call qword [sym.imp.USER32.dll_EnumWindows]
nop dword [rax + rax]
mov eax, 0xb7
jmp 0x140001ad2
lea rdx, str.Sources_
mov rcx, rdi
call fcn.140001d5c
cmp qword [rdi + 0x10], rbx
mov rcx, r14
cmovne rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop dword [rax + rax]
lea rdx, str.autorun.dll
mov rcx, rdi
call fcn.140001d5c
cmp qword [rdi + 0x10], rbx
mov r8, r15
mov rcx, r12
cmovne r14, qword [rdi + 0x10]
mov rdx, r14
call fcn.140001550
mov rbx, qword [rbp - 8]
mov dword [rbp - 0x10], eax
mov rax, qword [rdi]
movabs r10, 0x87390f757ededa70
mov rax, qword [rax]
mov edx, 1
mov rcx, rdi
call qword [vtable..0]
mov eax, dword [rbp - 0x10]
jmp 0x140001b0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x10], eax
test rbx, rbx
je 0x140001b22
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, dword [rbp - 0x10]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x140002120
Capabilities:
Terminate process

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, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400055e8], rbx
je 0x140002187
cmp rax, rbx
jne 0x14000217a
mov edi, 1
mov esi, edi
jmp 0x14000218c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000215f
mov edi, 1
mov eax, dword [0x1400055f0]
cmp eax, edi
jne 0x1400021a4
mov ebx, 0x1f
mov ecx, ebx
call sub.msvcrt.dll__amsg_exit
jmp 0x14000221a
mov eax, dword [0x1400055f0]
test eax, eax
jne 0x14000220f
mov dword [0x1400055f0], edi
lea r15, [0x1400033e0]
lea rbx, [0x1400033c8]
mov qword [rsp + 0x30], rbx
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rbx, r15
jae 0x140002201
test eax, eax
jne 0x140002205
cmp qword [rbx], r14
je 0x1400021f6
movabs r10, 0xd30527475e523070
mov rax, qword [rbx]
mov rcx, qword [vtable..0]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x1400021ce
test eax, eax
je 0x140002215
mov eax, 0xff
jmp 0x14000237b
mov dword [0x140005024], edi
mov ebx, 0x1f
mov eax, dword [0x1400055f0]
cmp eax, edi
jne 0x140002241
lea rdx, [0x1400033c0]
lea rcx, [0x1400033b0]
call sub.msvcrt.dll__initterm
mov dword [0x1400055f0], 2
test esi, esi
jne 0x14000224f
mov rax, r14
xchg qword [0x1400055e8], rax
cmp qword [0x1400055f8], r14
je 0x14000228c
lea rcx, [0x1400055f8]
call fcn.1400025b0
test eax, eax
je 0x14000228c
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400055f8]
mov r9, qword [vtable..0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400022a5
mov eax, 0xff
jmp 0x14000237b
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000232c
test ax, ax
je 0x1400022c0
test edx, edx
jne 0x14000232c
sub ax, di
cmp ax, bx
ja 0x1400022d6
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400022c0
test byte [rsp + 0x7c], dil
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400019a0
mov dword [0x140005020], eax
cmp dword [0x140005040], r14d
jne 0x140002315
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140005024], r14d
jne 0x14000232a
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140005020]
jmp 0x14000237b
cmp ax, 0x22
jne 0x140002340
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400022ae
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400a2000
add rsp, 0x28
jmp 0x140002120
Function at 0x14000249c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400024e8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400024e0
cmp dword [rcx + 0x3c], edx
jl 0x1400024e0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400024e0
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 0x1400024e8
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140002610
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002638
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140002638
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x28
call fcn.14001f578
mov dword [0x140067284], eax
lea r8, [0x140067284]
mov ecx, 1
mov dword [0x140068604], 0xffffffff
nop word [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [r8 + rcx*4], eax
inc rcx
cmp rcx, 0x270
jb 0x140001030
mov dword [0x140067280], 0x270
add rsp, 0x28
ret
Function at 0x140006610
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140064090]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], r8
mov ecx, dword [0x140064ce0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x140006663
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140006670
test rbx, rbx
je 0x140006670
mov rcx, rbx
call fcn.140001430
mov ecx, dword [0x140064ce0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14000677f
cvttsd2si r8d, qword [0x140067228]
add r8d, dword [0x140064ca0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.140002030
mov rdx, rax
mov rcx, rdi
call fcn.140007f40
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400066fc
mov rax, qword [rsp + 0x40]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400066f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400067e2
call fcn.14001fa34
mov rbx, qword [rdi]
cmp dword [rbx], 0
jne 0x14000670a
cmp dword [rbx + 4], 0
je 0x14000677f
movsd xmm1, qword [0x140059450]
movsd xmm0, qword [0x140064cc8]
call fcn.140047a70
mulsd xmm0, qword [0x140059418]
movd xmm1, dword [rbx]
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [rbx], eax
mov rcx, qword [rdi]
movd xmm1, dword [rcx + 4]
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [rcx + 4], eax
mov rax, qword [rdi]
movd xmm2, dword [rax + 4]
cvtdq2pd xmm2, xmm2
movd xmm1, dword [rax]
cvtdq2pd xmm1, xmm1
mov eax, dword [0x140064cf0]
mov dword [rsp + 0x20], eax
movsd xmm3, qword [0x140064cd0]
mov rcx, rsi
call fcn.1400019d0
nop
cmp byte [rsi], 0
je 0x140006787
mov byte [rsi], 0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400067cd
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x1400067bb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400067e8
mov rcx, r8
call fcn.14001fa34
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001f9d0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
call fcn.1400263c4
nop
call fcn.1400263c4
int3