joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005bc80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14005bce1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14005bca0
mov ecx, dword [r9]
jmp 0x14005bdcb
cmp ecx, 0x4e0
jb 0x14005bdcb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14005bd00
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14005bd50
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14005e470
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x50
movups xmm3, xmmword [str.eUQWP]
xor ebx, ebx
movaps xmmword [rax - 0x18], xmm7
cmp word [0x14018f9c6], bx
movq xmm7, qword [str.ZS_A]
movups xmmword [rax - 0x38], xmm3
movq qword [rax - 0x28], xmm7
je 0x14005e642
cmp dword [0x14019d010], 2
mov ecx, ebx
jl 0x14005e5fd
movdqa xmm2, xmmword [0x140190250]
movdqa xmm4, xmmword [0x140190790]
movdqa xmm1, xmm2
movdqa xmm5, xmmword [0x1401902d0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
paddw xmm2, xmmword [0x140190320]
movdqa xmm3, xmmword [0x140190270]
xorps xmm2, xmm1
movq qword [rax - 0x38], xmm2
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
movdqa xmm3, xmmword [0x140190280]
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rax - 0x30]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x140190320]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rax - 0x30], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, xmm7
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140190320]
xorps xmm2, xmm0
movq qword [rax - 0x28], xmm2
jmp 0x14005e642
lea r8, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x24924925
lea r8, [r8 + 2]
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x36
xor word [r8 - 2], ax
cmp ecx, 0xc
jl 0x14005e610
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movaps xmm7, xmmword [rsp + 0x40]
test rax, rax
setne bl
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x14005ff10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14005ff44
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14005ff30
ret
Function at 0x140066a50
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140066b15
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140066b15
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140066b2e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x140066b05
cmp byte [rcx], 0x5c
jne 0x140066afe
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x140066afe
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140066aec
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x140066afb
test r8b, 0x10
jne 0x140066afe
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x140066afe
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400630c0
test edi, edi
jne 0x140066a70
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400630b0
int3

Function at 0x140069600
Capabilities:
Parse pe header

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

Function at 0x18056e551
Capabilities:
Encode data using xor

Disassembly:
ja 0x18058aae1
jmp 0x180571daf
mov qword [rsp + 8], rbx
lea rcx, [0x1805722e8]
lea rsp, [rsp + 8]
mov ebx, 0xca1c2c98
movzx ebx, byte [r10]
xor ebx, r9d
push 0x26221bb7
and ebx, 0xff
mov ebx, dword [rcx + rbx*4]
shr r9d, 8
xor r9d, ebx
push 0x359420a8
inc r10
push 0xfffffffff2109d90
xor r9d, 0xa3295224
dec rbp
lea rsp, [rsp + 0x18]
jne 0x1805804e5
mov ebx, 0x100fe485
pop rbx
jmp 0x18057a72b
adc rsi, 0xc
xor r9d, r9d
test rbp, rbp
lea rsp, [rsp + 8]
je 0x18058052e
push 0xffffffff9b39f60b
push 0xffffffff929e460d
jmp 0x1805804d4
Function at 0x140001173
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, eax
cpuid
mov eax, 1
cpuid
movabs r9, 0xb2d05e00
cpuid
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
fldpi
frndint
rdtsc
shl rdx, 0x20
or rax, rdx
sub rax, rcx
cmp rax, r9
jb 0x140001196
push rbp
mov rbp, rsp
sub rsp, 8
mov r10, 0xa
mov rcx, 0x12345678
dec rcx
xor r9, r9
mov rax, rcx
jne 0x1400011c1
xor rax, rax
mov rax, rbx
add rax, rdx
nop
nop
nop
dec r10
xor r11, r11
jne 0x1400011ba
xor rax, rax
mov rax, 0xa
dec rax
nop
nop
add rsp, 8
pop rbp
ret

Function at 0x140002a0f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0xa0
mov rcx, 0
mov rdx, 0xac7e
mov r8, 0x1000
lea r9, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140002a60
mov rbx, rax
call 0x140002a43
nop
pop rsi
mov r9, rax
add rsi, 0x64ac6
mov rcx, 0xac7e
mov r8, rcx
lea rax, [rsi]
mov dl, byte [rax]
mov byte [rbx], dl
add rsi, 1
add rbx, 1
add rax, 1
dec r8
jne 0x140002a5c
call r9
mov ecx, 1
ret

Function at 0x1400039d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x190
lea rbp, [rsp + 0x40]
mov rax, qword [0x140065050]
xor rax, rbp
mov qword [rbp + 0x148], rax
call fcn.140021080
test eax, eax
jne 0x140003b24
mov rax, qword [rbp + 0x198]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x188]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x180]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x178]
lea r8, [rbp + 0x20]
mov edx, dword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [rbp + 4], eax
call fcn.140006e80
mov dword [rbp + 0x10], eax
lea rax, [rbp + 0x20]
mov qword [rbp + 0x130], rax
cmp qword [rbp + 0x130], 0
jne 0x140003a8c
mov qword [rbp + 0x138], 0
jmp 0x140003b0c
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x140003ab5
mov qword [rbp + 0x140], 0
jmp 0x140003afe
movsxd rcx, dword [rbp]
shl rcx, 1
mov rax, rcx
add rax, 0xf
cmp rax, rcx
ja 0x140003ad2
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140047d40
sub rsp, rax
lea rcx, [rsp + 0x40]
mov r9d, dword [rbp + 0x10]
mov r8d, dword [rbp]
mov rdx, qword [rbp + 0x130]
call fcn.140006e90
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x138], rax
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x170]
call fcn.140022310
mov eax, dword [rbp + 4]
jmp 0x140003b75
mov rax, qword [rbp + 0x198]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x190]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x188]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x180]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x178]
mov r8, qword [rbp + 0x170]
mov edx, dword [rbp + 0x168]
mov rcx, qword [rbp + 0x160]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov rcx, qword [rbp + 0x148]
xor rcx, rbp
call fcn.1400317b0
lea rsp, [rbp + 0x150]
pop rbp
ret
Function at 0x140003ba0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0xc8], rax
call fcn.140021080
test eax, eax
jne 0x140003c13
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x30]
call fcn.140007370
lea rcx, [rsp + 0x30]
call fcn.14000c660
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x30]
call fcn.14000c630
mov eax, dword [rsp + 0xc0]
jmp 0x140003c29
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0xd8
ret

Function at 0x140003c50
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0xc8], rax
call fcn.140021080
test eax, eax
jne 0x140003cc3
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x30]
call fcn.140007370
lea rcx, [rsp + 0x30]
call fcn.14000c660
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x30]
call fcn.14000c630
mov eax, dword [rsp + 0xc0]
jmp 0x140003cd9
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0xd8
ret

Function at 0x140003e30
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0xd8], rax
call fcn.140021080
test eax, eax
jne 0x140003ed5
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x40]
call fcn.140007370
lea rcx, [rsp + 0x40]
call fcn.14000c660
mov rdx, rax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x108]
mov r8d, dword [rsp + 0x100]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x40]
call fcn.14000c630
mov eax, dword [rsp + 0xd0]
jmp 0x140003f13
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x108]
mov r8d, dword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0xe8
ret
Function at 0x140003f40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0xd8], rax
call fcn.140021080
test eax, eax
jne 0x140003fe7
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x40]
call fcn.140007370
lea rcx, [rsp + 0x40]
call fcn.14000c660
mov rdx, rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x108]
mov r8, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x40]
call fcn.14000c630
mov eax, dword [rsp + 0xd0]
jmp 0x140004027
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x108]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0xe8
ret

Function at 0x140004970
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 4
mov rdx, qword [rsp + 0x60]
add rdx, 0xc
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x510]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140004a29
mov rcx, qword [rsp + 0x60]
add rcx, 0x518
mov rdx, qword [rsp + 0x60]
add rdx, 0x40c
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x40], 0
jne 0x140004a29
mov eax, 1
jmp 0x140004ac7
mov rdx, qword [rsp + 0x60]
add rdx, 0xc
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140004ac5
mov rcx, qword [rsp + 0x60]
add rcx, 0x518
mov rdx, qword [rsp + 0x60]
add rdx, 0x40c
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x40], 0
jne 0x140004ac5
cmp dword [rsp + 0x68], 0
je 0x140004abe
mov rcx, qword [rsp + 0x60]
call fcn.140004ae0
mov eax, 1
jmp 0x140004ac7
xor eax, eax
add rsp, 0x58
ret
Function at 0x140008720
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x250], 0xfffffffffffffffe
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov eax, dword [0x140067130]
and eax, 1
test eax, eax
jne 0x140008783
mov eax, dword [0x140067130]
or eax, 1
mov dword [0x140067130], eax
lea rdx, [0x14004d050]
lea rcx, [0x140067128]
call fcn.1400072c0
lea rcx, [0x14004b810]
call fcn.140032628
nop
lea rdx, [0x14004d054]
lea rcx, [0x140067128]
call fcn.14000c520
movzx eax, al
test eax, eax
je 0x1400087f5
movzx eax, word [0x14004d058]
mov word [rsp + 0x40], ax
lea rdi, [rsp + 0x42]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8, 0xffffffffffffffff
mov edx, 0x28
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
lea rcx, [0x140067128]
call fcn.140007340
lea rax, [0x140067128]
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0x260
pop rdi
ret

Function at 0x140008900
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov eax, dword [0x140067150]
and eax, 1
test eax, eax
jne 0x140008949
mov eax, dword [0x140067150]
or eax, 1
mov dword [0x140067150], eax
lea rdx, [0x14004d064]
lea rcx, [0x140067148]
call fcn.1400072c0
lea rcx, [0x14004b850]
call fcn.140032628
nop
lea rdx, [0x14004d068]
lea rcx, [0x140067148]
call fcn.14000c520
movzx eax, al
test eax, eax
je 0x1400089f4
mov edx, 0x104
lea rcx, [0x140067148]
call fcn.14000c560
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r8, [0x14004d070]
mov edx, 0x104
mov rcx, qword [rsp + 0x20]
call fcn.140021180
mov edx, 0xffffffff
lea rcx, [0x140067148]
call fcn.14000c5a0
mov r8d, 0x8e
lea rdx, [0x14004d078]
lea rcx, [0x14004d098]
call fcn.140020ca0
mov rdx, qword [0x140067148]
lea rcx, str.GetTempUserProgram:__s_n
call fcn.140020ac0
lea rcx, [0x140067148]
call fcn.14000c660
mov rcx, rax
call fcn.140008e50
lea rax, [0x140067148]
add rsp, 0x38
ret
Function at 0x14000bc00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x280
mov qword [rsp + 0x258], 0xfffffffffffffffe
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x20], 0
call fcn.140021080
test eax, eax
jne 0x14000bcd5
movzx eax, byte [0x14004db78]
mov byte [rsp + 0x40], al
lea rdi, [rsp + 0x41]
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, dword [rsp + 0x290]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x150]
call fcn.14000c5f0
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x268], rax
mov rcx, qword [rsp + 0x268]
call fcn.14000c660
mov rdx, rax
mov rcx, qword [rsp + 0x298]
call fcn.140022310
nop
lea rcx, [rsp + 0x150]
call fcn.14000c630
mov eax, dword [rsp + 0x28]
jmp 0x14000bcf0
xor r9d, r9d
mov r8d, dword [rsp + 0x290]
mov rdx, qword [rsp + 0x298]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0x280
pop rdi
ret

Function at 0x14000f760
Capabilities:
Identify system language via api

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov dword [rsp + 0x250], 0
call fcn.14000f8a0
mov qword [rsp + 0x248], rax
cmp dword [rsp + 0x278], 0
je 0x14000f7df
call fcn.140020d40
cmp eax, 8
jne 0x14000f7bf
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [rsp + 0x254], ax
jmp 0x14000f7cd
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rsp + 0x254], ax
movzx eax, word [rsp + 0x254]
mov word [rsp + 0x240], ax
jmp 0x14000f7ed
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [rsp + 0x240], ax
movzx eax, word [0x14004de88]
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
movzx ecx, word [rsp + 0x240]
mov r9d, 0x104
lea r8, [rsp + 0x30]
mov edx, 3
call fcn.140021a90
mov r8d, 0xc2
lea rdx, [0x14004de90]
lea rcx, [0x14004deb0]
call fcn.140020ca0
lea rdx, [rsp + 0x30]
lea rcx, str.GetUserDefaultLanguageFromCurrentOSSetting:_s_n
call fcn.140020ac0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
call fcn.1400072c0
mov eax, dword [rsp + 0x250]
or eax, 1
mov dword [rsp + 0x250], eax
mov rax, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0x260
pop rdi
ret
Function at 0x140014120
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov dword [rsp + 0x244], 0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rsp + 0x240], ax
movzx eax, word [0x14004ea78]
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
movzx ecx, word [rsp + 0x240]
mov r9d, 0x104
lea r8, [rsp + 0x30]
mov edx, 3
call fcn.140021a90
mov r8d, 0xac
lea rdx, str...CommonLibMiscHelp.cpp
lea rcx, [0x14004eb88]
call fcn.140020ca0
lea rdx, [rsp + 0x30]
lea rcx, str.GetLocale:_s_n
call fcn.140020ac0
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x260]
call fcn.1400072c0
mov eax, dword [rsp + 0x244]
or eax, 1
mov dword [rsp + 0x244], eax
mov rax, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0x250
pop rdi
ret
Function at 0x140020ac0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0xcd8
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0xcc0], rax
call fcn.140020bc0
test eax, eax
je 0x140020ba0
call fcn.140021080
test eax, eax
jne 0x140020b5d
mov rdx, qword [rsp + 0xce0]
lea rcx, [rsp + 0x30]
call fcn.140007370
lea r11, [rsp + 0x38]
mov qword [rsp + 0x20], r11
lea rcx, [rsp + 0x30]
call fcn.14000c660
mov r9, qword [rsp + 0x20]
mov r8, rax
mov edx, 0x3ff
lea rcx, [rsp + 0xc0]
call fcn.1400349dc
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.14000c630
jmp 0x140020b97
lea rax, [rsp + 0xce8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x20]
mov r8, qword [rsp + 0xce0]
mov edx, 0x3ff
lea rcx, [rsp + 0x4c0]
call fcn.140034910
lea rcx, [rsp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0xcc0]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0xcd8
ret

Function at 0x140020ca0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x448
mov rax, qword [0x140065050]
xor rax, rsp
mov qword [rsp + 0x430], rax
call fcn.140020bc0
test eax, eax
je 0x140020d13
lea rax, [rsp + 0x458]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x20]
mov r8, qword [rsp + 0x450]
mov edx, 0x3ff
lea rcx, [rsp + 0x30]
call fcn.1400349dc
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400317b0
add rsp, 0x448
ret