joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400792c0
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x18]
call fcn.1400824e0
mov rax, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
mov rcx, rax
neg rcx
jo 0x14007931b
mov rcx, qword [rbp - 8]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rcx
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x30]
mov r8b, 1
call fcn.140083bf0
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov rax, rdi
neg rax
jno 0x140079326
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140079350
test rdi, rdi
je 0x14007937c
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.14001a0f0
xor eax, eax
jmp 0x14007931e
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x14007931e
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.14001a0f0
jmp 0x14007931b
xor eax, eax
jmp 0x14007931e

Function at 0x140079810
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x140a7adf8]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400798a6
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x1400798d3
test eax, eax
js 0x1400798b2
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1400798c9
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, [0x140a7ae58]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.140071910
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.140069520
mov ecx, 7
int 0x29
ud2
Function at 0x140079ec0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov qword [rbp - 8], rcx
movzx r15d, byte [rdx + 0x18]
mov byte [rdx + 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 2
mov qword [rbp - 0x10], 0
mov r12, qword [rdx + 8]
movzx esi, word [rdx + 0x10]
mov eax, 2
xor edi, edi
xor r13d, r13d
jmp 0x140079f2c
mov word [rax + rdi*2], r14w
inc rdi
mov qword [rbp - 0x10], rdi
mov rdx, qword [rbx]
mov r14d, esi
test si, si
jne 0x140079fd0
nop dword [rax + rax]
cmp rdx, r12
je 0x14007a08f
lea rcx, [rdx + 1]
mov qword [rbx], rcx
movzx r9d, byte [rdx]
movzx r14d, r9b
test r14b, r14b
jns 0x140079ffa
mov r8d, r14d
and r8d, 0x1f
lea rcx, [rdx + 2]
mov qword [rbx], rcx
movzx r10d, byte [rdx + 1]
and r10d, 0x3f
cmp r14b, 0xdf
jbe 0x140079ff0
lea rcx, [rdx + 3]
mov qword [rbx], rcx
movzx r14d, byte [rdx + 2]
shl r10d, 6
and r14d, 0x3f
or r14d, r10d
cmp r9b, 0xf0
jb 0x14007a018
lea rcx, [rdx + 4]
mov qword [rbx], rcx
movzx edx, byte [rdx + 3]
and r8d, 7
shl r8d, 0x12
shl r14d, 6
and edx, 0x3f
or edx, r14d
or edx, r8d
mov r14d, edx
cmp r14d, 0xffff
jbe 0x140079ffa
jmp 0x14007a028
mov word [rbx + 0x10], 0
xor esi, esi
cmp r14w, 0x22
je 0x14007a006
jmp 0x14007a060
shl r8d, 6
or r8d, r10d
mov r14d, r8d
xor esi, esi
mov rdx, rcx
cmp r14w, 0x22
jne 0x14007a060
xor r13b, 1
mov r14d, esi
test si, si
je 0x140079f40
jmp 0x140079fd0
shl r8d, 0xc
or r14d, r8d
cmp r14d, 0xffff
jbe 0x140079ffa
lea r8d, [r14 + 0xff0000]
shr r8d, 0xa
or r8d, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov word [rbx + 0x10], r14w
mov rdx, rcx
mov esi, r14d
mov r14d, r8d
cmp r14w, 0x22
je 0x14007a006
nop dword [rax]
movzx ecx, r14w
cmp ecx, 0x3b
jne 0x14007a06f
test r13b, 1
je 0x14007a08b
cmp rdi, qword [rbp - 0x20]
jne 0x140079f20
lea rcx, [rbp - 0x20]
call fcn.14006db30
mov rax, qword [rbp - 0x18]
jmp 0x140079f20
mov byte [rbx + 0x18], 1
test rdi, rdi
setne al
or r15b, al
je 0x14007a0c8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x40]
mov r8, rdi
call fcn.140071e80
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov rax, qword [rbp - 8]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x14007a0e2
jmp 0x14007a0f4
movabs rax, 0x8000000000000000
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14007a0f4
mov rcx, qword [rbp - 0x18]
add rdx, rdx
mov r8d, 2
call fcn.14001a0f0
mov rax, qword [rbp - 8]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14007ad20
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 4], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rax, [rbp - 4]
mov qword [rbp - 0x18], rax
mov rcx, qword [rcx]
lea rax, [0x14007ae00]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x14007adaf
mov rsi, qword [sym.imp.KERNEL32.dll_SleepEx]
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call rsi
cmp dword [rbp - 4], 1
jne 0x14007ad80
mov eax, dword [rbp]
mov esi, dword [rbp + 4]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
test eax, eax
cmovne rsi, rcx
jne 0x14007adc2
xor eax, eax
jmp 0x14007adf2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
mov eax, ecx
and eax, 3
shr rcx, 0x20
cmp eax, 2
jne 0x14007ade2
call fcn.140082320
xor ecx, ecx
cmp al, 0xb
setne al
cmove rsi, rcx
jmp 0x14007adf2
cmp rcx, 0xb
setne al
xor edx, edx
cmp ecx, 0xb
cmove rsi, rdx
movzx eax, al
mov rdx, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x1400834d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x14008353c
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x14008353c
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x14008353c
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x1400835e8
cmp byte [rdx], 0xed
jne 0x1400835f1
movzx r12d, byte [rdx + 1]
mov r8d, r12d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x1400835f1
movzx r13d, byte [rdx + 2]
cmp rbx, 3
jb 0x140083581
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
and r13d, 0x3f
shl r12d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
sub rax, rbx
cmp rax, r8
jb 0x1400836db
add rdx, 3
mov r15, rdx
and r12d, 0x3c0
or r14d, r13d
or r14d, r12d
add r14d, 0x10000
mov rcx, rsi
mov edx, r14d
call fcn.140075fa0
add rdi, 0xfffffffffffffffd
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x140083700
mov rcx, qword [rsi + 8]
add rcx, rbx
mov rdx, r15
jmp 0x14008368e
test rdi, rdi
je 0x140083680
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x140083618
add r9, 2
cmp r8, rax
cmovne r8, r9
nop word cs:[rax + rax]
mov r9, r8
cmp r8, rax
je 0x140083680
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x140083610
cmp r10b, 0xe0
jb 0x1400835fa
cmp r10b, 0xed
jne 0x14008364f
cmp r8, rax
je 0x140083680
lea r8, [r9 + 2]
cmp r8, rax
je 0x140083680
cmp byte [r9 + 1], 0x9f
ja 0x14008367c
add r9, 3
mov r8, r9
jmp 0x140083610
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x140083610
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x140083610
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x1400836ae
add rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.140092e40
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x14008368b
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r15, rdx
mov rdx, rbx
call fcn.140092e40
mov rdx, r15
jmp 0x14008359c
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.140092e40
mov rbx, qword [rsi + 0x10]
jmp 0x1400835d9
Function at 0x1400926c4
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rbx, rdx
mov r12, rcx
call qword [sym.imp.USER32.dll_GetDC]
lea rdx, [rbp - 9]
mov rcx, r12
mov r14, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rbp + 3]
mov rcx, r14
mov edx, dword [rbp - 1]
mov r15, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, r15
mov r13, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [rbp + 3]
xor edi, edi
mov r9d, dword [rbp - 1]
xor r8d, r8d
mov dword [rsp + 0x40], 0xcc0020
xor edx, edx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ecx
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [rbp - 1]
mov eax, 0x4d42
mov word [rbp - 0x19], ax
xorps xmm0, xmm0
mov dword [rbp - 0x13], edi
movdqu xmmword [rbp + 0x1b], xmm0
lea eax, [rdx + 1]
mov dword [rbp + 0x2b], edi
lea ecx, [rax + rax*2]
mov dword [rbp - 0xf], 0x36
mov eax, dword [rbp + 3]
and ecx, 0xfffffffc
imul ecx, eax
mov dword [rbp + 7], 0x28
mov dword [rbp + 0xb], edx
mov dword [rbp + 0xf], eax
mov qword [rbp + 0x13], 0x180001
add ecx, 0x36
cmp qword [rbx + 0x18], 0xf
mov dword [rbp - 0x17], ecx
jbe 0x1800036c0
mov rbx, qword [rbx]
lea rdx, [0x1801006d8]
mov rcx, rbx
call fcn.18006e048
mov r9, rax
lea rcx, [rbp - 0x19]
mov edx, InitCommonControls
mov r8d, 1
mov rsi, rax
call fcn.1800720a8
mov r9, rsi
lea rcx, [rbp + 7]
mov edx, 0x28
mov r8d, 1
call fcn.1800720a8
mov ecx, dword [rbp - 1]
inc ecx
lea ebx, [rcx + rcx*2]
and ebx, 0xfffffffc
mov eax, ebx
imul eax, dword [rbp + 3]
movsxd rcx, eax
call fcn.180068454
mov r9d, dword [rbp + 3]
mov rdi, rax
lea rax, [rbp + 7]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, r13
mov qword [rsp + 0x20], rdi
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetDIBits]
imul ebx, dword [rbp + 3]
mov r9, rsi
mov r8d, 1
mov rcx, rdi
movsxd rdx, ebx
call fcn.1800720a8
mov rcx, rsi
call fcn.18006e568
mov rcx, rdi
call fcn.180067fbc
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800085d0
Capabilities:
Clear file content
Delete file
Get disk information
Get geographical location
Query environment variable

Disassembly:
push rbx
sub rsp, 0x40
movsxd rax, dword [rcx + 0x50]
mov rbx, rcx
cmp qword [rcx + rax*8], 0
jne 0x18000862a
mov edx, 0x38
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movsxd rcx, dword [rbx + 0x50]
mov edx, 0x44a8
mov r9d, 4
mov r8d, 0x3000
mov qword [rbx + rcx*8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movsxd rcx, dword [rbx + 0x50]
mov rdx, qword [rbx + rcx*8]
mov qword [rdx + 0x20], rax
cmp dword [0x1800e9518], 0x7bfb000f
movsxd rax, dword [rbx + 0x50]
mov rbx, qword [rbx + rax*8]
jne 0x180008783
xor ecx, ecx
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DiscardVirtualMemory]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WriteProfileStringW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetCommBreak]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventExW]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddResourceAttributeAce]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea r8, [0x180101078]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetStringTypeA]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov dword [rsp + 0x30], edi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], edi
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdi, qword [rsp + 0x50]
mov rax, rbx
add rsp, 0x40
pop rbx
ret
Function at 0x180008790
Capabilities:
Move file
Read .ini file
Read file on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp dword [0x1800e9518], 0x1e26a525
mov edi, edx
mov rbx, qword [0x1800e9510]
jne 0x1800088f8
xor ecx, ecx
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RemoveSecureMemoryCacheCallback]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InterlockedPushListSListEx]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseThreadpoolTimer]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CancelSynchronousIo]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalSize]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseThreadpoolCleanupGroup]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MulDiv]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_BindIoCompletionCallback]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rsi, qword [rsp + 0x40]
mov rax, qword [rbx]
mov dword [rax], edi
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x48]
mov eax, dword [rax]
add rsp, 0x30
pop rdi
ret

Function at 0x18000b080
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov eax, 0x2677
nop dword [rax]
inc eax
test al, 1
jne 0x18000b090
cmp eax, 0x2678
je 0x18000b0a9
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x28
ret
Function at 0x180074f28
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180074f97
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180074f97
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180074f97
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180074f97
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180074f97
cmp dword [rcx + 0x84], 0xe
jbe 0x180074f97
cmp dword [rcx + 0xf8], 0
je 0x180074f97
mov ecx, ebx
call fcn.180075048
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180074e24
nop
cmp dword [rbp + 0x20], 0
je 0x180074fe5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180074ff0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180074f28

Function at 0x1800769f8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180076a0e
mov al, 1
jmp 0x180076a6e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180076a1f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180076a6c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800826ac
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180076a6c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180076a6c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180076a6c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180076a6e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18007cfa0
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.1800688a0
sub rsp, rax
mov rax, qword [0x18008e0c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800767dc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18007cfef
mov rax, rbp
jmp 0x18007d0f7
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 + 0xe8da0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.18007e954
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xe8da0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18007d0f3
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 0x18007d0f3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.18007e954
test rax, rax
js 0x18007d0f3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18007d0f3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18007d0e5
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18007d0e5
cmp byte [rcx], 0xd
jne 0x18007d0cb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18007d0da
cmp byte [rcx + 1], 0xa
jne 0x18007d0da
inc rcx
jmp 0x18007d0da
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x8e4f0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18007d0ad
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18007d0f7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180068870
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 0x18007dcf4
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, [0x1800e8da0]
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 0x18007dd4b
cmp word [rdx], r13w
jne 0x18007dd4b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18007dd50
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18007de75
mov r11d, InitCommonControls
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18007de96
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18007dd89
mov rdx, r9
mov word [rbx], cx
jmp 0x18007ddb0
cmp r9, r8
jae 0x18007ddc0
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 0x18007dd6a
jmp 0x18007de75
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 0x18007de6a
cmp dword [rsp + 0x80], esi
je 0x18007de6a
lea r8, [0x1800e8da0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18007de42
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18007de12
mov word [rbx], r13w
jmp 0x18007de72
mov ecx, InitCommonControls
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 0x18007de1f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18007de72
cmp word [rsp + 0x70], r13w
jne 0x18007de4f
cmp rbx, r14
je 0x18007de0c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.18007e95c
cmp word [rsp + 0x70], r13w
je 0x18007de75
mov ecx, InitCommonControls
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, [0x1800e8da0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18007de6f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18007de75