joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a67f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rbp + 0x770], rax
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
mov r8d, 0x800
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 9
mov qword [rsp + 0x60], send
movsd xmm0, qword [str..copy.exe]
movsd qword [rsp + 0x48], xmm0
movzx eax, byte [0x1400d8800]
mov byte [rsp + 0x50], al
mov byte [rsp + 0x51], 0
lea rax, [rsp + 0x70]
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x1400a6890
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14007c420
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], 0
or esi, 1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400a6932
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a692d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a69e3
call fcn.1400b7700
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], send
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400a697e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a6979
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a69ea
call fcn.1400b7700
mov ebx, r14d
mov qword [rsp + 0x20], 0x32
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.1400ad610
cmp byte [0x140190c89], 0
je 0x1400a69b5
inc ebx
cmp ebx, 0xa
jl 0x1400a6990
inc edi
cmp edi, 0x14
jl 0x1400a6846
xor eax, eax
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400b7380
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
jmp 0x1400a67f0
Function at 0x1400a8410
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 case.default.0x1400a8431
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 0x1400a845e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400a8460
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400a84b9
test ecx, ecx
jle 0x1400a8499
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 0x1400a84b9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400a84b9
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
xor byte [rcx], dl
xor eax, 0x34363326
invalid
Function at 0x1400a84e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400a8511
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400a8528
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400a854b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400a854d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400a8589
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400a861e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400a85c4
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 0x1400a85fe
nop dword [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 0x1400a861e
cmp rbx, rax
ja 0x1400a85d0
test rbx, rbx
je 0x1400a861e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400a8a80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400a8aad
xor eax, eax
jmp 0x1400a8c19
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400a8ae7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400a8ae7
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 0x1400a8c19
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400a8c0c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400a8b2a
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 0x1400a8b55
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 0x1400a8c11
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x1400a8bc4
sub eax, 1
je 0x1400a8bc4
cmp eax, 2
jne 0x1400a8c0c
movsx ecx, byte [rsp + 0x40]
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 0x1400a8c11
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400a8bf2
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 0x1400a8c0c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400a8c11
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400b7380
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400aab70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400aac43
cmp byte [rcx + 0x71], 0
je 0x1400aac43
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400aac3f
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 0x1400aac04
sub eax, 1
je 0x1400aac08
cmp eax, 2
jne 0x1400aac3f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b7380
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400aac36
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 0x1400aac3f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400aabec
xor al, al
jmp 0x1400aabec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b7380
add rsp, 0x60
pop rbx
ret
Function at 0x1400ade40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400b7ae4
mov rdx, qword [rbx]
mov qword [rax], rdx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400b4a90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1400adea0
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400b6620
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x780]
sub rsp, 0x880
mov rax, qword [0x1400ee040]
xor rax, rsp
mov qword [rbp + 0x770], rax
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
mov r8d, 0x800
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 9
mov qword [rsp + 0x60], send
movsd xmm0, qword [str..copy.exe]
movsd qword [rsp + 0x48], xmm0
movzx eax, byte [0x1400d8800]
mov byte [rsp + 0x50], al
mov byte [rsp + 0x51], 0
lea rax, [rsp + 0x70]
mov r9, 0xffffffffffffffff
nop word [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x1400a6890
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14007c420
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], send
mov byte [rax], 0
or esi, 1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0xf
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400a6932
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a692d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a69e3
call fcn.1400b7700
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], send
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400a697e
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a6979
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a69ea
call fcn.1400b7700
mov ebx, r14d
mov qword [rsp + 0x20], 0x32
nop word [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.1400ad610
cmp byte [0x140190c89], 0
je 0x1400a69b5
inc ebx
cmp ebx, 0xa
jl 0x1400a6990
inc edi
cmp edi, 0x14
jl 0x1400a6846
xor eax, eax
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.1400b7380
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
jmp 0x1400a67f0
Function at 0x1400b6680
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x140190c89], 0
je 0x1400b6876
xor ebx, ebx
nop word [rax + rax]
lea rcx, [0x1401b7df0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400b68b6
cmp dword [0x1401b7e3c], 0x7fffffff
je 0x1400b68a0
cmp byte [0x1401b70d3], bl
je 0x1400b684a
cmp dword [0x1401b72d0], 0xb06b
mov edx, ebx
mov r8d, ebx
sete al
cmp dword [0x1401b72d4], 0xa124
movzx ecx, al
cmove edx, ecx
cmp dword [0x1401b72d8], 3
movzx eax, dl
mov ecx, ebx
cmove ecx, eax
mov edx, ebx
cmp dword [0x1401b72dc], 4
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x1401b72e0], 5
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x1401b72e4], 0x28a2e
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x1401b72e8], 0x141289
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x1401b72ec], 0x85d0
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x1401b72f0], 0x185a
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x1401b72f4], 0xd7c
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x1401b72f8], 1
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x1401b72fc], 0x1472
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x1401b7300], 0x2a1
movzx eax, dl
mov edx, ebx
cmove ecx, eax
cmp dword [0x1401b7304], 1
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x1401b7308], 0xcc82
movzx eax, dl
mov edx, ebx
cmove r8d, eax
cmp dword [0x1401b730c], 0xfff777a3
movzx eax, r8b
cmove ecx, eax
cmp dword [0x1401b7310], 0xffe9f0c5
movzx eax, cl
mov ecx, ebx
cmove edx, eax
cmp dword [0x1401b7314], 0xffffe881
movzx eax, dl
cmove ecx, eax
cmp dword [0x1401b7318], 0xfffb149f
movzx eax, cl
cmovne eax, ebx
cmp dword [0x1401b731c], 0xfffffa8d
movzx ecx, al
cmovne ecx, ebx
cmp dword [0x1401b7320], 0xfff8e13b
movzx eax, cl
mov ecx, ebx
cmovne eax, ebx
movzx eax, al
cmp dword [0x1401b7324], 0xfffff037
cmove ecx, eax
test cl, cl
je 0x1400b687e
lea rcx, [0x1401b7df0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], 0x32
call fcn.1400ad610
cmp byte [0x140190c89], bl
jne 0x1400b66a0
xor eax, eax
add rsp, 0x40
pop rbx
ret
lea rdx, str._ERROR__3__Exiting_with_code_0_
lea rcx, [rsp + 0x20]
call fcn.14006a430
mov rcx, rax
call fcn.14006af60
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 6
mov dword [0x1401b7e3c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400b6920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
xor esi, esi
mov dword [rsp + 0xa8], esi
cmp byte [0x140190c89], sil
je 0x1400b6a9c
movabs rbp, 0x7fffffffffffffff
lea r14, [0x1401b3b78]
nop dword [rax]
lea rcx, [0x1401b7510]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400b6acc
cmp dword [0x1401b755c], 0x7fffffff
je 0x1400b6ab6
mov rcx, qword [0x1401b3b88]
mov rax, rbp
sub rax, rcx
cmp rax, 0xb
jb 0x1400b6ad8
cmp qword [0x1401b3b90], 0xf
lea r9, str.onlinedata_
mov qword [rsp + 0x30], rcx
mov rax, r14
cmova rax, qword [0x1401b3b78]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], send
call fcn.1400aa320
mov r8d, 0x12c
lea rdx, [rsp + 0x40]
lea rcx, [0x1401b78c0]
or esi, 1
call fcn.14007a030
cmp dword [0x1401b74f0], 3
jne 0x1400b6a69
mov rbx, qword [0x1401b7ec8]
mov rdi, qword [0x1401b7ed0]
cmp rbx, rdi
je 0x1400b6a64
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400b6a5b
cmp byte [rcx + 9], 0
je 0x1400b6a4f
cmp byte [0x1401b70d3], 0
jne 0x1400b6a4f
cmp byte [rcx + 8], 0
je 0x1400b6a5b
lea rdx, str._ERROR__4___Exiting_with_code_0
lea rcx, [rsp + 0x60]
call fcn.14006a430
mov rcx, rax
call fcn.14006af60
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp byte [rcx + 8], 0
je 0x1400b6a5b
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
add rbx, 8
cmp rbx, rdi
jne 0x1400b6a10
call fcn.14007e630
lea rcx, [0x1401b7510]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0xa8], 1
call fcn.1400ad610
cmp byte [0x140190c89], 0
jne 0x1400b6960
lea r11, [rsp + 0x80]
xor eax, eax
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 6
mov dword [0x1401b755c], 0x7ffffffe
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call fcn.1400643c0
int3

Function at 0x1400b8114
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4cfb80
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4cf4a2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f2108]
test eax, eax
je 0x2fc4cf53a
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f2110]
mov qword [rbp - 8], rax
jmp 0x2fc4cf51e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cf512
cmp qword [rbp - 0x10], 0
je 0x2fc4cf512
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cf4d8
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cf53b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cf640
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cf668
mov eax, 0
jmp 0x2fc4cf6b6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cf691
mov eax, 0
jmp 0x2fc4cf6b6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cf6b1
mov eax, 0
jmp 0x2fc4cf6b6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cf6bc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cf73a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cf731
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cf731
mov rax, qword [rbp - 8]
jmp 0x2fc4cf74f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cf704
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140009ab0
Capabilities:
Allocate or change rwx memory
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], ebx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [rbx + 0xa]
mov r8d, 0x1000
lea r9d, [rbx + 4]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea edx, [rbx + 0xa]
lea r8d, [rbx + 2]
lea rcx, [0x1400011ec]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rdx, [0x14001b1f0]
mov dword [rsp + 0x28], ebx
mov r9, rdx
mov qword [rsp + 0x20], rdx
mov r8, rdx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
add rsp, 0x40
pop rbx
ret

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

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000a135
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14000a135
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a135
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14000a119
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000a113
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000a11b
add rdx, 0x28
jmp 0x14000a0f8
xor edx, edx
test rdx, rdx
jne 0x14000a124
xor al, al
jmp 0x14000a13b
test dword [rdx + 0x24], 0x80000000
je 0x14000a131
xor al, al
jmp 0x14000a13b
mov al, 1
jmp 0x14000a13b
xor al, al
jmp 0x14000a13b
add rsp, 0x18
ret