joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002ea0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140002ec8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140002eee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002ef0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002f49
test ecx, ecx
jle 0x140002f29
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002f49
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002f49
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140002f70
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002f92
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140002fa8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140002fc4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140002fc6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003002
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000309e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000303d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000307e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000309e
cmp rbx, rax
ja 0x140003050
test rbx, rbx
je 0x14000309e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140003500
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000352d
xor eax, eax
jmp 0x140003699
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003567
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003567
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003699
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000368c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400035aa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400035d5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003691
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003644
sub eax, 1
je 0x140003644
cmp eax, 2
jne 0x14000368c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003691
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003672
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000368c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003691
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140004990
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140003b30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003c03
cmp byte [rcx + 0x71], 0
je 0x140003c03
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140003bff
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 0x140003bc4
sub eax, 1
je 0x140003bc8
cmp eax, 2
jne 0x140003bff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004990
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003bf6
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 0x140003bff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140003bac
xor al, al
jmp 0x140003bac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004990
add rsp, 0x60
pop rbx
ret

Function at 0x140005310
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov rdx, rcx
shr rcx, 6
mov rsi, rcx
shl rcx, 6
nop
nop
sub rdx, rcx
add rdi, rdx
mov qword [rsp + 0x28], rdi
add rbx, rsi
add rcx, rax
mov qword [rsp + 0x30], rcx
xor eax, eax
xor esi, esi
jmp 0x404dc0
add rax, 8
nop
cmp rax, rdi
jae 0x404e2a
test rax, 0x3f
jne 0x404dd5
movzx esi, byte [rbx]
inc rbx
jmp 0x404dd7
shr esi, 1
test rdx, rdx
jbe 0x404de2
add rdx, 0xfffffffffffffff8
jmp 0x404dba
bt esi, 0
jae 0x404dba
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x14], esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rcx + rax]
mov rax, rdx
call fcn.004045e0
test al, al
jne 0x404e34
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
mov esi, dword [rsp + 0x14]
mov rdi, qword [rsp + 0x28]
jmp 0x404dba
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rax, [0x004fe53b]
mov ebx, 0x24
call fcn.00435d80
nop
int3
Function at 0x409d80
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x409ea6
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov rdx, qword [r14 + 0x30]
cmp dword [rdx + 0xc0], 0
jne 0x409e90
mov rdx, qword [0x005be4c0]
mov rsi, qword [rdx + 8]
mov rdi, qword [rdx]
mov r8, rdi
shr rdi, 2
lea rdi, [rdi + rdi*2]
cmp rsi, rdi
jb 0x409e6a
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x28], rax
lea rax, [r8 + r8]
lea rax, [rax + 2]
shl rax, 3
xor ebx, ebx
mov ecx, 1
call fcn.0040c540
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x18]
mov rsi, qword [rdx]
shl rsi, 1
mov qword [rax], rsi
movups xmmword [rsp + 0x30], xmm15
lea rsi, [0x00464000]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
nop dword [rax]
call fcn.0040aae0
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
mov rsi, qword [rsp + 0x18]
cmp qword [rsi + 8], rdx
jne 0x409e7f
nop
cmp byte [0x0061c170], 0
je 0x409e54
lea rax, [0x005be4c0]
call fcn.00403d60
mov rbx, qword [rsp + 0x20]
lea rcx, [0x005be4c0]
xchg qword [rcx], rbx
mov rdx, qword [0x005be4c0]
mov rax, qword [rsp + 0x28]
mov rbx, rax
mov rax, rdx
call fcn.00409ec0
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rax, [0x004ff0c1]
mov ebx, 0x27
call fcn.00435d80
lea rax, [0x004f7d61]
mov ebx, 0xf
nop dword [rax]
call fcn.00435d80
nop
mov qword [rsp + 8], rax
call fcn.0045f600
mov rax, qword [rsp + 8]
jmp fcn.00409d80

Function at 0x40aba0
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40acc6
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rcx, qword [rbx + 8]
inc rcx
mov qword [rbx + 8], rcx
nop
mov rdx, rbx
shl rbx, 0x10
mov rsi, rcx
and ecx, 0x7ffff
or rbx, rcx
mov rcx, rbx
sar rbx, 0x13
shl rbx, 3
cmp rdx, rbx
je 0x40abec
jmp 0x40ac0e
mov rax, rsi
mov rbx, qword [rax]
mov qword [rdx], rbx
mov rsi, rax
mov rax, rbx
lock cmpxchg qword [rsi], rcx
sete bl
test bl, bl
je 0x40abe9
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x20], rbx
call fcn.00437640
lea rax, [0x004ffd8e]
mov ebx, 0x2c
call fcn.00437f40
mov rax, qword [rsp + 0x28]
nop dword [rax]
call fcn.00437ec0
lea rax, [0x004f5774]
mov ebx, 5
call fcn.00437f40
mov rax, qword [rsp + 0x18]
nop dword [rax + rax]
call fcn.00437da0
lea rax, [0x004f5e3e]
mov ebx, 8
call fcn.00437f40
mov rax, qword [rsp + 0x10]
nop dword [rax + rax]
call fcn.00437da0
lea rax, [0x004f610f]
mov ebx, 9
call fcn.00437f40
mov rax, qword [rsp + 0x20]
nop dword [rax + rax]
call fcn.00437ec0
call fcn.004378a0
call fcn.004376c0
lea rax, [0x004f7086]
mov ebx, 0xc
nop dword [rax + rax]
call fcn.00435d80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.0040aba0
Function at 0x40ad00
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40ad8c
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov rcx, rax
shl rax, 0x10
or rax, 0x7ffff
sar rax, 0x13
shl rax, 3
cmp rcx, rax
jne 0x40ad3c
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
mov qword [rsp + 0x18], rcx
call fcn.00437640
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x10], rax
call fcn.00437640
lea rax, [0x004fc84a]
mov ebx, 0x1c
call fcn.00437f40
mov rax, qword [rsp + 0x10]
call fcn.00437da0
call fcn.004378a0
call fcn.004376c0
lea rax, [0x004f8bac]
mov ebx, 0x12
call fcn.00435d80
nop
mov qword [rsp + 8], rax
call fcn.0045f600
mov rax, qword [rsp + 8]
nop dword [rax + rax]
jmp fcn.0040ad00

Function at 0x40b180
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40b2a6
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov rcx, qword [r14 + 0x30]
mov rdx, r14
nop
cmp qword [rcx], rdx
jne 0x40b290
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x18], rdx
mov rax, rcx
call fcn.00432440
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rcx + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x30]
lock cmpxchg qword [rbx], rdx
sete dl
test dl, dl
je 0x40b207
mov rdx, qword [rcx + 0x30]
mov byte [rdx + 0xe5], 1
mov rdx, qword [0x005be4b8]
cmp qword [rdx], 0
je 0x40b1f4
jmp 0x40b286
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
call fcn.00431f20
jmp 0x40b228
cmp qword [rbx], 1
jne 0x40b217
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rax, [0x004fcb8f]
mov ebx, 0x1d
call fcn.00435d80
mov rax, qword [rsp + 0x18]
mov rax, qword [rax + 0x30]
mov byte [rax + 0xe5], 0
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x989680
call fcn.00431f20
mov rcx, qword [0x005be4b8]
mov rcx, qword [rcx]
mov qword [rsp], rcx
mov qword [rsp + 8], 0
call fcn.00461420
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rbx]
test rdx, rdx
je 0x40b242
jmp 0x40b228
lea rax, [0x004f9358]
mov ebx, 0x13
nop dword [rax]
call fcn.00435d80
nop
mov qword [rsp + 8], rax
call fcn.0045f600
mov rax, qword [rsp + 8]
jmp fcn.0040b180
Function at 0x40b2c0
Capabilities:
Run powershell expression

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rcx, qword [r14 + 0x30]
mov rdx, rax
xor eax, eax
lock cmpxchg qword [rdx], rcx
sete cl
nop
test cl, cl
je 0x40b351
mov qword [rsp + 0x28], r14
test rbx, rbx
jge 0x40b31b
mov rcx, qword [r14 + 0x30]
mov byte [rcx + 0xe5], 1
mov rcx, qword [0x005be4b8]
cmp qword [rcx], 0
jne 0x40b53e
mov rax, 0xffffffffffffffff
call fcn.00431f20
jmp 0x40b4ef
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x48], rbx
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rbx, qword [rsp + 0x48]
add rax, rbx
mov qword [rsp + 0x18], rax
jmp 0x40b37d
cmp qword [rdx], 1
jne 0x40b366
mov eax, 1
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
lea rax, [0x004fd0df]
mov ebx, 0x1e
call fcn.00435d80
mov rax, rdx
mov rbx, rcx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x30]
mov byte [rdx + 0xe5], 1
mov rdx, qword [0x005be4b8]
cmp qword [rdx], 0
je 0x40b3ae
nop word [rax + rax]
cmp rbx, 0x989680
jle 0x40b3ae
mov ebx, 0x989680
mov rax, rbx
call fcn.00431f20
test eax, eax
jge 0x40b442
mov rax, qword [0x005be4b8]
mov rax, qword [rax]
test rax, rax
je 0x40b3f3
mov qword [rsp], rax
mov qword [rsp + 8], 0
call fcn.00461420
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x30]
mov byte [rcx + 0xe5], 0
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x18]
mov rdx, rcx
sub rcx, rax
test rcx, rcx
jg 0x40b377
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
nop
jmp 0x40b461
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, qword [rcx]
mov rsi, qword [rdx + 0x30]
mov rdi, rsi
cmp rax, rsi
jne 0x40b491
xor esi, esi
lock cmpxchg qword [rcx], rsi
sete dil
nop dword [rax + rax]
test dil, dil
je 0x40b461
xor eax, eax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
cmp rax, 1
jne 0x40b4de
mov byte [rdi + 0xe5], 1
mov rax, 0xffffffffffffffff
call fcn.00431f20
test eax, eax
jl 0x40b4cd
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
lea rax, [0x00500ac1]
mov ebx, 0x32
call fcn.00435d80
lea rax, [0x00500935]
mov ebx, 0x31
call fcn.00435d80
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
mov byte [rcx + 0xe5], 0
mov eax, 1
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, qword [0x005be4b8]
mov rax, qword [rax]
mov qword [rsp], rax
mov qword [rsp + 8], 0
call fcn.00461420
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, 0x989680
call fcn.00431f20
test eax, eax
jl 0x40b50e
jmp 0x40b4ef
Function at 0x40b7a0
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40ba8f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
cmp word [0x005ade04], 0x10
jne 0x40ba7d
mov rdx, qword [0x0061c058]
test rdx, rdx
je 0x40ba6c
nop word [rax + rax]
nop
cmp rdx, 0x80000
ja 0x40ba00
cmp rdx, 0x1000
jb 0x40b98e
lea rbx, [rdx - 1]
nop
test rdx, rbx
jne 0x40b945
mov rdx, qword [0x0061c050]
lea rbx, [rdx - 1]
test rdx, rbx
jne 0x40b8f8
nop dword [rax]
cmp rdx, 0x400000
jbe 0x40b834
mov qword [0x0061c050], 0
cmp qword [0x0061c050], 0
nop dword [rax]
jne 0x40b8d1
lea rax, [0x005de1a0]
call fcn.00425b20
call fcn.004150e0
mov qword [0x0061c010], rax
xor eax, eax
jmp 0x40b865
inc rax
cmp rax, 3
jl 0x40b862
mov eax, 0x7f
jmp 0x40b8b7
mov qword [rsp + 0x10], rax
lea rax, [0x005f4d48]
nop
call fcn.00417da0
mov rcx, qword [rsp + 0x10]
mov rdx, rcx
shl rcx, 0x28
movabs rbx, 0xc000000000
or rcx, rbx
mov qword [rax], rcx
mov rcx, qword [0x005ee550]
mov qword [rax + 0x10], rcx
mov qword [0x005ee550], rax
lea rax, [rdx - 1]
test rax, rax
jge 0x40b872
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rdx, [rcx + 1]
mov qword [0x0061c048], rdx
mov rcx, qword [0x0061c048]
cmp rcx, 0x40
sbb rdx, rdx
mov ebx, 1
shl rbx, cl
and rbx, rdx
cmp qword [0x0061c050], rbx
jne 0x40b8c6
jmp 0x40b846
call fcn.00437640
lea rax, [0x004fae09]
mov ebx, 0x17
call fcn.00437f40
mov rax, qword [0x0061c050]
call fcn.00437c40
lea rax, [0x004fa707]
mov ebx, 0x17
call fcn.00437f40
call fcn.004376c0
lea rax, [0x004fb713]
mov ebx, 0x19
nop dword [rax]
call fcn.00435d80
call fcn.00437640
lea rax, [0x004f8d92]
mov ebx, 0x12
call fcn.00437f40
mov rax, qword [0x0061c058]
call fcn.00437c40
lea rax, [0x004fa707]
mov ebx, 0x17
call fcn.00437f40
call fcn.004376c0
lea rax, [0x004f988d]
mov ebx, 0x14
call fcn.00435d80
call fcn.00437640
lea rax, [0x004f8d92]
mov ebx, 0x12
nop
call fcn.00437f40
mov rax, qword [0x0061c058]
call fcn.00437c40
lea rax, [0x004fe7c3]
mov ebx, 0x25
nop dword [rax]
call fcn.00437f40
mov eax, 0x1000
call fcn.00437d40
lea rax, [0x004f53e5]
mov ebx, 2
nop dword [rax + rax]
call fcn.00437f40
call fcn.004376c0
lea rax, [0x004f988d]
mov ebx, 0x14
call fcn.00435d80
nop dword [rax + rax]
call fcn.00437640
lea rax, [0x004f8d92]
mov ebx, 0x12
call fcn.00437f40
mov rax, qword [0x0061c058]
nop dword [rax]
call fcn.00437c40
lea rax, [0x004fe4ab]
mov ebx, 0x24
call fcn.00437f40
mov eax, 0x80000
nop dword [rax + rax]
call fcn.00437d40
lea rax, [0x004f53e5]
mov ebx, 2
call fcn.00437f40
call fcn.004376c0
lea rax, [0x004f988d]
mov ebx, 0x14
call fcn.00435d80
lea rax, [0x004fd049]
mov ebx, 0x1e
call fcn.00435d80
lea rax, [0x004f860c]
mov ebx, 0x11
call fcn.00435d80
nop
call fcn.0045f600
jmp fcn.0040b7a0
Function at 0x40c1c0
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40c2e6
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x28], rax
xor edx, edx
jmp 0x40c1fe
lea rdx, [rcx + 1]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x10], rdx
lea rsi, [rcx + rbx]
mov qword [rsp + 0x20], rsi
mov rbx, rsi
call fcn.00416c80
mov rcx, rax
nop word [rax + rax]
test rax, rax
je 0x40c2c1
mov rdx, qword [rsp + 0x50]
lea rsi, [rdx - 1]
test rax, rsi
je 0x40c2af
mov qword [rsp + 0x18], rax
mov rax, rcx
mov rbx, qword [rsp + 0x20]
call fcn.00416b40
nop
nop
mov rcx, qword [rsp + 0x18]
mov rax, qword [rsp + 0x50]
lea rcx, [rax + rcx]
lea rcx, [rcx - 1]
neg rax
and rax, rcx
mov qword [rsp + 0x18], rax
mov rbx, qword [rsp + 0x48]
call fcn.00416c80
mov rcx, rax
mov rdx, qword [rsp + 0x18]
cmp rax, rdx
je 0x40c29d
mov rax, rcx
mov rbx, qword [rsp + 0x48]
call fcn.00416b40
mov rcx, qword [rsp + 0x10]
cmp rcx, 0x63
jne 0x40c1eb
jmp 0x40c2cf
mov rax, rcx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, rcx
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
lea rax, [0x005010f9]
mov ebx, 0x38
nop dword [rax + rax]
call fcn.00435d80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.0040c1c0
Function at 0x40c320
Capabilities:
Run powershell expression

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x40c513
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
movzx edx, bl
nop dword [rax]
cmp rdx, 0x88
jae 0x40c505
mov qword [rsp + 0x30], rdx
mov byte [rsp + 0x50], bl
mov qword [rsp + 0x48], rax
mov rcx, qword [rax + rdx*8 + 0x28]
mov qword [rsp + 0x28], rcx
mov rax, rcx
call fcn.00412600
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x38]
cmp rax, rdx
jne 0x40c3cf
mov qword [rsp + 0x20], rdx
movzx ecx, word [rcx + 0x60]
cmp rdx, rcx
jne 0x40c496
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x48]
movzx ebx, byte [rsp + 0x50]
nop dword [rax]
call fcn.00415360
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rdx + rcx*8 + 0x28]
mov qword [rsp + 0x28], rax
call fcn.00412600
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x28]
jmp 0x40c3d2
mov rbx, rax
cmp qword [rcx + 0x38], rax
jbe 0x40c485
mov rsi, qword [rcx + 0x68]
imul rax, rsi
add rax, qword [rcx + 0x18]
movzx esi, word [rcx + 0x60]
inc esi
mov word [rcx + 0x60], si
movzx edi, si
mov r8, qword [rcx + 0x38]
cmp r8, rdi
jb 0x40c413
cmp rbx, rdx
sete dl
mov rbx, rcx
mov ecx, edx
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov word [rsp + 0x16], si
mov qword [rsp + 0x20], r8
nop dword [rax]
call fcn.00437640
lea rax, [0x004f7965]
mov ebx, 0xe
call fcn.00437f40
movzx eax, word [rsp + 0x16]
movzx eax, ax
nop
call fcn.00437c40
lea rax, [0x004f687b]
mov ebx, 0xb
call fcn.00437f40
mov rax, qword [rsp + 0x20]
nop dword [rax + rax]
call fcn.00437c40
call fcn.004378a0
call fcn.004376c0
lea rax, [0x004fad68]
mov ebx, 0x17
nop dword [rax + rax]
call fcn.00435d80
lea rax, [0x004fa4b5]
mov ebx, 0x16
call fcn.00435d80
mov word [rsp + 0x16], cx
nop dword [rax + rax]
call fcn.00437640
lea rax, [0x004fad51]
mov ebx, 0x17
call fcn.00437f40
movzx eax, word [rsp + 0x16]
nop dword [rax + rax]
call fcn.00437c40
lea rax, [0x004f687b]
mov ebx, 0xb
call fcn.00437f40
mov rax, qword [rsp + 0x20]
nop dword [rax + rax]
call fcn.00437c40
call fcn.004378a0
call fcn.004376c0
lea rax, [0x00500966]
mov ebx, 0x31
nop dword [rax + rax]
call fcn.00435d80
mov rax, rdx
mov ecx, 0x88
call fcn.00461ce0
nop
mov qword [rsp + 8], rax
mov byte [rsp + 0x10], bl
nop dword [rax]
call fcn.0045f600
mov rax, qword [rsp + 8]
movzx ebx, byte [rsp + 0x10]
jmp fcn.0040c320