joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180436cec
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180436d1c
xor eax, eax
jmp 0x180436ddf
mov rbp, rbx
cmp word [rax], si
je 0x180436d41
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180436d28
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180436d24
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180432f1c
movsxd r14, eax
test eax, eax
jne 0x180436d7f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180436d15
mov rcx, r14
call fcn.1804303fc
mov rdi, rax
test rax, rax
jne 0x180436d98
xor ecx, ecx
call fcn.18042e9ac
jmp 0x180436d74
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180432f1c
test eax, eax
jne 0x180436dc9
mov rcx, rdi
call fcn.18042e9ac
jmp 0x180436dd3
xor ecx, ecx
call fcn.18042e9ac
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180436dfc
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 0x180436e83
mov rsi, rbx
cmp word [rax], bp
je 0x180436e42
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x180436e2c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x180436e28
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1804303fc
mov rdi, rax
test rax, rax
je 0x180436e70
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180443a50
mov rbp, rdi
xor ecx, ecx
call fcn.18042e9ac
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 0x18043793c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18043795c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1804214bc
or eax, 0xffffffff
jmp 0x18043795e
xor eax, eax
add rsp, 0x28
ret

Function at 0x18043a3ac
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18042c63c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18043a44d
cmp ebx, dword [rsp + 0x30]
je 0x18043a446
test esi, esi
je 0x18043a446
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18043a421
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18043a42e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18043a40b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18043a432
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18043a44f
mov eax, 1
jmp 0x18043a44f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18043c7ac
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x18056a580]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x18043c7f6
call fcn.180421528
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.180421548
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1804101ec
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180408b20
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x18043c801
lea eax, [rbx + 1]
jmp 0x18043c7e3
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x18043c7e1
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x18043c7e3
Function at 0x18043caa4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.18041094c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x18043cb2e
cmp byte [rbp - 0x21], r15b
je 0x18043cb29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18043cb64
call fcn.18042edb8
test eax, eax
jne 0x18043cb50
cmp byte [rbp - 0x21], r15b
je 0x18043cb48
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18043cb64
cmp byte [rbp - 0x21], r15b
je 0x18043cb61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.18041f95c
test eax, eax
jne 0x18043cc04
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.18041094c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18043cba3
cmp byte [rbp - 0x21], r15b
je 0x18043cbd8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x18043cbd8
call fcn.18042edb8
test eax, eax
jne 0x18043cbc4
cmp byte [rbp - 0x21], r15b
je 0x18043cbbd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x18043cbd8
cmp byte [rbp - 0x21], r15b
je 0x18043cbd5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.18041f95c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18043cc04
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18043cc07
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18043cc15
mov rcx, rdi
call fcn.18042e9ac
cmp byte [rbp + 0x3f], r15b
je 0x18043cc24
mov rcx, qword [rbp + 0x27]
call fcn.18042e9ac
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x18043e0a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x18043e0c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x18043e0c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001930
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
xor edx, edx
mov ecx, 2
xor edi, edi
call qword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001a02
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x1400019be
nop dword [rax]
lea rdx, str.cry_crackme.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400019ba
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x140001990
jmp 0x1400019be
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test edi, edi
je 0x140001a02
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.DLL_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400019ec
lea rdx, str.Failed_to_open_process
jmp 0x140001a09
mov rdx, rsi
mov rcx, rbx
call fcn.140001330
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x140001a1e
lea rdx, str.Process_not_found__please_start_cry_crackme.exe
mov r9d, 0x10
lea r8, str.Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140007340
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002d50
Capabilities:
Create thread
Delete file

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov ecx, 0x10
call fcn.140007360
lea rcx, [0x140002860]
mov r9, rax
lea r8, [0x140002e20]
xor edx, edx
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov qword [rax], rbx
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 0x140002e04
cmp dword [rsp + 0x38], 0
je 0x140002df8
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140002df8
lea r9, [0x140002c90]
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x65
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxParamW]
lea rcx, [0x14000c720]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
xor eax, eax
add rsp, 0x50
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], 0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140007cf4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x140007d3e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007d3e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007d3e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007d3e
cmp dword [rcx + 0x84], 0xe
jbe 0x140007d3e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007d40
xor al, al
add rsp, 0x28
ret
Function at 0x14000e67c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, rcx
mov r12, qword [rbp + 0x1f0]
mov edi, 1
mov rbx, qword [0x1401a74f0]
mov edx, 0x81
lea r8d, [rdx + 0x6f]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r13d, r13d
test rax, rax
je 0x14000e804
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000e804
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000e804
movzx esi, word [rbx]
cmp r13w, si
je 0x14000e804
movzx eax, word [rbx + 2]
mov r15d, dword [rbx + 4]
add rbx, 8
mov ecx, 0x403
cmp cx, ax
jne 0x14000e789
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14000ed48
nop
movzx edx, si
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x143
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r13d
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
je 0x14000e7f9
call fcn.1400bdb00
jmp 0x14000e7f9
mov ecx, 0x1234
cmp cx, ax
jne 0x14000e7f9
mov dword [rsp + 0x38], 1
or qword [rsp + 0x40], 0xffffffffffffffff
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.14000ed48
nop
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x88]
mov rcx, qword [rbp + 0x80]
cmp rcx, rax
je 0x14000e7d1
call fcn.1400bdb00
movzx edx, si
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40b
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r13d
add rbx, r15
test edi, edi
jne 0x14000e71a
mov dl, 1
mov rcx, r14
call fcn.14000fde0
mov dword [r12], r13d
mov eax, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400bcfc0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140018638
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x10]
mov rdi, rdx
test rbx, rbx
je 0x1400186b3
cmp qword [rbx], 0
mov rsi, qword [rcx]
je 0x1400186a1
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400186ac
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400186ac
mov rdx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rcx, rsi
mov rdx, rdi
call rax
jmp 0x1400186bc
cmp dword [rbx + 8], 0
je 0x1400186ac
mov rcx, rsi
jmp 0x1400186b6
mov eax, 1
jmp 0x1400186bc
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400188fc
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
mov r9d, dword [rcx + 8]
or r9d, 0x2001f
mov r8, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x48]
call fcn.14001878c
jmp 0x140018970
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400188fc
test eax, eax
mov ebx, eax
jne 0x1400189da
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x100
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140018961
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400189c9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rdx, rsi
mov rcx, rdi
call fcn.140018638
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400189f0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x48], 0
and dword [rsp + 0x50], 0
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400bcfc0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001a660
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rdi, rcx
xor ebx, ebx
mov dword [rbp - 0x20], ebx
call fcn.14001f584
test al, al
je 0x14001a707
mov r9d, dword [0x1401a8d80]
lea r8d, [r9 + 2]
lea eax, [r9 + 1]
imul r8d, eax
imul r8d, r9d
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 3
jne 0x14001a6f2
mov edx, ebx
mov r8d, 8
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, r9d
mov eax, edx
sar eax, 1
mov edx, ecx
xor edx, eax
dec r8
jne 0x14001a6c5
add r9d, edx
inc ebx
cmp ebx, 0x100
jl 0x14001a6bd
mov dword [0x1401a8d80], r9d
mov rcx, rdi
call fcn.14001fc58
nop
mov dword [rbp - 0x20], 1
jmp 0x14001a796
lea rax, [rbp + 0x38]
mov qword [rbp - 0x10], rax
lea rdx, str.Code
lea rcx, [rbp + 0x30]
call fcn.140001f2c
nop
lea rdx, str.NewTabJavaScript
lea rcx, [rbp + 0x28]
call fcn.140001f2c
nop
lea rdx, [0x140137258]
lea rcx, [rbp + 0x38]
call fcn.140001f2c
nop
mov qword [rsp + 0x20], rax
mov r9, qword [0x1401a3d48]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.14003c0cc
mov dword [rbp - 0x20], 1
mov rdx, qword [rbp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001a77e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001a796
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rdi
add rsp, 0x50
pop rdi
pop rbx
pop rbp
ret
Function at 0x14001bb8c
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xorps xmm0, xmm0
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rbp, rcx
cvtsi2sd xmm0, rdx
test rdx, rdx
jns 0x14001bbc5
addsd xmm0, qword [0x14013dd60]
divsd xmm0, qword [0x14013dd28]
call fcn.1400dd140
movsd xmm1, qword [0x14013dd58]
xor eax, eax
mulsd xmm0, qword [0x14013dd30]
comisd xmm0, xmm1
jb 0x14001bc01
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14001bc01
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si rsi, xmm0
xor edi, edi
add rsi, rax
test rbp, rbp
je 0x14001bd88
test r14, r14
je 0x14001bd88
cmp rsi, r15
ja 0x14001bd88
mov r8d, dword [0x1401a8d80]
mov eax, 0x92492493
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub ecx, edx
cmp ecx, 0xc
jne 0x14001bc95
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdi + 4]
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x2f4
movsxd rcx, r8d
mul rcx
lea rcx, [rdi - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.1400bc638
mov rcx, rax
call fcn.1400be0fc
mov rdx, rdi
lea r10, [0x140000000]
test rbx, rbx
je 0x14001bd42
mov r8, r14
cmp rdx, rbx
jae 0x14001bcb9
movzx eax, byte [rdx + rbp]
inc rdx
jmp 0x14001bcbb
mov eax, edi
cmp rdx, rbx
jae 0x14001bcca
movzx r9d, byte [rdx + rbp]
inc rdx
jmp 0x14001bccd
mov r9d, edi
cmp rdx, rbx
jae 0x14001bcdb
movzx ecx, byte [rdx + rbp]
inc rdx
jmp 0x14001bcdd
mov ecx, edi
shl eax, 8
add eax, r9d
shl eax, 8
add eax, ecx
mov ecx, eax
shr rax, 0x12
and eax, 0x3f
mov al, byte [rax + r10 + 0x1a3d50]
mov byte [r8], al
mov eax, ecx
add r8, 4
shr rax, 0xc
and eax, 0x3f
mov al, byte [rax + r10 + 0x1a3d50]
mov byte [r8 - 3], al
mov eax, ecx
and ecx, 0x3f
shr rax, 6
and eax, 0x3f
mov al, byte [rax + r10 + 0x1a3d50]
mov byte [r8 - 2], al
mov al, byte [rcx + r10 + 0x1a3d50]
mov byte [r8 - 1], al
cmp rdx, rbx
jb 0x14001bcb0
movabs rax, 0xaaaaaaaaaaaaaaab
mul rbx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rbx, rax
cmp dword [r10 + rbx*4 + 0x139dc8], edi
jle 0x14001bd7c
lea rcx, [r14 - 1]
add rcx, rsi
mov byte [rcx], 0x3d
inc edi
dec rcx
cmp edi, dword [r10 + rbx*4 + 0x139dc8]
jl 0x14001bd6a
mov rcx, qword [rsp + 0x60]
mov al, 1
mov qword [rcx], rsi
jmp 0x14001bd8a
xor al, al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14001bda4
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10d, dword [0x1401a8d80]
mov rdi, rdx
mov rbx, r8
lea eax, [r10 + 1]
lea r9d, [r10 + 2]
mov rsi, rcx
imul r9d, eax
mov eax, 0x66666667
imul r9d, r10d
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub r9d, eax
cmp r9d, 9
jne 0x14001be1c
xor r8d, r8d
test r10d, r10d
je 0x14001be12
mov eax, r10d
mov ecx, r10d
cdq
and ecx, 1
sub eax, edx
add r8d, ecx
sar eax, 1
mov r10d, eax
jne 0x14001bdfc
mov r10d, r8d
mov dword [0x1401a8d80], r8d
test dil, 3
je 0x14001be29
xor al, al
jmp 0x14001bef4
mov rax, rdi
lea ecx, [r10 + 2]
shr rax, 2
lea rax, [rax + rax*2]
mov qword [rbx], rax
lea eax, [r10 + 1]
imul ecx, eax
imul ecx, r10d
mov eax, ecx
and eax, 0x80000007
jge 0x14001be56
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 5
jne 0x14001beb5
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp ecx, 5
jne 0x14001be8e
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov r10d, dword [0x1401a8d80]
mov ecx, 7
test rax, rax
cmove r10d, ecx
mov dword [0x1401a8d80], r10d
cmp byte [rsi + rdi - 1], 0x3d
jne 0x14001bebf
dec qword [rbx]
cmp byte [rsi + rdi - 2], 0x3d
jne 0x14001bec9
dec qword [rbx]
mov ecx, r10d
imul ecx, r10d
imul ecx, r10d
and ecx, 0x8000000f
jge 0x14001bee3
dec ecx
or ecx, 0xfffffff0
inc ecx
cmp ecx, 4
jne 0x14001bef2
inc r10d
mov dword [0x1401a8d80], r10d
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14001cd54
Capabilities:
Get disk size

Disassembly:
sub rsp, 0x38
mov edx, dword [0x1401a8d80]
mov ecx, 1
mov eax, edx
imul eax, edx
imul eax, edx
and eax, 0x8000000f
jge 0x14001cd79
sub eax, ecx
or eax, 0xfffffff0
add eax, ecx
cmp eax, 0xe
jne 0x14001cdb7
lea ecx, [rdx + 1]
mov eax, 0x78787879
imul ecx, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub ecx, edx
cmp ecx, 0xe
jne 0x14001cdb5
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor cl, cl
mov al, cl
add rsp, 0x38
ret
Function at 0x14001e6c0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x110
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
and dword [rsp + 0x30], 0
mov ecx, dword [0x1401a8d80]
imul ecx, ecx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 7
jne 0x14001e731
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
lea rcx, [0x1401a09a8]
mov rax, qword [0x1401a09a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
mov eax, dword [0x1401a8d80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub ecx, eax
cmp ecx, 8
jne 0x14001e782
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
call fcn.140020198
mov ebx, eax
lea rdx, str.installtime
lea rcx, [rsp + 0x38]
call fcn.140001f2c
nop
mov r9d, ebx
mov r8, qword [rsp + 0x38]
lea rdx, str._s_d
mov rcx, rdi
call fcn.14000fc08
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001e7cd
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400bcfc0
mov rbx, qword [rsp + 0x128]
add rsp, 0x110
pop rdi
ret