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

Disassembly:
jmp 0x140045010
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400ae0fa]
call fcn.140029761
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140045067
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.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 0x140045173
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14004510c
cmp qword [rbp + 0x28], 0
jle 0x14004510c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400450ac
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1400295b8
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140045162
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140045162
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400286c2
Capabilities:
Get common file path

Disassembly:
jmp 0x14005c3b0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x1400a1040]
xor rax, rbp
mov qword [rbp + 0x410], rax
mov dword [rbp + 0x3f4], 0
lea rcx, [0x1400ae6e6]
call fcn.140029761
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0x10]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
je 0x14005c43d
cmp dword [rbp + 0x234], 0x105
jbe 0x14005c496
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140028c30
mov qword [rbp + 0x408], rax
lea rdx, [0x140028b9a]
mov rcx, qword [rbp + 0x408]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x14008e4ec]
mov rcx, qword [rbp + 0x440]
call fcn.1400287f8
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
jmp 0x14005c508
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
movzx eax, word [rbp + rax*2 + 0xe]
cmp eax, 0x5c
jne 0x14005c4e2
lea rcx, [rbp + 0x10]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x3d8], rax
cmp qword [rbp + 0x3d8], 0x20a
jae 0x14005c4cf
jmp 0x14005c4d4
call fcn.1400290e0
xor eax, eax
mov rcx, qword [rbp + 0x3d8]
mov word [rbp + rcx + 0x10], ax
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x440]
call fcn.1400287f8
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x440]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140095390]
call fcn.14002933d
mov rax, rdi
mov rcx, qword [rbp + 0x410]
xor rcx, rbp
call fcn.140028b86
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret
Function at 0x1400287fd
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x14005c230
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1400ae6e6]
call fcn.140029761
mov rcx, qword [rbp + 0x180]
call fcn.140028aaa
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x188]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rbp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0
jmp 0x14005c2ab
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
movzx eax, word [rax + 6]
cmp dword [rbp + 0x64], eax
jae 0x14005c353
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x28
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0x180]
mov rcx, rax
call fcn.1400288f2
test eax, eax
jne 0x14005c34e
mov rax, qword [rbp + 0x88]
mov rcx, rax
call fcn.140028aaa
cmp qword [rbp + 8], rax
jne 0x14005c34e
mov rax, qword [rbp + 0x88]
cmp dword [rax + 0xc], 0
jne 0x14005c318
xor eax, eax
jmp 0x14005c355
cmp qword [rbp + 0x190], 0
je 0x14005c335
mov rax, qword [rbp + 0x190]
mov rcx, qword [rbp + 0x88]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x88]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x188]
add rcx, rax
mov rax, rcx
jmp 0x14005c355
jmp 0x14005c2a3
xor eax, eax
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x140028d52
Capabilities:
Terminate process

Disassembly:
jmp 0x140073240
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140028f41
Capabilities:
Get geographical location

Disassembly:
jmp 0x14006f350
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14006f38d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.140029743
add rsp, 0x58
ret
Function at 0x140029040
Capabilities:
Parse pe header

Disassembly:
jmp 0x140075f40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140075f60
xor al, al
jmp 0x140075fe1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140075f73
xor al, al
jmp 0x140075fe1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140075f9d
xor al, al
jmp 0x140075fe1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140075fb1
xor al, al
jmp 0x140075fe1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140075fc3
xor al, al
jmp 0x140075fe1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140075fdf
xor al, al
jmp 0x140075fe1
mov al, 1
add rsp, 0x38
ret
Function at 0x140029496
Capabilities:
Parse pe header

Disassembly:
jmp 0x140057df0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400ae489]
call fcn.140029761
mov rax, qword [rbp + 0x120]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140057e2c
xor eax, eax
jmp 0x140057e59
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x120]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp dword [rax], 0x4550
je 0x140057e55
xor eax, eax
jmp 0x140057e59
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400296f3
Capabilities:
Write file on windows

Disassembly:
jmp 0x14003fe10
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x1400a1040]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x1400ae0fa]
call fcn.140029761
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x14003fe76
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003fe7d
mov al, 1
jmp 0x14003ffed
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.1400286d6
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.1400286d6
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.140029266
movzx eax, al
test eax, eax
je 0x14003fee0
xor al, al
jmp 0x14003ffed
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.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 [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x14003ff53
cmp dword [rbp + 0x160], 1
je 0x14003ff5e
cmp dword [rbp + 0x160], 3
je 0x14003ffdc
jmp 0x14003ffeb
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14003ffae
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14003ffae
xor al, al
jmp 0x14003ffed
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14003ffc9
mov dword [rbp + 0x154], 1
jmp 0x14003ffd3
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x14003ffed
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14003ffed
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14008cd20]
call fcn.14002933d
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.140028b86
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
test rdx, rdx
jle 0x402524
mov r12, qword [fcn.004218e0]
lea r14, [rcx + rdx*8]
mov rdi, rcx
lea r13, [0x00425138]
lea rbp, [0x00425139]
mov rbx, qword [rdi]
mov ecx, 1
call r12
mov rsi, rax
test rbx, rbx
je 0x4024c0
cmp qword [rbx], 0
lea r8, [rbx + 0x10]
mov rdx, rbp
mov rcx, rax
cmove r8, r13
call sub.msvcrt.dll_fprintf
mov r15d, eax
movsxd rax, r15d
cmp rax, qword [rbx]
jge 0x40244f
cmp byte [rbx + rax + 0x10], 0
jne 0x4024a0
xor ecx, ecx
mov rdx, rsi
call sub.msvcrt.dll_fputc
test eax, eax
jne 0x40244f
add r15d, 1
movsxd rax, r15d
cmp rax, qword [rbx]
jl 0x40242e
add rdi, 8
cmp rdi, r14
jne 0x4023f5
mov ecx, 1
call r12
mov r8d, 1
mov edx, 1
lea rcx, [0x0042513c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call r12
mov rcx, rax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sub.msvcrt.dll_fflush
lea r8, [rbx + rax + 0x10]
mov rdx, rbp
mov rcx, rsi
call sub.msvcrt.dll_fprintf
test eax, eax
jle 0x40244f
add r15d, eax
jmp 0x402426
mov r8, r13
mov rdx, rbp
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov ebx, eax
test ebx, ebx
jns 0x40244f
movsxd r8, ebx
cmp byte [r8 + 0x10], 0
jne 0x402509
xor ecx, ecx
mov rdx, rsi
call sub.msvcrt.dll_fputc
test eax, eax
jne 0x40244f
add ebx, 1
test ebx, ebx
jns 0x40244f
movsxd r8, ebx
cmp byte [r8 + 0x10], 0
je 0x4024e2
add r8, 0x10
mov rdx, rbp
mov rcx, rsi
call sub.msvcrt.dll_fprintf
test eax, eax
jle 0x40244f
add ebx, eax
jmp 0x4024d0
mov r12, qword [fcn.004218e0]
jmp 0x402458

Function at 0x402630
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x40264f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x402860
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.004218e0]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
ret
Function at 0x40a340
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x150
cmp qword [0x00454e60], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x40a43f
mov rax, qword [0x0044b140]
lea rcx, [rbp - 0x110]
mov rdx, rbp
mov qword [0x0044b140], rcx
add rcx, 0x10
mov qword [rbp - 0x110], rax
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rbp - 0x108], rax
jne 0x40a460
xor ebx, ebx
cmp qword [rbp + 0x20], 0
je 0x40a410
mov rcx, qword [rbp + 0x20]
call sub.msvcrt.dll_strlen
mov edx, 0x18
mov qword [rbp - 0x128], 7
cmp rax, 6
mov rsi, rax
jbe 0x40a3da
lea rdx, [rax + 0x11]
mov qword [rbp - 0x128], rax
lea r8, [0x00451f80]
lea rcx, [0x00422020]
call fcn.004092c0
mov rdx, qword [rbp + 0x20]
movq xmm0, rsi
lea rcx, [rax + 0x10]
movhps xmm0, qword [rbp - 0x128]
mov rbx, rax
movups xmmword [rax], xmm0
lea r8, [rsi + 1]
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [0x00454e60]
mov rax, qword [0x0044b140]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rax, qword [rax]
mov qword [0x0044b140], rax
jne 0x40a4d4
movzx eax, byte [rbp - 0x111]
test al, al
jne 0x40a4e0
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret
mov rax, qword [0x0044b140]
mov rax, qword [rax]
mov qword [rbp - 0x108], 0
mov qword [0x0044b140], rax
mov rax, qword [0x00454dc8]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x40a49d
add qword [rbx - 0x10], 8
mov rax, qword [0x00454dc8]
test rax, rax
je 0x40a4bf
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x40a4bf
lea rcx, [0x00451f98]
call fcn.00405ad0
cmp qword [rbp - 0x108], 0
mov qword [0x00454dc8], rbx
je 0x40a43f
call fcn.0040ac60
jmp 0x40a43f
mov ecx, 2
call qword [fcn.004218e0]
mov rcx, qword [rbp + 0x20]
mov edx, 1
mov r8, qword [rbp + 0x28]
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
jmp 0x40a44e
Function at 0x4175c0
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
test rcx, rcx
je 0x417635
cmp rcx, 0xffffffffffffffff
mov r8, qword [0x0045d990]
mov r9, qword [0x0045d998]
je 0x417640
mov rax, 0xffffffffffffffff
xor edx, edx
div rcx
not rdx
mov r10, rdx
nop dword [rax]
lea rax, [r9 + r8]
mov rdx, r9
xor rdx, r8
ror r8, 9
mov r9, rdx
xor r8, rdx
ror rdx, 0x1c
shl r9, 0xe
xor r8, r9
cmp rax, r10
mov r9, rdx
ja 0x4175f0
movq xmm1, rdx
movq xmm0, r8
add rcx, 1
punpcklqdq xmm0, xmm1
xor edx, edx
movups xmmword [0x0045d990], xmm0
div rcx
mov rax, rdx
ret
mov rax, r8
mov rdx, r8
xor rax, r9
ror rdx, 9
mov rcx, rax
xor rdx, rax
ror rax, 0x1c
shl rcx, 0xe
mov qword [0x0045d998], rax
xor rdx, rcx
mov qword [0x0045d990], rdx
lea rdx, [r8 + r9]
mov rax, rdx
ret

Function at 0x417690
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.0040b140
test rax, rax
je 0x4176ea
mov r9, qword [rax]
test r9, r9
jle 0x4176ea
mov r8, rax
add r9, rbx
sub r8, rbx
mov rcx, rbx
mov rdx, rbx
sar rcx, 8
sar rdx, 0x10
xor ecx, ebx
and edx, 0xffffffee
and ecx, 0xffffffee
xor cl, byte [r8 + rbx + 0x10]
xor ecx, edx
mov rdx, rbx
sar rdx, 0x18
and edx, 0xffffffee
xor ecx, edx
mov byte [r8 + rbx + 0x10], cl
add rbx, 1
cmp rbx, r9
jne 0x4176b3
add rsp, 0x20
pop rbx
ret
Function at 0x419fb0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
lea rsi, [0x00429720]
mov edx, 0x2105bfe8
mov r13, rcx
lea rcx, [0x00429760]
call fcn.00417690
lea rdi, [r13 + 2]
mov edx, 0x69faf428
mov rcx, rax
call fcn.00419ba0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r12, qword [rax + 0x20]
lea rbp, [rax + 0x20]
nop
movzx eax, word [r13]
mov rdx, r13
test ax, ax
je 0x41a030
nop dword [rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x41a1a0
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x41a010
mov rcx, qword [r12 + 0x50]
movzx ebx, word [rcx]
test bx, bx
je 0x41a1c1
mov rax, rcx
lea edx, [rbx - 0x41]
cmp dx, 0x19
ja 0x41a1d0
add ebx, 0x20
add rax, 2
mov word [rax - 2], bx
movzx ebx, word [rax]
test bx, bx
jne 0x41a044
movzx r14d, word [r13]
movzx ebx, word [rcx]
test r14w, r14w
je 0x41a0d5
test bx, bx
je 0x41a1e5
mov r10, rdi
mov eax, r14d
sub r10, rcx
jmp 0x41a096
cmp word [rcx], 0
je 0x41a0d5
movzx edx, word [rcx]
lea r9d, [rax - 0x41]
lea r8d, [rax + 0x20]
cmp r9w, 0x1a
cmovb eax, r8d
lea r9d, [rdx - 0x41]
lea r8d, [rdx + 0x20]
cmp r9w, 0x1a
cmovb edx, r8d
cmp ax, dx
jne 0x41a1e5
mov rax, rcx
add rcx, 2
movzx eax, word [r10 + rax]
test ax, ax
jne 0x41a090
mov edx, 0xc5c23e8
mov rcx, rsi
call fcn.00417690
mov edx, 0x7e9ba028
mov rcx, rax
call fcn.00419ba0
cmp r14w, bx
je 0x41a204
mov r12, qword [r12]
cmp rbp, r12
jne 0x41a000
lea rcx, [0x00429620]
mov edx, 0x22b730e8
call fcn.00417690
lea rbx, [rsp + 0x30]
mov edx, 0x3877a728
mov rcx, rax
call fcn.00419ba0
mov rcx, rbx
mov rdx, r13
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x0045de08]
mov r8, rbx
xor edx, edx
xor ecx, ecx
lea r9, [rsp + 0x28]
call qword [0x0045dd68]
mov edx, 0xe61fd28
lea rcx, [0x004295e0]
mov ebx, eax
call fcn.00417690
mov edx, 0xc5c23e8
mov rcx, rax
call fcn.00419ba0
xor eax, eax
test ebx, ebx
jne 0x41a209
mov rax, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
add rdx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x41a010
mov rcx, qword [r12 + 0x50]
movzx ebx, word [rcx]
test bx, bx
jne 0x41a041
movzx r14d, word [r13]
jmp 0x41a0d5
add rax, 2
movzx ebx, word [rax]
test bx, bx
jne 0x41a044
jmp 0x41a064
mov rcx, rsi
mov edx, 0xc5c23e8
call fcn.00417690
mov edx, 0x7e9ba028
mov rcx, rax
call fcn.00419ba0
jmp 0x41a0f9
mov rax, qword [r12 + 0x20]
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x41ab00
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
lea rbx, [0x00429720]
mov r14, rcx
mov ebp, edx
mov edx, 0x2105bfe8
lea rcx, [0x00429760]
call fcn.00417690
lea rsi, [r14 + 2]
mov edx, 0x69faf428
mov rcx, rax
call fcn.00419ba0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r13, qword [rax + 0x20]
lea rdi, [rax + 0x20]
movzx eax, word [r14]
mov rdx, r14
test ax, ax
je 0x41ab80
nop
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x41acf0
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x41ab60
mov rcx, qword [r13 + 0x50]
movzx r12d, word [rcx]
test r12w, r12w
je 0x41ad12
mov rax, rcx
lea edx, [r12 - 0x41]
cmp dx, 0x19
ja 0x41ad20
add r12d, 0x20
add rax, 2
mov word [rax - 2], r12w
movzx r12d, word [rax]
test r12w, r12w
jne 0x41ab95
movzx r15d, word [r14]
movzx r12d, word [rcx]
test r15w, r15w
je 0x41ac25
test r12w, r12w
je 0x41ad40
mov r10, rsi
mov eax, r15d
sub r10, rcx
jmp 0x41abe6
cmp word [rcx], 0
je 0x41ac25
movzx edx, word [rcx]
lea r9d, [rax - 0x41]
lea r8d, [rax + 0x20]
cmp r9w, 0x1a
cmovb eax, r8d
lea r9d, [rdx - 0x41]
lea r8d, [rdx + 0x20]
cmp r9w, 0x1a
cmovb edx, r8d
cmp ax, dx
jne 0x41ad40
mov rax, rcx
add rcx, 2
movzx eax, word [r10 + rax]
test ax, ax
jne 0x41abe0
mov edx, 0xc5c23e8
mov rcx, rbx
call fcn.00417690
mov edx, 0x7e9ba028
mov rcx, rax
call fcn.00419ba0
cmp r15w, r12w
je 0x41ad5f
mov r13, qword [r13]
cmp rdi, r13
jne 0x41ab53
test ebp, ebp
je 0x41ad74
lea rcx, [0x00429620]
mov edx, 0x22b730e8
call fcn.00417690
lea rbx, [rsp + 0x30]
mov edx, 0x3877a728
mov rcx, rax
call fcn.00419ba0
mov rcx, rbx
mov rdx, r14
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], 0
call qword [0x0045de08]
mov r8, rbx
xor edx, edx
xor ecx, ecx
lea r9, [rsp + 0x28]
call qword [0x0045dd68]
mov edx, 0xe61fd28
lea rcx, [0x004295e0]
mov ebx, eax
call fcn.00417690
mov edx, 0xc5c23e8
mov rcx, rax
call fcn.00419ba0
test ebx, ebx
jne 0x41ad92
mov rax, qword [rsp + 0x28]
jmp 0x41ad63
add rdx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x41ab60
mov rcx, qword [r13 + 0x50]
movzx r12d, word [rcx]
test r12w, r12w
jne 0x41ab92
movzx r15d, word [r14]
jmp 0x41ac25
add rax, 2
movzx r12d, word [rax]
test r12w, r12w
jne 0x41ab95
jmp 0x41abbb
mov rcx, rbx
mov edx, 0xc5c23e8
call fcn.00417690
mov edx, 0x7e9ba028
mov rcx, rax
call fcn.00419ba0
jmp 0x41ac49
mov rax, qword [r13 + 0x20]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x004296e0]
mov edx, 0x5d0c8628
call fcn.00417690
mov edx, 0x76fd1ee8
mov rcx, rax
call fcn.00419ba0
xor eax, eax
jmp 0x41ad63