joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400230ac
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 0x140023130
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14004a810]
cmp byte [rcx + rax], 0
je 0x140023130
dec r8
sub rdx, 1
jne 0x140023116
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14002585c
Capabilities:
Parse pe header

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

Function at 0x140036d24
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140036d5b
call fcn.140036b58
mov dword [rax], 0x16
call fcn.140035a14
xor eax, eax
jmp 0x140036de9
mov rdx, r9
mov rcx, r8
call fcn.140036cc0
mov rbx, rax
test rax, rax
je 0x140036de6
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140036bec]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140036dd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140036acc
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140036dba
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140036dc9
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140038c6c
jmp 0x140036de6
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140036de3
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140037900
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400376fc
Function at 0x14003d2e4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003d2fa
mov al, 1
jmp 0x14003d35a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003d30b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003d358
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003f6f8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003d358
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003d358
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003d358
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003d35a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14003e764
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 0x14003e794
xor eax, eax
jmp 0x14003e857
mov rbp, rbx
cmp word [rax], si
je 0x14003e7b9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14003e7a0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14003e79c
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.14003e684
movsxd r14, eax
test eax, eax
jne 0x14003e7f7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14003e78d
mov rcx, r14
call fcn.140038ca8
mov rdi, rax
test rax, rax
jne 0x14003e810
xor ecx, ecx
call fcn.140038c6c
jmp 0x14003e7ec
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.14003e684
test eax, eax
jne 0x14003e841
mov rcx, rdi
call fcn.140038c6c
jmp 0x14003e84b
xor ecx, ecx
call fcn.140038c6c
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 0x14003e874
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 0x14003e8fb
mov rsi, rbx
cmp word [rax], bp
je 0x14003e8ba
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003e8a4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003e8a0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140038ca8
mov rdi, rax
test rax, rax
je 0x14003e8e8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140026bf0
mov rbp, rdi
xor ecx, ecx
call fcn.140038c6c
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 0x140044394
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.140031c4c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004441e
cmp byte [rbp - 0x21], r15b
je 0x140044419
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140044454
call fcn.14003b420
test eax, eax
jne 0x140044440
cmp byte [rbp - 0x21], r15b
je 0x140044438
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140044454
cmp byte [rbp - 0x21], r15b
je 0x140044451
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.14003cb3c
test eax, eax
jne 0x1400444f4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140031c4c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140044493
cmp byte [rbp - 0x21], r15b
je 0x1400444c8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400444c8
call fcn.14003b420
test eax, eax
jne 0x1400444b4
cmp byte [rbp - 0x21], r15b
je 0x1400444ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400444c8
cmp byte [rbp - 0x21], r15b
je 0x1400444c5
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.14003cb3c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400444f4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400444f7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140044505
mov rcx, rdi
call fcn.140038c6c
cmp byte [rbp + 0x3f], r15b
je 0x140044514
mov rcx, qword [rbp + 0x27]
call fcn.140038c6c
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 0x14097e790
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14097e917
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14097e7c1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14097e7a7
add dl, dl
jne 0x14097e7ce
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14097e82e
xor eax, eax
add dl, dl
jne 0x14097e7dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14097e8e5
add dl, dl
jne 0x14097e7ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14097e7fb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14097e808
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14097e815
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14097e822
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14097e7b6
mov eax, 1
add dl, dl
jne 0x14097e83e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14097e84b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14097e833
sub eax, ebx
mov ebx, 1
jne 0x14097e884
mov ecx, 1
add dl, dl
jne 0x14097e866
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14097e873
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14097e85b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097e7b6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14097e8a0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14097e8ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14097e895
cmp eax, 0x7d00
jae 0x14097e8d3
cmp eax, 0x500
jb 0x14097e8ce
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097e7b6
cmp eax, 0x7f
ja 0x14097e8d6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14097e7b6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14097e90a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14097e7b6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400027d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
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
je 0x140002845
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140002845
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140002835
nop
cmp rbx, rcx
jae 0x140002845
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140002820
cmp rbx, rcx
jae 0x140002845
cmp word [rbx], 0
je 0x140002845
mov rax, rbx
jmp 0x140002847
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140002860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov eax, r8d
mov rsi, rdx
shr eax, 4
mov edi, r8d
inc ax
mov r14, rcx
movzx edx, ax
mov r8d, 6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14000297b
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000297b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000297b
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140002909
nop word [rax + rax]
cmp rbx, rcx
jae 0x14000297b
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400028f0
cmp rbx, rcx
jae 0x14000297b
movzx edi, word [rbx]
test di, di
je 0x14000297b
mov r10, qword [r14]
mov ecx, 1
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, edi
or ecx, eax
jge 0x14000293f
mov edx, edi
mov rcx, r14
call fcn.140002f40
mov r10, qword [r14]
movzx edx, word [rbx]
movzx r9d, dx
lea r8, [rbx + 2]
mov rdx, rdi
mov rcx, r10
call fcn.140064bec
xor edx, edx
test eax, eax
je 0x140002962
cmp eax, 0xc
je 0x14000299e
cmp eax, 0x50
jne 0x140002998
mov rcx, qword [r14]
cmp edi, dword [rcx - 0xc]
jg 0x1400029a4
mov dword [rcx - 0x10], edi
mov eax, 1
mov rcx, qword [r14]
mov word [rcx + rdi*2], dx
jmp 0x14000297d
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.14003b7f8
int3
call fcn.14003b81c
int3
mov ecx, 0x80070057
call fcn.140002fe0
int3
Function at 0x1400029b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov edi, edx
mov ecx, edx
call fcn.14003bf18
mov rsi, rax
test rax, rax
jne 0x1400029e5
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov eax, edi
mov qword [rsp + 0x30], rbx
shr eax, 4
mov r8d, 6
inc ax
mov qword [rsp + 0x38], rbp
movzx edx, ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140002add
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140002add
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140002add
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140002a6e
cmp rbx, rcx
jae 0x140002add
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140002a55
cmp rbx, rcx
jae 0x140002add
movzx edi, word [rbx]
test di, di
je 0x140002add
mov r10, qword [r14]
mov ebp, 1
mov ecx, ebp
movzx edx, di
mov eax, dword [r10 - 0xc]
sub ecx, dword [r10 - 8]
sub eax, edi
or ecx, eax
jge 0x140002aa6
mov edx, edi
mov rcx, r14
call fcn.140002f40
mov r10, qword [r14]
movzx edx, word [rbx]
movzx r9d, dx
lea r8, [rbx + 2]
mov rdx, rdi
mov rcx, r10
call fcn.140064bec
xor ecx, ecx
test eax, eax
je 0x140002ac9
cmp eax, 0xc
je 0x140002b04
cmp eax, 0x50
jne 0x140002afe
mov rax, qword [r14]
cmp edi, dword [rax - 0xc]
jg 0x140002b0a
mov dword [rax - 0x10], edi
mov rax, qword [r14]
mov word [rax + rdi*2], cx
jmp 0x140002ae1
xor ecx, ecx
mov ebp, ecx
mov rbx, qword [rsp + 0x30]
mov eax, ebp
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
call fcn.14003b7f8
int3
call fcn.14003b81c
int3
mov ecx, 0x80070057
call fcn.140002fe0
int3
Function at 0x140003000
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov r12, r8
mov r15, rcx
xor edi, edi
mov dword [r11 + 0x10], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
mov qword [r11 - 0x38], rax
mov dword [rsp + 0x50], 0x68
mov dword [r11 - 0x5c], 1
mov word [r11 - 0x58], di
call fcn.14003be40
mov rcx, rax
test rax, rax
je 0x14000321a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x108], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, str.CrystalDiskMark_08X
lea rcx, [rsp + 0x108]
call fcn.14000c550
mov rbx, qword [rsp + 0x108]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 8
xor r9d, r9d
xor edx, edx
mov rsi, 0xffffffffffffffff
lea r8d, [rdi + 4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
test rax, rax
je 0x1400031dd
mov qword [rsp + 0x20], 8
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
je 0x1400031dd
lea rax, [0x1400b2680]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
je 0x14000315e
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400031e4
mov edx, 0xffffffff
mov rcx, qword [0x1400b2680]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, 0xffffffff
mov rcx, qword [0x1400b2680]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xf8]
mov rcx, qword [0x1400b2680]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [0x1400b2688]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400b2680]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1400b2680], rdi
movsd xmm0, qword [rbp]
mulsd xmm0, qword [0x14009b6a0]
movsd qword [r12], xmm0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0xf8]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400031fc
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140002fe0
int3
Function at 0x14000c620
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x60e0
call fcn.14005e9a0
sub rsp, rax
mov rax, qword [0x1400ab680]
xor rax, rsp
mov qword [rsp + 0x60d0], rax
mov rbx, rcx
mov dword [rsp + 0x40], 8
mov dword [rsp + 0x44], 0xff
lea rcx, [rsp + 0x40]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, rbx
call fcn.1400468c0
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x14000c6fe
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea rdi, str.runas
cmp dword [rsp + 0x30], 2
jl 0x14000c6b7
xor ecx, ecx
mov rdx, qword [rax + 8]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [rdi + rcx*2 - 2]
jne 0x14000c6b7
cmp rcx, 6
jne 0x14000c6a1
jmp 0x14000c6fe
mov r8d, 0x104
lea rdx, [rsp + 0x5ec0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9, rdi
lea r8, [rsp + 0x5ec0]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
ja 0x14000c797
mov edx, 8
lea rcx, [rsp + 0x38]
call qword [sym.imp.WINMM.dll_timeGetDevCaps]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
lea rcx, [rsp + 0x50]
call fcn.14000c840
nop
lea rax, [rsp + 0x50]
mov qword [rbx + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.14003c7f0
mov ecx, dword [rsp + 0x38]
cmp rax, 0x174b
jne 0x14000c786
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov r8d, 0x104
lea rdx, [rsp + 0x5ec0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x5ec0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x14000c78d
call qword [sym.imp.WINMM.dll_timeEndPeriod]
nop
lea rcx, [rsp + 0x50]
call fcn.14000d210
xor eax, eax
mov rcx, qword [rsp + 0x60d0]
xor rcx, rsp
call fcn.14005df90
mov rbx, qword [rsp + 0x60f8]
add rsp, 0x60e0
pop rdi
ret
Function at 0x14000e468
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x3c], edx
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x28]
call fcn.14000ed48
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x88]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rsp + 0x24]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call fcn.14000ed78
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x28]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x24]
movzx ecx, word [rdx + rcx*2]
mov ecx, dword [r8 + rcx*4]
add rax, rcx
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x3c]
cmp eax, dword [rsp + 0x38]
jne 0x14000e54d
mov rax, qword [rsp + 0x40]
add rsp, 0x78
ret
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
jmp 0x14000e4e8
Function at 0x1400289e0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetNtVersionNumbers
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140028c1d
lea r8, [0x1400b2698]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call rax
mov eax, dword [0x1400b2698]
and eax, 0xfffffff
cmp dword [rsp + 0x40], 0xa
mov dword [0x1400b2698], eax
jne 0x140028c1d
cmp dword [rsp + 0x48], 0
jne 0x140028c1d
cmp eax, 0x4563
jb 0x140028c1d
xor edx, edx
lea rcx, str.uxtheme.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x140028c1d
mov edx, 0x31
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x68
mov rcx, rbx
mov qword [0x1400b26a8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x6a
mov rcx, rbx
mov qword [0x1400b26b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x84
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x85
mov rcx, rbx
mov qword [0x1400b26d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x87
mov rcx, rbx
mov qword [0x1400b26c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x1400b2698], 0x47ba
jae 0x140028af7
mov qword [0x1400b26c0], rax
jmp 0x140028afe
mov qword [0x1400b26a0], rax
mov edx, 0x89
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.user32.dll
mov qword [0x1400b26b0], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SetWindowCompositionAttribute
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x1400b26a8], 0
mov qword [0x1400b26d8], rax
je 0x140028c1d
cmp qword [0x1400b26b8], 0
je 0x140028c1d
cmp qword [0x1400b26d0], 0
je 0x140028c1d
cmp qword [0x1400b26c8], 0
je 0x140028c1d
mov rdx, qword [0x1400b26c0]
mov rax, qword [0x1400b26a0]
test rdx, rdx
jne 0x140028b8b
test rax, rax
je 0x140028c1d
cmp qword [0x1400b26b0], 0
je 0x140028c1d
mov byte [0x1400b269d], 1
test rdx, rdx
je 0x140028bab
mov cl, 1
call rdx
jmp 0x140028bb7
test rax, rax
je 0x140028bb7
mov ecx, 1
call rax
call qword [0x1400b26b8]
call qword [0x1400b26d0]
test al, al
je 0x140028c0c
xor eax, eax
mov dword [rsp + 0x20], 0x10
xor r9d, r9d
mov qword [rsp + 0x24], rax
lea r8, [rsp + 0x20]
mov dword [rsp + 0x2c], eax
lea edx, [rax + 0x10]
lea ecx, [rax + 0x42]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x140028bfb
movzx eax, byte [rsp + 0x24]
and al, 1
jne 0x140028c0c
mov al, 1
mov byte [0x1400b269c], al
movzx eax, al
add rsp, 0x30
pop rbx
ret
xor al, al
mov byte [0x1400b269c], al
movzx eax, al
add rsp, 0x30
pop rbx
ret
movzx eax, byte [0x1400b269c]
movzx eax, al
add rsp, 0x30
pop rbx
ret