joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001001
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400043c0]
mov rcx, qword [0x140004370]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x1400043d0]
cmp word [rcx], 0x5a4d
mov dword [rax], 1
mov rax, qword [0x1400043e0]
mov dword [rax], 1
jne 0x140001083
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001083
mov ecx, dword [rax + 0x18]
cmp cx, 0x10b
je 0x14000105e
cmp cx, 0x20b
je 0x14000106d
jmp 0x140001083
cmp dword [rax + 0x74], 0xe
jbe 0x140001083
cmp dword [rax + 0xe8], 0
jmp 0x14000107d
cmp dword [rax + 0x84], 0xe
jbe 0x140001083
cmp dword [rax + 0xf8], 0
setne dl
movzx edx, dl
mov rax, qword [0x1400043b0]
mov dword [0x14000700c], edx
mov ecx, 2
cmp dword [rax], 0
jne 0x14000109f
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140004480]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140004460]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140004320]
cmp dword [rax], 1
jne 0x1400010e1
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001634
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1400070a8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1400070a4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140001682
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000167a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001769
inc ebx
add rax, 0x28
jmp 0x14000165a
mov rcx, r12
call sym.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
jne 0x1400016a1
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
movsxd rbx, ebx
mov rax, qword [0x1400070a8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call sym._GetPEImageBase
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140001703
mov rax, qword [0x1400070a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001763
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001763
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001763
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
inc dword [0x1400070a4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001b90
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140007100]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001bdc
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140001bd6
test eax, eax
jne 0x140001bd6
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140001bae
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140001d90
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140001db3
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140001db3
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140001db4
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140001dee
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140001de5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140001df0
inc r8d
add rax, 0x28
jmp 0x140001dcc
xor eax, eax
ret

Function at 0x140001e61
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140004370]
mov r8, rcx
mov rcx, r9
call sym._ValidateImageBase
test eax, eax
je 0x140001e8d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp sym._FindPESection
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000140c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rdi, qword gs:[0x60]
xor r15d, r15d
mov esi, dword [rcx + 0x10]
xorps xmm0, xmm0
mov rbx, rcx
mov dword [rbp - 0x30], 9
mov dword [rbp - 0x2c], 0x1000000
movzx r8d, word [rdi + 0x120]
lea r14d, [r15 + 0x30]
mov edx, dword [rdi + 0x11c]
mov eax, dword [rdi + 0x118]
mov r9d, dword [rdi + 0x124]
mov dword [rbp - 0x20], r8d
mov r8d, r14d
mov dword [rbp - 0x24], edx
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x28], eax
mov dword [rbp - 0x1c], r9d
mov qword [rbp - 0x18], r15
movdqu xmmword [rbp - 0x10], xmm0
call fcn.14000131c
test eax, eax
je 0x140001502
mov rax, qword [rbx + 8]
lea r8d, [r15 + 4]
lea rdx, [rbp + 0x20]
mov rcx, rbx
mov dword [rax + 0x24], r14d
mov r14d, dword [rbx + 0x10]
mov dword [rax + 0x28], esi
movzx eax, word [rdi + 0x2e8]
mov dword [rbp + 0x20], eax
call fcn.14000131c
test eax, eax
je 0x140001502
movzx r8d, word [rdi + 0x2e8]
mov rcx, rbx
mov rdx, qword [rdi + 0x2f0]
call fcn.14000131c
test eax, eax
je 0x140001502
mov rcx, qword [rbx + 8]
lea edx, [rsi + 0x18]
mov dword [rdx + rcx], r14d
lea ecx, [r15 + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.___sys_info_section_completed._n
call fcn.140001008
lea eax, [r15 + 1]
jmp 0x140001504
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140001c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movdqa xmm0, xmmword [0x1400036e0]
lea rcx, str.kernel32.dll
xor edi, edi
mov qword [rbp + 0x67], rdi
mov qword [rbp + 0xb], rdi
movdqu xmmword [rbp + 0x2f], xmm0
mov byte [rbp + 0x3f], dil
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movdqa xmm0, xmmword [0x1400036f0]
lea rcx, str.kernel32.dll
movdqu xmmword [rbp + 0x17], xmm0
mov rbx, rax
mov word [rbp + 0x27], 0x73
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov rcx, rax
lea r8, [rbp + 0x67]
lea edx, [rdi + 0x28]
call rbx
test eax, eax
jne 0x140001cbd
xor eax, eax
jmp 0x140001db9
mov ebx, 1
mov dword [rbp + 0x13], 2
lea r8, [rbp + 0xb]
mov dword [rbp + 7], ebx
lea rdx, [rbp - 0x39]
mov dword [rbp - 0x39], 0x650053
xor ecx, ecx
mov dword [rbp - 0x35], 0x650044
mov dword [rbp - 0x31], 0x750062
mov dword [rbp - 0x2d], 0x500067
mov dword [rbp - 0x29], 0x690072
mov dword [rbp - 0x25], 0x690076
mov dword [rbp - 0x21], 0x65006c
mov dword [rbp - 0x1d], 0x650067
mov word [rbp - 0x19], di
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140001d42
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.I_dont_have_SeDebugPirvs_n
mov rcx, rax
call fcn.140001008
jmp 0x140001cb6
movdqa xmm0, xmmword [0x1400036d0]
lea rcx, str.Advapi32.dll
movdqu xmmword [rbp - 0x11], xmm0
mov dword [rbp - 1], 0x6567656c
mov word [rbp + 3], 0x73
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp + 0x67]
lea r8, [rbp + 7]
mov r9d, 0x10
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x20], rdi
call rax
mov rcx, qword [rbp + 0x67]
test eax, eax
jne 0x140001db1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Could_not_adjust_to_SeDebugPrivs_n
jmp 0x140001d35
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140002a1c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14074a3c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov rbx, rcx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140334c60
mov r9, rax
test rax, rax
je 0x1401482b4
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
mov qword [r9], rcx
mov rax, qword [rdi]
mov qword [r9 + 8], rax
mov rax, qword [rsi]
mov qword [r9 + 0x10], rax
mov rax, qword [r14]
mov qword [r9 + 0x18], rax
jmp 0x1401482b7
xor r9d, r9d
mov qword [rsp + 0x30], r9
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x14014a4c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14014830c
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140335200
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x14014ea90
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rax, qword [0x14074a3c0]
xor rax, rsp
mov qword [rsp + 0xd8], rax
lea rcx, [0x14074b9f0]
call fcn.140158a20
test rax, rax
jne 0x14014ead6
movzx eax, word [0x14074b9d8]
test eax, eax
jne 0x14014ead6
cmp qword [0x14074b9e0], 0
je 0x14014eadb
jmp 0x14014ed06
lea rax, str.NtShutdownSystem
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov r8b, 1
mov rdx, qword [rsp + 0x50]
lea rcx, [0x14033a460]
call fcn.140156e60
mov dword [0x14074b9dc], eax
xor edx, edx
mov eax, dword [0x14074b9dc]
mov ecx, 0x1000
div ecx
mov eax, edx
mov word [0x14074b9d8], ax
mov r8d, 1
xor edx, edx
lea rcx, [0x14033a460]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x14074b9e0], rax
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_26
rep stosb byte [rdi], al
lea rcx, [rsp + 0xb0]
call fcn.14014dcc0
nop
lea rax, [0x14074b858]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x40]
call fcn.1401542f0
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
call fcn.140154320
jmp 0x14014ebad
lea rcx, [rsp + 0xa8]
call fcn.1401500a0
movzx edx, byte [rsp + 0xa0]
lea rcx, [rsp + 0xa8]
call fcn.140150040
movzx eax, al
test eax, eax
je 0x14014ec96
lea rcx, [rsp + 0xa8]
call fcn.140150090
lea rcx, [rsp + 0xc8]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x58], rax
lea rax, [0x140159420]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.140148250
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xb0]
call fcn.140149160
mov qword [rsp + 0x88], rax
cmp dword [rsp + 0x98], 0
je 0x14014ec71
mov dword [rsp + 0x34], 1
jmp 0x14014ec79
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14014ec91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
jmp 0x14014eba0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1401488b0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x48]
call fcn.140154330
mov qword [rsp + 0x78], rax
jmp 0x14014ecd1
mov rax, qword [rsp + 0x38]
add rax, 0x10
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x38], rax
je 0x14014ecf9
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140158920
jmp 0x14014ecc3
lea rcx, [rsp + 0xb0]
call fcn.14014f810
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140335200
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140150320
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14074a3c0]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x78]
mov ecx, eax
call fcn.140334ca4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x140150417
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x140150453
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [0x14074b858]
call fcn.14014b770
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x14015040d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140334c9c
cmp qword [rsp + 0x50], 0
jne 0x14015047a
mov qword [rsp + 0x60], 0
jmp 0x14015048d
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140335200
add rsp, 0xa8
ret
Function at 0x140150a20
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r13
sub rsp, 0x38
movzx eax, word [rdx + 0x14]
lea r9, [rdx + 0x18]
mov r10d, dword [rdx + 0x90]
add r9, rax
movzx eax, word [rdx + 6]
mov rbp, rdx
mov r13, rcx
lea r8, [rax + rax*4]
lea r11, [r9 + r8*8]
cmp r9, r11
jae 0x140150a72
mov ecx, dword [r9 + 0xc]
cmp r10, rcx
jb 0x140150a69
mov eax, dword [r9 + 8]
add eax, ecx
cmp r10, rax
jb 0x140150b13
add r9, 0x28
cmp r9, r11
jb 0x140150a51
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test r10d, r10d
je 0x140150aeb
cmp dword [rdx + 0x94], 0
je 0x140150aeb
lea rbx, [rax + 0x10]
movzx edx, word [rbp + 0x14]
movzx eax, word [rbp + 6]
add rdx, 0x18
mov r8d, dword [rbx - 4]
add rdx, rbp
mov qword [rsp + 0x58], rbx
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x140150aeb
nop dword [rax]
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140150ae2
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140150b25
add rdx, 0x28
cmp rdx, r9
jb 0x140150ad0
mov al, 1
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x38
pop r13
pop rbp
ret
mov eax, dword [r9 + 0x14]
sub rax, rcx
add rax, r10
add rax, r13
jmp 0x140150a74
mov r15d, dword [rdx + 0x14]
sub r15, rcx
add r15, r8
add r15, r13
je 0x140150aeb
mov rdx, r15
lea rcx, str._nModuleName:__s
call fcn.14015c960
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r12, rax
test rax, rax
je 0x140150c6e
movzx r8d, word [rbp + 0x14]
movzx ecx, word [rbp + 6]
add r8, 0x18
mov r9d, dword [rbx]
add r8, rbp
lea rdx, [rcx + rcx*4]
lea r10, [r8 + rdx*8]
cmp r8, r10
jae 0x140150b9d
nop dword [rax + rax]
mov ecx, dword [r8 + 0xc]
cmp r9, rcx
jb 0x140150b94
mov eax, dword [r8 + 8]
add eax, ecx
cmp r9, rax
jb 0x140150bc2
add r8, 0x28
cmp r8, r10
jb 0x140150b80
xor r14d, r14d
mov rdi, qword [r14]
test rdi, rdi
je 0x140150c57
jns 0x140150bd1
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
movzx edx, di
jmp 0x140150c20
mov r14d, dword [r8 + 0x14]
sub r14, rcx
add r14, r9
add r14, r13
jmp 0x140150ba0
movzx eax, word [rbp + 0x14]
movzx ecx, word [rbp + 6]
add rax, 0x18
add rax, rbp
lea rdx, [rcx + rcx*4]
lea r8, [rax + rdx*8]
cmp rax, r8
jae 0x140150c0b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp rdi, rdx
jb 0x140150c02
mov ecx, dword [rax + 8]
add ecx, edx
cmp rdi, rcx
jb 0x140150c60
add rax, 0x28
cmp rax, r8
jb 0x140150bf0
xor esi, esi
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rdx, [rsi + 2]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov rcx, rbx
sub rdi, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rdi + r12]
mov qword [r14], rax
add r14, 8
mov rdi, qword [r14]
test rdi, rdi
jne 0x140150bac
mov rbx, qword [rsp + 0x58]
add rbx, 0x14
jmp 0x140150aa4
mov esi, dword [rax + 0x14]
sub rsi, rdx
add rsi, rdi
add rsi, r13
jmp 0x140150c0d
jmp 0x140150aed
Function at 0x140150f70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14074a3c0]
xor rax, rsp
mov qword [rsp + 0x290], rax
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_26
rep stosb byte [rdi], al
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
movabs rax, 0xff00ff00ff00ff00
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov qword [rax], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0x2b0]
call fcn.140155430
test eax, eax
jne 0x140151089
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x2b0]
call fcn.14014f260
mov eax, dword [rsp + 0x20]
jmp 0x1401510d7
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140151036
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x2b0]
call fcn.14014f260
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140335200
add rsp, 0x2a0
pop rdi
ret
Function at 0x1401519c0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push r12
push r14
push r15
mov r10d, dword [r8 + 0xb0]
mov rsi, r8
mov r12, rdx
mov r15, rcx
test r10d, r10d
je 0x140151a16
movzx r9d, word [r8 + 0x14]
movzx r11d, word [rsi + 6]
add r9, 0x18
add r9, r8
xor r8d, r8d
test r11d, r11d
je 0x140151a16
mov edx, dword [r9 + 0xc]
cmp r10d, edx
jb 0x140151a0a
mov ecx, dword [r9 + 8]
add ecx, edx
cmp r10d, ecx
jb 0x140151a20
inc r8d
add r9, 0x28
cmp r8d, r11d
jl 0x1401519f6
xor al, al
pop r15
pop r14
pop r12
pop rsi
ret
mov r14d, dword [r9 + 0x14]
sub r10d, edx
mov eax, r10d
add rax, r12
add r14, rax
je 0x140151a16
mov qword [rsp + 0x30], rbp
xor ebp, ebp
cmp dword [rsi + 0xb4], ebp
jbe 0x140151b11
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r13
mov r13d, 0xf000
nop word [rax + rax]
mov edi, dword [r14 + 4]
lea r10, [r14 + 8]
movzx eax, word [rsi + 0x14]
sub rdi, 8
movzx ebx, word [rsi + 6]
add rax, 0x18
mov r11d, dword [r14]
add rax, rsi
shr rdi, 1
xor r9d, r9d
test ebx, ebx
je 0x140151ab0
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp r11d, r8d
jb 0x140151aa4
mov edx, dword [rax + 8]
add edx, r8d
cmp r11d, edx
jb 0x140151b20
inc r9d
add rax, 0x28
cmp r9d, ebx
jl 0x140151a90
xor r8d, r8d
xor ecx, ecx
test rdi, rdi
je 0x140151aef
mov r9d, 0xa000
movzx eax, word [r10]
movzx edx, ax
and ax, r13w
cmp ax, r9w
jne 0x140151ae2
and edx, 0xfff
mov rax, r15
sub rax, qword [rsi + 0x30]
add qword [rdx + r8], rax
inc ecx
add r10, 2
mov eax, ecx
cmp rax, rdi
jb 0x140151ac0
add ebp, dword [r14 + 4]
mov r14, r10
cmp ebp, dword [rsi + 0xb4]
jb 0x140151a60
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov al, 1
pop r15
pop r14
pop r12
pop rsi
ret
sub r11d, r8d
mov r8d, dword [rax + 0x14]
lea rax, [r12 + r11]
add r8, rax
jmp 0x140151ab3
Function at 0x140152610
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14074a3c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1401526e3
cmp byte [rcx + 0x71], 0
je 0x1401526e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1401526df
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1401526a4
sub eax, 1
je 0x1401526a8
cmp eax, 2
jne 0x1401526df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140335200
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1401526d6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1401526df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14015268c
xor al, al
jmp 0x14015268c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140335200
add rsp, 0x60
pop rbx
ret