joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005e040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1403646f8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x1a28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x1a30]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140001ce0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x30], rax
jae 0x14005e18e
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x14005e150
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.140039140
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x14005e14b
jmp 0x14005e18e
jmp 0x14005e0c1
cmp dword [rsp + 0x28], 0xd
jne 0x14005e15c
jmp 0x14005e0c1
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1400587f0
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x14005e0c1
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x14005e1ad
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x90], 0
je 0x14005e1e9
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140001ce0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x140146e40]
ja 0x14005e20d
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x140146e40]
jp 0x14005e227
jne 0x14005e227
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x88], 0
je 0x14005e242
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140075840
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x70]
call fcn.14007ac10
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400758b7
xor al, al
jmp 0x1400758fb
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x1400758f9
xor al, al
jmp 0x1400758fb
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ea150
add rsp, 0x68
ret

Function at 0x140075b40
Capabilities:
Execute command

Disassembly:
sub rsp, 0x88
lea rdx, str.C:WindowsSysWOW64SysWOW64_SytemCheck.exe
lea rcx, [rsp + 0x40]
call fcn.14007b120
nop
mov r8d, 0x71470
lea rdx, [0x1402f2210]
lea rcx, [rsp + 0x40]
call fcn.140075840
nop
lea rcx, [rsp + 0x40]
call fcn.14007b0f0
lea rdx, str.C:WindowsSysWOW64_amifldrv64.sys
lea rcx, [rsp + 0x60]
call fcn.14007b120
nop
mov r8d, 0x4be8
lea rdx, [0x1402ed620]
lea rcx, [rsp + 0x60]
call fcn.140075840
nop
lea rcx, [rsp + 0x60]
call fcn.14007b0f0
lea rcx, str.C:WindowsSysWOW64SysWOW64_SytemCheck.exe__SU_auto
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:WindowsSysWOW64SysWOW64_SytemCheck.exe__BS___RANDOM__RANDOM___RANDOM__RANDOM___RANDOM__RANDOM__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:WindowsSysWOW64SysWOW64_SytemCheck.exe__SS___RANDOM__RANDOM___RANDOM__RANDOM___RANDOM__RANDOM__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:WindowsSysWOW64SysWOW64_SytemCheck.exe__PSN___RANDOM__RANDOM___RANDOM__RANDOM___RANDOM__RANDOM__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.C:WindowsSysWOW64SysWOW64_SytemCheck.exe__SK__To_Be_Filled_By_O.E.M._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400750e0
mov ecx, 1
call fcn.1400ea8b4
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140075c1d
mov rcx, qword [rsp + 0x20]
call fcn.140080810
mov qword [rsp + 0x28], rax
jmp 0x140075c26
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140080fc0
movzx eax, al
test eax, eax
jne 0x140075c4f
xor al, al
jmp 0x140075c51
mov al, 1
add rsp, 0x88
ret
Function at 0x140075c60
Capabilities:
Execute command

Disassembly:
sub rsp, 0xa8
lea rcx, str.mkdir_E:efi_boot
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.E:efi_bootBOOTX64.efi
lea rcx, [rsp + 0x40]
call fcn.14007b120
nop
mov r8d, 0xeb640
lea rdx, [0x140156600]
lea rcx, [rsp + 0x40]
call fcn.140075840
nop
lea rcx, [rsp + 0x40]
call fcn.14007b0f0
lea rdx, str.E:_amideefix64.efi
lea rcx, [rsp + 0x60]
call fcn.14007b120
nop
mov r8d, 0x69a70
lea rdx, [0x140241c40]
lea rcx, [rsp + 0x60]
call fcn.140075840
nop
lea rcx, [rsp + 0x60]
call fcn.14007b0f0
lea rdx, str.E:_startup.nsh
lea rcx, [rsp + 0x80]
call fcn.14007b120
nop
mov r8d, 0xdb
lea rdx, [0x140155110]
lea rcx, [rsp + 0x80]
call fcn.140075840
nop
lea rcx, [rsp + 0x80]
call fcn.14007b0f0
call fcn.1400750e0
mov ecx, 1
call fcn.1400ea8b4
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140075d46
mov rcx, qword [rsp + 0x20]
call fcn.140080810
mov qword [rsp + 0x28], rax
jmp 0x140075d4f
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140080fc0
movzx eax, al
test eax, eax
jne 0x140075d78
xor al, al
jmp 0x140075d7a
mov al, 1
add rsp, 0xa8
ret

Function at 0x140075d90
Capabilities:
Execute command
Self delete

Disassembly:
sub rsp, 0x28
lea rcx, str.del__F__S__Q__E:._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov al, 1
add rsp, 0x28
ret
Function at 0x140078ca0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rdx, qword [rsp + 0x30]
lea rcx, [0x140364b48]
call fcn.14007b050
mov byte [0x1403646f4], 0
xor edx, edx
lea rcx, [0x140078be0]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx eax, byte [0x1403646f4]
add rsp, 0x28
ret

Function at 0x140078ce0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x258
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140114e78]
lea rcx, [rsp + 0x40]
call fcn.14007b120
nop
lea rdx, str.Memory_Viewer
lea rcx, [rsp + 0x60]
call fcn.14007b120
nop
lea rdx, [0x140114ea0]
lea rcx, [rsp + 0x80]
call fcn.14007b120
nop
lea rdx, str.Viewer
lea rcx, [rsp + 0xa0]
call fcn.14007b120
nop
lea rdx, str.Fiddler
lea rcx, [rsp + 0xc0]
call fcn.14007b120
nop
lea rdx, [0x140114ed0]
lea rcx, [rsp + 0xe0]
call fcn.14007b120
nop
lea rdx, str.http
lea rcx, [rsp + 0x100]
call fcn.14007b120
nop
lea rdx, str.dumper
lea rcx, [rsp + 0x120]
call fcn.14007b120
nop
lea rdx, str.checker
lea rcx, [rsp + 0x140]
call fcn.14007b120
nop
lea rdx, str.charles
lea rcx, [rsp + 0x160]
call fcn.14007b120
nop
lea rdx, [0x140114f18]
lea rcx, [rsp + 0x180]
call fcn.14007b120
nop
lea rdx, [0x140114f20]
lea rcx, [rsp + 0x1a0]
call fcn.14007b120
nop
lea rdx, [0x140114f28]
lea rcx, [rsp + 0x1c0]
call fcn.14007b120
nop
lea rdx, [0x140114f30]
lea rcx, [rsp + 0x1e0]
call fcn.14007b120
nop
lea rdx, str.Debugger
lea rcx, [rsp + 0x200]
call fcn.14007b120
nop
lea rdx, str.Debug
lea rcx, [rsp + 0x220]
call fcn.14007b120
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0x200
mov qword [rsp + 0x30], rax
jmp 0x140078e77
mov rax, qword [rsp + 0x20]
add rax, 0x20
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
je 0x140078eab
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140078ca0
movzx eax, al
test eax, eax
je 0x140078ea9
mov ecx, 8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x140078e69
lea r9, [fcn.14007b0f0]
mov r8d, reloc.WS2_32.dll_recv
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x40]
call fcn.1400ea170
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400ea150
add rsp, 0x258
ret
Function at 0x140079c10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x140079c49
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
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 0x140079d37
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
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 qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x140079cdf
cmp qword [rsp + 0x20], 0
jle 0x140079cdf
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x140079c89
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
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, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14006d930
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x140079d27
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x140079d27
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret
Function at 0x140079d40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140079d74
xor eax, eax
jmp 0x140079f70
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x140079da6
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
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 0x140079f70
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140079e57
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.14006c4d0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
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, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14006d930
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x140079f60
mov rcx, qword [rsp + 0x80]
call fcn.14007ba80
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x140079f0d
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140079f08
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140079f70
jmp 0x140079e83
cmp qword [rsp + 0x50], 0
jbe 0x140079f60
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ea150
add rsp, 0x78
ret
Function at 0x14007bb40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14007bb7d
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14007bb84
mov al, 1
jmp 0x14007bcdc
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14007c780
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14007c780
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.14007c7e0
movzx eax, al
test eax, eax
je 0x14007bbd9
xor al, al
jmp 0x14007bcdc
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
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]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14007bc49
cmp dword [rsp + 0x30], 1
je 0x14007bc55
cmp dword [rsp + 0x30], 3
je 0x14007bcca
jmp 0x14007bcda
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x14007bca1
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x14007bca1
xor al, al
jmp 0x14007bcdc
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14007bcbb
mov dword [rsp + 0x34], 1
jmp 0x14007bcc3
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x14007bcdc
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14007bcdc
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400ea150
add rsp, 0xa8
ret
Function at 0x14007fa00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14006c900
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140080170
nop
lea rax, [0x1400801f0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14006ed30
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14007faad
lea rcx, [rsp + 0x40]
call fcn.14006e760
jmp 0x14007fac5
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.14007ff40
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ea150
add rsp, 0x58
ret

Function at 0x14007faf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14006c900
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140080290
nop
lea rax, [0x140080310]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.14006ed30
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x14007fb93
lea rcx, [rsp + 0x40]
call fcn.14006e760
jmp 0x14007fbab
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x40]
call fcn.14007fef0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ea150
add rsp, 0x58
ret
Function at 0x140086b90
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x140086bc4
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140086bb0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400863b0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140086be9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140094e70
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140086c63
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140086c5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140086c5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ea240
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140086c70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x140086ca4
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x140086c90
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.1400863b0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140086cc9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140094e70
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140086d43
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140086d3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140086d3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ea240
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret