joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001300
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x1b0
lea rbp, [rsp + 0x20]
cmp qword [rbp + 0x1b0], 0
je 0x14000132d
mov eax, dword [rbp + 0x1b8]
test rax, rax
jne 0x140001334
xor eax, eax
jmp 0x1400014b4
mov rax, qword [rbp + 0x1b0]
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000135c
xor eax, eax
jmp 0x1400014b4
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
cmp dword [rax], 0x4550
je 0x140001385
xor eax, eax
jmp 0x1400014b4
lea rax, [rbp + 0x20]
mov rcx, qword [rbp + 0x10]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rbp + rax + 0x90]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x110]
mov eax, dword [rax + 0x14]
mov dword [rbp + 0x130], eax
mov dword [rbp + 0x134], 0
jmp 0x140001437
mov eax, dword [rbp + 0x134]
inc eax
mov dword [rbp + 0x134], eax
mov eax, dword [rbp + 0x130]
cmp dword [rbp + 0x134], eax
jae 0x1400014b4
mov eax, dword [rbp + 0x134]
mov rcx, qword [rbp + 0x118]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x138], rax
mov eax, dword [rbp + 0x134]
mov rcx, qword [rbp + 0x128]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rbp + 0x120]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rbp]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x140], rax
mov rcx, qword [rbp + 0x138]
call fcn.140001650
cmp dword [rbp + 0x1b8], eax
jne 0x1400014af
mov rax, qword [rbp + 0x140]
jmp 0x1400014b4
jmp 0x140001429
lea rsp, [rbp + 0x190]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001650
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x60
mov rbp, rsp
mov dword [rbp + 8], 0xffffffff
mov dword [rbp + 0xc], 0
mov dword [rbp + 0x10], 0
movsxd rax, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x70]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400016e0
movsxd rax, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x70]
movsx eax, byte [rcx + rax]
mov dword [rbp], eax
mov eax, dword [rbp]
mov ecx, dword [rbp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 8], eax
mov dword [rbp + 0x10], 7
jmp 0x1400016af
mov eax, dword [rbp + 0x10]
dec eax
mov dword [rbp + 0x10], eax
cmp dword [rbp + 0x10], 0
jl 0x1400016d6
mov eax, dword [rbp + 8]
and eax, 1
imul eax, eax, 0xffffffff
mov dword [rbp + 4], eax
mov eax, dword [rbp + 8]
shr eax, 1
mov ecx, dword [rbp + 4]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rbp + 8], eax
jmp 0x1400016a7
mov eax, dword [rbp + 0xc]
inc eax
mov dword [rbp + 0xc], eax
jmp 0x140001672
mov eax, dword [rbp + 8]
not eax
lea rsp, [rbp + 0x60]
pop rbp
ret

Function at 0x140001b38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b82
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b84
xor al, al
add rsp, 0x28
ret
Function at 0x14000d0d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x14000d146
call fcn.140030014
mov r8d, pe_nt_image_headers64
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14000d146
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000d193
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x14000d173
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x14000d173
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x14000d191
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret

Function at 0x14000e14c
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xa8], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14000e1c3
call fcn.14000e0d8
mov rsi, rax
test rax, rax
jne 0x14000e17f
mov eax, edi
jmp 0x14000e1d9
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x14000e17b
mov r9, qword [rcx + 0xd0]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14000fdac
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x14000fdea
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14000fe9e
call fcn.1400320f4
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14000fe09
mov ecx, 0x80004005
call fcn.14000a878
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14005a830
test eax, eax
je 0x14000fe71
cmp eax, 0xc
je 0x14000fe6b
cmp eax, 0x16
je 0x14000fe65
cmp eax, 0x22
je 0x14000fe65
cmp eax, 0x50
je 0x14000fe71
call fcn.14002c758
int3
call fcn.14002c758
int3
call fcn.14002c710
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14000fe9c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140011068
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.140030014
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
cmp rax, rdi
je 0x1400110c4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.140010af8
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140011158
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x140011197
cmp dword [rcx + 0xa8], 0
jne 0x140011197
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140030014
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.1400110fc
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400136fc
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14002cad4
mov rsi, rax
test rax, rax
je 0x140013778
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140013773
cmp dword [rbx], 0x40
jb 0x140013773
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x140013773
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14001377c
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001ac64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14001accc
call fcn.140030014
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001accc
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001acee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14001a674
mov esi, eax
test rdi, rdi
je 0x14001acec
test rbx, rbx
je 0x14001acec
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14001f290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r13, rdx
mov r12, rcx
call fcn.140030014
mov rbx, qword [rax + 0x18]
mov r8d, 0xf1
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r14d, r14d
cmp rax, r14
jne 0x14001f2d6
xor eax, eax
jmp 0x14001f3af
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
cmp rax, r14
je 0x14001f2cf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
cmp rax, r14
je 0x14001f2cf
movzx ecx, word [rax + 6]
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400099bc
mov r9d, r14d
mov rbp, rax
cmp r14w, word [rbx + 6]
jae 0x14001f348
mov rdx, rax
lea r8, [rbx + 8]
movzx ecx, word [r8]
inc r9d
add r8, 2
mov dword [rdx], ecx
movzx eax, word [rbx + 6]
add rdx, 4
cmp r9d, eax
jl 0x14001f32e
movzx r8d, word [rbx + 6]
mov rdx, rbp
mov rcx, r12
call fcn.14001d9f4
mov rcx, rbp
mov esi, eax
call fcn.140009a00
cmp esi, r14d
je 0x14001f3a4
movzx ecx, word [rbx + 4]
movzx eax, word [rbx + 2]
mov dword [rsp + 0x60], eax
add eax, 7
mov dword [rsp + 0x64], ecx
mov r8, qword [rsp + 0x60]
mov dword [rsp + 0x68], eax
lea eax, [rcx + 7]
mov dword [rsp + 0x6c], eax
mov rdx, qword [rsp + 0x68]
mov rcx, r12
call fcn.14001e224
mov rdx, r13
mov rcx, r12
call fcn.14001e2f8
mov esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400433d0
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1400433f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.14004c6dc
add rsp, 0x20
pop rbx
ret

Function at 0x1400433fc
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004341f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, eax
call fcn.14004c6dc
add rsp, 0x20
pop rbx
ret

Function at 0x140053604
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.14000e3a4
nop
cmp rbx, 0xffffffff80000000
jne 0x140053690
call fcn.14002f5cc
cmp eax, 1
jne 0x140053690
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.14000f0a4
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000d768
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140053689
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov r9, rdi
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400536c7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400536dc
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, r9
mov esi, r8d
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.14000e3a4
nop
cmp rbx, 0xffffffff80000000
jne 0x140053768
call fcn.14002f5cc
cmp eax, 1
jne 0x140053768
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.14000f0a4
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000d768
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140053761
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, esi
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400537a7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140059e70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14006102c
nop
cmp dword [0x1400a1b38], 1
je 0x140059e1c
mov dword [0x1400a1b34], 1
mov byte [0x1400a1b30], r12b
test ebx, ebx
jne 0x140059e08
mov rcx, qword [0x1400a3eb0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140059df5
mov rcx, qword [0x1400a3ea8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140059d94
call fcn.14005cc24
cmp qword [rdi], rax
jne 0x140059d94
jmp 0x140059d7a
cmp rdi, rsi
jb 0x140059df5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14005cc24
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400a3eb0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400a3ea8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140059dd3
cmp r13, rax
je 0x140059df3
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140059d7a
lea rdx, [0x140073080]
lea rcx, [0x140073068]
call fcn.140059bc4
lea rdx, [0x140073090]
lea rcx, [0x140073088]
call fcn.140059bc4
nop
test r12d, r12d
je 0x140059e2b
mov ecx, 8
call fcn.140060f2c
test r12d, r12d
jne 0x140059e56
mov dword [0x1400a1b38], 1
lea ecx, [r12 + 8]
call fcn.140060f2c
mov ecx, r15d
call fcn.140059b58
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140059ce4

Function at 0x140059e7c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140059ce4
Function at 0x14005d11f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14009c550]
jne 0x14005848a
rol rcx, 0x10
test cx, 0xffff
jne 0x140058486
repz ret
ror rcx, 0x10
jmp 0x14005d078
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400a2120]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400a2218]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14005d0fd
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, [0x1400a2120]
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.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14005d11f
mov rax, qword [rsp + 0x88]
mov qword [0x1400a2218], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400a21b8], rax
mov rax, qword [0x1400a2218]
mov qword [0x1400a2090], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400a21a0], rax
mov dword [0x1400a2080], 0xc0000409
mov dword [0x1400a2084], 1
mov rax, qword [0x14009c550]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14009c558]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400a2118], eax
mov ecx, 1
call fcn.14005d430
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140082790]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400a2118], 0
jne 0x14005d1a6
mov ecx, 1
call fcn.14005d430
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 0x140064b8c
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14005cc24
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400a29b0], rbx
jne 0x140064c92
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140064d67
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140064d67
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400829d8]
mov rcx, rsi
mov qword [0x1400a29b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400829c0]
mov rcx, rsi
mov qword [0x1400a29b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400a29c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400a29d0], rax
test rax, rax
je 0x140064c89
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400a29c8], rax
jmp 0x140064c99
mov rax, qword [0x1400a29c8]
jmp 0x140064ca0
mov rax, qword [0x1400a29c8]
mov r11, qword [0x1400a29d0]
cmp rax, rdi
je 0x140064d08
cmp r11, rdi
je 0x140064d08
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400a29d0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140064d08
test rax, rax
je 0x140064d08
call rsi
test rax, rax
je 0x140064d02
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140064d02
test byte [rsp + 0x38], 1
jne 0x140064d08
bts ebp, 0x15
jmp 0x140064d46
mov rcx, qword [0x1400a29b8]
cmp rcx, rdi
je 0x140064d46
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140064d46
call rax
mov rbx, rax
test rax, rax
je 0x140064d46
mov rcx, qword [0x1400a29c0]
cmp rcx, rdi
je 0x140064d46
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140064d46
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400a29b0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140064d67
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140064d69
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret