joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c3ad0
Capabilities:
Read http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14015e7c8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r12, rdx
mov r14, rcx
mov rdi, qword [r8]
mov rbx, qword [rdi + 0x58]
mov r8, qword [rbx + 8]
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x58]
call fcn.14005a260
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
xor r15d, r15d
mov qword [rdi + 0x60], r15
mov dword [rbp - 0x40], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov edx, dword [rbp - 0x40]
test rdx, rdx
jne 0x1400c3b71
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r15w
jmp 0x1400c3b7d
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.140090950
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rbx, qword [rbp - 0x30]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov r15d, eax
cmp rbx, qword [rbp - 0x38]
je 0x1400c3cda
cmp dword [rdi], 0x22
je 0x1400c3ce7
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c3c2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3c2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c3c2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f0d4
mov rax, qword [rsi]
mov word [rax + 0x88], r15w
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1400c38e0
nop
mov rcx, qword [rsi]
add rcx, 0x90
cmp rcx, rax
je 0x1400c3c6d
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400c3c63
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
call fcn.140005830
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c3cb0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c3cab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c3cab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008f0d4
mov rdx, qword [rsi]
add rdx, 0x58
mov rcx, r12
call fcn.1400a4650
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c7400
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x1800027d0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a8c], 0xa
jl 0x180002802
mov eax, dword [0x180020a90]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002802
nop word cs:[rax + rax]
jmp 0x180002800
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a78]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a74], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a94]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a98], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800028d8
mov rsi, r10
test r8b, r8b
je 0x1800028f0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002870
test r9b, r9b
je 0x180002900
sub rsi, rcx
je 0x1800028d4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800028d0
test ebp, ebp
jne 0x1800028d0
add rbx, 1
cmp rsi, rbx
jne 0x180002890
jmp 0x1800028d4
test ebp, ebp
jne 0x18000285c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800028f0
jmp 0x180002900
Function at 0x1800024e0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x180002512
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002512
nop word cs:[rax + rax]
jmp 0x180002510
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800025e8
mov rsi, r10
test r8b, r8b
je 0x180002600
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002580
test r9b, r9b
je 0x180002610
sub rsi, rcx
je 0x1800025e4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800025e0
test ebp, ebp
jne 0x1800025e0
add rbx, 1
cmp rsi, rbx
jne 0x1800025a0
jmp 0x1800025e4
test ebp, ebp
jne 0x18000256c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180002600
jmp 0x180002610
Function at 0x2fc4f31f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4f42b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4f3bf2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc518108]
test eax, eax
je 0x2fc4f3c8a
lea rax, [0x2fc5180e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc518110]
mov qword [rbp - 8], rax
jmp 0x2fc4f3c6e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4f3c62
cmp qword [rbp - 0x10], 0
je 0x2fc4f3c62
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4f3c28
lea rax, [0x2fc5180e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4f3c8b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4f3d90
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4f3db8
mov eax, 0
jmp 0x2fc4f3e06
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4f3de1
mov eax, 0
jmp 0x2fc4f3e06
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4f3e01
mov eax, 0
jmp 0x2fc4f3e06
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4f3e0c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4f3e8a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4f3e81
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4f3e81
mov rax, qword [rbp - 8]
jmp 0x2fc4f3e9f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4f3e54
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x10], 0
jne 0x140001e5a
jmp 0x140001ffc
mov r9d, 1
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x20]
mov edx, 0x30
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0x60]
movzx eax, word [rax]
mov r8d, 5
mov edx, eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140001150
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x140001eed
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x40]
call fcn.140001110
movzx eax, word [rax]
cmp dword [rsp + 0x20], eax
jge 0x140001fb1
cmp dword [rsp + 0x20], 0
jne 0x140001f26
mov edx, 5
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x28], rax
jmp 0x140001f3b
mov edx, 2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001f6f
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov rcx, qword [rsp + 0x30]
cmp eax, dword [rcx + 0x14]
je 0x140001f6f
mov edx, 2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x28], rax
jmp 0x140001f3b
cmp qword [rsp + 0x28], 0
jne 0x140001f79
jmp 0x140001fb1
mov r9d, 1
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x20]
mov edx, 0x30
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.1400012b0
mov qword [rsp + 0x30], rax
jmp 0x140001ee3
mov rcx, qword [rsp + 0x38]
call fcn.140002020
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x20], 0
add rsp, 0x58
ret
Function at 0x140003f60
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x20], 0x114
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 5
ja 0x140003fa1
cmp dword [rsp + 0x24], 5
jne 0x140003fb0
cmp dword [rsp + 0x28], 1
jbe 0x140003fb0
call fcn.140003e60
movzx ecx, ax
call fcn.140003bd0
jmp 0x140003fc0
call fcn.140003e60
movzx eax, ax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14000ac90
add rsp, 0x158
ret

Function at 0x140004ae0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x34], operator
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareEASEUSEaseUS_Disk_Copy
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004b7b
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Language
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400048c0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x1a0]
call fcn.140004200
lea rcx, [rsp + 0x48]
call fcn.140004ab0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14000ac90
add rsp, 0x190
pop rdi
ret
Function at 0x140008440
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x510
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x500], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rcx, [rsp + 0xe0]
call fcn.140002820
lea rax, [rsp + 0x2f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x528]
mov qword [rsp + 0x28], rax
lea rax, str.TBSimpleWebBrowser.exe
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe0]
lea r8, str._s_s__s
mov edx, 0x104
lea rcx, [rsp + 0x2f0]
call fcn.1400091c0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x2f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000854f
jmp 0x140008559
xor eax, eax
test eax, eax
jne 0x140008464
mov eax, 1
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14000ac90
add rsp, 0x510
pop rdi
ret

Function at 0x1400092d0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x12c8
call fcn.14000bd90
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + CDockSite::FixupVirtualRects], rax
xor eax, eax
mov word [0x140016d40], ax
mov word [0x140016f48], ax
lea rcx, str.Options
call fcn.140003430
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140003290
nop
cmp qword [rsp + 0x30], 0
je 0x140009446
lea rcx, [rsp + 0x30]
call fcn.140003260
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x28]
test eax, eax
jne 0x140009446
lea rcx, [rsp + 0x30]
call fcn.140003260
mov r8, qword [rax]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [r8 + 0x40]
test eax, eax
jne 0x140009446
mov rcx, qword [rsp + 0x12a0]
mov rax, rcx
shr rax, 0xb
and eax, 0x1f
lea rdx, [0x1400101d0]
cmp dword [rdx + rax*4], 0
je 0x1400093e7
mov edx, 0x104
lea rcx, [0x140016f48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx eax, byte [rsp + 0x12a7]
movzx ecx, byte [rsp + 0x12a6]
movzx r9d, word [rsp + 0x12a4]
mov r8d, dword [rsp + 0x12a0]
shr r8d, 0xb
and r8d, 0x1f
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str.Eu__ld__.4d_.2d_.2d_.OD
lea rcx, [0x140016d40]
call fcn.14000a2e0
jmp 0x14000943c
and ecx, 0xf800
cmp ecx, 0x800
je 0x14000943c
call fcn.140003360
test rax, rax
je 0x14000942a
mov r10, qword [rax]
mov ecx, dword [rsp + 0x12a0]
shr ecx, 0xb
and ecx, 0x1f
mov dword [rsp + 0x20], ecx
lea r9, str.Trial:_tbOption.bReleaseVer___ld_n
mov edx, 1
lea r8d, [rdx + 3]
mov rcx, rax
call qword [r10 + 0x30]
mov edx, dword [rsp + 0x12a0]
shr edx, 0xb
and edx, 0x1f
call fcn.140009570
mov dword [0x140017150], 1
lea rcx, [rsp + 0x30]
call fcn.140003270
mov rcx, qword [rsp + 0x12b0]
xor rcx, rsp
call fcn.14000ac90
add rsp, 0x12c8
ret
Function at 0x140009470
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor ebx, ebx
test edx, edx
je 0x140009532
mov rcx, qword [0x140016d38]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, str.TB_TRIAL_CHECK
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r8d, ebx
mov dword [rsp + 0x20], ebx
cmp bx, word [rsp + 0x30]
je 0x140009502
lea r8, [rsp + 0x20]
lea rdx, [0x140011260]
lea rcx, [rsp + 0x30]
call fcn.140009270
mov r8d, dword [rsp + 0x20]
inc r8d
mov dword [rsp + 0x20], r8d
lea rdx, [0x140011260]
lea rcx, [rsp + 0x30]
call fcn.14000a2e0
lea rdx, [rsp + 0x30]
lea rcx, str.TB_TRIAL_CHECK
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [0x140016d38]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.140009870
test eax, eax
jne 0x140009543
cmp dword [0x140017150], ebx
jne 0x140009548
call fcn.1400092d0
cmp word [0x140016d40], bx
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000ac90
add rsp, 0x250
pop rbx
ret
Function at 0x140009870
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x248
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x20]
lea rcx, str.TB_TRIAL_CHECK
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rax, [rsp + 0x20]
lea r10, [0x140017154]
sub r10, rax
movzx r9d, word [rax]
movzx r8d, word [rax + r10]
sub r9d, r8d
jne 0x1400098d9
add rax, 2
test r8d, r8d
jne 0x1400098c2
test r9d, r9d
je 0x140009912
lea r8, [rsp + 0x20]
mov edx, 0x104
lea rcx, [0x140017154]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000ac90
add rsp, 0x248
ret
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000ac90
add rsp, 0x248
ret

Function at 0x140009930
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov dword [rsp + 0x34], 3
xorps xmm0, xmm0
mov dword [rsp + 0x30], 0x20
xorps xmm1, xmm1
lea rcx, [rsp + 0x60]
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
mov qword [rsp + 0x38], rbx
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
call sub.VCRUNTIME140.dll_memset
call fcn.140009870
test eax, eax
jne 0x14000999e
cmp dword [0x140017150], ebx
jne 0x1400099a3
call fcn.1400092d0
lea r8, [0x140016d40]
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rsp + 0x38]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetControlClass015B6041_DC1B_4e42_BE13_185FFF3494C5
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140009a40
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140009a40
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009a35
cmp dword [rsp + 0x30], 0x20
jne 0x140009a35
movups xmm0, xmmword [rsp + 0x40]
lea ebx, [rax + 1]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14000ac90
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x140009a70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x4a0
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rsi, rcx
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x208
movdqu xmmword [rsp + 0x48], xmm0
xor ebx, ebx
movdqu xmmword [rsp + 0x58], xmm1
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
call fcn.140009870
test eax, eax
jne 0x140009ae3
cmp dword [0x140017150], ebx
jne 0x140009ae8
call fcn.1400092d0
lea r8, [0x140016d40]
mov edx, 0x104
lea rcx, [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x140016f48]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x140011188]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rsp + 0x280]
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x70]
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140009bc9
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
mov r8d, 0x20
mov qword [rsp + 0x20], rbx
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140009bc0
cmp dword [rsp + 0x40], 0x20
jne 0x140009bc0
movups xmm0, xmmword [rsp + 0x48]
mov ebx, 1
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14000ac90
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret