joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005cd0
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 0x140005cf8
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 0x140005d1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140005d20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140005d79
test ecx, ecx
jle 0x140005d59
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 0x140005d79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005d79
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140005da0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140005dc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140005dd8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140005df4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005df6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005e32
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140005ece
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140005e6d
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 0x140005eae
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140005ece
cmp rbx, rax
ja 0x140005e80
test rbx, rbx
je 0x140005ece
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140006330
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000635d
xor eax, eax
jmp 0x1400064c9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006397
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140006397
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 0x1400064c9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400064bc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400063da
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 0x140006405
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 0x1400064c1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006474
sub eax, 1
je 0x140006474
cmp eax, 2
jne 0x1400064bc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400064c1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400064a2
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 0x1400064bc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400064c1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400095f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140006900
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400069d3
cmp byte [rcx + 0x71], 0
je 0x1400069d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400069cf
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 0x140006994
sub eax, 1
je 0x140006998
cmp eax, 2
jne 0x1400069cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400095f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400069c6
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 0x1400069cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000697c
xor al, al
jmp 0x14000697c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400095f0
add rsp, 0x60
pop rbx
ret
Function at 0x140008fb0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140019040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
lea r9, [rsp + 0x20]
xor edi, edi
mov ecx, 0xb
xor r8d, r8d
mov dword [rsp + 0x20], edi
xor edx, edx
mov ebx, edi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140009045
test rbx, rbx
je 0x14000900b
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140008ff5
test eax, eax
jns 0x140009066
test rbx, rbx
je 0x14000906b
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000912d
test rbx, rbx
jne 0x140009072
xor eax, eax
jmp 0x14000912d
mov qword [rsp + 0x68], rbp
cmp dword [rbx], edi
jbe 0x140009115
nop
mov eax, edi
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rcx, 0x30
add rdx, rcx
lea rcx, [rsp + 0x28]
add rdx, rbx
call fcn.140006710
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x1400090b3
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000914a
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000910b
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009106
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009193
call fcn.14000964c
inc edi
cmp edi, dword [rbx]
jb 0x140009080
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400095f0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000919f
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000919a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000919a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000964c
mov rax, rdi
jmp 0x140009128
Function at 0x14000a1bc
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x1800f6ae8]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov esi, r9d
mov r15, r8
mov r14, rdx
movdqa xmm0, xmmword [0x1800eed60]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea ebp, [r9 + 0x55c]
movzx ebx, byte [rsp + 0x30]
cmp r9d, ebp
jae 0x18001a725
lea r12, str.need_key
xor r13d, r13d
lea rdi, str.::texRefField
nop dword [rax + rax]
cmp esi, 0x122
ja 0x18001a66c
je 0x18001a648
mov eax, esi
sub eax, 8
je 0x18001a5ee
sub eax, 0xc4
je 0x18001a5e4
cmp eax, 0xd
jne 0x18001a714
mov r8d, 0x107
mov rdx, r14
xor ecx, ecx
call fcn.180096240
test al, al
jne 0x18001a714
mov edi, 0xbf
nop word [rax + rax]
mov eax, edi
sub eax, 0xbd
je 0x18001a725
sub eax, 1
je 0x18001a5cc
cmp eax, 1
jne 0x18001a5ce
lea rdx, [rsp + 0x90]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x18001a5ce
xor bl, bl
dec edi
cmp edi, 0xbc
ja 0x18001a5a0
lea rdi, str.::texRefField
jmp 0x18001a714
mov qword [rsp + 0x40], r14
jmp 0x18001a714
test r14, r14
je 0x18001a5fc
cmp qword [r15], r13
jne 0x18001a714
mov edi, 0x9f
cmp edi, 0x9f
je 0x18001a617
cmp edi, 0x122
je 0x18001a725
jmp 0x18001a62e
mov qword [rsp + 0x20], r12
mov r9d, 0xc8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800a4b60
add edi, 0x83
cmp edi, 0x1a5
jb 0x18001a601
lea rdi, str.::texRefField
jmp 0x18001a714
mov rax, qword [r14]
test rax, rax
je 0x18001a725
cmp dword [rax], 0x7f2bb701
jne 0x18001a725
mov qword [rax + 0xf0], r15
jmp 0x18001a714
mov eax, esi
sub eax, 0x190
je 0x18001a6cf
sub eax, 0xd
je 0x18001a68a
cmp eax, 0xc4
je 0x18001a725
jmp 0x18001a714
mov qword [rsp + 0x20], r13
mov r9d, 0x11
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, r14
call fcn.1800439a0
test al, al
je 0x18001a723
mov dword [rsp + 0x20], 0xaf
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [0x1800f6be0]
lea rcx, [0x1800f6bf0]
call fcn.180019c90
mov ebx, eax
jmp 0x18001a714
mov rax, qword [r15]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
mov r8d, 0x1c
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1800faec8]
call fcn.18007bc10
test eax, eax
je 0x18001a714
mov qword [rsp + 0x20], rdi
mov r9d, 0xc8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800a4b60
add esi, 0xc4
cmp esi, ebp
jae 0x18001a725
jmp 0x18001a550
xor bl, bl
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18001a765
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001a760
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001a760
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d08e4
movzx eax, bl
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1800d1090
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002b490
Capabilities:
Terminate process

Disassembly:
mov r9, rcx
xor r8d, r8d
xor ecx, ecx
mov edx, 0xe4
jmp fcn.180075de0
Function at 0x18003ece0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
lea esi, [r8 + 0x2d5]
mov r14, r9
mov edi, r8d
mov r15, rdx
mov rbp, rcx
cmp r8d, esi
jae 0x18003ee79
mov qword [rsp + 0x50], rbx
mov ebx, dword [rsp + 0x60]
mov qword [rsp + 0x58], r12
lea r12, [0x1800f8ca0]
mov qword [rsp + 0x68], r13
xor r13d, r13d
mov eax, edi
sub eax, 0x29
je 0x18003ee57
sub eax, 0x91
je 0x18003ee4e
sub eax, 0x1e
je 0x18003ee37
sub eax, 0x73
je 0x18003eddf
cmp eax, 0x91
jne 0x18003ee5c
lea r10, [0x1800f90a0]
lea r11d, [rax + 0x6f]
nop dword [rax]
nop word [rax + rax]
mov r9d, 0x8e
mov eax, r9d
sub eax, 0x8d
je 0x18003ed8e
cmp eax, 1
jne 0x18003edc4
mov ebx, dword [r10 - 0x400]
jmp 0x18003edc4
mov rdx, r10
mov r8d, 7
nop word [rax + rax]
mov ecx, ebx
lea rdx, [rdx + 0x400]
mov eax, ebx
shr rcx, 0x18
shl eax, 8
mov ebx, dword [r12 + rcx*4]
xor ebx, eax
mov dword [rdx - 0x400], ebx
sub r8, 1
jne 0x18003eda0
dec r9d
cmp r9d, 0x8c
ja 0x18003ed76
add r10, 4
sub r11, 1
jne 0x18003ed70
jmp 0x18003ee5c
mov r9d, 1
nop word [rax + rax]
mov eax, ebx
mov r8d, r13d
sar ebx, 0x1f
add eax, eax
and ebx, 0x1edc6f41
xor ebx, eax
test r9d, r9d
je 0x18003ee29
mov r10, r12
nop word [rax + rax]
mov edx, dword [r10]
lea eax, [r8 + r9]
xor edx, ebx
lea r10, [r10 + 4]
inc r8d
mov dword [r12 + rax*4], edx
cmp r8d, r9d
jb 0x18003ee10
add r9d, r9d
cmp r9d, 0x100
jb 0x18003edf0
jmp 0x18003ee5c
mov edx, dword [r14]
lea r8, [0x1800deaa4]
mov ecx, dword [r15]
mov r9, rbp
call fcn.1800b1e70
jmp 0x18003ee5c
mov dword [0x1800f8ca0], r13d
jmp 0x18003ee5c
mov ebx, 0x80000000
add edi, 0x91
cmp edi, esi
jb 0x18003ed25
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180042480
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov eax, dword [rsp + 0x50]
lea ebp, [rcx + 8]
mov r14, r9
mov r12, r8
mov rsi, rdx
mov ebx, ecx
cmp ecx, ebp
jae case.0x1800424da.1
mov r13, qword [rsp + 0x78]
lea edi, [rcx - 0x4b]
mov r15, qword [rsp + 0x70]
lea r8, [0x180000000]
cmp edi, 0x13
ja case.0x1800424da.2
mov edx, dword [r8 + rdi*4 + 0x425cc]
add rdx, r8
jmp rdx
mov r9d, dword [r15]
lea rcx, str.set_PcieGpuGen
mov edx, dword [r14]
mov r8, rsi
call fcn.1800d0700
mov eax, dword [r14]
add eax, dword [r15]
jmp 0x18004258d
cmp byte [rsi + 0x3e], 0
je 0x180042547
mov ecx, 0xe8
cmp ecx, 0xe8
je 0x180042534
cmp ecx, 0x5d58
jne 0x180042539
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 0xffffd4e9
add ecx, 0x5c70
cmp ecx, 0xb8e0
jbe 0x180042507
mov edx, 0xd4
mov rcx, rsi
call fcn.1800a71f0
jmp 0x18004258d
mov r9d, dword [r15]
mov r8d, dword [r12]
cmp r9d, r8d
je 0x18004258d
mov rdx, rsi
lea rcx, str.RS_IDbkProc::invoke_convertAddr
call fcn.1800d0700
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor eax, eax
jmp case.0x1800424da.2
mov r9d, dword [r14]
mov r8d, dword [r13]
cmp r9d, r8d
jne 0x1800425b0
lea r8, [0x180000000]
inc ebx
inc edi
cmp ebx, ebp
jb 0x1800424c6
jmp case.0x1800424da.1
mov rdx, rsi
lea rcx, str._s:_Could_not_get_vendor_of_host.
call fcn.1800d0700
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x180045fd0
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x28
mov rdi, rcx
mov rbx, rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, dword [rsp + 0x50]
lea rdx, str._s:_d:
mov rcx, rax
mov r8, rbx
call fcn.1800d06b0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, [rsp + 0x54]
mov rdx, rdi
mov rcx, rax
call fcn.1800d0820
cmp byte [rdi], 0
je 0x180046083
mov rax, 0xffffffffffffffff
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x180046043
cmp byte [rax + rdi - 1], 0x3a
jne 0x180046083
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, [0x1800eb510]
mov rcx, rax
call fcn.1800d06b0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x1800e0ce8]
call fcn.1800d06b0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x18004a170
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov ebp, dword [rsp + 0xb0]
mov rsi, r9
mov ebx, dword [rsp + 0xb0]
mov r12, r8
mov r15, rcx
lea r13d, [rbp + 0xa]
cmp ebp, r13d
jae case.0x18004a1dc.23
mov edi, dword [rsp + 0xb0]
lea r14d, [rbp - 0x91]
lea r8, [0x180000000]
cmp r14d, 0x17
ja case.0x18004a1dc.4
mov ecx, dword [r8 + r14*4 + 0x4a390]
add rcx, r8
jmp rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsi]
mov qword [rax + 0x20], rcx
jmp case.0x18004a1dc.4
mov eax, dword [rdx]
lea r8, [rsp + 0xb0]
mov dword [rsp + 0xb0], eax
lea rdx, [rsp + 0x38]
mov rax, qword [r12]
xor ecx, ecx
mov dword [rsp + 0x20], 0x3e
mov r9, qword [rax + 0x38]
mov qword [rsp + 0x38], rax
call fcn.180085210
mov rcx, rax
mov qword [rsp + 0x40], rax
movzx eax, word [rsi]
mov word [rcx + 0xc], ax
jmp 0x18004a342
mov ebx, 0x7f2bb74e
jmp case.0x18004a1dc.4
mov rax, qword [rsp + 0x30]
mov qword [r12], rax
jmp case.0x18004a1dc.4
mov rax, qword [r12]
mov rcx, qword [rax + 0x20]
test byte [rcx + 0x60], 0x80
je case.0x18004a1dc.4
mov rcx, qword [rsp + 0x40]
movzx eax, word [rsi + 2]
mov word [rcx + 0x2c], ax
jmp case.0x18004a1dc.4
lea r8, [rsp + 0x30]
mov dword [rsp + 0xb0], 0x28
mov edx, 0xf
lea rcx, [rsp + 0xb0]
call fcn.180061970
mov rdi, rax
jmp 0x18004a342
mov rax, qword [r12]
cmp dword [rax], 0x7f2bb70c
je case.0x18004a1dc.4
mov eax, 0x7f2bb70c
jmp 0x18004a35a
test edi, edi
je 0x18004a2f9
mov esi, 0x6b
nop
mov eax, esi
sub eax, 0x6b
je 0x18004a2d5
cmp eax, 1
jne 0x18004a2e2
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.falsestart_rsa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
inc esi
cmp esi, 0x6d
jb 0x18004a2c0
mov rsi, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rdx]
mov qword [rax + 0x18], rcx
jmp case.0x18004a1dc.4
mov rax, qword [r12]
xor r8d, r8d
mov r9, qword [rax + 0x18]
test r9, r9
je case.0x18004a1dc.4
mov r10, qword [rax + 0x28]
xor ecx, ecx
mov r11d, dword [rdx]
lea rax, [rcx + rcx*2]
cmp dword [r10 + rax*8], r11d
lea rdx, [r10 + rax*8]
jne 0x18004a337
mov rax, qword [r15]
cmp qword [rdx + 0x10], rax
je 0x18004a372
inc r8d
mov ecx, r8d
cmp rcx, r9
jb 0x18004a320
mov rdx, qword [rsp + 0x98]
inc ebp
inc r14d
cmp ebp, r13d
jb 0x18004a1c0
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rcx + rcx*2]
xor eax, eax
mov rcx, qword [rsi]
mov qword [r10 + rdx*8 + 8], rcx
mov rcx, qword [r12]
mov dword [rcx + 0x20], 0
jmp 0x18004a35a
Function at 0x18004f710
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov eax, dword [rsp + 0x78]
lea ebp, [rdx + 0x1cc]
mov r14, r8
mov esi, edx
mov r15, rcx
cmp edx, ebp
jae 0x18004f8d0
mov r10d, dword [rsp + 0x78]
lea r12, [0x1800f6ca0]
xor r13d, r13d
nop dword [rax]
mov ecx, esi
sub ecx, 0x3d
je 0x18004f79f
sub ecx, 0x85
je 0x18004f78d
sub ecx, 0x5c
je 0x18004f7be
sub ecx, 6
je 0x18004f777
cmp ecx, 0x5c
je 0x18004f8d0
jmp 0x18004f89c
mov rax, qword [r14]
xor edx, edx
mov rcx, qword [rax + 0x20]
mov eax, dword [r15]
dec eax
div dword [rcx + 0x28]
jmp 0x18004f89c
mov r10d, 1
mov dword [0x1800f6ca0], r13d
jmp 0x18004f89c
mov ecx, 0xc3
cmp ecx, 0xc3
je 0x18004f8a9
add ecx, 0x9a
cmp ecx, 0x15d
jb 0x18004f7a4
mov edi, 0x80
mov r11d, 0x4a
nop dword [rax]
cmp r11d, 0x4a
jne 0x18004f81a
mov ecx, r10d
lea ebx, [rdi + rdi]
and cl, 1
neg cl
mov ecx, r10d
sbb edx, edx
shr ecx, 1
and edx, 0x82f63b78
mov r10d, edx
xor r10d, ecx
mov ecx, r13d
nop word [rax + rax]
mov edx, ecx
mov r9d, dword [r12 + rdx*4]
lea edx, [rcx + rdi]
xor r9d, r10d
add ecx, ebx
mov dword [r12 + rdx*4], r9d
cmp ecx, 0x100
jb 0x18004f800
add r11d, 0x378
cmp r11d, 0x378
jbe 0x18004f7d0
shr edi, 1
jne 0x18004f7c3
lea rbx, [0x1800f70a0]
mov edi, 0x100
nop word [rax + rax]
mov r11d, 0xa7
cmp r11d, 0xa7
jne 0x18004f885
mov r10d, dword [rbx - 0x400]
mov r8, rbx
mov r9d, 7
nop
mov ecx, r10d
movzx edx, r10b
shr ecx, 8
lea r8, [r8 + 0x400]
mov r10d, dword [r12 + rdx*4]
xor r10d, ecx
mov dword [r8 - 0x400], r10d
sub r9, 1
jne 0x18004f860
add r11d, 0x27
cmp r11d, 0xce
jb 0x18004f846
add rbx, 4
sub rdi, 1
jne 0x18004f840
add esi, 0x5c
cmp esi, ebp
jb 0x18004f750
jmp 0x18004f8d0
mov rax, qword [r14]
lea r8, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x88], rax
mov rcx, r15
mov qword [rsp + 0x20], r13
lea edx, [r9 + 0x5f]
call fcn.18004f8f0
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret