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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x1400031d2
xor eax, eax
jmp 0x1400032b9
cmp qword [rcx + 0x68], 0
je 0x1400031e4
call 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]
jmp 0x1400032b9
mov rdi, rsi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x140003224
cmp rax, rsi
mov rbx, rsi
mov rcx, rbp
cmovb rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rbx
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rbp
add r14, rbx
sub rdi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
je 0x1400032b3
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rbp + 0x70]
cmp rax, rcx
jne 0x14000325e
mov rdx, qword [rbp + 0x88]
mov rcx, rbp
mov r9, qword [rbp + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, rdi
mov ebx, 0xfff
jmp 0x14000328e
mov r9, qword [rbp + 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 rdi, rax
add r14, rax
mov rcx, rdi
cmp rax, rbx
jne 0x1400032b3
cmp rdi, rbx
ja 0x140003268
test rcx, rcx
je 0x1400032b3
mov r9, qword [rbp + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400032d4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x1400032fe
call 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]
jmp 0x14000336e
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x140003368
test rax, rax
jle 0x140003348
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x140003368
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003368
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140003384
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
call fcn.140002068
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rdx, str.ankabot.bin
lea rcx, [rsp + 0x70]
call fcn.14000183c
nop
cmp qword [rbp], 0
jne 0x1400033ce
or ebx, 0xffffffff
jmp 0x14000350a
and qword [rsp + 0x50], 0
mov word [rsp + 0x58], 1
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
mov qword [rsp + 0x60], rax
test rax, rax
sete byte [rsp + 0x68]
mov byte [rsp + 0x69], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x30]
mov qword [rbp + 0x90], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400010c0
nop
lea rcx, [rbp - 0x80]
call fcn.14000280c
test rax, rax
jne 0x140003479
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp rcx, rax
jne 0x14000348d
or ebx, 0xffffffff
jmp 0x1400034be
xor edx, edx
cmp rax, rcx
je 0x1400034ad
xor byte [rcx + rdx], 0x5a
inc rdx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
sub rax, rcx
cmp rdx, rax
jb 0x140003494
lea rcx, [rsp + 0x30]
call fcn.140001ed8
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000350a
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400035c8
and qword [rsp + 0x30], 0
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x70]
call fcn.140001db4
mov eax, ebx
mov rbx, qword [rsp + 0x198]
add rsp, 0x180
pop rbp
ret

Function at 0x140003f38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003f82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003f82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003f82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003f82
cmp dword [rcx + 0x84], 0xe
jbe 0x140003f82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003f84
xor al, al
add rsp, 0x28
ret
Function at 0x140005224
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0x18], 7
mov rdi, rdx
mov rbx, rcx
jbe 0x140005243
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140005309
cmp qword [rbx + 0x18], 7
jbe 0x14000525c
mov rbx, qword [rbx]
and qword [rsp + 0x30], 0
mov esi, 2
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], esi
mov rcx, rbx
lea r8d, [rsi - 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140005309
and dword [rsp + 0x60], 0
lea r9, [rsp + 0x60]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x50]
mov eax, 0xfeff
mov r8d, esi
mov rcx, rbx
mov word [rsp + 0x50], ax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne sil
test eax, eax
je 0x1400052fb
cmp qword [rdi + 0x10], 0
jbe 0x1400052fb
mov r8d, dword [rdi + 0x10]
add r8d, r8d
cmp qword [rdi + 0x18], 7
jbe 0x1400052de
mov rdi, qword [rdi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, sil
jmp 0x14000530b
xor al, al
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400203d8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x140020408
movzx eax, byte [rcx + r9]
movabs r10, 0x100000001b3
xor r8, rax
inc r9
imul r8, r10
cmp r9, rdx
jb 0x1400203ea
mov rax, r8
ret

Function at 0x140021f50
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x140021fc2
cmp ecx, 0x7c
je 0x140021fc7
cmp ecx, 0x29
jne 0x140021fd2
cmp dword [rbx + 0x1c], 0
jne 0x140021fc7
test dword [rbx + 0x80], 0x10000000
je 0x14002210d
cmp ecx, 0x5d
jne 0x140021f99
test dword [rbx + 0x80], 0x10000000
je 0x1400220d6
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140023348
mov dil, 1
mov rcx, rbx
call fcn.140021f04
test dil, dil
je 0x140021fbd
mov rcx, rbx
call fcn.140023200
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140021f64
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x140021fef
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14002220c
mov rcx, rbx
call fcn.140021f04
jmp 0x140021fb5
cmp ecx, 0x5c
jne 0x14002204d
mov rcx, rbx
call fcn.140021f04
test byte [rbx + 0x80], 0x80
je 0x140022040
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x140022024
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14002220c
mov rcx, rbx
call fcn.140021f04
jmp 0x140021fbd
cmp al, 0x42
jne 0x140022040
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14002220c
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x14002201a
mov rcx, rbx
call fcn.140022fbc
jmp 0x140021fb5
cmp ecx, 0x5b
jne 0x14002206d
mov rcx, rbx
call fcn.140021f04
mov rcx, rbx
call fcn.140022e5c
cmp dword [rbx + 0x7c], 0x5d
jne 0x1400220e1
jmp 0x140021fe5
cmp ecx, 0x28
jne 0x140022090
mov rcx, rbx
call fcn.140021f04
mov rcx, rbx
call fcn.140023104
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x1400220ec
jmp 0x140021fa8
cmp ecx, 0x5e
jne 0x14002209d
lea edx, [rcx - 0x5c]
jmp 0x140022011
cmp ecx, 0x24
jne 0x1400220aa
lea edx, [rcx - 0x21]
jmp 0x140022011
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140022102
cmp ecx, 0x3f
je 0x140022102
cmp ecx, 0x7b
je 0x140022102
cmp ecx, 0x7d
jne 0x140021f84
test dword [rbx + 0x80], 0x10000000
je 0x1400220f7
jmp 0x140021f99
mov edx, 4
call fcn.140020958
int3
mov edx, 4
call fcn.140020958
int3
mov edx, 5
call fcn.140020958
int3
mov edx, 6
call fcn.140020958
int3
mov edx, 0xa
call fcn.140020958
int3
mov edx, 5
call fcn.140020958
int3
Function at 0x140035584
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rsi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x1400355b4
cvtsi2ss xmm0, rdx
jmp 0x1400355c9
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1400ad41c
movss xmm1, dword [0x140101614]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400355f7
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400355f7
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140035625
cmp rbx, 0x200
jae 0x140035622
shl rbx, 3
cmp rbx, rcx
jae 0x140035625
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x140035793
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [rsi + 8]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002976c
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140035757
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [rax + r9 + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 8
jb 0x14003569d
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x1400356dc
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x14003574b
mov r10, qword [rdi + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x140035720
mov r10, qword [r10]
cmp r10, rax
je 0x1400356d5
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400356d5
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x14003576d
cmp qword [rdi + r11*8], r10
jne 0x140035716
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14003568d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14003574b
lea rcx, str.invalid_hash_bucket_count
call fcn.1400853e0
int3

Function at 0x140039cc0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
test r8, r8
je 0x140039cec
movsx rax, byte [rdx]
movabs r9, 0x100000001b3
imul rcx, r9
dec r8
xor rcx, rax
inc rdx
call fcn.140039cc0
mov rcx, rax
mov rax, rcx
add rsp, 0x28
ret
Function at 0x1400412e4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140041313
call fcn.14001974c
jmp 0x14004138a
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14004132a
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14004132c
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140041384
test ecx, ecx
jle 0x140041365
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call fcn.1400ad600
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 0x140041384
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140041384
mov r8, rbx
mov edx, 1
mov rcx, r15
call fcn.140098688
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400413a4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400413d2
xor eax, eax
jmp 0x1400414b8
cmp qword [rcx + 0x68], 0
je 0x1400413e3
call fcn.140019810
jmp 0x1400414b8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400413fa
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400413fc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004142e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1400ad600
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400414b2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140041465
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14004148e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14009896c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400414b2
cmp rsi, rbx
ja 0x14004146c
test rsi, rsi
je 0x1400414b2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14009896c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400418a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401120c0]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x1400418d9
xor eax, eax
jmp 0x1400419f7
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140041913
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x140041913
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x1400419f7
cmp qword [rbx + 0x80], 0
je 0x1400419f5
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14004194e
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 0x14004196e
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.1400979e4
cmp eax, edi
jmp 0x1400419f2
lea r8, [rbp - 0x38]
mov byte [rbp - 0x40], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp - 0x3f]
lea r8, [rbp - 8]
mov qword [rsp + 0x30], r8
lea r8, [rbp - 0x28]
mov qword [rsp + 0x28], r8
lea r8, [rbp - 0x30]
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x40]
call qword [rax + 0x38]
test eax, eax
je 0x1400419bc
sub eax, 1
je 0x1400419bc
cmp eax, 2
jne 0x1400419f5
movsx ecx, byte [rbp - 0x40]
jmp 0x14004195b
mov r14, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x1400419e6
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call fcn.140098688
cmp r14, rax
jne 0x1400419f5
lea rax, [rbp - 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x30], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140087a20
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140041ccc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401120c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140041d3b
cmp byte [rcx + 0x71], 0
je 0x140041d3b
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp eax, 0xffffffff
je 0x140041d8f
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x140041d55
sub eax, 1
je 0x140041d59
cmp eax, 2
jne 0x140041d8f
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140087a20
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140041d86
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.140098688
cmp rdi, rax
jne 0x140041d8f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140041d3d
xor al, al
jmp 0x140041d3d
Function at 0x1400444e8
Capabilities:
Load windows common language runtime

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
cmp qword [0x1401266b0], rbx
jne 0x140044594
and qword [rsp + 0x38], rbx
lea r8, [rsp + 0x38]
lea rdx, [0x1400f69c8]
lea rcx, [0x1400f69b8]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
mov ebx, eax
test eax, eax
js 0x140044594
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
and qword [rsp + 0x30], 0
lea r8, [0x1400f69a8]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x140044589
mov rcx, qword [rsp + 0x30]
lea r9, [0x1401266b0]
lea r8, [0x1400f6998]
lea rdx, [0x1400f6988]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14004457e
mov rcx, qword [0x1401266b0]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14004459c
Capabilities:
Load windows common language runtime

Disassembly:
sub rsp, 0x38
cmp qword [0x1401266b0], 0
jne 0x1400445f7
call fcn.1400444e8
test eax, eax
jns 0x1400445f7
cmp qword [0x1401266b0], 0
jne 0x1400445f7
lea rax, [0x1401266b0]
xor edx, edx
lea r9, [0x1400f6998]
mov qword [rsp + 0x20], rax
lea r8, [0x1400f6988]
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x1400445fe
mov rcx, qword [0x1401266b0]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
add rsp, 0x38
ret
xor r9d, r9d
lea r8, [0x1400f62d8]
lea rdx, [0x1400f62f0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x1400445f9
Function at 0x1400452d0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401120c0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov esi, r8d
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
mov edi, 0x2710
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14004531b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x70]
call fcn.1400adca0
mov r8d, esi
lea rdx, [0x1400f2ef0]
lea rcx, [rbp - 0x70]
call fcn.140041f28
mov rcx, qword [rbx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 9
jb 0x1400454e8
mov rax, rbx
mov esi, 7
cmp qword [rbx + 0x18], rsi
jbe 0x14004536b
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 9
lea r9, str..pipe_
lea rcx, [rsp + 0x70]
call fcn.14001e6b0
nop
lea rax, [rbp - 0x70]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x140045398
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14001a624
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], rsi
mov word [rax], r15w
lea rcx, [rsp + 0x70]
call fcn.14001b224
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0xa
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], rsi
cmova rcx, qword [rsp + 0x50]
mov edx, 0xa
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x140045425
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140045425
test edi, edi
jg 0x1400453e9
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], rsi
cmova rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [r14 + 8], rax
cmp rax, 0xffffffffffffffff
setne dil
mov rdx, qword [rsp + 0x68]
cmp rdx, rsi
jbe 0x1400454a4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004549f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400454e2
call fcn.140087a40
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rsi
mov word [rsp + 0x50], r15w
mov rcx, rbx
call fcn.14001b224
mov al, dil
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140087a20
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14008e954
nop
call fcn.140001854
int3