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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x005b7624]
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
test esi, esi
jle 0x401f74
mov rax, qword [0x005b7628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x401e0c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x401e99
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x401df0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x401fa9
mov rax, qword [0x005b7628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x005b7628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x401f8c
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x401e92
sub eax, 0x40
and eax, 0xffffffbf
jne 0x401f14
add dword [0x005b7624], 1
cmp edi, 8
jae 0x401ed0
test dil, 4
jne 0x401f60
test edi, edi
je 0x401ebc
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x401f7b
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rbp]
mov qword [rbx], rax
mov eax, edi
mov rdx, qword [rbp + rax - 8]
mov qword [rbx + rax - 8], rdx
lea rax, [rbx + 8]
and rax, 0xfffffffffffffff8
sub rbx, rax
sub rbp, rbx
add ebx, edi
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x401ebc
and ebx, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r8, qword [rbp + rcx]
cmp edx, ebx
mov qword [rax + rcx], r8
jb 0x401f00
jmp 0x401ebc
add rsi, qword [0x005b7628]
mov rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401e92
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax + rax]
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x401ebc
xor esi, esi
jmp 0x401e17
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x401ebc
mov rax, qword [0x005b7628]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rsi + 0x18]
call dbg.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call dbg.__report_error
nop
nop dword [rax]
Function at 0x402700
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x005b7900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x005b78e0]
test rbx, rbx
je 0x402754
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40274b
test rsi, rsi
je 0x40274b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402730
lea rcx, [0x005b7900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402990
Capabilities:
Parse pe header

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

Function at 0x4029b0
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 0x4029f1
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 0x4029e8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x4029f3
add rax, 0x28
cmp rax, r9
jne 0x4029d4
xor eax, eax
ret

Function at 0x402a90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x005b4400]
mov rdx, rcx
cmp word [r8], 0x5a4d
jne 0x402afd
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402afd
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 0x402afd
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 0x402af4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402aff
add rax, 0x28
cmp rax, r9
jne 0x402ae0
xor eax, eax
add rsp, 0x28
ret

Function at 0x402c00
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x005b4400]
xor eax, eax
mov rdx, rcx
cmp word [r8], 0x5a4d
je 0x402c20
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402c18
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 0x402c7d
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 0x402c74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402c84
add rax, 0x28
cmp rax, r9
jne 0x402c60
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x402ca0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x005b4400]
mov r9d, ecx
cmp word [r11], 0x5a4d
jne 0x402d0e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402d0e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x402d0e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402d0e
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 0x402d05
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x402d15
add rcx, 0x28
cmp rcx, rax
jne 0x402cf0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x402d28
jmp 0x402d0e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x402d36
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x402d0e
test r9d, r9d
jg 0x402d20
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret

Function at 0x402fc0
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 dbg.__acrt_iob_func
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
mov r8d, 0x1b
mov edx, 1
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__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 0x140002e08
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002e52
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002e52
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002e52
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002e52
cmp dword [rcx + 0x84], 0xe
jbe 0x140002e52
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002e54
xor al, al
add rsp, 0x28
ret
Function at 0x14003d930
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
sub rsp, 0xf8
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], r8
mov eax, 0xffffffff
mov eax, eax
mov r9d, eax
lea rcx, [rsp + 0x58]
lea rax, [0x140080c30]
mov qword [rsp + 0x20], rax
call fcn.14003cf50
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.14003d030
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x70]
call fcn.14003d050
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdx
mov rdx, qword [rsp + 0x88]
mov eax, 1
xor ecx, ecx
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x14003d9de
mov dword [rsp + 0x3c], 0
jmp 0x14003da5b
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rdx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xe8], rdx
mov qword [rsp + 0xf0], rax
mov r8d, eax
xor eax, eax
mov ecx, eax
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0xb8], eax
shr eax, 0x1e
cmp eax, 3
je 0x14003da67
jmp 0x14003d99d
mov eax, dword [rsp + 0x3c]
add rsp, 0xf8
ret
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rax
mov edx, eax
call qword [sym.imp.advapi32.dll_SystemFunction036]
mov byte [rsp + 0xbf], al
cmp al, 0
jne 0x14003d99d
mov ecx, dword [rsp + 0x38]
xor ecx, 0x80000000
mov dword [rsp + 0xc0], ecx
call fcn.14003cde0
mov ecx, eax
mov dword [rsp + 0xc4], ecx
call fcn.14003d760
mov dword [rsp + 0x3c], eax
jmp 0x14003da5b
Function at 0x1400543c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140054460
jmp 0x14005444f
jae 0x14005451f
cmp r8, 0x201
jae 0x140054460
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1400544b7
sub r8, rbx
sub rdi, rbx
cmp r8, rdi
jbe 0x14005448f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.140075bd0
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1400544e0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14005458b
mov r8d, r13d
cmp r12, r8
jne 0x140054440
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400545bf
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14005444f
jmp 0x140054460
cmp r14, r8
jb 0x1400545d9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140057160
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140054574
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.1400098c0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x14005455f
jmp 0x140054574
lea rcx, [0x140083898]
lea r8, str.B__b_
mov edx, 0x28
call fcn.1400773d0
jmp 0x1400545ee
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140077780
ud2
Function at 0x14005e110
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140085710]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14005e148
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14005e1a6
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14005e1d3
test eax, eax
js 0x14005e1b2
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14005e1c9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str._W_b_
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140056f10
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.14004eee0
mov ecx, 7
int 0x29
ud2
Function at 0x140073a90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x140073b1a
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140073b10
cmp r10, r11
jb 0x140073b96
cmp r10, rdx
ja 0x140073ba8
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x140073b12
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140073af0
jmp 0x140073b77
ja 0x140073b1a
mov r11, r10
cmp rax, r8
jne 0x140073ab7
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x140073b7b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140073b50
mov r8, r10
sub ecx, r9d
jns 0x140073b6e
jmp 0x140073b7d
cmp r10, rdx
je 0x140073b8a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140073b7d
xor al, 1
cmp r8, rdx
jne 0x140073b30
jmp 0x140073b7d
xor eax, eax
jmp 0x140073b7d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400772b0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400777f0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140077780
int3

Function at 0x140075478
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400754c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400754c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400754c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400754c2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400754c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400754c4
xor al, al
add rsp, 0x28
ret

Function at 0x18058567e
Capabilities:
Encode data using xor

Disassembly:
test rax, rax
push 0xffffffff9a913d86
lea rsp, [rsp + 0x28]
je 0x180571073
push r9
lea rdx, [0x180571ce8]
mov r9d, 0xf1275f04
shr r9, 0xa1
xor r9b, byte [r10 + r9]
xor r9d, edi
push 0x69246399
and r9d, 0xff
mov r9d, dword [rdx + r9*4]
shr edi, 8
xor edi, r9d
ror word [rsp + 2], 0xa9
inc r10
xor edi, 0x69b514ad
dec rax
lea rsp, [rsp + 8]
jne 0x18055c800
call fcn.180582dcc
call fcn.18058127e
push 0xffffffffe51d2e34
xor edi, edi
jmp 0x18055c7e4
Function at 0x1400017a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001833
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000182a
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140001814
add rax, 2
test ecx, ecx
jne 0x140001800
mov rcx, rbx
test edx, edx
je 0x140001856
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400017f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140001835
Function at 0x140002fc0
Capabilities:
Contain obfuscated stackstrings
Enumerate process modules

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.1400fac80
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x10a0], rbx
mov qword [rsp + 0x10b0], rsi
mov qword [rsp + 0x10b8], rdi
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rbp + 0xf68], rax
mov rdi, rdx
mov dword [rbp + 0xf50], 0x360033
mov dword [rbp + 0xf54], 0x740030
mov dword [rbp + 0xf58], 0x610072
mov dword [rbp + 0xf5c], 0x2e0079
mov dword [rbp + 0xf60], 0x780065
mov dword [rbp + 0xf64], reloc.WS2_32.dll_WSAAsyncSelect
xor esi, esi
lea rcx, [rbp + 0xf50]
call fcn.1400017a0
mov ebx, eax
test eax, eax
je 0x14000311d
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14000311d
mov edx, dword [rsp + 0x20]
shr edx, 2
mov ecx, esi
test edx, edx
je 0x14000311d
mov eax, ecx
cmp dword [rsp + rax*4 + 0x50], ebx
je 0x1400030a6
inc ecx
cmp ecx, edx
jb 0x140003096
jmp 0x14000311d
cmp qword [rdi + 0x10], rsi
je 0x14000311d
mov r8, rdi
lea rdx, [rsp + 0x28]
call fcn.140001c50
nop
call fcn.140001e50
mov dword [rbp + 0xf50], 0x73006c
mov dword [rbp + 0xf54], 0x730061
mov dword [rbp + 0xf58], 0x2e0073
mov dword [rbp + 0xf5c], 0x780065
mov dword [rbp + 0xf60], reloc.WS2_32.dll_WSAAsyncSelect
lea rdx, [rbp + 0xf50]
call fcn.140001960
test eax, eax
je 0x14000310e
lea r8, [rsp + 0x28]
mov edx, eax
call fcn.140001f70
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14000311d
call fcn.1400f8d00
mov rcx, qword [rbp + 0xf68]
xor rcx, rsp
call fcn.1400face0
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000a120
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, rcx
xor ebx, ebx
mov dword [rsp + 0x38], ebx
movsd xmm6, qword [0x14135bed8]
lea r15, [0x14135b488]
lea r12, [0x14135b8e8]
lea r13, [0x1414a15d8]
or esi, 0xffffffff
movsd xmm7, qword [0x14135bec8]
nop dword [rax + rax]
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm7
subsd xmm6, xmm0
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], 0x119
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r13
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14000ecb0
mov rdi, rax
mov r8d, esi
lea rdx, [0x14135b918]
lea rcx, [rsp + 0x28]
call fcn.1400015b0
nop
mov rdx, rax
mov rcx, qword [rdi]
call fcn.140023510
nop
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14000a21b
cmp eax, 0xffffffff
je 0x14000a229
lock dec dword [rcx]
jne 0x14000a229
mov rcx, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x14000a239
mov dl, 0x20
call fcn.140023590
movaps xmm1, xmm6
mov rcx, qword [rdi]
call fcn.1400239a0
mov rcx, qword [rdi]
cmp byte [rcx + 0x20], 0
je 0x14000a255
mov dl, 0x20
call fcn.140023590
nop
lea rcx, [rsp + 0x40]
call fcn.140003bd0
inc ebx
cmp ebx, 0x1e
jl 0x14000a1a0
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x14000a322
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], 0x11e
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r13
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14000ecb0
mov rbx, rax
mov r8d, esi
lea rdx, [0x14135b940]
lea rcx, [rsp + 0x20]
call fcn.1400015b0
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.140023510
nop
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14000a2ed
cmp eax, 0xffffffff
je 0x14000a2fb
lock dec dword [rcx]
jne 0x14000a2fb
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x14000a30c
mov dl, 0x20
call fcn.140023590
nop
lea rcx, [rsp + 0x30]
call fcn.140003bd0
lea rax, [0x14135c948]
mov qword [r14], rax
jmp 0x14000a331
mov r8d, esi
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.14000a0a0
mov rax, r14
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400face0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000a370
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x20], 0
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x14000a4c2
or r8d, 0xffffffff
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.14000a0a0
mov rbx, rax
lea rcx, [rsp + 0x24]
call fcn.140022970
movzx r8d, word [rax]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140007f60
nop
lea r8, [0x14135b76c]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140007ea0
nop
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x14000a434
cmp eax, 0xffffffff
je 0x14000a443
lock dec dword [rcx]
jne 0x14000a443
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14000a45d
cmp eax, 0xffffffff
je 0x14000a46b
lock dec dword [rcx]
jne 0x14000a46b
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
lea rax, [0x14135c948]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov ecx, dword [0x14135c948]
test ecx, ecx
je 0x14000a4ac
cmp ecx, 0xffffffff
je 0x14000a577
lock dec dword [0x14135c948]
jne 0x14000a577
mov rax, qword [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, rax
call fcn.1400112a0
jmp 0x14000a577
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 0xed
lea rax, [0x14135b488]
mov qword [rsp + 0x58], rax
lea rax, [0x14135b718]
mov qword [rsp + 0x60], rax
lea rax, [0x1414a15d8]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.14000ecb0
mov rbx, rax
or r8d, 0xffffffff
lea rdx, [0x14135b748]
lea rcx, [rsp + 0x30]
call fcn.1400015b0
nop
mov rdx, rax
mov rcx, qword [rbx]
call fcn.140023510
nop
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14000a544
cmp eax, 0xffffffff
je 0x14000a552
lock dec dword [rcx]
jne 0x14000a552
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rcx, qword [rbx]
cmp byte [rcx + 0x20], 0
je 0x14000a563
mov dl, 0x20
call fcn.140023590
nop
lea rcx, [rsp + 0x48]
call fcn.140003bd0
lea rax, [0x14135c948]
mov qword [rsi], rax
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400face0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret