joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fb50
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 7
mov rbx, rcx
mov rdx, rcx
jbe 0x14000fb66
mov rdx, qword [rcx]
lea rcx, str.SteamAppId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp qword [rbx + 0x18], 7
jbe 0x14000fb7d
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.SteamGameId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, str.cold_player
lea rcx, str.SteamAppUser
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, str.cold_player
lea rcx, str.SteamUser
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, [0x14003a080]
lea rcx, str.SteamClientLaunch
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, [0x14003a080]
lea rcx, str.SteamEnv
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call fcn.1400062b0
cmp qword [rax + 0x18], 7
jbe case.default.0x14000fbfb
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.SteamPath
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
adc edi, edi
sbb al, 0x18
adc edi, edi
sbb eax, 0x1eff1219
sbb dl, byte [rdx]
call [rsi]
sbb dword [rbx], edx
call [rsi]
sbb dl, byte [rbx]
call [rdi]
sbb edx, dword [rbx]
jmp qword [rbx]
or al, 0xff
adc dword [0x14d195600], ecx
or bh, bh
adc byte [0x14d195608], cl
or bh, bh
adc ecx, dword [rdi]
or edi, edi
adc eax, 0x19ff0d11
sbb dword [0x15724561d], edx
sbb dword [0x15724561d], edx
adc edi, edi
sbb al, 0x18
adc bh, bh
sbb al, 0x18
adc bh, bh
sbb al, 0x17
adc edi, edi
sbb dword [0x154205631], edx
ud0
invalid
adc al, 0xe
ud0
or bh, bh
adc byte [0x14e1a5644], cl
or bh, bh
adc edx, dword [rax]
or edi, edi
adc dword [rsi], ecx
or edi, edi
adc byte [0x14d195654], cl
or bh, bh
invalid
invalid
invalid
Function at 0x13d1058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.013d11df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x13d1089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x13d106f
add dl, dl
jne 0x13d1096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x13d10f6
xor eax, eax
add dl, dl
jne 0x13d10a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x13d11ad
add dl, dl
jne 0x13d10b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13d10c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13d10d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13d10dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x13d10ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x13d107e
mov eax, 1
add dl, dl
jne 0x13d1106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13d1113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x13d10fb
sub eax, ebx
mov ebx, 1
jne 0x13d114c
mov ecx, 1
add dl, dl
jne 0x13d112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x13d113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x13d1123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x13d107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x13d1168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x13d1175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x13d115d
cmp eax, 0x7d00
jae 0x13d119b
cmp eax, 0x500
jb 0x13d1196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x13d107e
cmp eax, 0x7f
ja 0x13d119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x13d107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x13d11d2
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 0x13d107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800025a0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbp, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180002647
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180002647
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x7ecbb59e
lea rdx, [rbx + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002642
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002620
cmp r8d, 0x18bf5258
je 0x18000264c
test r9d, r9d
jne 0x180002600
mov rax, qword [rax]
jmp 0x1800025d0
mov ecx, dword [r11 + 0x24]
mov edx, dword [r11 + 0x1c]
add rcx, r10
add rdx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
mov rcx, rbp
add rax, r10
call rax
mov rcx, 0xffffffffffffffff
lea rsi, [rax + 1]
mov eax, 2
mul rsi
cmovb rax, rcx
mov rcx, rax
call fcn.18000b124
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180002715
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180002715
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0xf5c660c5
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x180002710
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x1800026f0
cmp edx, 0xac5692c5
je 0x18000271a
test r9d, r9d
jne 0x1800026d0
mov rcx, qword [rcx]
jmp 0x1800026a0
mov eax, dword [r11 + 0x24]
mov r8, rsi
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx edx, word [rax + r9*2]
mov eax, dword [rcx + rdx*4]
mov rdx, rbp
add rax, r10
mov rcx, rdi
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002760
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002807
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002807
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xf2d4391e
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002802
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x1800027e0
cmp r8d, 0x6174572
je 0x18000280c
test r9d, r9d
jne 0x1800027c0
mov rax, qword [rax]
jmp 0x180002790
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002e50
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x100
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r8, dword [r10 + 0x3c]
mov edi, dword [r8 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002f17
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002f17
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x286fab4
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002f12
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002ef0
cmp r8d, 0xa5cbc712
je 0x180002f1c
test r9d, r9d
jne 0x180002ed0
mov rax, qword [rax]
jmp 0x180002ea0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movups xmm8, xmmword [0x18000e808]
mov rcx, rbp
movups xmm9, xmmword [0x180015308]
movdqa xmm6, xmmword [0x18000eae0]
movaps xmm7, xmmword [rsi]
call fcn.1800025a0
movdqa xmm1, xmmword [0x18000eaf0]
mov rcx, rax
xor eax, eax
mov qword [rsp + 0x20], rax
addpd xmm1, xmm7
cmp word [rcx], ax
je 0x180002f9e
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180002f80
add eax, 1
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], eax
je 0x180002fa3
mov qword [rsp + 0x20], rcx
jmp 0x180002fa3
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
mov rax, qword [0x1800117b8]
mov rbx, qword [0x180011800]
mov qword [rsp + 0x30], rax
mov rax, qword [0x180015790]
movsd qword [rsp + 0x48], xmm7
movsd qword [rsp + 0x58], xmm6
unpckhpd xmm7, xmm7
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x50], xmm7
movsd qword [rsp + 0x60], xmm6
mov dword [rsp + 0x78], 0
movaps xmmword [rsp + 0x90], xmm1
mov word [rsp + 0xa0], 0x101
mov byte [rsp + 0xa2], 1
movups xmmword [rsp + 0x38], xmm0
movaps xmm0, xmmword [r14]
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x7c], xmm9
movups xmmword [rsp + 0xa4], xmm8
test rax, rax
jne 0x18000304a
mov rax, qword [0x180011920]
lea r8, str.Canvas.K2_DrawText
add rax, 0x146d58c
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x180015790], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x268]
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r14
ret
Function at 0x180001028
Capabilities:
Identify system language via api

Disassembly:
jmp 0x180022d30
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x1801
jg 0x180022e0e
cmp dword [rsp + 0x24], 0x1801
je 0x180022ea8
cmp dword [rsp + 0x24], 0xc09
jg 0x180022dc7
cmp dword [rsp + 0x24], 0xc09
je 0x180022e84
cmp dword [rsp + 0x24], 0x401
je 0x180022ea8
cmp dword [rsp + 0x24], 0x409
je 0x180022e84
cmp dword [rsp + 0x24], 0x801
je 0x180022ea8
cmp dword [rsp + 0x24], 0x814
je 0x180022e9c
cmp dword [rsp + 0x24], 0xc01
je 0x180022ea8
jmp 0x180022eb2
cmp dword [rsp + 0x24], 0xc0a
je 0x180022e90
cmp dword [rsp + 0x24], 0x1001
je 0x180022ea8
cmp dword [rsp + 0x24], 0x1009
je 0x180022e84
cmp dword [rsp + 0x24], 0x1401
je 0x180022ea8
cmp dword [rsp + 0x24], 0x1409
je 0x180022e84
jmp 0x180022eb2
cmp dword [rsp + 0x24], 0x3001
jg 0x180022e5a
cmp dword [rsp + 0x24], 0x3001
je 0x180022ea8
cmp dword [rsp + 0x24], 0x1c01
je 0x180022ea8
cmp dword [rsp + 0x24], 0x2001
je 0x180022ea8
cmp dword [rsp + 0x24], 0x2401
je 0x180022ea8
cmp dword [rsp + 0x24], 0x2801
je 0x180022ea8
cmp dword [rsp + 0x24], 0x2c01
je 0x180022ea8
jmp 0x180022eb2
cmp dword [rsp + 0x24], 0x3401
je 0x180022ea8
cmp dword [rsp + 0x24], 0x3801
je 0x180022ea8
cmp dword [rsp + 0x24], 0x3c01
je 0x180022ea8
cmp dword [rsp + 0x24], 0x4001
je 0x180022ea8
jmp 0x180022eb2
mov eax, 0x809
mov word [rsp + 0x20], ax
jmp 0x180022eb2
mov eax, 0x40a
mov word [rsp + 0x20], ax
jmp 0x180022eb2
mov eax, 0x414
mov word [rsp + 0x20], ax
jmp 0x180022eb2
mov eax, 0x2c01
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x180001163
Capabilities:
Get common file path

Disassembly:
jmp 0x180023320
sub rsp, 0x238
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x178], 0
lea rcx, [rsp + 0x178]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
mov qword [rsp + 0x180], 0
mov qword [rsp + 0x170], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, [0x1801a6960]
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x178]
call qword [rax + MsiEnumProductsW]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r9, [rsp + 0x180]
mov r8d, 0xe0
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x20]
mov ecx, SafeArrayCopy
call fcn.1800d66b0
mov qword [rsp + 0x218], rax
cmp qword [rsp + 0x218], 0
je 0x180023425
mov rcx, qword [rsp + 0x218]
call fcn.180001569
mov qword [rsp + 0x220], rax
jmp 0x180023431
mov qword [rsp + 0x220], 0
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x30], rax
xor eax, eax
cmp eax, 1
je 0x180023568
mov rcx, qword [rsp + 0x30]
call fcn.180001f1e
cmp rax, 0x100000
jb 0x180023470
jmp 0x180023568
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x180]
call qword [rax + SafeArrayCopy]
cmp eax, 1
jne 0x18002349f
jmp 0x180023568
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r9, [rsp + 0x60]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x58]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x188]
call fcn.1800334a0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea r9, [rsp + 0x60]
mov r8d, 0x8001
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [rax + 0x58]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x1a8]
call fcn.1800334a0
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x1d0]
call fcn.180001820
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x1f0]
call fcn.180001820
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x30]
call fcn.180001109
lea rcx, [rsp + 0x1d0]
call fcn.18000137f
lea rcx, [rsp + 0x1a8]
call fcn.18000165e
lea rcx, [rsp + 0x188]
call fcn.18000165e
jmp 0x18002344e
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x38]
call qword [rax + MsiEnumProductsW]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x180]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x50]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rax, qword [rsp + 0x30]
add rsp, 0x238
ret
Function at 0x18000120d
Capabilities:
Get common file path

Disassembly:
jmp 0x1800206c0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov rcx, qword [rsp + 0x48]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x18002070e
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x3a1
lea rdx, [0x1801a3ba0]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002070e
int3
cmp dword [rsp + 0x50], 0
ja 0x180020740
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x3a2
lea rdx, [0x1801a3bb8]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x180020740
int3
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add rsp, 0x38
ret

Function at 0x1800012ee
Capabilities:
Copy file
Delete file

Disassembly:
jmp 0x180021340
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x18002138a
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x4c6
lea rdx, [0x1801a3d58]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002138a
int3
mov rcx, qword [rsp + 0x48]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x1800213c6
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x4c7
lea rdx, [0x1801a3d70]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800213c6
int3
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18002140d
mov rcx, qword [rsp + 0x48]
call fcn.18003cfa0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18002140d
xor al, al
jmp 0x18002140f
mov al, 1
add rsp, 0x38
ret
Function at 0x180001316
Capabilities:
Copy file

Disassembly:
jmp 0x1800224e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov rdx, qword [rsp + 0xd0]
lea rcx, [rsp + 0x38]
call fcn.180001820
nop
lea r8, [rsp + 0x38]
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.180001f14
nop
lea r8, [rsp + 0x38]
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.180001f14
nop
lea rcx, [rsp + 0x78]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
je 0x180022594
lea rcx, [rsp + 0x78]
call fcn.18000122b
mov rcx, rax
call fcn.18003cfa0
test eax, eax
jne 0x180022594
xor eax, eax
test eax, eax
jne 0x180022594
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5f6
lea rdx, [0x1801a3f70]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x180022594
int3
lea rcx, [rsp + 0x58]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
je 0x1800225f1
lea rcx, [rsp + 0x58]
call fcn.18000122b
mov rcx, rax
call fcn.18003cfa0
test eax, eax
jne 0x1800225f1
xor eax, eax
test eax, eax
jne 0x1800225f1
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x5fd
lea rdx, [0x1801a3f88]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800225f1
int3
lea rcx, [rsp + 0x78]
call fcn.18000122b
mov dword [rsp + 0x20], 0x80
mov r9d, 4
mov r8d, 0xc0000000
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.18003da60
nop
lea rcx, [rsp + 0x98]
call fcn.18003dc30
movzx eax, al
test eax, eax
jne 0x1800226a8
xor eax, eax
test eax, eax
jne 0x180022665
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x603
lea rdx, [0x1801a3fa0]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x180022665
int3
mov byte [rsp + 0xa0], 0
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x58]
call fcn.18000165e
nop
lea rcx, [rsp + 0x78]
call fcn.18000165e
nop
lea rcx, [rsp + 0x38]
call fcn.18000165e
movzx eax, byte [rsp + 0xa0]
jmp 0x1800227cc
mov dword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
mov r8d, 0x210
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x98]
call fcn.18003dd10
movzx eax, al
test eax, eax
je 0x1800226e3
mov eax, dword [rsp + 0x30]
cmp rax, 0x210
je 0x180022726
mov byte [rsp + 0xa1], 0
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x58]
call fcn.18000165e
nop
lea rcx, [rsp + 0x78]
call fcn.18000165e
nop
lea rcx, [rsp + 0x38]
call fcn.18000165e
movzx eax, byte [rsp + 0xa1]
jmp 0x1800227cc
lea rcx, [rsp + 0x58]
call fcn.18000122b
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x78]
call fcn.18000122b
xor r8d, r8d
mov rcx, qword [rsp + 0xb0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x18002278e
xor eax, eax
test eax, eax
jne 0x18002278e
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x60d
lea rdx, [0x1801a3fb8]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002278e
int3
mov byte [rsp + 0xa2], 1
lea rcx, [rsp + 0x98]
call fcn.18003db50
nop
lea rcx, [rsp + 0x58]
call fcn.18000165e
nop
lea rcx, [rsp + 0x78]
call fcn.18000165e
nop
lea rcx, [rsp + 0x38]
call fcn.18000165e
movzx eax, byte [rsp + 0xa2]
add rsp, 0xc8
ret
Function at 0x1800016cc
Capabilities:
Get geographical location

Disassembly:
jmp 0x180023000
mov word [rsp + 8], cx
push rdi
sub rsp, 0x100
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor eax, eax
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 0xa8
rep stosb byte [rdi], al
movzx eax, word [rsp + 0x110]
mov r9d, 0x55
lea r8, [rsp + 0x40]
mov edx, 3
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1800230a2
xor eax, eax
test eax, eax
jne 0x18002308c
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x6be
lea rdx, [0x1801a40b0]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x18002308c
int3
lea r8, [0x1801a40c8]
mov edx, 4
lea rcx, [rsp + 0x40]
call fcn.1800d9840
movzx eax, word [rsp + 0x110]
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, str.langId:__d__wszAbbName:__ws
call fcn.180038160
lea rcx, [rsp + 0x40]
call sym.dm_d.api_langOpen
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0x100
pop rdi
ret
Function at 0x180001767
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x18002fb40
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2e0
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rcx, qword [rsp + 0x2f0]
call fcn.180001357
movzx eax, al
test eax, eax
je 0x18002fb95
mov byte [rsp + 0x2c8], 0
mov rcx, qword [rsp + 0x2f0]
call fcn.18000165e
movzx eax, byte [rsp + 0x2c8]
jmp 0x18002fd52
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x20]
call fcn.180001820
lea rdx, [0x1801a59e8]
lea rcx, [rsp + 0x20]
call fcn.180033970
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 0x24c
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.18000122b
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x2a0], rax
cmp qword [rsp + 0x2a0], 0xffffffffffffffff
jne 0x18002fc28
mov byte [rsp + 0x2c9], 0
lea rcx, [rsp + 0x20]
call fcn.18000165e
mov rcx, qword [rsp + 0x2f0]
call fcn.18000165e
movzx eax, byte [rsp + 0x2c9]
jmp 0x18002fd52
movzx eax, word [rsp + 0x7c]
cmp eax, 0x2e
jne 0x18002fc37
jmp 0x18002fd02
mov eax, dword [rsp + 0x50]
and eax, 0x10
test eax, eax
jne 0x18002fc47
jmp 0x18002fd02
mov rdx, qword [rsp + 0x2f0]
lea rcx, [rsp + 0x2a8]
call fcn.180001820
lea rdx, [0x1801a5a00]
lea rcx, [rsp + 0x2a8]
call fcn.180033970
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x2a8]
call fcn.180033970
lea rdx, str.Winre.wim
lea rcx, [rsp + 0x2a8]
call fcn.180033970
lea rcx, [rsp + 0x2a8]
call fcn.18000122b
mov rcx, rax
call fcn.180037850
test eax, eax
jne 0x18002fcbe
lea rcx, [rsp + 0x2a8]
call fcn.18000165e
jmp 0x18002fd02
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x2ca], 1
lea rcx, [rsp + 0x2a8]
call fcn.18000165e
lea rcx, [rsp + 0x20]
call fcn.18000165e
mov rcx, qword [rsp + 0x2f0]
call fcn.18000165e
movzx eax, byte [rsp + 0x2ca]
jmp 0x18002fd52
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18002fc28
mov rcx, qword [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x2cb], 0
lea rcx, [rsp + 0x20]
call fcn.18000165e
mov rcx, qword [rsp + 0x2f0]
call fcn.18000165e
movzx eax, byte [rsp + 0x2cb]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0x2e0
pop rdi
ret

Function at 0x180001a9b
Capabilities:
Shutdown system

Disassembly:
jmp 0x18001c510
sub rsp, 0x28
mov ecx, 0x13
call fcn.180036e90
test eax, eax
jne 0x18001c52e
lea rcx, [0x1801a3470]
call fcn.180038160
xor edx, edx
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x28
ret

Function at 0x180001ac3
Capabilities:
Empty the recycle bin

Disassembly:
jmp 0x1800237c0
sub rsp, 0x38
mov r8d, 7
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
test eax, eax
jne 0x1800237df
mov byte [rsp + 0x20], 1
jmp 0x1800237e4
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret