joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c020
Capabilities:
Get installed programs
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x670
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x660], rax
xor edx, edx
lea rcx, [rsp + 0x150]
mov r8d, 0x104
call fcn.140013380
lea r9, [0x14002a210]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea rdx, [0x14002aa14]
lea rcx, [rsp + 0x150]
call qword [0x1400224f0]
xor edx, edx
lea rcx, [rsp + 0x260]
mov r8d, 0x400
call fcn.140013380
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x400
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x150]
mov rcx, 0xffffffff80000002
call qword [0x140022018]
test eax, eax
jne 0x14000c10e
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000c10e
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x260]
xor r8d, r8d
lea rdx, str.AppPathsFiles
mov qword [rsp + 0x20], rax
call qword [0x140022010]
mov rcx, qword [rsp + 0x30]
call qword [0x140022020]
cmp byte [rsp + 0x260], 0
lea rbx, [rsp + 0x260]
mov qword [rsp + 0x680], rsi
mov qword [rsp + 0x688], rdi
je 0x14000c19d
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
mov rdi, rbx
call fcn.140013380
mov rcx, rbx
call qword [0x140022390]
mov esi, eax
test eax, eax
je 0x14000c169
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [0x1400223a0]
lea rdi, [rbx + 1]
add rdi, rsi
lea rdx, [0x14002aa22]
mov rbx, rdi
lea rcx, [rsp + 0x40]
call qword [0x140022370]
test eax, eax
je 0x14000c19d
lea rdx, [0x1400292b0]
lea rcx, [rsp + 0x40]
call qword [0x140022370]
test eax, eax
je 0x14000c1c8
cmp byte [rdi], 0
jne 0x14000c130
xor eax, eax
mov rdi, qword [rsp + 0x688]
mov rsi, qword [rsp + 0x680]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14000feb0
add rsp, 0x670
pop rbx
ret
mov eax, 1
jmp 0x14000c19f
Function at 0x14000c1d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x3b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov rsi, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x180]
mov r8d, 0x104
call fcn.140013380
xor edx, edx
lea rcx, [rsp + 0x290]
mov r8d, 0x104
call fcn.140013380
lea r9, [0x14002a210]
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea rdx, [0x14002aa14]
lea rcx, [rsp + 0x290]
call qword [0x1400224f0]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x104
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x290]
mov rcx, 0xffffffff80000002
call qword [0x140022018]
test eax, eax
jne 0x14000c2d3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000c2d3
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x180]
xor r8d, r8d
lea rdx, str.InstallFolder
mov qword [rsp + 0x20], rax
call qword [0x140022010]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [0x140022020]
test ebx, ebx
je 0x14000c301
mov rax, qword [rdi + 0x410]
test rax, rax
je 0x14000c389
cmp dword [rax], 0
jne 0x14000c389
lea rdx, [rdi + 0x12c]
lea rcx, [rsp + 0x180]
call qword [0x1400223a0]
lea rcx, [0x14002a278]
call qword [0x140022390]
mov ebx, 0x103
lea rcx, [0x14002b170]
sub ebx, eax
call qword [0x140022390]
lea rcx, [rsp + 0x180]
sub ebx, eax
call qword [0x140022390]
cmp eax, ebx
jg 0x14000c389
lea rdx, [0x14002b170]
lea rcx, [rsp + 0x180]
call qword [0x140022150]
lea rdx, [0x14002a278]
lea rcx, [rsp + 0x180]
call qword [0x140022150]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x180]
call qword [0x140022160]
cmp rax, 0xffffffffffffffff
je 0x14000c389
test byte [rsp + 0x40], 0x10
mov rcx, rax
je 0x14000c3b0
call qword [0x140022170]
xor eax, eax
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.14000feb0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [0x140022170]
mov r8d, 0x104
lea rdx, [rsp + 0x180]
mov rcx, rsi
call qword [0x140022338]
mov eax, 1
jmp 0x14000c38b
Function at 0x14000d260
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x180
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rdx
lea rcx, [rsp + 0x60]
xor edi, edi
xor edx, edx
mov r8d, 0x104
mov qword [rsp + 0x50], rdi
call fcn.140013380
lea r9, [0x14002a278]
mov dword [rsp + 0x58], edi
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea rdx, [0x14002aa14]
lea rcx, [rsp + 0x60]
call qword [0x1400224f0]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [0x140022028]
test eax, eax
jne 0x14000d337
mov rcx, rbx
call qword [0x140022390]
mov rcx, qword [rsp + 0x50]
lea r9d, [rdi + 1]
inc eax
xor r8d, r8d
mov dword [rsp + 0x28], eax
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [0x140022030]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14000d33b
call qword [0x140022020]
xor eax, eax
jmp 0x14000d346
call qword [0x140022020]
mov eax, 1
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14000feb0
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rdi
ret

Function at 0x14000d370
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.140013380
mov r9, rbx
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea rdx, [0x14002aa14]
lea rcx, [rsp + 0x40]
call qword [0x1400224f0]
xor edi, edi
mov dword [rsp + 0x38], 0x104
test rsi, rsi
je 0x14000d449
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [0x140022018]
test eax, eax
jne 0x14000d449
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000d449
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [0x140022010]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [0x140022020]
test ebx, ebx
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14000feb0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140016d00
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140016ad4
xor ecx, ecx
call qword [0x1400222f0]
test rax, rax
je 0x140016ad4
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140016ad4
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140016ad4
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140016ad4
cmp dword [rcx + 0x84], 0xe
jbe 0x140016ad4
cmp dword [rcx + 0xf8], esi
je 0x140016ad4
mov ecx, r14d
call fcn.140016c1c
mov ecx, 2
call fcn.14001a168
nop
cmp byte [0x140033358], 0
jne 0x140016b9e
mov r15d, 1
mov eax, r15d
xchg dword [0x14003334c], eax
test ebx, ebx
jne 0x140016b47
mov rdi, qword [section..data]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140033350]
cmp rcx, rax
je 0x140016b3e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000e620]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140033368]
jmp 0x140016b53
cmp ebx, r15d
jne 0x140016b59
lea rcx, [0x140033380]
call fcn.140017210
nop
test ebx, ebx
jne 0x140016b70
lea rdx, [0x140022788]
lea rcx, [0x140022768]
call fcn.140016994
lea rdx, [0x140022798]
lea rcx, [0x140022790]
call fcn.140016994
movzx eax, byte [0x140033358]
test esi, esi
cmove eax, r15d
mov byte [0x140033358], al
jmp 0x140016b9e
mov ecx, 2
call fcn.14001a1bc
test esi, esi
jne 0x140016bb5
mov ecx, r14d
call fcn.140016bd0
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140016a64
Function at 0x140001300
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140001375
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140001375
nop dword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140001391
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140001350
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x140001ca0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x140001cd0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140001cf8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001cfa
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001d53
test ecx, ecx
jle 0x140001d33
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140001d53
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001d53
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140001d80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140001db1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001dc8
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140001df0
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001df2
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001e24
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x140001ec1
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001e62
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rdi, 0xfff
jbe 0x140001ea1
nop dword [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x140001ee2
cmp rdi, rax
ja 0x140001e70
test rbx, rbx
je 0x140001ec1
mov r9, qword [rsi + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x140001ec4
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x1400022f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140002314
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000234b
mov rax, qword [rcx + 0x58]
movsxd rcx, dword [rax]
add rcx, rdx
cmp rdx, rcx
jae 0x14000234b
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x140002474
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000238e
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400023b9
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002479
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000242e
sub eax, 1
je 0x14000242e
cmp eax, 2
jne 0x140002474
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140002479
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x14000245f
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140002474
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov eax, edi
jne 0x140002479
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1400028b0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002979
cmp byte [rcx + 0x71], 0
je 0x140002979
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000296c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002928
sub eax, 1
je 0x14000292c
cmp eax, 2
jne 0x14000296c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14000295a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000296c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x140002038
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800ca240]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov ecx, dword [0x18018d558]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x18018d5fc], eax
jle 0x180005bdd
lea rcx, [0x18018d5fc]
call fcn.180098e78
cmp dword [0x18018d5fc], 0xffffffff
jne 0x180005bdd
mov eax, dword [rdi]
cmp dword [0x18018d594], eax
jle 0x180005b1e
lea rcx, [0x18018d594]
call fcn.180098e78
cmp dword [0x18018d594], 0xffffffff
jne 0x180005b1e
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov ecx, 0x50
call fcn.180098ef0
mov rcx, rax
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x1800b5b20]
movdqu xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [str...LocalPackagesMicrosoft.MinecraftUWP_8wekyb3d8bbweRoamingState_]
movups xmmword [rax], xmm1
movaps xmm0, xmmword [0x1800a4240]
movups xmmword [rax + 0x10], xmm0
movaps xmm1, xmmword [0x1800a4250]
movups xmmword [rax + 0x20], xmm1
movaps xmm0, xmmword [0x1800a4260]
movups xmmword [rax + 0x30], xmm0
mov eax, dword [0x1800a4270]
mov dword [rcx + 0x40], eax
movzx eax, byte [0x1800a4274]
mov byte [rcx + 0x44], al
mov byte [rcx + 0x45], 0
lea rcx, str.AppData
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [0x18018d5d0]
call fcn.180008c20
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180005af2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005aed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005aed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800992a4
movdqa xmm0, xmmword [0x1800b58b0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [0x1800a00d0]
call fcn.180099284
nop
lea rcx, [0x18018d594]
call fcn.180098e0c
lea rdx, [0x18018d5d0]
lea rcx, [rsp + 0x50]
call fcn.180007a30
nop
mov r8d, 7
lea rdx, str.Melody_
lea rcx, [rsp + 0x50]
call fcn.180008360
xorps xmm0, xmm0
movups xmmword [0x18018d570], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x18018d580], xmm1
movups xmm0, xmmword [rax]
movups xmmword [0x18018d570], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [0x18018d580], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180005bc4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005bbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005bbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800992a4
lea rcx, [0x1800a0060]
call fcn.180099284
nop
lea rcx, [0x18018d5fc]
call fcn.180098e0c
lea rdx, [0x18018d570]
mov rcx, rbx
call fcn.180007a30
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180098db0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x180007080
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1800070a1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1800070ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800070d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180007129
test ecx, ecx
jle 0x180007109
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180007129
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180007129
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add dword [0x1b6503451], ecx
or eax, 0x36397b63