joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007f30
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 0x140007f58
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 0x140007f7e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140007f80
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140007fd9
test ecx, ecx
jle 0x140007fb9
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 0x140007fd9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140007fd9
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 0x140008000
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 0x140008022
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140008038
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 0x140008054
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140008056
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140008092
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 0x14000812e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400080cd
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 0x14000810e
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 0x14000812e
cmp rbx, rax
ja 0x1400080e0
test rbx, rbx
je 0x14000812e
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 0x140008560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000858d
xor eax, eax
jmp 0x1400086ea
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400085b8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400085b8
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 0x1400086ea
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400086dd
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400085fb
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 0x140008626
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 0x1400086e2
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 0x140008695
sub eax, 1
je 0x140008695
cmp eax, 2
jne 0x1400086dd
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 0x1400086e2
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400086c3
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 0x1400086dd
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400086e2
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000fde0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140008cd0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140008da3
cmp byte [rcx + 0x71], 0
je 0x140008da3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140008d9f
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 0x140008d64
sub eax, 1
je 0x140008d68
cmp eax, 2
jne 0x140008d9f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140008d96
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 0x140008d9f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140008d4c
xor al, al
jmp 0x140008d4c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x60
pop rbx
ret
Function at 0x14000dee0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14001a010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 8
call fcn.1400100a4
lea rcx, [0x14000dd60]
mov r9, rax
lea r8, [0x14000df80]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000df5e
call fcn.140007590
cmp dword [rsp + 0x38], 0
je 0x14000df4a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000fde0
add rsp, 0x58
ret
mov ecx, 6
mov dword [rsp + 0x38], 0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14000fc08
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000fc8c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14000fc8c
dec r8
sub rdx, 1
jne 0x14000fc72
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140010a04
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x60
cmp dword [rcx + 0x110], 0
mov rbx, rcx
je 0x14000265d
cmp dword [rcx + 0x104], 0
je 0x140002665
mov rax, qword [rcx + 0x180]
sub rax, qword [rcx + 0x178]
sar rax, 5
cmp rax, 1
jbe 0x140002665
lea rax, [rsp + 0x70]
mov r9, rcx
lea r8, [0x140002ba0]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
call fcn.1401af134
mov qword [rbx + 0x148], rax
test rax, rax
je 0x14000265d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rcx + 0x158]
test rcx, rcx
je 0x14000265d
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
call qword [rax + 0x30]
mov rcx, qword [rbx + 0x158]
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov edx, dword [rsp + 0x70]
mov rcx, qword [rbx + 0x158]
mov r10, qword [rcx]
mov eax, edx
xor r8d, r8d
mov qword [rsp + 0x50], r8
neg eax
xor r9d, r9d
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0xec]
mov dword [rsp + 0x38], edx
mov rdx, qword [rbx + 0x118]
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0xe8]
mov dword [rsp + 0x20], eax
call qword [r10 + 0x40]
test eax, eax
jne 0x14000265d
mov rcx, qword [rbx + 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add rsp, 0x60
pop rbx
ret

Function at 0x1400038d0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
xor sil, sil
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x50], 4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
test eax, eax
jne 0x14000393c
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x48]
mov edx, 0x20000013
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
mov eax, dword [rsp + 0x48]
je 0x14000393c
mov ecx, 0x2eee
cmp eax, 0x191
cmove eax, ecx
mov dword [rbx], eax
cmp eax, 0xc8
je 0x140003974
test eax, eax
je 0x140003974
mov edx, eax
mov rcx, rdi
call fcn.140003830
movzx ecx, sil
mov edx, 1
test al, al
cmovne ecx, edx
movzx eax, cl
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
movzx eax, sil
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140003c40
Capabilities:
Connect to http server
Create http request

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rdi, rcx
xor ebp, ebp
mov qword [rax - 0x38], rbp
mov dword [rax - 0x40], 0x80
mov dword [rax - 0x48], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbp + 3]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 0xc8], rax
test rax, rax
jne 0x140003c96
xor al, al
jmp 0x140003dcd
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__.NET_CLR_1.0.3705__Autodesk_senddmp_1.0_
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi + 0x18], rax
test rax, rax
je 0x140003c8f
call fcn.14002d140
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140003cd7
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
call fcn.14002d140
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140003d08
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x70], 0x1000
lea rax, [rdi + 0xc0]
lea r9, [rdi + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [rdi + 0x40]
lea rdx, [rsp + 0x70]
mov rcx, qword [rdi + 8]
call fcn.14003e510
test eax, eax
je 0x140003d97
mov ecx, 0x1bb
mov r8d, 0x50
cmp byte [rdi], 0
cmovne r8w, cx
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], 3
lea r9, [0x14024561c]
mov qword [rsp + 0x20], r9
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140003d97
mov dil, 1
jmp 0x140003d9a
xor dil, dil
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140003daf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x78]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140003dc9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140004fe3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140005029
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140005024
nop
cmp rbx, rcx
jae 0x140005029
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x140005010
cmp rbx, rcx
jb 0x14000502d
xor eax, eax
jmp 0x140005039
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140012d80
Capabilities:
Delete file

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
movzx edi, r9b
mov r14, r8
mov r15, rdx
mov rbx, rcx
call fcn.14003da88
mov rsi, qword [rax + 8]
cmp byte [rsi + 0x2a1], 0
jne 0x140012dd1
mov rcx, qword [rbx + 0x60]
cmp dword [rcx - 0x10], 0
je 0x140012dd1
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test dil, dil
je 0x140012df0
lea rcx, [rsi + 0x1c0]
lea r8, str._big.dmp
lea rdx, str..dmp
call fcn.140015c60
lea rax, [0x140248ad0]
lea rdx, str.Normal
test dil, dil
cmovne rdx, rax
lea rcx, [rbx + 0x78]
or rdi, 0xffffffffffffffff
xor ebp, ebp
test rdx, rdx
jne 0x140012e18
mov eax, ebp
jmp 0x140012e29
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], bp
jne 0x140012e20
mov r8d, eax
call fcn.1400016b0
call fcn.14002d140
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140012e50
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
call fcn.14002d140
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140012e81
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
call fcn.14002d140
mov rcx, rax
test rax, rax
setne bpl
test ebp, ebp
jne 0x140012eb1
mov ecx, 0x80004005
call fcn.140001910
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140012450
test al, al
jne 0x140012ee2
mov ebx, 0x80004005
jmp 0x140012f3f
cmp byte [rsi + 0x2a2], 0
je 0x140012ef7
mov rcx, rbx
call fcn.140012fb0
mov ebx, eax
jmp 0x140012f3f
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14001ff70
nop
mov rax, qword [rax]
mov rcx, rbx
cmp dword [rax - 0x10], 0
jne 0x140012f18
call fcn.140012fb0
jmp 0x140012f23
mov r8, r14
mov rdx, r15
call fcn.140013460
mov ebx, eax
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140012f3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140012f59
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140012f73
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140012f8c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140013d60
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140298ad8]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x3c], edi
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rax, str.64_bit
lea r8, str.32_bit
cmp word [rsp + 0x50], 9
cmove r8, rax
lea rcx, [rbx + 0xa0]
lea rdx, [0x140248cf0]
call fcn.140005d60
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x38], edi
mov eax, 0x20
mov word [rsp + 0x30], ax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x34]
mov rcx, rbx
call fcn.140013f80
test eax, eax
jns 0x140013e04
mov eax, 0x80004005
jmp 0x140013f5b
movzx ecx, word [rsp + 0x30]
call fcn.1401b0c7c
movsx edx, al
mov word [rsp + 0x30], dx
mov r8d, dword [rsp + 0x34]
mov ecx, r8d
shl ecx, 8
mov r9d, dword [rsp + 0x38]
add ecx, r9d
shl ecx, 8
mov dword [rbx + 0x16c], ecx
lea eax, [rdx - 0x61]
cmp ax, 0x19
ja 0x140013e49
movzx eax, dx
add ecx, 0xffffffa0
add ecx, eax
mov dword [rbx + 0x16c], ecx
lea rcx, [rbx + 0xf8]
cmp dx, 0x20
jne 0x140013e64
lea rdx, str._d._d
call fcn.140005d60
jmp 0x140013e77
movzx eax, dx
mov dword [rsp + 0x20], eax
lea rdx, str._d._d_c
call fcn.140005d60
mov eax, dword [rbx + 0x174]
mov dword [rbx + 0x168], eax
mov dword [rsp + 0x80], 0x114
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, 1
sete al
test al, al
je 0x140013f51
cmp dword [rsp + 0x90], 2
jne 0x140013f51
cmp dword [rsp + 0x84], 6
jne 0x140013f51
mov dword [rbx + 0x168], edi
cmp dword [rbx + 0x170], 9
ja 0x140013f0e
lea rcx, [rbx + 0x128]
mov r8d, 3
lea rdx, [rsp + 0x40]
call fcn.140016030
nop
mov edi, 1
mov dword [rsp + 0x3c], edi
lea rdx, [0x140248d18]
mov rcx, qword [rax]
call fcn.1401afe38
test eax, eax
je 0x140013f0e
xor sil, sil
jmp 0x140013f11
mov sil, 1
test dil, 1
je 0x140013f30
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140013f30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x140013f51
cmp byte [rbx + 0x179], 0
je 0x140013f51
cmp byte [rbx + 0x178], 0
je 0x140013f51
mov dword [rbx + 0x168], 1
mov rcx, rbx
call fcn.140014c50
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401aef10
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001e850
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, qword [rcx + 0x3b0]
mov rbx, rcx
cmp dword [rdx - 0x10], 0
je 0x14001e928
movzx r9d, byte [rcx + 0x3ba]
lea r8, str.IncludePersonalData
call fcn.1400251f0
mov r9, qword [rbx + 0x340]
mov rdx, qword [rbx + 0x3b0]
lea r8, str.Name
call fcn.140024e30
mov r9, qword [rbx + 0x350]
mov rdx, qword [rbx + 0x3b0]
lea r8, str.Email
call fcn.140024e30
mov r9, qword [rbx + 0x348]
mov rdx, qword [rbx + 0x3b0]
lea r8, str.Phone
call fcn.140024e30
mov r9, qword [rbx + 0x358]
mov rdx, qword [rbx + 0x3b0]
lea r8, str.Subscription
call fcn.140024e30
cmp byte [rbx + 0x385], 0
je 0x14001e909
mov r9, qword [rbx + 0x360]
mov rdx, qword [rbx + 0x3b0]
lea r8, str.SubscriptionMacID
call fcn.140024e30
mov r9d, dword [rbx + 0x380]
mov rdx, qword [rbx + 0x3b0]
lea r8, str.CanContact
add rsp, 0x20
pop rbx
jmp fcn.1400251f0
add rsp, 0x20
pop rbx
ret