joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001194
Capabilities:
Find process by pid

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx], 0xcabd5e5
mov rbx, rcx
jne 0x1400011e7
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x1400011e7
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400011e7
call sub.ntoskrnl.exe_PsGetProcessSectionBaseAddress
test rax, rax
je 0x1400011e7
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc0000001
add rsp, 0x20
pop rbx
ret

Function at 0x140001224
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx], 0xcabd5e5
mov rdi, rcx
jne 0x1400012fb
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x1400012fb
and qword [r11 + 8], 0
lea rdx, [r11 + 8]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400012fb
call fcn.140001170
mov rcx, qword [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
mov rsi, qword [rdi + 0x20]
call fcn.1400013f8
test rax, rax
je 0x1400012fb
mov ecx, eax
mov edx, 0x1000
and ecx, 0xfff
sub edx, ecx
mov ecx, dword [rdi + 8]
cmp edx, esi
cmovl esi, edx
and qword [rsp + 0x48], 0
movsxd r8, esi
cmp ecx, 0x27b
jne 0x1400012e0
lea rcx, [rsp + 0x48]
mov r9d, 1
mov qword [rsp + 0x20], rcx
mov rdx, rax
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
xor eax, eax
jmp 0x140001300
cmp ecx, 0xdfd
jne 0x1400012fb
mov rdx, qword [rdi + 0x18]
lea r9, [rsp + 0x48]
mov rcx, rax
call fcn.140001680
jmp 0x1400012dc
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400015ac
Capabilities:
Find process by pid

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
cmp dword [rcx], 0xcabd5e5
mov rbp, rcx
jne 0x14000166e
movsxd rax, dword [rcx + 4]
test eax, eax
je 0x14000166e
and qword [r11 + 0x10], 0
lea rdx, [r11 + 8]
and qword [r11 + 8], 0
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov eax, dword [rbp + 8]
cmp eax, 0xfc6
jne 0x140001630
mov rbx, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x18]
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rdx, qword [rbp + 0x10]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
mov r8, rax
mov rcx, qword [rsp + 0x60]
mov byte [rsp + 0x28], 1
mov r9, rdi
mov qword [rsp + 0x20], rbx
call fcn.140001737
xor eax, eax
jmp 0x140001673
cmp eax, 0x359
jne 0x140001663
mov rbx, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x10]
mov rbp, qword [rbp + 0x18]
mov rsi, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
lea rcx, [rsp + 0x68]
mov r8, rsi
mov qword [rsp + 0x30], rcx
mov rdx, rbp
mov rcx, rax
jmp 0x14000161a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001a90
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xb8188aa0
call fcn.140016f10
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140002850
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3ad093f
call fcn.140016f10
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400042d0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x84bb53e5
call fcn.140016f10
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x14002fff0
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.1400305c0
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.1400305c0
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x140030410
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp edx, 2
jge 0x140030454
test edx, edx
je 0x1400304cb
cmp edx, 1
jne 0x1400305a3
cmp dword [0x14007d4d8], 0
jne 0x140030445
lea rcx, [0x14007d4e0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x14007d4d8], 1
jmp 0x1400305a3
je 0x140030527
cmp edx, 3
jne 0x1400305a3
cmp dword [0x14007d4d8], 0
je 0x1400305a3
lea rcx, [0x14007d4e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [0x14007d508]
test rdi, rdi
je 0x14003052e
mov r14, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400304ad
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x14003052e
mov ecx, dword [rdi]
call r14
mov rsi, rax
call rbx
test rsi, rsi
je 0x1400304a0
test eax, eax
jne 0x1400304a0
mov rax, qword [rdi + 8]
mov rcx, rsi
call rax
jmp 0x1400304a0
cmp dword [0x14007d4d8], 0
je 0x14003054a
lea rcx, [0x14007d4e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [0x14007d508]
test rdi, rdi
je 0x14003053d
mov r14, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140030509
mov rdi, qword [rdi + 0x10]
test rdi, rdi
je 0x14003053d
mov ecx, dword [rdi]
call r14
mov rsi, rax
call rbx
test rsi, rsi
je 0x140030500
test eax, eax
jne 0x140030500
mov rax, qword [rdi + 8]
mov rcx, rsi
call rax
jmp 0x140030500
call fcn.14002fb60
jmp 0x1400305a3
lea rcx, [0x14007d4e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400305a3
lea rcx, [0x14007d4e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x14007d4d8]
cmp eax, 1
jne 0x1400305a3
mov rcx, qword [0x14007d508]
test rcx, rcx
je 0x140030581
nop word cs:[rax + rax]
nop dword [rax + rax]
mov rsi, qword [rcx + 0x10]
call sub.msvcrt.dll_free
mov rcx, rsi
test rsi, rsi
jne 0x140030570
mov qword [0x14007d508], 0
mov dword [0x14007d4d8], 0
lea rcx, [0x14007d4e0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140030700
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r8, qword [0x140037010]
movzx edx, word [r8]
cmp edx, 0x5a4d
jne 0x14003076d
movsxd rdx, dword [r8 + 0x3c]
cmp dword [r8 + rdx], 0x4550
jne 0x14003076d
add r8, rdx
movzx edx, word [r8 + 0x18]
cmp edx, 0x20b
jne 0x14003076d
movzx edx, word [r8 + 6]
test edx, edx
je 0x14003076d
sub rcx, qword [0x140037010]
movzx eax, word [r8 + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140030759
add rax, 0x28
add edx, 0xffffffff
je 0x14003076d
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140030750
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140030750
jmp 0x14003076f
xor eax, eax
ret

Function at 0x140030770
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140037010]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x1400307a6
movsxd r8, dword [rcx + 0x3c]
cmp dword [rcx + r8], 0x4550
jne 0x1400307a6
movzx edx, word [rcx + r8 + 0x18]
cmp edx, 0x20b
jne 0x1400307a6
movzx eax, word [rcx + r8 + 6]
ret

Function at 0x140030820
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140037010]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14003084c
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14003084c
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x14003084e
xor eax, eax
ret
Function at 0x140006c20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov dword [rsp + 0x38], 0xfffe00ff
lea rdx, [rsp + 0x38]
mov r8d, 4
mov rdi, rcx
call fcn.140006a30
mov r8d, 4
mov dword [rsp + 0x38], 0x10000
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140006a30
mov eax, dword [rbx + 0xc]
lea rdx, [rsp + 0x38]
mov r8d, 4
mov dword [rsp + 0x38], eax
mov rcx, rdi
call fcn.140006a30
mov eax, dword [rbx + 8]
lea rdx, [rsp + 0x38]
mov r8d, 4
mov dword [rsp + 0x38], eax
mov rcx, rdi
call fcn.140006a30
mov eax, dword [rbx + 0x10]
lea rdx, [rsp + 0x38]
mov r8d, 4
mov dword [rsp + 0x38], eax
mov rcx, rdi
call fcn.140006a30
mov r8d, dword [rbx + 0x10]
mov rcx, rdi
mov rdx, qword [rbx + 0x18]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140006a30

Function at 0x140011eed
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140011f0b
je 0x140011f16
call 0x140011f65
mov bl, 0xc7
lahf
pop rsi
jne 0x140011ef6
call 0x140011f0e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140011ef6
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140011f44
je 0x140011f82
invalid
je 0x140011f93
jne 0x140011ef6
lea rax, [0x140011e1c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14000db7d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140012034
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14001208d
je 0x140012093
call 0x140012084
fild qword [rdi - 0x7c]
jmp 0x174f4e806
jne 0x140012056
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140012016
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140011f00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140011f0b
je 0x140011f16
call 0x140011f65
mov bl, 0xc7
lahf
pop rsi
jne 0x140011ef6
call 0x140011f0e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140011ef6
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140011f44
je 0x140011f82
invalid
je 0x140011f93
jne 0x140011ef6
lea rax, [0x140011e1c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14000db7d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140012034
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14001208d
je 0x140012093
call 0x140012084
fild qword [rdi - 0x7c]
jmp 0x174f4e806
jne 0x140012056
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140012016
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140011f2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140011f0b
je 0x140011f16
call 0x140011f65
mov bl, 0xc7
lahf
pop rsi
jne 0x140011ef6
call 0x140011f0e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140011ef6
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140011f44
je 0x140011f82
invalid
je 0x140011f93
jne 0x140011ef6
lea rax, [0x140011e1c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14000db7d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140012034
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14001208d
je 0x140012093
call 0x140012084
fild qword [rdi - 0x7c]
jmp 0x174f4e806
jne 0x140012056
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140012016
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140011f65
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x140011f0b
je 0x140011f16
call 0x140011f65
mov bl, 0xc7
lahf
pop rsi
jne 0x140011ef6
call 0x140011f0e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140011ef6
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140011f44
je 0x140011f82
invalid
je 0x140011f93
jne 0x140011ef6
lea rax, [0x140011e1c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14000db7d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140012034
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14001208d
je 0x140012093
call 0x140012084
fild qword [rdi - 0x7c]
jmp 0x174f4e806
jne 0x140012056
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140012016
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140001100
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
lea rbp, [rsi - 1]
nop word [rax + rax]
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], esi
lea rcx, [0x140001070]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [rsp + 0x34]
xor edx, edx
mov r8d, ebx
mov ecx, 0x801
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x30], sil
lea rcx, section..text
call qword [sym.imp.USER32.dll_EnumWindows]
cmp byte [rsp + 0x30], sil
je 0x140001140
xor edx, edx
mov r8d, ebx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140001140
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, ebp
mov dword [rsp + 0x28], esi
lea r8, str.An_error_occurred_when_unpacking_____________________________________________Unarc.dll_returned_an_error_codes__1___________________________________ERROR:_archive_data_corrupted__decompression_fails_
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rbp
mov rcx, rax
call fcn.140001278
mov r9d, ebp
mov dword [rsp + 0x28], ebx
lea r8, str.An_error_occurred_when_unpacking_____________________________________________Unarc.dll_returned_an_error_codes__1___________________________________ERROR:_archive_data_corrupted__decompression_fails_
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9d, 0x10
lea r8, str.System_Error
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call fcn.140001270
jmp 0x140001140

Function at 0x140001bb4
Capabilities:
Parse pe header

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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x417026
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004333e0
xorps xmm15, xmm15
mov r14, qword [0x00698440]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x416eeb
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416f00
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x416f25
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x416f39
cmp rbx, 0x1000
jae 0x416ef5
nop dword [rax]
jmp 0x416fa9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x416f4d
xor edx, edx
jmp 0x416fa0
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.004333e0
xorps xmm15, xmm15
mov r14, qword [0x00698440]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x416f2f
jmp 0x416f14
call fcn.00466120
xorps xmm15, xmm15
mov r14, qword [0x00698440]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00437ac0
lea rax, [0x0054ff09]
mov ebx, 0x18
call fcn.004383c0
mov rax, qword [rsp + 0x38]
call fcn.004380c0
lea rax, [0x0054fff9]
mov ebx, 0x19
call fcn.004383c0
mov rax, qword [rsp + 0x30]
nop
call fcn.004380c0
call fcn.00437d20
call fcn.00437b40
lea rax, [0x005529ab]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00436180
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00462560
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.00416e80