joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4033d7
Capabilities:
Check http status code
Create http request

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1b0
lea rax, [0x0040a128]
mov r9, rax
lea rax, str.https:__discord.com_api_v10_entitlements_gift_codes__s
mov r8, rax
movabs rax, 0x100
mov r11, rax
lea rax, [rbp - 0x100]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll__snprintf
mov eax, 0
mov qword [rsp + 0x20], rax
movabs rax, 0
mov r9, rax
movabs rax, 0
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, str.MyApp
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.wininet.dll_InternetOpenA
mov qword [rbp - 0x108], rax
mov rax, qword [rbp - 0x108]
cmp rax, 0
jne 0x403475
call fcn.00401000
mov eax, 1
jmp 0x4036cd
movabs rax, 0
mov qword [rsp + 0x28], rax
mov eax, 0
mov qword [rsp + 0x20], rax
mov eax, 0
mov r9, rax
movabs rax, 0
mov r8, rax
lea rax, [rbp - 0x100]
mov r11, rax
mov rax, qword [rbp - 0x108]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.wininet.dll_InternetOpenUrlA
mov qword [rbp - 0x110], rax
mov rax, qword [rbp - 0x110]
cmp rax, 0
jne 0x403550
call sub.kernel32.dll_GetLastError
mov dword [rbp - 0x114], eax
mov eax, dword [rbp - 0x114]
cmp eax, 0x194
jne 0x403501
mov eax, 1
jmp 0x4036cd
mov eax, dword [rbp - 0x114]
cmp eax, 0x2f0c
je 0x403525
mov eax, dword [rbp - 0x114]
cmp eax, 0x2f0d
jne 0x40352f
mov eax, 2
jmp 0x4036cd
call fcn.00401000
mov rax, qword [rbp - 0x108]
mov r10, rax
mov rcx, r10
call sub.wininet.dll_InternetCloseHandle
mov eax, 1
jmp 0x4036cd
mov eax, 0
mov dword [rbp - 0x118], eax
mov eax, 4
mov dword [rbp - 0x11c], eax
movabs rax, 0
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x11c]
mov r9, rax
lea rax, [rbp - 0x118]
mov r8, rax
mov eax, 0x20000013
mov r11, rax
mov rax, qword [rbp - 0x110]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 0
jne 0x4035e2
call fcn.00401000
mov rax, qword [rbp - 0x110]
mov r10, rax
mov rcx, r10
call sub.wininet.dll_InternetCloseHandle
mov rax, qword [rbp - 0x108]
mov r10, rax
mov rcx, r10
call sub.wininet.dll_InternetCloseHandle
mov eax, 1
jmp 0x4036cd
mov rax, qword [rbp - 0x110]
mov r10, rax
mov rcx, r10
call sub.wininet.dll_InternetCloseHandle
mov rax, qword [rbp - 0x108]
mov r10, rax
mov rcx, r10
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [rbp - 0x118]
cmp eax, 0xc8
jne 0x403622
mov eax, 0
jmp 0x4036cd
mov eax, dword [rbp - 0x118]
cmp eax, 0x194
jne 0x40363e
mov eax, 1
jmp 0x4036cd
mov eax, dword [rbp - 0x118]
cmp eax, 0x1ad
jne 0x40365a
mov eax, 2
jmp 0x4036cd
mov eax, dword [rbp - 0x118]
mov r9, rax
lea rax, str.Unexpected_HTTP_status_code:__lu
mov r8, rax
movabs rax, 0x64
mov r11, rax
lea rax, [rbp - 0x180]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll__snprintf
mov eax, 0x10
mov r9, rax
lea rax, str.Unexpected_Error
mov r8, rax
lea rax, [rbp - 0x180]
mov r11, rax
movabs rax, 0
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_MessageBoxA
mov eax, 1
jmp 0x4036cd
leave
ret
Function at 0x405bc7
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x68]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [rbp - 0x2c]
and eax, 1
cmp eax, 0
je 0x405c00
movzx eax, word [rbp - 0x28]
mov dword [rbp - 0x7c], eax
jmp 0x405c08
mov eax, 0xa
mov dword [rbp - 0x7c], eax
movabs rax, 0
mov qword [rbp - 0x70], rax
call sub.kernel32.dll_GetCommandLineA
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x10]
cmp rax, 0
je 0x405c4a
mov rax, qword [rbp + 0x10]
mov r11, rax
mov rax, qword [rbp - 0x78]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strstr
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x70]
cmp rax, 0
jne 0x405c73
lea rax, [0x00408cc0]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll__strdup
mov qword [rbp - 0x70], rax
jmp 0x405ca4
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
cmp rax, rcx
jbe 0x405ca4
mov rax, qword [rbp - 0x70]
add rax, 0xffffffffffffffff
movsx eax, byte [rax]
cmp eax, 0x22
jne 0x405ca4
mov rax, qword [rbp - 0x70]
add rax, 0xffffffffffffffff
mov qword [rbp - 0x70], rax
mov eax, 0x30000
mov r11, rax
mov eax, 0x10000
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll__controlfp
mov rax, qword [sym.imp.msvcrt.dll___argc]
mov rcx, qword [sym.imp.msvcrt.dll___argv]
mov rdx, qword [sym.imp.msvcrt.dll__environ]
mov rdx, qword [rdx]
mov r8, rdx
mov rcx, qword [rcx]
mov r11, rcx
mov eax, dword [rax]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00405ad0
movabs rax, 0
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [rbp - 0x7c]
mov r9, rcx
mov rcx, qword [rbp - 0x70]
mov r8, rcx
movabs rcx, 0
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.004051d7
mov dword [rbp - 0x80], eax
call fcn.00405b64
mov eax, dword [rbp - 0x80]
leave
ret
Function at 0x405bd2
Capabilities:
Accept command line arguments

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x68]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetStartupInfoA
mov eax, dword [rbp - 0x2c]
and eax, 1
cmp eax, 0
je 0x405c00
movzx eax, word [rbp - 0x28]
mov dword [rbp - 0x7c], eax
jmp 0x405c08
mov eax, 0xa
mov dword [rbp - 0x7c], eax
movabs rax, 0
mov qword [rbp - 0x70], rax
call sub.kernel32.dll_GetCommandLineA
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x10]
cmp rax, 0
je 0x405c4a
mov rax, qword [rbp + 0x10]
mov r11, rax
mov rax, qword [rbp - 0x78]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strstr
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x70]
cmp rax, 0
jne 0x405c73
lea rax, [0x00408cc0]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll__strdup
mov qword [rbp - 0x70], rax
jmp 0x405ca4
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
cmp rax, rcx
jbe 0x405ca4
mov rax, qword [rbp - 0x70]
add rax, 0xffffffffffffffff
movsx eax, byte [rax]
cmp eax, 0x22
jne 0x405ca4
mov rax, qword [rbp - 0x70]
add rax, 0xffffffffffffffff
mov qword [rbp - 0x70], rax
mov eax, 0x30000
mov r11, rax
mov eax, 0x10000
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll__controlfp
mov rax, qword [sym.imp.msvcrt.dll___argc]
mov rcx, qword [sym.imp.msvcrt.dll___argv]
mov rdx, qword [sym.imp.msvcrt.dll__environ]
mov rdx, qword [rdx]
mov r8, rdx
mov rcx, qword [rcx]
mov r11, rcx
mov eax, dword [rax]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00405ad0
movabs rax, 0
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_GetModuleHandleA
mov ecx, dword [rbp - 0x7c]
mov r9, rcx
mov rcx, qword [rbp - 0x70]
mov r8, rcx
movabs rcx, 0
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.004051d7
mov dword [rbp - 0x80], eax
call fcn.00405b64
mov eax, dword [rbp - 0x80]
leave
ret
Function at 0x14000c4a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x14000c4d0
mov rbx, qword [rsp + 0x40]
mov rdi, 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__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14000c4f8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000c4fa
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000c55b
test ecx, ecx
jle 0x14000c533
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000c55b
cmp qword [rdi + 0x80], 0
je 0x14000c55b
lfence
mov r9, qword [rdi + 0x80]
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
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov ebp, 0x28e5b172
mov esi, 0xb6963dd4
add bh, bh
rcl byte [rax + rdi - 0x15a8f895], 0xa7
leave
push rax
invalid
Function at 0x14000c580
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 0x14000c5b1
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.0x14000c5cb
lfence
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 + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000c5ee
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000c5f0
xor ecx, ecx
mov qword [rsp + 0x30], rbx
movsxd rax, ecx
test ecx, ecx
je 0x14000c627
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000c6c4
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000c662
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
mov rbx, rdi
cmp rdi, 0xfff
jbe 0x14000c6a1
nop
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]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x14000c6c4
cmp rdi, rax
ja 0x14000c670
test rbx, rbx
je 0x14000c6c4
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rdi, rbx
sub rdi, rax
sub rbp, rdi
mov rax, rbp
lfence
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
invalid
Function at 0x14000cb10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000cb3d
xor eax, eax
jmp 0x14000cc95
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14000cb68
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14000cb68
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14000cc95
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000cc88
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000cbab
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x14000cbd6
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 0x14000cc8d
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 0x14000cc45
sub eax, 1
je 0x14000cc45
cmp eax, 2
jne 0x14000cc88
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 0x14000cc8d
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000cc76
lfence
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 0x14000cc88
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x14000cc8d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001eee0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000e9e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000eabd
cmp byte [rcx + 0x71], 0
je 0x14000eabd
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [case.0x14001cf03.0]
cmp eax, 0xffffffff
je 0x14000eab9
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 0x14000ea7b
sub eax, 1
je 0x14000ea7f
cmp eax, 2
jne 0x14000eab9
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001eee0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000eab0
lfence
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 0x14000eab9
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000ea63
xor al, al
jmp 0x14000ea63
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001eee0
add rsp, 0x60
pop rbx
ret

Function at 0x14001ccc0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x458
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x478]
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
lea rcx, [0x140024c78]
lea rbx, [0x140022c1c]
cmovne rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [rsp + 0x470]
lea r9, str.__wt_____
mov qword [rsp + 0x28], rbx
lea rdx, str.__5d___s_s_s
mov qword [rsp + 0x20], rcx
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001e870
call fcn.14001cbf0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x240]
mov qword [rsp + 0x20], rcx
mov r9, 0xffffffffffffffff
mov rcx, qword [rax]
mov r8d, 0xff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnwprintf_s]
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14001eee0
add rsp, 0x458
pop rdi
pop rbx
ret
Function at 0x140154b90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r8, qword [0x140196260]
mov eax, 0xffffffff
test edx, edx
je 0x140154c54
mov r9d, edx
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
mov ecx, eax
and cl, 1
neg cl
sbb edx, edx
shr eax, 1
and edx, 0xedb88320
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
neg al
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
neg al
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor eax, edx
sub r9, 1
jne 0x140154bb0
not eax
ret
Function at 0x14015b094
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14015b0de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14015b0de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14015b0de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14015b0de
cmp dword [rcx + 0x84], 0xe
jbe 0x14015b0de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14015b0e0
xor al, al
add rsp, 0x28
ret

Function at 0x14015ea98
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14015e903
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14015e903
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14015e903
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14015e903
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14015e903
cmp dword [rcx + 0x84], 0xe
jbe 0x14015e903
cmp dword [rcx + 0xf8], 0
je 0x14015e903
mov ecx, ebx
call fcn.14015e9b4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14015e790
nop
cmp dword [rbp + 0x20], 0
je 0x14015e951
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14015e95c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14015e894
Function at 0x14016f3b0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14016f437
mov rsi, rbx
cmp word [rax], bp
je 0x14016f3f6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14016f3e0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14016f3dc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14016cc38
mov rdi, rax
test rax, rax
je 0x14016f424
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14015c820
mov rbp, rdi
xor ecx, ecx
call fcn.14016b008
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140172fac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140172fc2
mov al, 1
jmp 0x140173022
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140172fd3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140173020
mov ecx, dword [rcx + 0x18]
nop
call fcn.14016fb54
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140173020
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140173020
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140173020
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140173022
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1401757e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140175808
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140175808
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000b030
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400c7338]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ebx, edx
mov rdi, rcx
xor esi, esi
lea rdx, [rsp + 0x58]
mov ecx, 0x20019
mov qword [rsp + 0x58], rsi
call fcn.1400244d0
test eax, eax
jne 0x14000b164
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
lea rdx, [rdi + 0x7f8]
mov qword [rsp + 0x38], rax
or ebx, 0x2001f
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000b164
movzx eax, word [0x1400a5760]
lea r9d, [rsi + 0x10]
movups xmm0, xmmword [str.Recovery]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
mov word [rsp + 0x78], ax
xor edx, edx
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], esi
je 0x14000b164
mov rcx, qword [rdi + 8]
lea rax, str.Safe_mode_is_ON._Optional_plugins_will_not_be_loaded
lea r9d, [rsi + 2]
mov qword [rsp + 0x20], rax
mov r8d, 0x145
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
call fcn.14001c5c0
mov al, 1
jmp 0x14000b166
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140035de0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000b5a0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400c7338]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [str.ServiceAutoStart]
movzx eax, word [0x1400a57c0]
mov ebx, edx
movups xmm1, xmmword [0x1400a57b0]
mov rsi, rcx
mov word [rsp + 0x80], ax
lea rdi, [rcx + 0x7f8]
xor ebp, ebp
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov ecx, 0x20019
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
call fcn.1400244d0
test eax, eax
jne 0x14000b69d
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rbp
or ebx, 0x20006
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov rdx, rdi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000b6a2
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
lea r9d, [rbp + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x50], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14000b6f6
jmp 0x14000b6a2
mov ebx, 5
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x38], ebx
lea rbp, str.Failed_to_save_auto_start_flag__ls_to_registry_for_service__ls._Error__ld
mov qword [rsp + 0x30], rdi
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov qword [rsp + 0x28], rax
mov r9d, 1
mov r8d, 0x169
mov qword [rsp + 0x20], rbp
call fcn.14001c5c0
mov r9, rdi
mov dword [rsp + 0x20], ebx
lea r8, [rsp + 0x60]
mov rdx, rbp
mov ecx, 0x13
call fcn.140005700
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140035de0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret