joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005ae0
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
lea r8, [0x1800e74a4]
mov r9, rdx
lea rcx, [rsp + 0x38]
xor edi, edi
lea edx, [rdi + 0x20]
call fcn.1800011b0
cmp dword [0x1800d1998], 0xc6ad7fa3
jne 0x180005c7c
call qword [sym.imp.USER32.dll_AnyPopup]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeSRWLock]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SleepConditionVariableSRW]
call qword [sym.imp.USER32.dll_IsWow64Message]
lea rdx, [0x1800e74b0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueryIdleProcessorCycleTime]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileBandwidthReservation]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea r9, [0x1800e74d0]
mov qword [rsp + 0x28], rdi
xor r8d, r8d
mov dword [rsp + 0x20], edi
lea rdx, [0x1800e74f8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoExEx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DdeConnect]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetCaretPos]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalHandle]
xor ecx, ecx
call qword [sym.imp.USER32.dll_DdeFreeDataHandle]
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsCharUpperW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WaitForThreadpoolWorkCallbacks]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DrawIcon]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetTimeZoneInformation]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadKeyboardLayoutW]
xor r9d, r9d
lea rcx, [0x1800e7528]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileNameW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetThreadpoolThreadMinimum]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
xor edx, edx
xor ecx, ecx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DebugActiveProcess]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_RedrawWindow]
xorps xmm0, xmm0
lea rax, [rsp + 0x38]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
inc r8
cmp byte [rax + r8], dil
jne 0x180005c96
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.18000e040
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1800092d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rdi, rcx
xor esi, esi
mov dword [rbp + 0x1e8], 0x104
mov rax, qword [sym.imp.KERNEL32.dll_GetTempPathA]
add rax, 0x250
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x250
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], eax
xor eax, eax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea ecx, [rsi + 0x10]
call fcn.18004ddf8
mov qword [rax + 8], rsi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
mov qword [rax], rcx
mov word [rsp + 0x70], si
mov qword [rsp + 0x76], rsi
mov qword [rsp + 0x7e], rsi
xor eax, eax
mov word [rsp + 0x73], ax
mov byte [rsp + 0x75], al
mov word [rsp + 0x76], ax
mov byte [rsp + 0x78], al
mov word [rsp + 0x79], ax
mov byte [rsp + 0x7b], al
mov word [rsp + 0x7c], ax
mov byte [rsp + 0x7e], al
mov word [rsp + 0x7f], ax
mov byte [rbp - 0x7f], al
mov word [rbp - 0x7e], ax
mov byte [rbp - 0x7c], al
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x6c], esi
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rbp + 0xb0]
lea r8, [rbp + 0x1e8]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.18000f320
mov ebx, dword [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.180011890
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rsi
lea edx, [rsi + 0x10]
call fcn.18004dd0c
lea eax, [rbx - 1]
cmp eax, 0x102
ja 0x18000943e
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, [0x1800e7928]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x18000943e
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180009426
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.18000e040
jmp 0x180009453
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rdi
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180009c30
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
call fcn.180008440
mov ecx, 0xffff8627
nop word [rax + rax]
inc ecx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edx, [rdx + rdx*2]
cmp ecx, edx
jne 0x180009c60
mov r8d, 0xffffe5dd
nop dword [rax]
inc r8d
mov eax, 0x55555556
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edx, [rdx + rdx*2]
cmp r8d, edx
jne 0x180009c80
lea r9d, [rcx - 0x164f2]
mov eax, 0x55555556
add r9d, r8d
mov edi, 0x4676f
imul r9d
sub edi, ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edx, [rdx + rdx*2]
cmp r9d, edx
je 0x180009ccc
mov eax, 0xffffeb51
test r9d, r9d
jg 0x180009cd1
mov eax, 0xffffe469
lea r11d, [rax + r9]
mov r8d, 0x10b11
lea eax, [rcx - 0x1ede]
lea r14d, [rcx - 0xdd10]
nop dword [rax + rax]
inc r8d
test r8b, 1
jne 0x180009cf0
lea esi, [r14 + rax]
mov ebp, 0xffffe4a8
sub ebp, esi
lea r15d, [r11 + 0x11fd1]
add r11d, esi
lea ebx, [rcx - 0x352d8]
sub r15d, ebp
mov eax, 0x2d86
sub eax, r11d
mov edx, 0x1aece
add r8d, eax
sub edx, esi
sub esi, 0x4fb3
sub r11d, 0x139e
sub r8d, ebp
mov eax, 0x18a7
mov r13d, r15d
mov r9d, 0xfffff957
and r13d, 1
lea r10d, [rdx + 0x1142]
test dil, 1
cmove r9d, eax
sub esi, r14d
add r9d, edi
sub esi, r11d
add r9d, edx
mov eax, 0x24cd
add r9d, ebp
mov edi, 0x2ad9
test r14b, 1
mov r12d, r9d
cmove edi, eax
mov eax, 0x55555556
imul r10d
add edi, r14d
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*2]
cmp r10d, ecx
je 0x180009da5
test r10d, r10d
jle 0x180009da5
add r10d, 0xffffdef9
jmp 0x180009dac
add r10d, 0x2107
sub r10d, r11d
sub ebx, edi
mov eax, r9d
and eax, 0x80000003
jge 0x180009dc2
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x180009dd2
test r9d, r9d
jle 0x180009dd2
sub r9d, 0x391
test r13d, r13d
mov edx, 0xffff7eee
mov ecx, 0xffff730e
mov eax, 0x55555556
cmove ecx, edx
sub ebx, 0x1b4e
imul ebx
lea r14d, [rcx + r15*2]
add ebp, r9d
mov eax, edx
mov ecx, 0x1de9
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
mov edx, 0xffffe217
cmp ebx, eax
mov eax, r9d
cmove ecx, edx
add ecx, ebx
and eax, 0x80000003
jge 0x180009e22
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x180009e34
test r9d, r9d
jle 0x180009e34
add r9d, 0x56a
jmp 0x180009e3b
sub r9d, 0x56a
cmp r14d, 0xfff9e124
jne 0x180009e96
cmp edi, 0xfffed3f2
jne 0x180009e96
sub r11d, ecx
cmp r11d, 0xfffe864a
jne 0x180009e96
cmp ebp, 0xc3d4e
jne 0x180009e96
cmp esi, 0x32f54
jne 0x180009e96
cmp r12d, 0xa6c9b
jne 0x180009e96
cmp r10d, 0x7a661
jne 0x180009e96
lea eax, [r8 + r9]
cmp eax, 0xdd6e6
jne 0x180009e96
cmp r8d, 0x36872
jne 0x180009e96
cmp ecx, 0xfffd61fa
je 0x180009ea2
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180015260
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 0x1800152c1
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 0x180015280
mov ecx, dword [r9]
jmp 0x1800153a8
cmp ecx, 0x4e0
jb 0x1800153a8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1800152e0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x180015330
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 0x18006203c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180062052
mov al, 1
jmp 0x1800620b2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180062063
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800620b0
mov ecx, dword [rcx + 0x18]
nop
call fcn.18006c8b0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800620b0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800620b0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800620b0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800620b2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180067a5c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.18004e5f0
sub rsp, rax
mov rax, qword [0x180078080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180061f1c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180067aab
mov rax, rbp
jmp 0x180067bb3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xd1210]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800689a8
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xd1210]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180067baf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180067baf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800689a8
test rax, rax
js 0x180067baf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180067baf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180067ba1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180067ba1
cmp byte [rcx], 0xd
jne 0x180067b87
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180067b96
cmp byte [rcx + 1], 0xa
jne 0x180067b96
inc rcx
jmp 0x180067b96
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x784a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180067b69
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180067bb3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.18004e5c0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180067d48
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800d1210]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x180067d9f
cmp word [rdx], r13w
jne 0x180067d9f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180067da4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180067ec9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180067eea
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180067ddd
mov rdx, r9
mov word [rbx], cx
jmp 0x180067e04
cmp r9, r8
jae 0x180067e14
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x180067dbe
jmp 0x180067ec9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180067ebe
cmp dword [rsp + 0x80], esi
je 0x180067ebe
lea r8, [0x1800d1210]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180067e96
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180067e66
mov word [rbx], r13w
jmp 0x180067ec6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180067e73
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180067ec6
cmp word [rsp + 0x70], r13w
jne 0x180067ea3
cmp rbx, r14
je 0x180067e60
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800689b0
cmp word [rsp + 0x70], r13w
je 0x180067ec9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800d1210]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180067ec3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180067ec9
Function at 0x18006c0f4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18006c124
xor eax, eax
jmp 0x18006c1e7
mov rbp, rbx
cmp word [rax], si
je 0x18006c149
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18006c130
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18006c12c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18006a7dc
movsxd r14, eax
test eax, eax
jne 0x18006c187
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18006c11d
mov rcx, r14
call fcn.1800643d0
mov rdi, rax
test rax, rax
jne 0x18006c1a0
xor ecx, ecx
call fcn.180064394
jmp 0x18006c17c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18006a7dc
test eax, eax
jne 0x18006c1d1
mov rcx, rdi
call fcn.180064394
jmp 0x18006c1db
xor ecx, ecx
call fcn.180064394
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18006ef5c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180062540
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18006effd
cmp ebx, dword [rsp + 0x30]
je 0x18006eff6
test esi, esi
je 0x18006eff6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18006efd1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18006efde
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18006efbb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18006efe2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18006efff
mov eax, 1
jmp 0x18006efff
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180073994
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800689b0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800689b0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180073ae4
cmp rax, 0xffffffffffffffff
je 0x180073ae4
xor edi, edi
test rbp, rbp
jle 0x180073a8f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180066b30
mov rbx, rax
test rax, rax
jne 0x180073a1c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180073a85
mov edx, 0x8000
mov ecx, r14d
call fcn.180073818
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180066278
cmp eax, 0xffffffff
je 0x180073a65
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180073a2c
mov edx, r15d
mov ecx, r14d
call fcn.180073818
jmp 0x180073a85
cmp byte [rsi + 0x38], dil
je 0x180073a7c
cmp dword [rsi + 0x34], 5
jne 0x180073a7c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180073a85
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180064394
jmp 0x180073af8
jns 0x180073af8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800689b0
cmp rax, 0xffffffffffffffff
jne 0x180073ab0
cmp byte [rsi + 0x30], dil
je 0x180073af8
mov edi, dword [rsi + 0x2c]
jmp 0x180073af8
mov ecx, r14d
call fcn.18006c8b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180073af8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180073af8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180073af1
mov eax, dword [rsi + 0x2c]
jmp 0x180073af6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800689b0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180074320
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180074348
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180074348
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001580
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x20], rdx
mov rbp, 0xffffffffffffffff
mov rbx, rbp
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1400015c0
mov qword [rsp + 0x28], rbx
xor edi, edi
test rbx, rbx
je 0x140001623
mov r8, rbx
mov edx, 0x2e
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140001623
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x140001623
mov rcx, rax
cmp rbx, rax
cmovb rcx, rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rcx
inc rax
cmp rbx, rax
jb 0x14000174c
sub rbx, rax
cmp rbx, 0xffffffffffffffff
cmovb rbp, rbx
add rsi, rax
jmp 0x14000162c
mov rsi, rdi
mov rbp, rdi
mov rcx, rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov r9, rdi
mov r11d, 0x1d08f8
mov ebx, r11d
test rcx, rcx
je 0x1400016b7
mov r10, qword [rsp + 0x28]
mov r14, qword [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r14 + r9]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx edx, cl
lea r8d, [r9 - 0x31848712]
imul r8d, edx
imul eax, r9d, 0x3186bf26
sub r8d, eax
imul eax, ebx, 0x31848713
sub r8d, eax
add r8d, 0x381487
lea eax, [rdx + r9]
imul ecx, eax, 0x8912812
xor r8d, ecx
add ebx, r8d
inc r9
cmp r9, r10
jb 0x140001660
test rbp, rbp
je 0x140001717
nop dword [rax]
movzx r8d, byte [rsi + rdi]
lea edx, [r8 - 0x41]
lea eax, [r8 + 0x20]
movzx ecx, al
cmp dl, 0x19
cmova ecx, r8d
movsx edx, cl
lea r10d, [rdi - 0x31848712]
imul r10d, edx
imul eax, edi, 0x3186bf26
sub r10d, eax
imul eax, r11d, 0x31848713
sub r10d, eax
add r10d, 0x381487
lea eax, [rdx + rdi]
imul r9d, eax, 0x8912812
xor r10d, r9d
add r11d, r10d
inc rdi
cmp rdi, rbp
jb 0x1400016c0
mov r8d, ebx
mov edx, r11d
mov rcx, r15
call fcn.140001240
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140004ee0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.140002410
nop
int3