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

Disassembly:
push r15
push r14
push r12
push rsi
not dword [rbp + 0x53]
shr rsp, 1
sub bh, al
mov dword [rsi - 0x7b], esp
ror byte [rdi], cl
mov es, ebx
and byte [rcx - 0x17], r14b
mov eax, edx
add dword [rax], ebp
cmp ecx, edx
je 0x14000fc48
invalid
test bl, bl
je 0x14000fc63
cmp qword [r13 + 0x40], 0
cdq
adc byte [rcx + rcx*4 - 0x17], cl
xor edx, edx
mov r8b, 1
mov r9b, 0x5e
call fcn.14001a680
fidivr word [r13 + 0x7f1127]
add byte [rax + rdx + 0x41], dh
invalid

Function at 0x1400303ee
Capabilities:
Encode data using xor

Disassembly:
mov dl, 0xd
pop rsp
loope 0x140030402
movsd dword [rdi], dword [rsi]
enter 0x74c9, 0xfffffffffffffff2
xchg ebp, eax
mov eax, dword [0x14012e568]
cmp dword [rdx + 0x48000000], edx
lea ecx, [0xecd0eb28]
add byte [rax], al
add byte [rax - 0x73], cl
or eax, 0xaccde71c
call fcn.1400493c0
mov qword [rcx], rdx
cmp byte [rdi], dh
str word [rax - 0x1d]
sal byte [rcx + rbx*2 - 0x34], 0x8d
adc al, 0x45
adc eax, 0x8948000e
sar edi, 0x15
sti
sbb cl, byte [rdi]
add byte [rax - 0x75], cl
or eax, 0xfe11c
call qword [0x140121f28]
mov rcx, qword [0x14012e550]
mov qword [0x140ecc158], rax
test rcx, rcx
je 0x140030427
lea rdx, str.CryptGenRandom
push qword [rcx - 0x25]
push rsi
sets byte [rax - 0x75]
or eax, 0xfe0fc
sub al, byte [0x14012e560]
test qword [rdx - 0x72b7d38c], rsp
adc eax, 0x700b75
call qword [0x1403f5b28]
sub byte [rax + rbp*8 - 0x24], bh
loopne 0x140030482
add bl, ch
invalid
mov dword [0x14012e560], 0
xor dword [rcx + rsi + 0x50348b7], edi
js 0x140030475
invalid

Function at 0x140041e60
Capabilities:
Encode data using xor

Disassembly:
jb 0x140041eb9
push r14
push rsi
push rdi
push rbp
push rbx
invalid
sti
or al, byte [rax]
cmp dword [rax + rbx*4], 3

Function at 0x1400466f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x10c12fc50]
xor dword fs:[rbp + 0x48], ecx
rol byte [rsp + 0x38], 0x44
and al, 0x38
mov dword [rdx + riz + 0x34], r8d
and al, 0x34
enter 0x2444, 0x20
cmpsb byte [rsi], byte [rdi]
xor eax, 0x428
add byte [rbp + 0x31], al
rol byte [rcx - 0x47], 0x1f
add byte [rax], al
add byte [rcx + 0xdf73e15], ch
add al, 0
add byte [rax], al
xor r8d, r8d
mov r9d, 0x1f
test eax, 0xdf73e15
add byte [rbp + 0x36940fc0], al
mov rcx, qword [rsp + 0x38]
xor byte [rcx], dh
loope 0x140046717
mov ah, 0x7e
invalid

Function at 0x140047130
Capabilities:
Encode data using xor

Disassembly:
sub ebp, r11d
push rdi
add cl, byte [rax - 0x7f]
add cl, byte [rax - 0x7f]
sbb eax, eax
add byte [rax], al
add byte [rbx + rsi*4 - 0x35], cl
mov rsi, r8
mov rdi, rdx
and bl, byte [rsi - 0x42]
mov eax, dword [0x14012b0ab]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov qword [rdx], 0xe200
mov qword [r8], 0x2000f700
mov qword [r9], 0x29001d
mov rsi, r13
call 0x188047350
test byte [rsi + 0x55], ah
jnp 0x1400471fa
add dword [rax], eax
add byte [rdi], cl
push rdi
ror byte [rdi], 0x29
and al, 0x20
sal dword [rsi + 0xf302444], 0xf2
jb 0x140047135
and al, 0x80
Function at 0x14006e0f0
Capabilities:
Encode data using xor

Disassembly:
push r15
call qword [r14 - 0x4d]
push rbx
leave
sub esp, 0x20
mov rsi, rcx
cmp byte [rcx + 0x3a2], 0
movzx eax, word [rax + rax - 0x72eb0000]
invalid

Function at 0x140090f90
Capabilities:
Access peb ldr_data

Disassembly:
push r15
lodsd eax, dword [rsi]
push rsi
sbb byte [rdi + 0x55], dl
push rbx
xor qword [rax - 0x30761098], 0x45
mov r9b, 0x5e
mov rsi, rcx
mov r15, qword [rsp + 0x3d]
mov ebx, 0xa09a058b
and al, 0x3d
add byte [rax], al
add byte [rbx - 0x5f65fa75], bh
or dword [rax], eax
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [rsp - 0xd]
outsd dx, dword [rsi]
add dword [rcx - 0x75], ecx
or byte [r8 - 0x77], cl
and al, 0x30
xlatb
and al, 0x40
mov qword [rsp + 0x38], 0xc100
mov dword [rsp + 0x48], 0x4f00
mov qword [rsp + 0x50], rdx
xor ebp, ebp
cmp byte [rsi + 1], 0x8f
je 0x140091028
lea rdx, [rsi + rax*4 + 0x30]
lea eax, [rbx - 0x10]
cmp eax, 0xffffffa3
jb 0x140091013
cmp ebx, 0x17
jne 0x140090faa
mov cs, word [rsp + 0x30]
call fcn.140043130
mov rcx, qword [rbx - 0x72b7afdc]
fldenv [rax + riz]
call fcn.140043136
in al, 0x54
and al, 0x50
mov dword [rdx + 0x18], edi
add byte [rsi + rsi*2 + 0x45], dh
test dh, dh
invalid
test r14b, r14b
je 0x1400910f4
cmp byte [rsi], 0
enter 0x2884, 0
add byte [rax], al
cmp ebx, 0x28
jg 0x1400910ec
cmp ebx, 9
je 0x140091123
add byte [rax], al
add byte [rbx + rdi*8 + 0x22], dh
jne 0x140ae10f4
je 0x140091049
and cl, byte [rdi]
test dword [rdi + 0x4800a500], ebx
wait
wait
and al, 0x20
call 0x13f7e6bb0
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x20]
call 0x13fc5bcb0
mov rax, qword [rdi + rcx*8 + 0x65]
xor eax, 0x60001878
in al, 0x48
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x38]
ror dword es:[rcx + 0x14b548ea], 0x52
mov dword [r15 + rdx*4], ecx
mov dword [r15 + rdx*4 + 8], 0x23cb01
mov dword [r15], ebp
xchg edi, eax
add ch, bl
push rbx
mov rbp, qword [rdx]
and al, 0x28
mov ecx, dword [rdi + rdi*8 - 0x74]
sub al, cl
mov dword [r15], ecx
mov ch, 0xc7
sbb r12b, r10b
add byte [rax], al
mov dword [r15 + 0x41], eax
sub eax, dword [rcx]
add byte [rax], al
add byte [rsi - 0x7c], bl
test byte [rdi], 0xc0
imul esp, ecx, 0xffffffff
invalid
xchg qword [rcx + rax*2], r8
mov dword [rdi + rax*4 + 0x63], 0x12000001
add ebp, 1
invalid
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x60]
add esi, dword [rcx]
loope 0x1400910e5
out dx, eax
cwde
add bh, byte [rsi]
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
invalid
mov ecx, dword [rcx + 0x48]
adc dl, byte [rdi + 0x41]
or byte [rax - 0x73], cl
xchg ecx, eax
loopne 0x1400910f5
add byte [rax], al
sbb qword [rbp + 0xf0], 0xffffffffd7244489
mov qword [rsp + 0x30], 0x270000
mov byte [rsp + 0x28], 0
cmp eax, 0xffffc1f2
mov qword [rsi + 0x38], rax
add rsp, 0x40
pop rsi
ret

Function at 0x1400b79ad
Capabilities:
Hash data using sha1 via x86 extensions

Disassembly:
clc
mov ah, 0xf
cmp byte [rbp - 0x1c9ecc15], dl
call 0x14ffe26f3
cmp dl, cl
ror dword [rdi], 1
sub bh, al
sha1rnds4 xmm0, xmm6, 0xe4
xorps xmm5, xmm2
invalid
Function at 0x140b530b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b53237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b530e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b530c7
add dl, dl
jne 0x140b530ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5314e
xor eax, eax
add dl, dl
jne 0x140b530fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b53205
add dl, dl
jne 0x140b5310e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5311b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b53128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b53135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b53142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b530d6
mov eax, 1
add dl, dl
jne 0x140b5315e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5316b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b53153
sub eax, ebx
mov ebx, 1
jne 0x140b531a4
mov ecx, 1
add dl, dl
jne 0x140b53186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b53193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5317b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b530d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b531c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b531cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b531b5
cmp eax, 0x7d00
jae 0x140b531f3
cmp eax, 0x500
jb 0x140b531ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b530d6
cmp eax, 0x7f
ja 0x140b531f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b530d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b5322a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b530d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000c710]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000c720]
mov dword [rax], 1
mov rax, qword [0x14000c730]
mov dword [rax], 1
mov rax, qword [0x14000c6c0]
cmp word [rax], 0x5a4d
jne 0x14000105e
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c8
mov rax, qword [0x14000c700]
mov dword [0x14000f00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b8
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14000c7e0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000c7c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000c670]
cmp dword [rax], 1
je 0x140001100
xor eax, eax
add rsp, 0x20
pop rbp
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x14000107b
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001118
cmp dx, 0x20b
jne 0x14000105e
cmp dword [rax + 0x84], 0xe
jbe 0x14000105e
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105e
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x20
pop rbp
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105e
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105e

Function at 0x140001540
Capabilities:
Get graphical window text

Disassembly:
push rbp
sub rsp, 0x230
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1c0], rcx
mov qword [rbp + 0x1c8], rdx
lea rdx, [rbp + 0xa0]
mov rax, qword [rbp + 0x1c0]
mov r8d, 0x100
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetClassNameA]
call rax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x1c0]
mov r8d, 0x100
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetWindowTextA]
call rax
mov rax, qword [rbp + 0x1c0]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetDlgCtrlID]
call rax
mov dword [rbp + 0x1ac], eax
cmp dword [rbp + 0x1ac], 0xfa
jne 0x1400015d3
mov rax, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0x1c0]
mov qword [rax], rdx
jmp 0x14000163c
cmp dword [rbp + 0x1ac], 0xfb
jne 0x1400015f3
mov rax, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0x1c0]
mov qword [rax + 8], rdx
jmp 0x14000163c
cmp dword [rbp + 0x1ac], 0x104
jne 0x140001613
mov rax, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0x1c0]
mov qword [rax + 0x10], rdx
jmp 0x14000163c
mov ecx, dword [rbp + 0x1ac]
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0xa0]
mov r9d, ecx
mov r8, rdx
mov rdx, rax
lea rax, str._WARNING__Unknown_control_found_in_registration_window__class:__s__text:__s__ID:__d
mov rcx, rax
call sym.make_log
mov eax, 1
add rsp, 0x230
pop rbp
ret
Function at 0x1400019b3
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], 0
lea rax, [0x14000b2ff]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_FindWindowA]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400019fc
lea rax, str._ERROR__Voicemeeter_Potato_window_not_found.
mov rcx, rax
call sym.make_log
mov eax, 0
jmp 0x140001a32
lea rax, [rbp - 0x10]
mov rdx, rax
lea rax, [sym._enum_active_popup_menu]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_EnumWindows]
call rax
mov rax, qword [rbp - 0x10]
test rax, rax
jne 0x140001a2e
lea rax, str._ERROR__Failed_to_find_active_popup_menu.
mov rcx, rax
call sym.make_log
mov rax, qword [rbp - 0x10]
add rsp, 0x30
pop rbp
ret
Function at 0x1400031d0
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
mov edx, 0
mov ecx, 2
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0xffffffffffffffff
jne 0x140003211
mov eax, 0
jmp 0x1400032a1
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sym.Process32First
test eax, eax
je 0x140003289
mov rax, qword [rbp + 0xf0]
lea rdx, [rbp - 0x60]
lea rcx, [rdx + 0x2c]
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__stricmp]
call rax
test eax, eax
jne 0x140003272
mov eax, dword [rbp - 0x58]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp + 0xd4]
jmp 0x1400032a1
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sym.Process32Next
test eax, eax
jne 0x14000322f
mov rax, qword [rbp + 0xd8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x160
pop rbp
ret

Function at 0x140003820
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call dbg.__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 [rbp - 8]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf_1
call sym.abort
nop
nop dword [rax]
Function at 0x140003890
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x14000f0b4]
mov rbx, rcx
test esi, esi
jle 0x1400039c0
mov rax, qword [0x14000f0b8]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400038db
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003963
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400038c0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400039e2
mov rax, qword [0x14000f0b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000f0b8]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400039c7
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000395c
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140003970
add dword [0x14000f0b4], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000f0b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000395c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop word [rax + rax]
xor esi, esi
jmp 0x1400038e8
mov rax, qword [0x14000f0b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003f70
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x14000f120]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000f100]
test rbx, rbx
je 0x140003fd5
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x140003fcc
test eax, eax
jne 0x140003fcc
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003fb0
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004210
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004228
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140004230
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140004240
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000428d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140004284
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000428f
add rax, 0x28
cmp rax, r9
jne 0x140004270
xor eax, eax
ret

Function at 0x140004290
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140004328
mov rdx, qword [0x14000c6c0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140004316
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140004316
cmp word [rax + 0x18], 0x20b
jne 0x140004316
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140004328
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140004301
add rbx, 0x28
cmp rbx, rdi
je 0x140004328
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400042f8
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x140004340
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000c6c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140004360
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140004368
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140004360
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400043bd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400043b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140004360
add rax, 0x28
cmp rax, r9
jne 0x1400043a0
xor eax, eax
ret

Function at 0x1400043c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c6c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400043df
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400043e8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400043df
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140004400
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14000c6c0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140004420
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140004428
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140004420
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140004470
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140004467
test rcx, rcx
je 0x140004420
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140004458
xor eax, eax
ret
Function at 0x140004480
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000c6c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000449f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400044a8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400044c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000c6c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400044e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400044e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400044e0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400044e0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140004534
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140004540
add rdx, 0x28
cmp rdx, r9
jne 0x140004520
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140004550
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14000c6c0]
xor r8d, r8d
cmp word [r11], 0x5a4d
mov r10d, ecx
jne 0x140004574
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x140004580
mov rax, r8
ret
cmp word [rcx + 0x18], 0x20b
jne 0x140004574
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140004574
movzx edx, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r9w, r9w
je 0x140004574
lea ecx, [r9 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rdx + 0xc]
mov rcx, r8
cmp rax, r8
jb 0x1400045cc
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x1400045e0
add rdx, 0x28
cmp r9, rdx
jne 0x1400045b8
xor r8d, r8d
mov rax, r8
ret
add rax, r11
jmp 0x1400045f0
sub r10d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x1400045fe
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400045d5
test r10d, r10d
jg 0x1400045e8
mov r8d, dword [rax + 0xc]
add r8, r11
mov rax, r8
ret
Function at 0x1400073d0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x70], 0x68
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor ebx, ebx
movups xmmword [r11 - 0x50], xmm0
mov dword [r11 - 0x4c], 1
mov word [r11 - 0x48], bx
movups xmmword [r11 - 0x70], xmm0
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x40], xmm0
movups xmmword [r11 - 0x30], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000748c
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14000b460
add rsp, 0xf0
pop rbx
ret