joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400515d0
Capabilities:
Create thread
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x14c0
call fcn.1400750c0
sub rsp, rax
mov rax, qword [0x1400d0400]
xor rax, rsp
mov qword [rsp + 0x14b0], rax
mov r14, rdx
mov ebx, ecx
mov dword [rsp + 0x30], ebx
mov edi, ecx
shr edi, 0x18
mov esi, ecx
shr esi, 0x10
mov ebp, ecx
shr ebp, 8
xor r15d, r15d
lea r12, [0x1400d66f0]
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x68], r15b
mov rcx, r12
call fcn.1400561c0
test eax, eax
jne 0x140051814
cmp dword [0x1400d673c], 0x7fffffff
je 0x14005181f
movzx r8d, bl
movzx eax, bpl
movzx ecx, sil
movzx edx, dil
mov byte [rsp + 0x68], 1
lea r10, [0x1400d66b0]
mov qword [rsp + 0x70], r10
movabs r9, 0xcbf29ce484222325
xor r8, r9
movabs r9, 0x100000001b3
imul r8, r9
xor r8, rax
imul r8, r9
xor r8, rcx
imul r8, r9
xor r8, rdx
imul r8, r9
mov rcx, qword [0x1400d66e0]
and rcx, r8
shl rcx, 4
add rcx, qword [0x1400d66c8]
mov rax, qword [rcx + 8]
mov r8, qword [0x1400d66b8]
cmp rax, r8
je 0x1400516e0
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x1400516e3
nop dword [rax + rax]
cmp rax, rcx
je 0x1400516e0
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x1400516d0
jmp 0x1400516e3
mov rax, r15
mov rdx, r8
test rax, rax
cmovne rdx, rax
cmp rdx, r8
je 0x1400517c5
lea rdx, [rsp + 0x30]
mov rcx, r10
call fcn.140052f60
mov rbx, rax
mov dword [rsp + 0x80], r15d
lea rcx, [rsp + 0x88]
mov rdx, r14
mov r8d, 0xa08
call fcn.14009e7e0
mov qword [rsp + 0xa90], rbx
lea rcx, [rsp + 0xa98]
lea rdx, [rsp + 0x80]
mov r8d, 0xa10
call fcn.14009e7e0
mov ecx, 0xa18
call fcn.140074bf8
mov rbx, rax
test rax, rax
je 0x140051771
mov rcx, rax
lea rdx, [rsp + 0xa90]
mov r8d, 0xa18
call fcn.14009e7e0
jmp 0x140051774
mov rbx, r15
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x14004b890]
xor edx, edx
xor ecx, ecx
call fcn.140087d50
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140051804
cmp dword [rsp + 0x48], 0
je 0x1400517f9
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140056704
test eax, eax
jne 0x1400517f9
mov rcx, r12
call fcn.1400561c8
mov rcx, qword [rsp + 0x14b0]
xor rcx, rsp
call fcn.140074d50
lea r11, [rsp + 0x14c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 1
call fcn.14005643c
nop
mov dword [rsp + 0x48], r15d
mov ecx, 6
call fcn.14005643c
nop
mov ecx, 5
call fcn.14005643c
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.14005643c
int3
Function at 0x140051840
Capabilities:
Create thread
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 8]
mov rdx, qword [rcx + 0xa0]
mov ecx, dword [rcx + 0x98]
jmp 0x140051840
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 8], ecx
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
mov rdi, rdx
mov ebx, ecx
lea r14, [0x1400d66f0]
mov qword [rbp + 0x17], r14
mov byte [rbp + 0x1f], 0
mov rcx, r14
call fcn.1400561c0
test eax, eax
jne 0x140051a01
cmp dword [0x1400d673c], 0x7fffffff
je 0x140051a0c
mov byte [rbp + 0x1f], 1
lea r8, [0x1400d66b0]
mov qword [rbp + 0x27], r8
movzx edx, bl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rbp + 0x68]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x69]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rbp + 0x6a]
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400d66e0]
and rcx, rdx
shl rcx, 4
add rcx, qword [0x1400d66c8]
mov rax, qword [rcx + 8]
mov rdx, qword [0x1400d66b8]
cmp rax, rdx
je 0x140051920
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140051922
nop dword [rax]
cmp rax, rcx
je 0x140051920
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140051910
jmp 0x140051922
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400519c1
lea rdx, [rbp + 0x67]
mov rcx, r8
call fcn.140052f60
mov dword [rbp - 0x19], 1
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rax
movups xmm6, xmmword [rbp - 0x19]
movups xmmword [rbp - 1], xmm6
mov ecx, 0x18
call fcn.140074bf8
test rax, rax
je 0x140051974
movups xmm0, xmmword [rbp - 9]
movups xmmword [rax], xmm0
unpckhpd xmm6, xmm6
movsd qword [rax + 0x10], xmm6
mov qword [rbp + 0x77], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004b7c0]
xor edx, edx
xor ecx, ecx
call fcn.140087d50
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400519ef
cmp dword [rbp - 0x11], 0
je 0x1400519e4
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.140056704
test eax, eax
jne 0x1400519e4
mov rcx, r14
mov rbx, qword [rsp + 0xb8]
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop r14
pop rdi
pop rbp
jmp fcn.1400561c8
mov ecx, 1
call fcn.14005643c
nop
mov dword [rbp - 0x11], 0
mov ecx, 6
call fcn.14005643c
nop
mov ecx, 5
call fcn.14005643c
int3
mov dword [0x1400d673c], 0x7ffffffe
mov ecx, 6
call fcn.14005643c
int3
Function at 0x140055e80
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140055eba
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140055ebf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140055f08
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400ab260]
cmp byte [rcx + rax], 0
je 0x140055f08
dec r8
sub rdx, 1
jne 0x140055eee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140059b40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov qword [rcx], rdx
lea rbx, [rcx + 8]
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rdi, rcx
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
and qword [rbx + 0x18], rax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], eax
test dword [0x1400d036c], 0x80000000
je 0x140059b95
mov ecx, dword [0x1400d7078]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x140059b9a
call fcn.140060df4
mov qword [rbx], rax
mov r8b, 1
mov rcx, qword [rdi]
mov rdx, rbx
call fcn.140059d8c
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x140059bf0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov edi, edx
mov rbx, rcx
call fcn.14005d488
mov r8d, dword [rbx + 0x10]
mov ecx, eax
shr r8d, 2
test r8b, 1
jne 0x140059c92
mov r8d, dword [rbx + 0x10]
shr r8d, 1
test r8b, 1
je 0x140059c2e
mov eax, dword [rbx + 0x10]
shr eax, 3
shr edi, 3
sub eax, edi
jmp 0x140059c33
mov eax, 1
lea r8d, [rcx + 2]
cmp eax, r8d
ja 0x140059c92
dec eax
mov qword [rsp + 0x20], 0
imul eax, dword [0x1400d0358]
lea rcx, [0x14005b040]
xor edx, edx
mov qword [rsp + 0x30], rcx
div r8d
add eax, dword [0x1400d0358]
jne 0x140059c71
mov dword [rsp + 0x28], 4
jmp 0x140059c7d
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 1
mov eax, dword [rbx + 0x10]
test al, 1
je 0x140059c92
lea rcx, [rsp + 0x20]
call fcn.14005a180
test al, al
jne 0x140059c7d
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp fcn.14005b238
Function at 0x14005a5c4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x10], 0
mov r14d, 1
test dword [0x1400d036c], 0x80000000
mov rbx, rcx
mov qword [rbp - 0x20], 0
mov dword [rbp - 0x18], r14d
mov dword [rbp - 8], 0
mov dword [rbp - 4], 0
je 0x14005a61f
mov ecx, dword [0x1400d7078]
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x14005a624
call fcn.140060df4
mov qword [rbp - 0x28], rax
cmp rax, qword [rbx]
je 0x14005a72d
lea rdi, [rbp - 0x28]
xchg qword [rbx + 0x28], rdi
test rdi, rdi
jne 0x14005a6af
prefetchw byte [rbx + 0x40]
mov eax, dword [rbx + 0x40]
lea edx, [rdi + 4]
mov ecx, eax
or ecx, edx
lock cmpxchg dword [rbx + 0x40], ecx
jne 0x14005a648
test al, 3
jne 0x14005a6df
lock xadd dword [rbx + 0x40], edx
and dl, 3
cmp dl, r14b
jne 0x14005a66d
lock or dword [rbx + 0x40], 2
xor ecx, ecx
lea rax, [rbp - 0x28]
xchg qword [rbx + 0x28], rcx
cmp rcx, rax
jne 0x14005a68a
mov eax, dword [rcx + 0x10]
and eax, 0xfffffffe
mov dword [rcx + 0x10], eax
jmp 0x14005a717
xor eax, eax
lock cmpxchg dword [rcx + 0x20], r14d
jne 0x14005a6df
mov eax, dword [rcx + 0x10]
and eax, 0xfffffffe
mov dword [rcx + 0x10], eax
mov rcx, qword [rcx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400611d2.0]
jmp 0x14005a6df
mov eax, dword [rdi + 0x10]
test r14b, al
je 0x14005a6df
mov eax, dword [rdi + 0x10]
shr eax, 2
test r14b, al
jne 0x14005a6d6
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400611d2.0]
test al, al
je 0x14005a6df
mov eax, dword [rbp - 0x18]
or eax, 4
mov dword [rbp - 0x18], eax
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.140059bf0
test rdi, rdi
je 0x14005a717
lock add dword [rbx + 0x40], 8
xor eax, eax
lock cmpxchg dword [rdi + 0x20], r14d
jne 0x14005a717
mov eax, dword [rdi + 0x10]
mov rcx, qword [rdi]
and eax, 0xfffffffe
mov dword [rdi + 0x10], eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400611d2.0]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, str.Lock_already_taken_as_a_writer
lea rcx, [rbp - 0x40]
call fcn.14005b0a0
lea rdx, [0x1400cddc8]
lea rcx, [rbp - 0x40]
call fcn.1400760b4
int3

Function at 0x14005abd8
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14005abeb
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14005b208
lea rdx, [0x1400cde28]
lea rcx, [rsp + 0x20]
call fcn.1400760b4
int3
Function at 0x1400036e0
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x58], 0
jmp 0x1400051ab
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x14000985a
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x30], rax
mov edx, 0x40
mov rcx, qword [rsp + 0x108]
call fcn.140009532
jmp 0x140005d4a
test eax, eax
jne 0x1400041d0
jmp 0x140007326
xor eax, eax
jmp 0x140007a1e
mov ecx, 0xc1
call qword [0x140075506]
xor eax, eax
jmp 0x140007a1e
Function at 0x14000888a
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x14000556b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
jne 0x1400089e7
jmp 0x1400050e0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x38], rax
jmp 0x14000440a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x140006e8d
jmp 0x14000833d
mov rax, qword [rsp + 0x48]
add rsp, 0x68
ret
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x140006e8d
jmp 0x14000833d
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.140005172
jmp 0x1400093c0
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
je 0x140003f38
jmp 0x140009528
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x1400050e0
mov rcx, qword [rsp + 0x70]
call fcn.140008d20
jmp 0x140005590
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
sub rax, 0x10
jmp 0x140009616
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140003129
jmp 0x140003abd
test eax, eax
je 0x140007b82
jmp 0x140003abd
jmp 0x14000440a
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
jmp 0x1400089e7

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

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x14000ddba
call fcn.140003f88
and dword [rax], 0
call fcn.140003f68
and qword [rsp + 0x20], 0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.140003e98
mov eax, ebx
jmp 0x14000de0a
test edx, 0xfffffff9
jne 0x14000dd8d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000dde3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140003fa8
call fcn.140003f68
mov eax, dword [rax]
jmp 0x14000de0a
test al, 0x10
jne 0x14000de08
test al, 1
je 0x14000de08
test bl, 2
je 0x14000de08
call fcn.140003f88
mov dword [rax], 5
call fcn.140003f68
mov dword [rax], 0xd
jmp 0x14000ddda
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140005490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400054a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.140002f70
jmp 0x14000123c
mov rax, qword [0x1400054a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400054a0]
mov dword [rax], 1
mov rax, qword [0x1400054e0]
mov rdx, rax
mov rax, qword [0x1400054d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x140009024], 1
mov rax, qword [0x1400054a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400054c0]
mov rdx, rax
mov rax, qword [0x1400054b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1400054a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140005490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400053f0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400053f0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400021f8
mov rax, qword [0x140005520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140005480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400019f0
mov eax, dword [0x140009004]
lea rdx, [0x140009008]
mov ecx, eax
call fcn.14000147c
call fcn.140001787
mov rax, qword [0x140005410]
mov rax, qword [rax]
mov rdx, qword [0x140009010]
mov qword [rax], rdx
mov rcx, qword [0x140009010]
mov rdx, qword [0x140009008]
mov eax, dword [0x140009004]
mov r8, rcx
mov ecx, eax
call fcn.140003220
mov dword [0x14000901c], eax
mov eax, dword [0x140009020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000901c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x140009024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14000901c]
add rsp, 0x70
pop rbp
ret
Function at 0x140003418
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 [0x14003c470]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140002450
xor ebx, ebx
cmp qword [0x14003d9f8], rbx
mov rdi, rax
jne 0x14000352b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140003602
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003602
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14003d9f8], 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 [0x14003da00], 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 [0x14003da08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14003da18], rax
test rax, rax
je 0x140003522
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 [0x14003da10], rax
jmp 0x140003532
mov rax, qword [0x14003da10]
jmp 0x140003539
mov rax, qword [0x14003da10]
mov r11, qword [0x14003da18]
cmp rax, rdi
je 0x1400035a0
cmp r11, rdi
je 0x1400035a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14003da18]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400035a0
test rax, rax
je 0x1400035a0
call rsi
test rax, rax
je 0x14000359a
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 0x14000359a
test byte [rsp + 0x40], 1
jne 0x1400035a0
bts ebp, 0x15
jmp 0x1400035e0
mov rcx, qword [0x14003da00]
cmp rcx, rdi
je 0x1400035e0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400035e0
call rax
mov rbx, rax
test rax, rax
je 0x1400035e0
mov rcx, qword [0x14003da08]
cmp rcx, rdi
je 0x1400035e0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400035e0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14003d9f8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140003602
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140003604
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003850
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004c9b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14003c470]
jne 0x14000386a
rol rcx, 0x10
test cx, 0xffff
jne 0x140003866
repz ret
ror rcx, 0x10
jmp 0x140004bf4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14003daf0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14003dbe8]
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 0x140004c79
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, [0x14003daf0]
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 0x140004c9b
mov rax, qword [rsp + 0x88]
mov qword [0x14003dbe8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14003db88], rax
mov rax, qword [0x14003dbe8]
mov qword [0x14003da60], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14003db70], rax
mov dword [0x14003da50], 0xc0000409
mov dword [0x14003da54], 1
mov rax, qword [0x14003c470]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14003c478]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14003dae8], eax
mov ecx, 1
call fcn.140004a9c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140007270]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14003dae8], 0
jne 0x140004d22
mov ecx, 1
call fcn.140004a9c
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 0x140005a90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbx
sub rsp, 0x20
xor ecx, ecx
mov edx, 0x33a3a
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rdx, [0x140007a90]
mov r8d, 0x33a3a
mov rcx, rax
mov rbx, rax
call fcn.140003ac0
call rbx
nop word [rax + rax]
mov ecx, 0x36ee80
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140005ad0
Function at 0xe16058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00e161df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xe16089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xe1606f
add dl, dl
jne 0xe16096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xe160f6
xor eax, eax
add dl, dl
jne 0xe160a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xe161ad
add dl, dl
jne 0xe160b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe160c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe160d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe160dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xe160ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xe1607e
mov eax, 1
add dl, dl
jne 0xe16106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe16113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xe160fb
sub eax, ebx
mov ebx, 1
jne 0xe1614c
mov ecx, 1
add dl, dl
jne 0xe1612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe1613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xe16123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xe1607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe16168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe16175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xe1615d
cmp eax, 0x7d00
jae 0xe1619b
cmp eax, 0x500
jb 0xe16196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xe1607e
cmp eax, 0x7f
ja 0xe1619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xe1607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xe161d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0xe1607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20