joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400011c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140001224
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x1400013a4
mov qword [rdi + 0x18], 0xf
cmp rbx, 0xf
ja 0x14000126b
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], r14b
jmp 0x140001312
mov r8, qword [rdi + 0x18]
mov rcx, rbx
or rcx, 0xf
cmp rcx, rsi
ja 0x1400012b5
mov rdx, r8
shr rdx, 1
mov rax, rsi
sub rax, rdx
cmp r8, rax
ja 0x1400012b5
lea rax, [rdx + r8]
mov rsi, rcx
cmp rcx, rax
cmovb rsi, rax
lea rax, [rsi + 1]
cmp rax, 0x1000
jb 0x1400012e2
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x1400013aa
jmp 0x1400012c3
movabs rcx, 0x8000000000000000
add rcx, 0x27
call fcn.140001ce0
test rax, rax
je 0x1400012db
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400012f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rax, rax
je 0x1400012f2
mov rcx, rax
call fcn.140001ce0
mov r14, rax
mov qword [rdi], r14
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rsi
mov r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
mov dword [rsp + 0x30], 1
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x140001361
lea rax, [rcx + 0xe]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140001342
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 0xe
lea rdx, str.background.jpg
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xe], 0
jmp 0x140001377
mov qword [rsp + 0x20], 0xe
mov edx, 0xe
mov rcx, rdi
call fcn.140001ab0
mov rax, rdi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140001cc0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.1400011a0
int3
call fcn.140001100
int3
Function at 0x140004aec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004b36
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004b36
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004b36
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004b36
cmp dword [rcx + 0x84], 0xe
jbe 0x140004b36
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004b38
xor al, al
add rsp, 0x28
ret
Function at 0x140002e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x70
mov rbp, qword [0x140058998]
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
mov r14, rbp
movaps xmmword [rsp + 0x50], xmm7
movaps xmm6, xmm1
movaps xmm7, xmm2
lea rax, [rbp + 8]
cmp rax, rcx
je 0x140002ea7
mov r8d, 0x59a
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str.g.IO__this___Can_only_add_events_to_current_context._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbp, qword [0x140058998]
cmp byte [rbx + 0x37a1], 0
je 0x140003051
movss xmm1, dword [0x1400505d8]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
jbe 0x140002ef4
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x140002eed
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x140002eeb
je 0x140002eed
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140002f19
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140002f12
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140002f10
je 0x140002f12
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [rbp + 0x37c0]
sub esi, 1
movsxd rdi, esi
js 0x140002f6f
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop
cmp esi, dword [rbp + 0x37c0]
jl 0x140002f52
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x37c8]
cmp dword [rbx + rax], 1
je 0x140002ff9
dec esi
sub rbx, 0x18
sub rdi, 1
jns 0x140002f30
movsd xmm0, qword [r14 + 0xdfc]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x140002fae
jne 0x140002fae
ucomiss xmm1, xmm7
jp 0x140002fae
je 0x140003051
lea rbx, [r14 + 0x37c0]
movss dword [rsp + 0x38], xmm6
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
movss dword [rsp + 0x3c], xmm7
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
cmp ecx, r8d
jne 0x14000302f
inc ecx
test r8d, r8d
je 0x14000301b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140003020
movss xmm0, dword [rbx + rax + 8]
movss xmm1, dword [rbx + rax + 0xc]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140002f83
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001ce90
movsxd rax, dword [rbx]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
inc dword [rbx]
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
ret
Function at 0x140003390
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400033ed
lea rbx, [0x140047cb0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400033d4
cmp r10, 2
jb 0x1400033d4
cmp byte [r9], r8b
jne 0x1400033d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400033b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000342f
lea rbx, [0x140047cb0]
cmp r8b, 0x23
jne 0x140003413
cmp byte [r9], r8b
jne 0x140003413
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003400
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400035f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000361f
mov r8d, 0x78f
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000362b
mov qword [rdi], 0
lea rdx, [0x140047508]
mov rcx, rbx
call fcn.140003440
mov rbx, rax
test rax, rax
jne 0x14000364d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003724
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003724
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003724
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003724
cmp rsi, 0xffffffffffffffff
je 0x140003724
mov rax, qword [0x140058998]
test rax, rax
je 0x1400036c1
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003724
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140003711
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140058998]
test rax, rax
je 0x140003706
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000372d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000371f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000372f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140006dc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140006df7
mov r8d, 0x707
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x140047cb0]
movsxd r8, dword [rbx + 0xe8]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x140058998]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140006e76
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001bc60
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140014dc0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140058998]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140014e12
cmp byte [rbx + 0x4a5e], 0
jne 0x140014e12
movsx r9d, word [rbx + 0x5b6e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003310
test dil, 1
je 0x140014f38
jmp 0x140014e9b
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140050558]
xor eax, eax
mulss xmm1, dword [0x140050540]
addss xmm0, dword [rbx + 0xdfc]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x1400504d4]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b6e]
call fcn.140003310
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140014ef0
lea r11, [0x140047cb0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140014ed3
cmp byte [r8], r9b
jne 0x140014ed3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140014ec0
not ecx
call fcn.14000ac90
test rax, rax
je 0x140014f38
cmp byte [rax + 0xae], 0
je 0x140014f38
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b6e]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b6e]
call fcn.140003310
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d600
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001a3e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c50], 0
lea rbx, [rcx + 0x5c58]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001a487
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001a43a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001cb30
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003ac0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c50]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c60]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140058990]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001a48f
mov rcx, rbx
call fcn.140003ac0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001aa20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x140058998]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001aa84
lea r10, [0x140047cb0]
cmp r8b, 0x23
jne 0x14001aa67
cmp byte [rdx], r8b
jne 0x14001aa67
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001aa54
mov eax, dword [r14 + 0x5bc8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001aae5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001aaaa
cmp edi, eax
jl 0x14001aac4
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5bd0]
cmp dword [rax + rbp + 8], ebx
je 0x14001ab02
mov eax, dword [r14 + 0x5bc8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001aaa1
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001ab0f
cmp edi, dword [r14 + 0x5bc8]
jl 0x14001ab29
mov r8d, 0x6fe
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bd0]
lea rax, [rax + rcx*8]
jmp 0x14001aae7
Function at 0x140038020
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.140011040
cmp byte [rax], 0
je 0x1400380b9
mov ecx, 0x210
call fcn.1400025a0
cmp byte [rax + 8], 0
jne 0x1400380b9
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400380b9
mov rbx, qword [0x140058998]
test rbx, rbx
jne 0x140038088
mov r8d, 0xfe3
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140058998]
cmp byte [rbx + 0x37a9], 0
je 0x1400380a5
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002b50
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.140011040
cmp byte [rax], 0
je 0x14003814c
mov ecx, 0x214
call fcn.1400025a0
cmp byte [rax + 8], 0
jne 0x14003814c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003814c
mov rbx, qword [0x140058998]
test rbx, rbx
jne 0x14003811b
mov r8d, 0xfe3
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140058998]
cmp byte [rbx + 0x37a9], 0
je 0x140038138
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002b50
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.140011040
cmp byte [rax], 0
je 0x1400381df
mov ecx, 0x212
call fcn.1400025a0
cmp byte [rax + 8], 0
jne 0x1400381df
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400381df
mov rbx, qword [0x140058998]
test rbx, rbx
jne 0x1400381ae
mov r8d, 0xfe3
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140058998]
cmp byte [rbx + 0x37a9], 0
je 0x1400381cb
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002b50
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.140011040
cmp byte [rax], 0
je 0x140038272
mov ecx, 0x216
call fcn.1400025a0
cmp byte [rax + 8], 0
jne 0x140038272
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140038272
mov rbx, qword [0x140058998]
test rbx, rbx
jne 0x140038241
mov r8d, 0xfe3
lea rdx, str.D:MoonLight_dx11MoonLight_dx11imgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140058998]
cmp byte [rbx + 0x37a9], 0
je 0x14003825e
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002b50
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x14003bc80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbx, rcx
xor ebp, ebp
lea r9, [rsp + 0x78]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140042800]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xorps xmm0, xmm0
test eax, eax
js 0x14003be56
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov rdx, qword [rsp + 0x78]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bp
jne 0x14003bcd3
lea rcx, [rsp + 0x28]
call fcn.14003e920
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rsp + 0x28]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
cmova rcx, r8
mov rax, qword [rsp + 0x38]
lea r14, [rcx + rax*2]
lea rsi, [rsp + 0x28]
cmova rsi, r8
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov edi, 0xf
mov qword [rbx + 0x18], rdi
cmp rsi, r14
jne 0x14003bd3c
mov byte [rbx], 0
jmp 0x14003be16
sub r14, rsi
sar r14, 1
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14003be82
cmp r14, rdi
jbe 0x14003bdd5
mov rdi, r14
or rdi, 0xf
cmp rdi, rax
jbe 0x14003bd92
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14003feac
test rax, rax
je 0x14003bdba
lea rbp, [rax + 0x27]
and rbp, 0xffffffffffffffe0
mov qword [rbp - 8], rax
jmp 0x14003bdce
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14003bdc1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003be88
jmp 0x14003bd77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14003bdce
call fcn.14003feac
mov rbp, rax
mov qword [rbx], rbp
mov qword [rbx + 0x18], rdi
mov r8, rbx
cmp rdi, 0xf
jbe 0x14003bde1
mov r8, qword [rbx]
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x14003be03
nop dword [rax]
movzx eax, byte [rsi]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rsi, [rsi + 2]
sub rdx, 1
jne 0x14003bdf0
mov qword [rbx + 0x10], r14
mov byte [r8 + r14], 0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
cmp rdx, 7
jbe 0x14003be69
lea rdx, [rdx*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14003be4c
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003be4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1400401f8
jmp 0x14003be69
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov edi, 0xf
mov qword [rbx + 0x18], rdi
mov byte [rbx], bpl
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.140035890
nop
call fcn.1400015f0
int3
Function at 0x14003f3bc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14003f3f6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14003f3fb
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14003f444
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140042810]
cmp byte [rcx + rax], 0
je 0x14003f444
dec r8
sub rdx, 1
jne 0x14003f42a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140040918
Capabilities:
Parse pe header

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

Disassembly:
push rbp
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
mov qword [rbp + 0xd0], r8
mov rcx, qword [rbp + 0xc0]
lea rax, [rbp - 0x50]
mov rdx, qword [rbp + 0xd0]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0xc8]
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, str.VisualWebFeatures.exe
lea rdx, str._s__o__s___pass__s___rig_id__s___donate_level_1___tls___background
mov rcx, rax
call fcn.140002a40
lea rax, [rbp - 0x50]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rax
lea r8, str.VisualWebFeatures.exe
lea rax, str.open
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_ShellExecuteA]
call rax
nop
add rsp, 0x130
pop rbp
ret