joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003f994
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1150
call fcn.140062a30
sub rsp, rax
mov rax, qword [0x140072fc0]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14003f748
xor ebp, ebp
cmp rbx, rbp
je 0x14003f9f6
lea r8, [rsp + 0x140]
sub r8, rbx
movzx eax, word [rbx]
mov word [r8 + rbx], ax
add rbx, 2
cmp ax, bp
jne 0x14003f9e3
jmp 0x14003fa0c
lea rdx, [rsp + 0x140]
mov r8d, 0x800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.rarlng.dll
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.14003103c
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.14003f77c
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x14003fa81
cmp dword [rsp + 0x24], 5
ja 0x14003fa6b
jne 0x14003fa81
cmp dword [rsp + 0x28], 1
jbe 0x14003fa81
xor edx, edx
lea rcx, [rsp + 0x140]
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x14003fa8f
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, rbp
mov qword [0x140086348], rax
setne cl
mov byte [rsi], cl
mov rax, qword [0x140086348]
cmp cl, bpl
cmove rax, rdi
mov qword [0x140086340], rdi
mov qword [0x140086348], rax
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.140054e00
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14003fae4
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
movdqu xmm1, xmmword [rcx + 8]
mov rdi, r9
mov rbx, r8
mov r10, rdx
test r8, r8
je 0x14003fb68
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x14003fb14
pxor xmm1, xmm0
jmp 0x14003fb18
movdqa xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x18]
movsxd r9, dword [rcx + 4]
cmp r9d, 1
pxor xmm1, xmm0
jle 0x14003fb46
lea rdx, [rcx + 0x28]
lea r8d, [r9 - 1]
movdqu xmm0, xmmword [rdx]
add rdx, 0x10
sub r8, 1
aesenc xmm1, xmm0
jne 0x14003fb33
mov rax, r9
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, rdi
add rdi, 0x10
sub rbx, 1
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
jne 0x14003fafd
movdqu xmmword [rcx + 8], xmm1
mov rbx, qword [rsp + 0x20]
pop rdi
ret

Function at 0x14003fb74
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movdqu xmm2, xmmword [rcx + 8]
mov r10, rcx
lea r11, [rcx + 0x18]
test r8, r8
je 0x14003fbf1
movsxd rcx, dword [r10 + 4]
mov rax, rdx
add rdx, 0x10
movdqu xmm3, xmmword [rax]
mov rax, rcx
add rax, rax
dec ecx
movdqu xmm1, xmmword [r11 + rax*8]
pxor xmm1, xmm3
test ecx, ecx
jle 0x14003fbc7
movsxd rax, ecx
shl rax, 4
add rax, r11
movdqu xmm0, xmmword [rax]
dec ecx
sub rax, 0x10
aesdec xmm1, xmm0
test ecx, ecx
jg 0x14003fbb4
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x14003fbdc
pxor xmm1, xmm2
mov rax, r9
add r9, 0x10
sub r8, 1
movdqa xmm2, xmm3
movdqu xmmword [rax], xmm1
jne 0x14003fb85
movdqu xmmword [r10 + 8], xmm2
ret
Function at 0x14003fbf8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140072fc0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, dword [rcx + 4]
mov rsi, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x20
sub ebp, 6
call fcn.140054fe0
xor edi, edi
xor r9d, r9d
xor edx, edx
xor r8d, r8d
movsxd rbx, ebp
lea r14d, [rdi + 4]
test ebp, ebp
jle 0x14003fc93
xor r10d, r10d
cmp edi, dword [rsi + 4]
jg 0x14003fc93
cmp rdx, rbx
jge 0x14003fc7e
lea r11, [rsp + rdx*4 + 0x20]
cmp r8, r14
jge 0x14003fc81
mov eax, dword [r11]
lea rcx, [r10 + r8]
inc rdx
add r11, r14
inc r9d
inc r8
cmp rdx, rbx
mov dword [rsi + rcx*4 + 0x18], eax
jl 0x14003fc5d
cmp r8, r14
jne 0x14003fc8e
inc edi
add r10, r14
xor r9d, r9d
xor r8d, r8d
cmp rdx, rbx
jl 0x14003fc4e
cmp edi, dword [rsi + 4]
movsxd r11, edi
movsxd r10, r9d
jg 0x14003fdf1
lea r12, [0x14008c3f0]
lea r15, [0x14008c510]
movzx ecx, byte [rsp + rbx*4 + 0x1d]
mov al, byte [rsp + 0x20]
xor al, byte [rcx + r15]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + rbx*4 + 0x1e]
mov al, byte [rax + r15]
xor byte [rsp + 0x21], al
movzx eax, byte [rsp + rbx*4 + 0x1f]
mov al, byte [rax + r15]
xor byte [rsp + 0x22], al
movzx eax, byte [rsp + rbx*4 + 0x1c]
mov al, byte [rax + r15]
xor byte [rsp + 0x23], al
mov al, byte [r12]
inc r12
xor byte [rsp + 0x20], al
cmp ebp, 8
je 0x14003fd27
cmp rbx, 1
jle 0x14003fda3
lea rdx, [rsp + 0x24]
lea r8, [rbx - 1]
xor ecx, ecx
mov al, byte [rdx + rcx - 4]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, r14
jl 0x14003fd0d
add rdx, r14
sub r8, 1
jne 0x14003fd0b
jmp 0x14003fda3
lea rcx, [rsp + 0x24]
mov r8d, 3
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14003fd35
sub r8, 1
jne 0x14003fd32
movzx eax, byte [rsp + 0x2c]
mov al, byte [rax + r15]
xor byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x2d]
mov al, byte [rax + r15]
xor byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x2e]
mov al, byte [rax + r15]
xor byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x2f]
mov al, byte [rax + r15]
xor byte [rsp + 0x33], al
cmp rbx, 5
jle 0x14003fda3
lea rcx, [rsp + 0x34]
lea r8, [rbx - 5]
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14003fd8f
sub r8, 1
jne 0x14003fd8c
xor edx, edx
test ebp, ebp
jle 0x14003fde8
cmp edi, dword [rsi + 4]
jg 0x14003fdf1
cmp rdx, rbx
jge 0x14003fdd6
lea r8, [rsp + rdx*4 + 0x20]
cmp r10, r14
jge 0x14003fdd9
mov eax, dword [r8]
lea rcx, [r10 + r11*4]
inc rdx
add r8, r14
inc r10
cmp rdx, rbx
mov dword [rsi + rcx*4 + 0x18], eax
jl 0x14003fdb8
cmp r10, r14
jne 0x14003fde3
inc edi
inc r11
xor r10d, r10d
cmp rdx, rbx
jl 0x14003fda9
cmp edi, dword [rsi + 4]
jle 0x14003fcb0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140054e00
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14003fe18
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x20
mov rax, qword [0x140072fc0]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov ebx, 1
mov r11, rcx
cmp dword [rcx + 4], ebx
jle 0x14003fee0
lea r10, [rcx + 0x28]
lea r14, [0x140000000]
xor r9d, r9d
lea rbp, [rsp + r9]
lea rsi, [r10 + 2]
mov r12d, 4
movzx eax, byte [rsi + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [rsi - 1]
mov r8b, byte [rdx + r14 + 0x893f0]
lea rcx, [r9 + rax*4]
movzx eax, byte [rsi - 2]
xor r8b, byte [rcx + r14 + 0x89bf0]
lea rcx, [r9 + rax*4]
movzx eax, byte [rsi]
xor r8b, byte [rcx + r14 + 0x89ff0]
lea rcx, [r9 + rax*4]
add rsi, 4
xor r8b, byte [rcx + r14 + 0x897f0]
mov byte [rbp], r8b
add rbp, 4
sub r12, 1
jne 0x14003fe6c
inc r9
cmp r9, 4
jl 0x14003fe5e
movdqu xmm0, xmmword [rsp]
inc ebx
movdqu xmmword [r10], xmm0
add r10, 0x10
cmp ebx, dword [r11 + 4]
jl 0x14003fe5b
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140054e00
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret
Function at 0x140041f3c
Capabilities:
Encode data using xor

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, 0x30
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
xor ebx, ebx
mov r14, r9
mov r12d, r8d
mov r13d, edx
mov rsi, rcx
cmp edx, ebx
jne 0x140041f82
mov r8, rdi
xor edx, edx
mov rcx, rbp
call fcn.140055c00
mov r9, r14
mov r8d, r12d
mov edx, r13d
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
call fcn.140041aa4
cmp al, bl
jne 0x14004203d
cmp r12d, ebx
jne 0x140042001
cmp qword [rsi + 0x38], rdi
je 0x140041fdc
mov rcx, qword [rsi + 0x30]
call fcn.140055d7c
mov rcx, 0xffffffffffffffff
mov eax, 4
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.140054c7c
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov r8, rbx
cmp rdi, rbx
jbe 0x140042001
movzx edx, word [r8 + r14]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x30]
mov eax, dword [rax + rdx*4]
mov dword [rcx + r8*4], eax
add r8, 2
cmp r8, rdi
jb 0x140041fe4
mov ecx, dword [rsi + 0x14]
mov rax, qword [rsi + 0x28]
imul ecx, r12d
add ecx, r13d
mov edx, dword [rax + rcx*4]
mov rax, qword [rsi + 8]
mov r8d, dword [rax + rdx*4]
cmp rdi, rbx
jbe 0x14004203d
mov rax, qword [rsi + 0x30]
mov ecx, dword [rax + rbx*4]
mov rax, qword [rsi]
add ecx, r8d
movzx ecx, word [rax + rcx*4]
xor word [rbx + rbp], cx
add rbx, 2
cmp rbx, rdi
jb 0x14004201f
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret

Function at 0x140042260
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
mov eax, 0x1040
call fcn.140062a30
sub rsp, rax
mov rax, qword [0x140072fc0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor r12d, r12d
mov rbx, rdx
mov rsi, rcx
cmp byte [rdx], r12b
je 0x140042351
lea rdi, [rcx + 0x2022]
mov rcx, rdi
call fcn.140030e54
mov rbp, rax
cmp rax, rdi
jbe 0x1400422db
mov rcx, rdi
mov word [rax - 2], r12w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [r12 + 0x5c]
mov word [rbp - 2], cx
cmp eax, 0xffffffff
je 0x1400422db
bt eax, 0xa
jae 0x1400422db
mov byte [rbx], r12b
lea rdx, str.System_Volume_Information_
mov rcx, rdi
call fcn.140057dd0
cmp rax, r12
je 0x1400422f2
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x140042351
mov rcx, qword [rsi + 0x5030]
cmp rcx, r12
je 0x14004231e
mov r9b, 1
xor r8d, r8d
mov rdx, rdi
mov byte [rsp + 0x20], 1
call fcn.140013e20
cmp al, r12b
je 0x14004231e
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x140042351
lea rdx, [rsp + 0x30]
mov r8d, 0x800
mov rcx, rdi
call fcn.140031b34
lea rdx, [rsp + 0x30]
mov ecx, 0x54
call fcn.140001750
lea rcx, [0x140086350]
call fcn.14001b6ac
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140054e00
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x140042b44
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rsp + 0x50]
mov rax, r8
mov rdi, rcx
cmp rax, rbx
mov r8, rbx
mov rcx, r9
cmovb r8, rax
mov rsi, r9
add r8, r8
call fcn.140054fe0
mov r9b, byte [rdi + 0x101]
mov r8b, byte [rsp + 0x58]
lea rdx, [rbx + rbx]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400429d8

Function at 0x140044810
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x140044aa8
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x140044df8
Capabilities:
Hash data using sha256

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, 0x140
mov rsi, qword [rcx + 0x20]
mov edi, dword [rcx + 0x20]
lea rbp, [rcx + 0x30]
shl rsi, 3
and edi, 0x3f
mov qword [rcx + 0x28], rbp
mov r12, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x30], 0x80
jmp 0x140044e49
and edi, 0x3f
jne 0x140044e44
mov rcx, rbx
call fcn.140044ae8
mov byte [rdi + rbx + 0x30], 0
inc edi
cmp edi, 0x38
jne 0x140044e37
movsxd rax, edi
lea edx, [rdi - 0x30]
lea rcx, [rax + rbx + 0x30]
mov rax, rsi
shl rsi, 8
shr rax, 0x38
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140044e5b
mov rcx, rbx
call fcn.140044ae8
xor r11d, r11d
xor r8d, r8d
mov eax, r11d
mov ecx, 3
inc r11d
and eax, 3
sub ecx, eax
mov rax, r8
inc r8
shr rax, 2
shl ecx, 3
mov edx, dword [rbx + rax*4]
shr edx, cl
mov byte [r12], dl
inc r12
cmp r11d, 0x20
jb 0x140044e7f
and qword [rbx + 0x20], 0
lea rcx, [rsp + 0x20]
mov edx, 0x20
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.140042b2c
lea rcx, [rsp + 0x40]
mov edx, 0x100
call fcn.140042b2c
mov edx, 0x40
mov rcx, rbp
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
jmp fcn.140042b2c

Function at 0x140045bcc
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140045c32
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret
Function at 0x140046704
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
cmp dword [rcx], esi
jbe 0x1400467af
lea rdi, [rcx + 8]
lea rax, [rsp + 0x40]
lea r8, [0x140046684]
mov r9, rbx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbp, rax
test rax, rax
jne 0x140046785
lea rdx, str.CreateThread_failed
lea rcx, [0x140086350]
call fcn.14001b888
lea rcx, [0x140086350]
call fcn.14001b6ac
lea edx, [rbp + 2]
lea rcx, [0x140086350]
call fcn.14001b5a8
mov qword [rdi], rbp
inc dword [rbx + 0x108]
mov edx, dword [0x14009064c]
test edx, edx
je 0x1400467a1
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc esi
add rdi, 8
cmp esi, dword [rbx]
jb 0x140046729
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140057b08
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.14005c994
nop
cmp dword [0x140090958], 1
je 0x140057ab4
mov dword [0x140090954], 1
mov byte [0x140090950], r12b
test ebx, ebx
jne 0x140057aa0
mov rcx, qword [0x1400919d8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140057a8d
mov rcx, qword [0x1400919d0]
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 0x140057a2c
call fcn.140059890
cmp qword [rdi], rax
jne 0x140057a2c
jmp 0x140057a12
cmp rdi, rsi
jb 0x140057a8d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140059890
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400919d8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400919d0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140057a6b
cmp r13, rax
je 0x140057a8b
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 0x140057a12
lea rdx, [0x1400655e0]
lea rcx, [0x1400655c8]
call fcn.14005785c
lea rdx, [0x1400655f0]
lea rcx, [0x1400655e8]
call fcn.14005785c
nop
test r12d, r12d
je 0x140057ac3
mov ecx, 8
call fcn.14005c894
test r12d, r12d
jne 0x140057aee
mov dword [0x140090958], 1
lea ecx, [r12 + 8]
call fcn.14005c894
mov ecx, r15d
call fcn.1400577f0
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 0x14005797c

Function at 0x140057b14
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x140072fc0]
jne 0x140054e1a
rol rcx, 0x10
test cx, 0xffff
jne 0x140054e16
repz ret
ror rcx, 0x10
jmp 0x140058420
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140090a20]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140090b18]
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 0x1400584a5
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, [0x140090a20]
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 0x1400584c7
mov rax, qword [rsp + 0x88]
mov qword [0x140090b18], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140090ab8], rax
mov rax, qword [0x140090b18]
mov qword [0x140090990], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140090aa0], rax
mov dword [0x140090980], 0xc0000409
mov dword [0x140090984], 1
mov rax, qword [0x140072fc0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140072fc8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140090a18], eax
mov ecx, 1
call fcn.14005fcf0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140068798]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140090a18], 0
jne 0x14005854e
mov ecx, 1
call fcn.14005fcf0
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 0x140060acc
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.140059890
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400916b0], rbx
jne 0x140060bd2
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140060ca7
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140060ca7
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400916b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400916b8], 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 [0x1400916c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400916d0], rax
test rax, rax
je 0x140060bc9
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400916c8], rax
jmp 0x140060bd9
mov rax, qword [0x1400916c8]
jmp 0x140060be0
mov rax, qword [0x1400916c8]
mov r11, qword [0x1400916d0]
cmp rax, rdi
je 0x140060c48
cmp r11, rdi
je 0x140060c48
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400916d0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140060c48
test rax, rax
je 0x140060c48
call rsi
test rax, rax
je 0x140060c42
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140060c42
test byte [rsp + 0x38], 1
jne 0x140060c48
bts ebp, 0x15
jmp 0x140060c86
mov rcx, qword [0x1400916b8]
cmp rcx, rdi
je 0x140060c86
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140060c86
call rax
mov rbx, rax
test rax, rax
je 0x140060c86
mov rcx, qword [0x1400916c0]
cmp rcx, rdi
je 0x140060c86
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140060c86
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400916b0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140060ca7
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140060ca9
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
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov rdi, rcx
mov r14d, dword [rax + rcx + 0x88]
add r14, rcx
mov esi, dword [r14 + 0x18]
test esi, esi
je 0x140001060
mov r15d, dword [r14 + 0x20]
nop dword [rax + rax]
lea rax, [r15 + rbx*4]
mov edx, dword [rax + rdi]
lea rcx, [0x1400022c8]
add rdx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000107b
inc ebx
cmp ebx, esi
jb 0x140001040
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov ecx, dword [r14 + 0x24]
add rcx, rdi
movzx edx, word [rcx + rbx*2]
mov ecx, dword [r14 + 0x1c]
add rcx, rdi
mov eax, dword [rcx + rdx*4]
add rax, rdi
jmp 0x140001062

Function at 0x140001a40
Capabilities:
Parse pe header

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