joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400218c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140072010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400728f0]
mov edi, ecx
cmp byte [rbx + 0x4a85], 0
jne 0x140021921
cmp byte [rbx + 0x4a86], 0
jne 0x140021921
movsx r9d, word [rbx + 0x5baa]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400118b0
test dil, 1
je 0x140021a4f
jmp 0x1400219aa
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5baa]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14006b574]
mulss xmm1, dword [0x14006b558]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x14006b468]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.1400118b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140021a00
lea r11, [0x1400654f0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400219e3
cmp byte [r8], r9b
jne 0x1400219e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400219d0
not ecx
call fcn.140018b70
test rax, rax
je 0x140021a4f
cmp byte [rax + 0xb6], 0
je 0x140021a4f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5baa]
movsx r9d, word [rbx + 0x5baa]
call fcn.1400118b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001b2e0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140042ac0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140026f80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c90], 0
lea rbx, [rcx + 0x5c98]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140027027
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140026fda
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140029160
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140011f70
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c90]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5ca0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14007284d]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002702f
mov rcx, rbx
call fcn.140011f70
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400273c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400728f0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140027423
mov qword [rsp], rbx
lea rbx, [0x1400654f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140027403
cmp byte [r8], r9b
jne 0x140027403
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400273f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c08]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140027457
mov r10, qword [r10 + 0x5c10]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002745e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140027444
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140043758
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400437a2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400437a2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400437a2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400437a2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400437a2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400437a4
xor al, al
add rsp, 0x28
ret
Function at 0x140002c60
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.140004840
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.140004840
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 0x140002cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140002e00
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002d1b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002da5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002d00
mov rcx, rbx
call fcn.140003720
mov rdi, rax
test rax, rax
je 0x140002e22
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003860
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002e07
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002d9e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002db0
add dword [0x1400090a4], 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 [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002d9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002c60
nop dword [rax]
xor esi, esi
jmp 0x140002d28
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002c60
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002c60
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003390
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x1400033ec
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 0x1400033e3
test rsi, rsi
je 0x1400033e3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400033c8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003720
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006600]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003740
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003748
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003740
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000379d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140003794
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003740
add rax, 0x28
cmp rax, r9
jne 0x140003780
xor eax, eax
ret

Function at 0x1400037a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006600]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400037bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400037c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400037bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140003860
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006600]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000387f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003888
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400023d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000241e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000241e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000241e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000241e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000241e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002420
xor al, al
add rsp, 0x28
ret
Function at 0x14000108c
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 0x140001143
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 0x14000113c
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14000115b
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 0x14000115b
xor ebx, ebx
jmp 0x14000115b
mov edi, 0xe
jmp 0x14000115b
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 0x1400011a4
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 0x14000136c
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea r8, str.Microsoft.Windows.Setup.Autorun_F2F632C7_AC94_4B7A_D06B_97D56ED9DC8B
xor ecx, ecx
xor edx, edx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400013c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
jne 0x1400013c8
mov rcx, rbx
mov edi, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
xor ebx, ebx
test rsi, rsi
je 0x1400013d2
mov qword [rsi], rbx
xor ebx, ebx
test rbx, rbx
je 0x1400013e6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001604
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 0x140001698
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 0x140001712
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
jne 0x1400016e9
test rsi, rsi
je 0x1400016ee
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop dword [rax + rax]
test eax, eax
jne 0x1400016ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400016ee
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 0x140001730
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 rbx, rdx
mov rsi, rcx
cmp word [rcx], r15w
je 0x14000190d
test rdx, rdx
je 0x14000190d
cmp word [rdx], r15w
je 0x14000190d
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 0x1400017c2
cmp eax, 9
je 0x1400017b9
mov eax, 0x8000ffff
jmp 0x140001912
lea rdi, [0x140003418]
jmp 0x1400017c9
lea rdi, [0x140003420]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call sub.msvcrt.dll_memset
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r15w
jne 0x1400017df
mov edx, 0x5c
mov qword [rsp + 0x28], rbx
cmp dx, word [rsi + rax*2 - 2]
lea rcx, str._s_s_s
lea r8, [0x140003428]
mov qword [rsp + 0x20], rdi
cmovne r8, rcx
mov r9, rsi
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.140001008
test eax, eax
js 0x140001912
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000185f
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 0x140001912
test al, 0x10
je 0x14000186d
mov eax, 0x800700a1
jmp 0x140001912
mov ecx, 0x18
call fcn.140001ee0
mov rbx, rax
test rax, rax
je 0x1400018a4
lea rax, [0x140003010]
mov qword [rbx + 0x10], r15
lea r8, [rbx + 8]
mov qword [rbx], rax
lea rdx, [rsp + 0x60]
mov dword [r8], r15d
call fcn.140001b0c
mov qword [rbx + 0x10], rax
jmp 0x1400018a7
mov rbx, r15
test rbp, rbp
je 0x1400018ea
lea rdx, [0x140003414]
mov rcx, rbx
call fcn.140001ca4
test eax, eax
je 0x1400018ce
mov rdx, rbp
mov rcx, rbx
call fcn.140001ca4
test eax, eax
jne 0x1400018ea
test rbx, rbx
je 0x1400018e7
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140003360]
mov rbx, r15
test rbx, rbx
je 0x14000183f
cmp qword [rbx + 0x10], r15
lea rcx, [0x14000351c]
mov rdx, r14
cmovne rcx, qword [rbx + 0x10]
call fcn.140001604
jmp 0x140001912
mov eax, 0x80070057
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400022f0
add rsp, 0x288
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000193c
Capabilities:
Enumerate gui resources
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r12, rcx
xor edi, edi
and dword [rbp - 0x10], edi
xor ecx, ecx
mov qword [rbp - 8], rdi
mov r15, r8
call fcn.14000136c
test eax, eax
je 0x140001993
and dword [rbp - 0xc], edi
lea rdx, [rbp - 0xc]
lea rcx, [0x140001400]
call qword [sym.imp.USER32.dll_EnumWindows]
nop dword [rax + rax]
mov eax, 0xb7
jmp 0x140001aba
call fcn.1400011bc
mov rbx, rax
test rax, rax
je 0x140001a94
call fcn.140001298
mov rsi, rax
test rax, rax
je 0x140001a94
call fcn.14000108c
cmp qword [rsi + 0x10], rdi
lea r14, [0x14000351c]
mov rdx, r14
mov rcx, r14
cmovne rdx, qword [rsi + 0x10]
cmp qword [rbx + 0x10], rdi
cmovne rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400019ec
lea r9, [rbp - 0x10]
mov r8, r15
call fcn.140001730
jmp 0x1400019f1
mov eax, 0x80070057
test eax, eax
jns 0x140001a7b
lea rcx, [rbp - 8]
call fcn.14000136c
test eax, eax
je 0x140001a27
and dword [rbp - 0xc], edi
lea rdx, [rbp - 0xc]
lea rcx, [0x140001400]
call qword [sym.imp.USER32.dll_EnumWindows]
nop dword [rax + rax]
mov eax, 0xb7
jmp 0x140001a74
lea rdx, str.Sources_
mov rcx, rbx
call fcn.140001ca4
cmp qword [rbx + 0x10], rdi
mov rcx, r14
cmovne rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop dword [rax + rax]
lea rdx, str.autorun.dll
mov rcx, rbx
call fcn.140001ca4
cmp qword [rbx + 0x10], rdi
mov r8, r15
mov rcx, r12
cmovne r14, qword [rbx + 0x10]
mov rdx, r14
call fcn.140001490
mov rdi, qword [rbp - 8]
mov dword [rbp - 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140003360]
mov eax, dword [rbp - 0x10]
jmp 0x140001aa3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x10], eax
test rdi, rdi
je 0x140001aba
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, dword [rbp - 0x10]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140002050
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 0x1400020b7
cmp rax, rbx
jne 0x1400020aa
mov ebx, 1
mov esi, ebx
jmp 0x1400020bc
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000208f
mov ebx, 1
mov eax, dword [0x1400055f0]
cmp eax, ebx
jne 0x1400020d4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x140002140
mov eax, dword [0x1400055f0]
test eax, eax
jne 0x140002135
mov dword [0x1400055f0], ebx
lea r15, [0x140003398]
lea rdi, [0x140003380]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140002127
test eax, eax
jne 0x14000212b
cmp qword [rdi], r14
je 0x14000211c
mov rax, qword [rdi]
mov rcx, qword [0x140003360]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400020fe
test eax, eax
je 0x14000213b
mov eax, 0xff
jmp 0x140002296
mov dword [0x140005024], ebx
mov edi, 0x1f
mov eax, dword [0x1400055f0]
cmp eax, ebx
jne 0x140002167
lea rdx, [0x140003378]
lea rcx, [0x140003368]
call sub.msvcrt.dll__initterm
mov dword [0x1400055f0], 2
test esi, esi
jne 0x140002175
mov rax, r14
xchg qword [0x1400055e8], rax
cmp qword [0x1400055f8], r14
je 0x1400021a8
lea rcx, [0x1400055f8]
call fcn.1400024b0
test eax, eax
je 0x1400021a8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400055f8]
mov r9, qword [0x140003360]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400021c1
mov eax, 0xff
jmp 0x140002296
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140002247
test ax, ax
je 0x1400021dc
test edx, edx
jne 0x140002247
sub ax, bx
cmp ax, di
ja 0x1400021f2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400021dc
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000193c
mov dword [0x140005020], eax
cmp dword [0x140005040], r14d
jne 0x140002230
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140005024], r14d
jne 0x140002245
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140005020]
jmp 0x140002296
cmp ax, 0x22
jne 0x14000225b
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 0x1400021ca
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.140192000
add rsp, 0x28
jmp 0x140002050
Function at 0x14000239c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400023e8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400023e0
cmp dword [rcx + 0x3c], edx
jl 0x1400023e0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400023e0
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 0x1400023e8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x180002778
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1800027d2
mov r11b, 0x23
lea rdi, [0x18003ab10]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1800027bc
cmp rdx, 2
jb 0x1800027bc
cmp byte [r10], r11b
jne 0x1800027bc
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18000279a
jmp 0x180002813
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180002813
mov r11b, 0x23
lea rdi, [0x18003ab10]
cmp dl, r11b
jne 0x1800027f7
cmp byte [r10], r11b
jne 0x1800027f7
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x1800027e5
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x180005608
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x18003ab10]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x180005637
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1228], ebx
jne 0x180005671
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.180015ff4
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18000567c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x18003ab10]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1800056ea
not r8d
mov eax, r8d
add rsp, 0x18
ret