joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b4c0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140019060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14000b500
mov eax, 0xff
jmp 0x14000b6ab
mov r8d, dword [rsp + 0x3c]
and r8d, 0x7fff
mov r9d, dword [rsp + 0x40]
cmp r9d, 2
je 0x14000b51c
bts r8d, 0xf
mov edx, dword [rsp + 0x34]
mov ecx, edx
shl ecx, 8
mov eax, dword [rsp + 0x38]
add ecx, eax
mov dword [0x14001acc8], r9d
mov dword [0x14001acd0], ecx
mov dword [0x14001acd4], edx
mov dword [0x14001acd8], eax
mov dword [0x14001accc], r8d
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000b593
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000b593
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x14000b593
xor ebx, ebx
cmp dword [rax + 0x84], 0xe
jbe 0x14000b595
cmp dword [rax + 0xf8], ebx
setne bl
jmp 0x14000b595
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edi, 1
mov ecx, edi
call fcn.14000d244
test eax, eax
jne 0x14000b5cb
cmp dword [0x14001a71c], 2
je 0x14000b5b7
call fcn.14000d028
mov ecx, 0x1c
call fcn.14000d074
mov ecx, 0xff
call fcn.14000cc40
call fcn.14000cb0c
test eax, eax
jne 0x14000b5f7
cmp dword [0x14001a71c], 2
je 0x14000b5e2
call fcn.14000d028
mov ecx, 0x10
call fcn.14000d074
mov ecx, 0xff
call fcn.14000cc40
nop
call fcn.14000d2b8
test eax, eax
jns 0x14000b60a
mov ecx, 0x1b
call fcn.14000cc5c
call sub.KERNEL32.dll_GetCommandLineW
mov qword [0x14001c8d0], rax
call fcn.14000da58
mov qword [0x14001a720], rax
call fcn.14000d554
test eax, eax
jns 0x14000b635
mov ecx, 8
call fcn.14000cc5c
call fcn.14000d834
test eax, eax
jns 0x14000b648
mov ecx, 9
call fcn.14000cc5c
mov ecx, edi
call fcn.14000cccc
test eax, eax
je 0x14000b65a
mov ecx, eax
call fcn.14000cc5c
mov r8, qword [0x14001acb8]
mov qword [0x14001ace8], r8
mov rdx, qword [0x14001acb0]
mov ecx, dword [0x14001acac]
call fcn.1400070f4
mov edi, eax
mov dword [rsp + 0x24], eax
test ebx, ebx
jne 0x14000b68b
mov ecx, eax
call fcn.14000d018
call fcn.14000ccb8
jmp 0x14000b6a9
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14014f000
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
sub rsp, 0x28
call fcn.14000d980
add rsp, 0x28
jmp 0x14000b4c0

Function at 0x14000c1ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1400022a0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x1ff70]
mov eax, 0x20070
call fcn.140048f00
sub rsp, rax
lea rcx, [rsp + 0x50]
mov rsi, rdx
call fcn.1400080e8
xor bl, bl
lea rdx, [rsp + 0x70]
mov ecx, 0x7fff
mov byte [rbp + 0x1ffa0], bl
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r8, [rbp + 0x1ffb0]
mov rdx, rsi
call fcn.140004238
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14004a542
mov eax, dword [0x1400f04c0]
test eax, eax
je 0x14004a564
mov r15d, 1
lea rcx, [0x1400f2230]
cmp eax, r15d
je 0x14004a570
lea rax, [rbp + 0x1ffa0]
lea r8, [0x1400f04c0]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400f04e8]
call fcn.1400029f4
test al, al
je 0x14004a594
mov al, byte [0x1400f2230]
lea r9, [rbp + 0x1ffb8]
mov rcx, qword [0x1400f04e8]
lea r8, [rbp + 0xff70]
mov dil, byte [0x1400f2231]
mov edx, 0x7fff
mov byte [0x1400f04c4], al
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov rdx, qword [rbp + 0x1ffb8]
lea rcx, [0x1400f04a0]
call fcn.140006784
mov bl, byte [rbp + 0x1ffa0]
mov r8d, dword [0x1400f04c0]
lea rdx, [0x1400f04e8]
call fcn.140002a8c
test eax, eax
jne 0x14004a5a0
cmp dil, r15b
je 0x14004a5c3
call fcn.140002674
call fcn.1400027ac
cmp byte [0x1400f04c4], 0
jne 0x1400023df
lea rcx, [0x1400f0e60]
call fcn.140004ce4
mov edx, r15d
lea rcx, [0x1400f0510]
call fcn.140010fd0
cmp byte [0x1400f04c4], 0
jne 0x140002403
lea rcx, [0x1400f0e60]
call fcn.140004814
lea rcx, [0x1400f2230]
call fcn.1400024d4
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call fcn.140008b2c
add rsp, 0x20070
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r9d, reloc.WSOCK32.dll_recv
lea r8, [0x1400dc24c]
lea rdx, [0x1400dc250]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
jmp 0x14000241a
or dword [0x1400f03b0], 0xffffffff
jmp 0x14000240f
mov r8, qword [0x1400f04c8]
or r9d, 0xffffffff
mov edx, r15d
call fcn.14000cc78
mov al, byte [0x1400f03b8]
mov byte [0x1400f2232], al
jmp 0x14000239c
mov dword [0x1400f03b0], r15d
jmp 0x14000240f
lea rcx, [0x1400f2230]
call fcn.1400024d4
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x1400f03b0], r15d
jmp 0x14000241a
call fcn.14006d46c
test al, al
jne 0x1400023c0
cmp byte [rbp + 0x1ffb0], al
jne 0x1400023c0
lea rcx, [rsp + 0x50]
call fcn.140004118
lea rdx, [0x1400d8714]
lea rcx, [rsp + 0x30]
call fcn.14000d5e4
lea rcx, [rsp + 0x30]
test bl, bl
je 0x14004a62b
lea rdx, [0x1400dc280]
call fcn.140005e6c
lea rdx, [0x1400f04e8]
lea rcx, [rsp + 0x30]
call fcn.1400066b4
lea rdx, [0x1400dc280]
lea rcx, [rsp + 0x30]
jmp 0x14004a62e
mov rdx, rsi
call fcn.140005e6c
mov rbx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8, qword [rsp + 0x50]
lea rdx, [0x1400dc288]
mov rcx, rax
mov dword [rsp + 0x28], r15d
lea rax, [rsp + 0x70]
mov r9, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call fcn.140008b2c
nop
jmp 0x140002403
Function at 0x1400027ac
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x10], 0
lea rdx, [0x1400b6270]
mov rax, qword [0x1400f03a8]
mov r9d, 0xcf0000
mov qword [r11 - 0x18], rax
mov r8, rdx
and qword [r11 - 0x20], 0
mov eax, 0x80000000
and qword [r11 - 0x28], 0
xor ecx, ecx
mov dword [rsp + 0x38], 0x64
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
and qword [rsp + 0x58], 0
lea rdx, [0x1400b6250]
mov rcx, qword [0x1400f03a8]
mov r9d, 0x50b008c4
mov qword [rsp + 0x50], rcx
xor r8d, r8d
mov qword [rsp + 0x48], 1
xor ecx, ecx
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov qword [0x1400f0400], rax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1400f0400]
xor edx, edx
mov qword [0x1400f03f8], rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400f0400]
xor edx, edx
add rsp, 0x68
jmp qword [sym.imp.USER32.dll_ShowWindow]

Function at 0x140003058
Capabilities:
Hash data using djb2

Disassembly:
mov eax, dword [rdx + 8]
mov r8d, 0x1505
mov r10, qword [rdx]
add eax, eax
xor edx, edx
movsxd r9, eax
test eax, eax
jle 0x140003083
movzx ecx, byte [rdx + r10]
inc rdx
imul r8d, r8d, 0x21
add r8d, ecx
cmp rdx, r9
jl 0x14000306f
mov eax, r8d
ret
Function at 0x140023be0
Capabilities:
Find taskbar
Log keystrokes

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
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
cmp rdi, rax
je 0x14006a694
xor ebx, ebx
test rax, rax
jne 0x140023c26
xor edx, edx
lea rcx, [0x1400b6b28]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x14006a69e
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14006a6bc
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov rcx, rdi
mov r14d, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, 1
mov ecx, r14d
mov r8d, esi
mov edx, eax
mov r15d, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, r15d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14006a6b2
lea esi, [rax + 0x12]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
lea r8d, [rsi - 0x10]
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
lea r8d, [rsi - 0x10]
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x140023d70
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, r15d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, ebx
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 ebx, 4
jmp 0x140023d2a
mov eax, 1
jmp 0x140023d57
mov edx, 9
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
nop
jmp 0x140023c37
mov ebx, 3
jmp 0x140023d2a
mov ebx, 2
jmp 0x140023d55
Function at 0x14006bee8
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rbx, rcx
xor r15d, r15d
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x228], r15
mov rsi, r9
mov r14, r8
mov rdi, rdx
call fcn.1400080e8
lea rcx, [rsp + 0x38]
call fcn.1400080e8
lea rcx, [rsp + 0x78]
call fcn.1400080e8
lea rdx, [0x1400dc200]
lea rcx, [rsp + 0x58]
call fcn.140006784
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140005e6c
lea rdx, [0x1400dc228]
lea rcx, [rsp + 0x58]
call fcn.140005e6c
lea rcx, [rsp + 0x38]
call fcn.1400092a4
test rdi, rdi
je 0x14006bfa5
cmp word [rdi], 0x5c
je 0x14006bfa5
cmp word [rdi + 2], 0x5c
je 0x14006bfa5
lea rdx, [0x1400dc238]
lea rcx, [rsp + 0x38]
call fcn.140006784
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140005e6c
test rsi, rsi
je 0x14006c007
xor edx, edx
lea rcx, [rbp - 0x68]
lea r8d, [rdx + 0x30]
call fcn.1400261b0
lea rdx, [rsp + 0x38]
mov dword [rbp - 0x64], r15d
lea rcx, [rsp + 0x78]
call fcn.14000caa8
lea rdx, [0x1400dc240]
lea rcx, [rsp + 0x78]
call fcn.140005e6c
mov rax, qword [rsp + 0x78]
lea rcx, [rbp - 0x68]
mov rdx, qword [rbp + 0x230]
xor r9d, r9d
mov r8, rsi
mov qword [rbp - 0x50], rax
call qword [sym.imp.MPR.dll_WNetAddConnection2W]
mov ebx, eax
test eax, eax
js 0x14006c0c8
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rdx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov ebx, eax
test eax, eax
jne 0x14006c0c8
mov rdx, qword [rsp + 0x58]
lea rax, [rbp + 0x228]
mov rcx, qword [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14006c0bd
mov rcx, qword [rbp + 0x228]
lea rax, [rbp + 0x218]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp - 0x30]
mov dword [rbp + 0x218], 0x1fe
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14006c0b0
mov eax, dword [rbp + 0x218]
lea rcx, [rbp - 0x30]
shr eax, 1
mov rdx, r14
mov dword [rbp + 0x218], eax
mov word [rbp + rax*2 - 0x30], r15w
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov ebx, eax
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x78]
call fcn.140008b2c
lea rcx, [rsp + 0x38]
call fcn.140008b2c
lea rcx, [rsp + 0x58]
call fcn.140008b2c
mov eax, ebx
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007c70c
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rbp, rdx
mov rsi, r8
lea rdx, [rax - 0x38]
mov r15, rcx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
xor ebx, ebx
mov edi, eax
test eax, eax
je 0x14007c90a
mov rcx, rdi
call fcn.140024bd8
mov r9, rax
mov r8d, edi
xor edx, edx
mov rcx, r15
mov r14, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rsi
call fcn.140028cc8
lea rcx, [rax + 0x1a]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140024bd8
lea r15, [0x1400b62a4]
mov rcx, rax
mov rdx, r15
mov rdi, rax
call fcn.140028cec
mov rdx, r15
mov rcx, rsi
call fcn.14002952c
test eax, eax
je 0x14007c83f
lea rdx, [0x1400dd428]
mov rcx, rdi
call fcn.14002dd08
mov rdx, r15
mov rcx, rsi
call fcn.140026340
test rax, rax
jne 0x14007c834
lea r9, [rsp + 0x88]
mov rcx, r14
lea r8, [rsp + 0x40]
lea rdx, [0x1400dd448]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14007c81a
mov rax, qword [rsp + 0x40]
lea rdx, [rdi + 0x20]
mov r8d, 4
mov r11d, dword [rax]
mov ecx, r11d
call fcn.14000d674
shr r11, 0x10
lea rdx, [rdi + 0x28]
mov rcx, r11
call fcn.14000d674
jmp 0x14007c829
lea rdx, [0x1400dd480]
mov rcx, rdi
call fcn.14002dd08
mov rdx, r15
mov rcx, rdi
call fcn.14002dd08
mov rdx, rsi
mov rcx, rdi
call fcn.14002dd08
lea rdx, [0x1400dd498]
mov rcx, rsi
call fcn.140028d98
test eax, eax
jne 0x14007c87d
lea rdx, [rdi + 0x20]
mov rcx, rbp
lea r8d, [rax + 8]
call fcn.140031f94
mov rcx, r14
mov word [rbp + 0x10], bx
call fcn.140024b94
mov rcx, rdi
call fcn.140024b94
mov al, 1
jmp 0x14007c90a
lea r9, [rsp + 0x88]
mov rdx, rdi
lea r8, [rsp + 0x38]
mov rcx, r14
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14007c8f8
mov rdx, r15
mov rcx, rsi
call fcn.14002952c
test eax, eax
jne 0x14007c8dc
mov rax, qword [rsp + 0x38]
lea rdx, [0x1400dd4c0]
mov r8d, dword [rax + 8]
mov ecx, dword [rax + 0xc]
movzx eax, cx
shr ecx, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, rbp
movzx r9d, r8w
shr r8d, 0x10
call fcn.1400247a4
jmp 0x14007c8f6
mov rdx, qword [rsp + 0x38]
mov r8d, 0x200
mov rcx, rbp
call fcn.140031f94
mov word [rbp + 0x400], bx
mov bl, 1
mov rcx, r14
call fcn.140024b94
mov rcx, rdi
call fcn.140024b94
mov al, bl
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14007d580
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xff60]
mov eax, 0x10060
call fcn.140048f00
sub rsp, rax
mov rcx, qword [rcx]
lea r8, [rsp + 0x60]
mov bl, dl
mov edx, 0x7fff
call fcn.14007c924
lea rcx, [rsp + 0x60]
call fcn.14007cdc4
xor edi, edi
test al, al
je 0x14007d5d7
lea rcx, [rsp + 0x60]
test bl, bl
jne 0x14007d5ee
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14007d63a
xor al, al
lea r11, [rsp + 0x10060]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.140028cc8
xorps xmm0, xmm0
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x44], edi
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + rax*2 + 0x62], di
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov eax, 0x614
mov word [rsp + 0x40], ax
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x14007d5d7
mov al, 1
jmp 0x14007d5d9

Function at 0x14007d640
Capabilities:
Shutdown system

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov esi, edx
mov edi, ecx
lea rdx, [0x1400dd5b0]
lea rcx, [rsp + 0x30]
call fcn.14007b3f0
lea rcx, [rsp + 0x30]
call fcn.14006d4f8
xor ebx, ebx
test al, al
je 0x14007d6ca
lea eax, [rdi - 0x20]
test eax, 0xffffffdf
je 0x14007d6b8
test dil, 0xb
jne 0x14007d690
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x14007d6c8
mov eax, edi
mov dword [rsp + 0x28], esi
shr eax, 1
and eax, 1
test dil, 0x14
mov dword [rsp + 0x20], eax
setne bl
xor r8d, r8d
mov r9d, ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
jmp 0x14007d6c8
cmp edi, 0x20
sete bl
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetSystemPowerState]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.14006cc0c
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x14007d6e8
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test ecx, ecx
js 0x14007d769
push rbx
sub rsp, 0x20
mov ebx, ecx
test ecx, ecx
je 0x14007d75e
cmp ebx, 0xf
jae 0x14007d75c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14007d75c
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x38]
xorps xmm1, xmm1
sub rax, qword [rsp + 0x40]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x48]
cvtsi2sd xmm1, rax
divsd xmm1, xmm0
mulsd xmm1, qword [0x1400c71d8]
cvttsd2si rax, xmm1
cmp eax, ebx
jb 0x14007d716
jmp 0x14007d764
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
add rsp, 0x20
pop rbx
ret
Function at 0x140081d78
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, dword [rcx + 0x18]
mov rbx, rcx
cmp dword [rcx + 0x458], edi
jae 0x140081ea0
mov r14d, 0x1ffff
mov edx, 1
mov rcx, rbx
call fcn.140081ac0
mov rcx, rbx
cmp eax, 1
jne 0x140081dde
lea edx, [rax + 7]
call fcn.140081ac0
mov edx, dword [rbx + 0x458]
mov rcx, qword [rbx + 0x450]
and rdx, r14
mov byte [rdx + rcx], al
inc dword [rbx + 0x458]
inc dword [rbx + 0x45c]
jmp 0x140081e39
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
call fcn.140081b8c
mov r8d, dword [rbx + 0x458]
sub r8d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x30]
test r9d, r9d
je 0x140081e39
mov ecx, dword [rbx + 0x458]
mov eax, r8d
mov rdx, qword [rbx + 0x450]
and rax, r14
and rcx, r14
inc r8d
mov al, byte [rax + rdx]
mov byte [rcx + rdx], al
inc dword [rbx + 0x458]
inc dword [rbx + 0x45c]
add r9d, 0xffffffff
jne 0x140081e03
mov dword [rsp + 0x30], r9d
mov rcx, rbx
call fcn.140081fbc
mov eax, dword [0x1400f3080]
cmp eax, 0x1000
jbe 0x140081e83
and dword [0x1400f3080], 0
mov r9, qword [rbx + 0x470]
test r9, r9
je 0x140081e8b
imul eax, dword [rbx + 0x10], 0x64
xor edx, edx
mov ecx, dword [rbx + 0x14]
div dword [rbx + 0x18]
mov edx, dword [rbx + 0x10]
mov r8d, eax
call r9
test eax, eax
jne 0x140081e8b
mov byte [rbx + 0x464], 1
jmp 0x140081e8b
inc eax
mov dword [0x1400f3080], eax
cmp byte [rbx + 0x464], 0
jne 0x140081edd
cmp dword [rbx + 0x458], edi
jb 0x140081da0
movsxd rax, dword [rbx + 0x488]
test eax, eax
je 0x140081eca
mov r9, qword [rbx + 0x30]
mov r8, rax
mov rcx, qword [rbx + 0x478]
mov edx, 1
call fcn.140032974
and dword [rbx + 0x488], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, 4
jmp 0x140081ecc

Function at 0x140081f28
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov edx, 1
lea r8d, [rdx + 7]
cmp dword [rcx + 0x1c], edx
jne 0x140081f59
mov edx, dword [rcx + 0x14]
add rdx, qword [rcx + 8]
lea rcx, [rsp + 0x30]
call fcn.140025c70
jmp 0x140081f67
mov r9, qword [rcx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140034bcc
movzx ecx, byte [rsp + 0x34]
lea rdx, [0x1400dd6b0]
movzx eax, byte [rsp + 0x35]
add dword [rbx + 0x14], 8
xor ebx, ebx
shl ecx, 8
or ecx, eax
mov byte [rsp + 0x34], bl
movzx eax, byte [rsp + 0x36]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x37]
shl ecx, 8
or ecx, eax
mov dword [rdi], ecx
lea rcx, [rsp + 0x30]
call fcn.140034cb0
test eax, eax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14008e5f8
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov edi, 1
mov rbx, rcx
cmp edx, edi
jne 0x14008e617
movzx eax, word [rcx + 0x100]
jmp 0x14008e61e
movzx eax, word [rcx + 0x98]
mov rcx, qword [rcx + 0x168]
cmp ax, di
jne 0x14008e62e
mov edx, edi
jmp 0x14008e657
cmp ax, 2
jne 0x14008e655
mov eax, 0x148
lea r9, [0x1400ddb40]
cmp edx, edi
mov edx, 3
lea r8d, [rax - 0x68]
cmovne eax, r8d
mov r8, qword [rax + rbx]
jmp 0x14008e65d
xor edx, edx
xor r9d, r9d
xor r8d, r8d
and dword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbx + 8], rax
test rax, rax
je 0x14008e69d
cmp byte [rbx + 0x19c], 0
je 0x14008e69a
and dword [rsp + 0x44], 0
lea r8, [rsp + 0x40]
mov r9d, 8
mov dword [rsp + 0x40], edi
xor ecx, ecx
lea edx, [r9 + 0x2a]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov al, dil
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14008e76c
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x420
mov rbp, rdx
mov rdi, rcx
mov rcx, qword [rcx + 0x50]
lea rdx, [0x1400dd6c0]
call fcn.140034850
mov rsi, rax
test rax, rax
jne 0x14008e7a6
lea edx, [rax + 0x1f]
jmp 0x14008e818
mov ebx, 1
mov dword [rsp + 0x430], ebx
lea r9, [rsp + 0x430]
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14008e813
mov eax, dword [rsp + 0x430]
test eax, eax
je 0x14008e7fe
mov edx, eax
lea rcx, [rsp + 0x20]
mov r9, rsi
mov r8, rbx
call fcn.140032974
mov ecx, dword [rsp + 0x430]
add qword [rdi + 0x10], rcx
test ecx, ecx
jne 0x14008e7b2
cmp qword [rdi + 0x10], 0
jne 0x14008e80c
mov edx, SafeArrayDestroyDescriptor
jmp 0x14008e818
xor edx, edx
xor r8d, r8d
jmp 0x14008e820
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
xor bl, bl
mov r8d, 0xdeadbeef
mov r9b, bl
mov rcx, rdi
call fcn.14008e9a8
mov bl, al
test rsi, rsi
je 0x14008e83a
mov rcx, rsi
call fcn.1400348e0
lea r11, [rsp + 0x420]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret