joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x20], rsi
xor edx, edx
mov rsi, r9
lea rax, [rcx + rax*2]
mov qword [rsp], rax
cmp rcx, rax
jae 0x140040413
mov qword [r11 - 0x18], r13
lea r13, [0x140000000]
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
nop
test rsi, rsi
je 0x14004025e
cmp r8, rsi
jae 0x1400403f0
movzx edx, byte [r8]
test dl, dl
je 0x1400403ee
xor ebx, ebx
mov eax, edx
shr rax, 3
mov rcx, rsi
movsx r9, byte [rax + r13 + 0x11c098]
test r9d, r9d
sete bl
add ebx, r9d
test rsi, rsi
jne 0x140040292
movsxd rcx, ebx
add rcx, r8
xor ebp, ebp
lea rax, [r8 + 1]
cmp r8, rcx
cmovb ebp, edx
cmp rax, rcx
jae 0x1400402a9
movzx r12d, byte [rax]
jmp 0x1400402ac
xor r12b, r12b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x1400402bb
movzx r15d, byte [rax]
jmp 0x1400402be
xor r15b, r15b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x1400402cd
movzx r14d, byte [rax]
jmp 0x1400402d0
xor r14b, r14b
lea r11, [r9*4]
movzx eax, bpl
mov ecx, dword [r11 + r13 + 0x11c0d0]
and ecx, eax
movzx r9d, r12b
shl ecx, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r15b
or ecx, eax
movzx r10d, r14b
shl ecx, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or ecx, eax
mov eax, r10d
and eax, 0x3f
shr r10d, 2
or r10d, edx
shl ecx, 6
or ecx, eax
shr r10d, 2
mov eax, dword [r11 + r13 + 0x11c080]
or r10d, r9d
shrx r13d, ecx, eax
shr r10d, 2
lea r9, [0x140000000]
cmp r13d, dword [r11 + r9 + 0x11c068]
sbb eax, eax
xor edx, edx
and eax, 0x40
mov ecx, edx
or r10d, eax
mov eax, r13d
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove ecx, eax
mov eax, edx
or r10d, ecx
mov ecx, 0x100
cmp r13d, 0xffff
cmova eax, ecx
or r10d, eax
mov eax, dword [r11 + r9 + 0x11c0b8]
xor r10d, 0x2a
sarx ecx, r10d, eax
test ecx, ecx
je 0x1400403cd
test r14b, r14b
mov eax, edx
mov ecx, edx
mov r13d, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, edx
test r12b, r12b
setne al
add ecx, eax
mov eax, edx
test bpl, bpl
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
mov ebx, ecx
mov word [rdi], r13w
add rdi, 2
movsxd rax, ebx
lea r13, [0x140000000]
add r8, rax
cmp rdi, qword [rsp]
jb 0x140040250
jmp 0x1400403f0
xor edx, edx
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov word [rdi], dx
test rax, rax
je 0x140040428
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x140040440
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push r13
sub rsp, 0x18
mov qword [rsp + 0x30], rbx
lea r9, [0x140000000]
mov qword [rsp + 0x38], rbp
mov rsi, rdx
mov qword [rsp + 0x40], rdi
xor r13d, r13d
mov qword [rsp + 0x10], r12
mov qword [rsp + 8], r14
mov qword [rsp], r15
test rsi, rsi
je 0x140040480
cmp rcx, rsi
jae 0x140040602
movzx r8d, byte [rcx]
test r8b, r8b
je 0x140040602
xor edi, edi
mov eax, r8d
shr rax, 3
mov rdx, rsi
movsx r9, byte [rax + r9 + 0x11c098]
test r9d, r9d
sete dil
add edi, r9d
test rsi, rsi
jne 0x1400404b7
movsxd rdx, edi
add rdx, rcx
xor ebp, ebp
lea rax, [rcx + 1]
cmp rcx, rdx
cmovb ebp, r8d
cmp rax, rdx
jae 0x1400404cf
movzx r12d, byte [rax]
jmp 0x1400404d2
xor r12b, r12b
lea rax, [rcx + 2]
cmp rax, rdx
jae 0x1400404e1
movzx r15d, byte [rax]
jmp 0x1400404e4
xor r15b, r15b
lea rax, [rcx + 3]
cmp rax, rdx
jae 0x1400404f3
movzx r14d, byte [rax]
jmp 0x1400404f6
xor r14b, r14b
lea rbx, [r9*4]
movzx eax, bpl
lea r8, [0x140000000]
movzx r9d, r15b
mov edx, dword [rbx + r8 + 0x11c0d0]
and edx, eax
movzx r10d, r12b
shl edx, 6
mov eax, r10d
and eax, 0x3f
movzx r11d, r14b
or edx, eax
and r10d, 0xc0
shl edx, 6
mov eax, r9d
and eax, 0x3f
and r9d, 0xc0
or edx, eax
mov eax, r11d
and eax, 0x3f
shr r11d, 2
or r11d, r9d
shl edx, 6
or edx, eax
shr r11d, 2
mov eax, dword [rbx + r8 + 0x11c080]
lea r9, [0x140000000]
shrx r8d, edx, eax
or r11d, r10d
shr r11d, 2
cmp r8d, dword [rbx + r9 + 0x11c068]
sbb eax, eax
xor edx, edx
and eax, 0x40
or r11d, eax
mov eax, r8d
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
xor eax, eax
or r11d, edx
mov edx, 0x100
cmp r8d, 0xffff
cmova eax, edx
or r11d, eax
mov eax, dword [rbx + r9 + 0x11c0b8]
xor r11d, 0x2a
sarx edx, r11d, eax
test edx, edx
je 0x1400405f4
xor edx, edx
test r14b, r14b
setne dl
xor eax, eax
test r15b, r15b
setne al
add edx, eax
xor eax, eax
test r12b, r12b
setne al
add edx, eax
xor eax, eax
test bpl, bpl
setne al
add edx, eax
cmp edi, edx
cmovl edx, edi
mov edi, edx
movsxd rax, edi
add rcx, rax
inc r13d
jmp 0x140040472
mov r15, qword [rsp]
mov eax, r13d
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x18
pop r13
pop rsi
ret
Function at 0x140051890
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401d52c0]
mov edi, ecx
cmp byte [rbx + 0x4d21], 0
jne 0x1400518e2
cmp byte [rbx + 0x4d22], 0
jne 0x1400518e2
movsx r9d, word [rbx + 0x5e68]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14003fb60
test dil, 2
je 0x140051a0f
jmp 0x14005196c
vmovss xmm1, dword [rbx + 0x39c4]
vmovss xmm0, dword [0x14011cf70]
vfmadd213ss xmm0, xmm1, dword [rbx + 0xe4c]
vmovss xmm2, dword [0x14011cf90]
vfmadd213ss xmm2, xmm1, dword [rbx + 0xe48]
movsx r9d, word [rbx + 0x5e68]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x49ec], 1
vmovss dword [rbx + 0x49f8], xmm2
vmovss dword [rbx + 0x49fc], xmm0
mov qword [rbx + 0x4a00], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3a2c]
vmulss xmm1, xmm0, dword [0x14011ce28]
or dword [rbx + 0x49e8], 0x41
mov edx, 0x10
vmovss dword [rbx + 0x4a48], xmm1
call fcn.14003fb60
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400519c0
lea r11, [0x140115240]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400519a3
cmp byte [r8], r9b
jne 0x1400519a3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140051990
not ecx
call fcn.140047f20
test rax, rax
je 0x140051a0f
cmp byte [rax + 0xbe], 0
je 0x140051a0f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc5], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e68]
movsx r9d, word [rbx + 0x5e68]
call fcn.14003fb60
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14004aa60
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140056dd0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5fc0], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x140056e53
xor edx, edx
add rcx, 0x5fc8
call fcn.140058980
mov r8, rsi
lea rcx, [rbx + 0x5fc8]
mov rdx, rbp
call fcn.140040c10
mov eax, dword [rbx + 0x5fc8]
xor edx, edx
mov r9, qword [rbx + 0x5fc0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x5fd0]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x1401d52a4]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140056e5f
add rcx, 0x5fc8
call fcn.140040c10
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400571f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401d52c0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140057253
mov qword [rsp], rbx
lea rbx, [0x140115240]
nop dword [rax]
cmp r9b, 0x23
jne 0x140057233
cmp byte [r8], r9b
jne 0x140057233
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140057220
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f30]
not eax
mov r8, qword [r10 + 0x5f38]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14005727f
cmp dword [r8 + 8], eax
je 0x140057286
add r8, 0x48
cmp r8, rcx
jne 0x140057270
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret

Function at 0x1400574d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1401d52c0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5f1c], ecx
test rbx, rbx
je 0x14005753f
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140057550
lea rdx, [0x14011bebc]
mov rcx, rbx
mov rdi, rax
call fcn.14003fe00
mov rbx, rax
test rax, rax
je 0x14005753a
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x2fbac13b5
Capabilities:
Create thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
xor r9d, r9d
mov rbp, rcx
xor ecx, ecx
mov dword [rsp + 0x20], edx
mov ebx, edx
mov qword [rsp + 0x28], rcx
xor edx, edx
or rcx, 0xffffffffffffffff
mov r12, r8
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
xor r8d, r8d
xor r9d, r9d
mov edx, 0xf003f
mov qword [rsp + 0x20], r8
mov rdi, rax
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp ebx, eax
jle 0x2fbac142e
mov rdx, rax
and edx, 7
mov dl, byte [r12 + rdx]
xor dl, byte [rbp + rax]
mov byte [rsi + rax], dl
inc rax
jmp 0x2fbac1414
mov rcx, rsi
lea r9, [rsp + 0x3c]
mov r8d, 0x20
call fcn.2fbac1383
movsxd rdx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
xor edx, edx
mov r9, rsi
mov dword [rsp + 0x20], edx
lea r8, [0x2fbac1380]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x2fbac1480
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbx, rcx
mov ecx, 0x800
call sub.msvcrt.dll_malloc
mov r8d, 0x800
mov rcx, rbx
mov rdi, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, section..rdata
mov rcx, rdi
call sub.msvcrt.dll_fopen
mov rbp, qword [0x2fbac42c0]
lea rdx, [rsp + 0x38]
mov r12, rax
movsxd rax, dword [rbp]
mov rcx, r12
mov qword [rsp + 0x38], rax
call sub.msvcrt.dll_fsetpos
movsxd r8, dword [rbp + 4]
mov rcx, r8
mov qword [rsp + 0x28], r8
call sub.msvcrt.dll_malloc
mov r8, qword [rsp + 0x28]
mov edx, 1
mov r9, r12
mov rcx, rax
mov rsi, rax
call sub.msvcrt.dll_fread
mov rcx, r12
mov rbx, rax
call sub.msvcrt.dll_fclose
mov edx, dword [rbp + 4]
movsxd rax, ebx
cmp edx, eax
jle 0x2fbac1525
mov cl, byte [rbp + rax + 0x18]
mov byte [rsi + rax], cl
inc rax
jmp 0x2fbac1515
lea r8, [rbp + 8]
mov rcx, rsi
call fcn.2fbac13b5
mov rcx, rdi
call sub.msvcrt.dll_free
mov rcx, rsi
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp sub.msvcrt.dll_free

Function at 0x2fbac1567
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
dec edx
jne 0x2fbac1597
xor edx, edx
xor eax, eax
mov qword [0x2fbac7020], rcx
xor r9d, r9d
mov dword [rsp + 0x20], edx
lea r8, [0x2fbac1550]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x2fbac1780
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.2fbac2390
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.2fbac2390
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x2fbac17f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x2fbac7074]
mov rbx, rcx
test esi, esi
jle 0x2fbac1920
mov rax, qword [0x2fbac7078]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x2fbac183b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x2fbac18c5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x2fbac1820
mov rcx, rbx
call fcn.2fbac2050
mov rdi, rax
test rax, rax
je 0x2fbac1942
mov rax, qword [0x2fbac7078]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.2fbac2190
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x2fbac7078]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2fbac1927
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x2fbac18be
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x2fbac18d0
add dword [0x2fbac7074], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x2fbac7078]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2fbac18be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2fbac1780
nop dword [rax]
xor esi, esi
jmp 0x2fbac1848
mov rax, qword [0x2fbac7078]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.2fbac1780
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.2fbac1780
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x2fbac1cc0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x2fbac70a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2fbac7080]
test rbx, rbx
je 0x2fbac1d1c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x2fbac1d13
test eax, eax
jne 0x2fbac1d13
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2fbac1cf8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x2fbac2050
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x2fbac4200]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x2fbac2070
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x2fbac2078
ret
cmp word [r8 + 0x18], 0x20b
jne 0x2fbac2070
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x2fbac20cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x2fbac20c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x2fbac2070
add rax, 0x28
cmp rax, r9
jne 0x2fbac20b0
xor eax, eax
ret

Function at 0x2fbac20d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2fbac4200]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x2fbac20ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x2fbac20f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x2fbac20ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x2fbac2190
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x2fbac4200]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x2fbac21af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x2fbac21b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1800011ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
xor edi, edi
mov rbx, r8
and qword [rbp + 0x30], rdi
mov rsi, rdx
mov rax, rcx
test r8, r8
je 0x180001217
and dword [r8], edi
xor ecx, ecx
and dword [rbp + 0x38], ecx
mov qword [rbp + 0x28], rcx
test rsi, rsi
je 0x18000126d
and qword [rbp - 8], rcx
lea r8d, [rcx + 3]
mov rcx, rsi
mov qword [rbp - 0x18], 0xa
lea r9, [rbp - 0x20]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x18]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x180001269
mov rdx, qword [rbp - 0x20]
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x28]
mov rcx, rsi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
cmovns edi, dword [rbp + 0x38]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x180001294
test edi, edi
je 0x180001294
mov al, byte [rbp + 0x40]
lea r8, [rbp + 0x30]
mov edx, edi
mov byte [rsp + 0x20], al
call fcn.1800012a4
test rbx, rbx
je 0x180001296
mov ecx, dword [rbp + 0x30]
mov dword [rbx], ecx
jmp 0x180001296
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800012a4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov dword [rax + 0x20], r9d
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0x90
mov r15, rcx
lea rdi, [rbp - 0x11]
xor eax, eax
xor ebx, ebx
and qword [r8], rbx
mov rsi, rdx
mov r12, r8
mov r8, rsi
lea edx, [rbx + 0x18]
mov ecx, edx
rep stosb byte [rdi], al
mov ecx, edx
lea rdi, [rbp - 0x31]
rep stosb byte [rdi], al
lea rdi, [rbp - 0x41]
lea ecx, [rbx + 0x10]
rep stosb byte [rdi], al
mov rax, qword gs:[0x30]
lea edx, [rbx + 8]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r14, rax
test rax, rax
je 0x180001456
mov r8, rsi
mov rdx, r15
mov rcx, rax
call fcn.180016bd0
lea r15d, [rbx + 1]
test esi, esi
je 0x180001347
mov eax, 0xf62e6ce0
mov edx, esi
mov rcx, r14
xor byte [rcx], al
add rcx, r15
rol eax, 1
add edx, 0xffffffff
jne 0x18000133b
and dword [rbp - 0x21], ebx
lea r9, [rbp - 0x41]
movsd xmm1, qword [rbp - 0x21]
lea r8, [rbp + 0xf]
mov qword [rbp - 0x31], r14
lea rdx, [rbp - 0x31]
mov qword [rbp - 0x29], rsi
mov rcx, r15
movups xmm0, xmmword [rbp - 0x31]
movsd qword [rbp + 0x1f], xmm1
movsd xmm1, qword [rbp - 1]
movaps xmmword [rbp + 0xf], xmm0
movups xmm0, xmmword [rbp - 0x11]
movsd qword [rbp - 0x21], xmm1
movaps xmmword [rbp - 0x31], xmm0
call qword [sym.imp.msdelta.dll_ApplyDeltaB]
test eax, eax
je 0x180001426
mov rdi, qword [rbp - 0x39]
mov rsi, qword [rbp - 0x41]
cmp byte [rbp + 0x7f], bl
je 0x1800013d5
and dword [rbp + 0x6f], ebx
lea r9, [rbp + 0x77]
and dword [rbp + 0x77], ebx
lea r8, [rbp + 0x6f]
mov edx, edi
mov rcx, rsi
call fcn.180001570
test al, al
jne 0x1800013e1
mov r9d, dword [rbp + 0x77]
lea rdx, [0x180024940]
mov r8d, dword [rbp + 0x6f]
mov ecx, r15d
call fcn.1800016ec
jmp 0x18000141a
lea rcx, str.___Checksum_verification_skipped_r_n
call fcn.180001198
mov rax, qword gs:[0x30]
mov r8, rdi
mov edx, 8
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x18000141a
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.180016bd0
mov qword [r12], rdi
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.msdelta.dll_DeltaFree]
jmp 0x18000143a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Error_while_decompressing_resource
call fcn.1800017a4
mov rax, qword gs:[0x30]
mov r8, r14
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea r11, [rsp + 0x90]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x180001514
Capabilities:
Access pe header
Check for peb beingdebugged flag

Disassembly:
sub rsp, 0x48
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edx, 1
mov ecx, dword [rax + 0x58]
lea rax, str.Mon_Dec__9_18:55:13_2024
mov dword [rsp + 0x38], ecx
lea r9d, [rdx + 2]
mov qword [rsp + 0x30], rax
lea r8d, [rdx + 3]
mov dword [rsp + 0x28], 0x7e8
lea rcx, str.___Kernel_Driver_Utility_v_lu._lu._lu__build__lu__started___c_2020____lu_KDU_Project_r_n___Built_at__s__header_checksum_0x_lX_r_n___Supported_x64_OS_:_Windows_7_and_above_r_n
mov dword [rsp + 0x20], 0x96b
call fcn.180001198
add rsp, 0x48
ret

Function at 0x180001570
Capabilities:
Access pe header

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, 0x20
mov edi, edx
xor ebp, ebp
mov r14, r8
mov rsi, r9
mov r8, rcx
mov rdx, rcx
mov r10d, ebp
lea r11d, [rdi + 1]
shr r11d, 1
je 0x1800015c2
movzx eax, word [rdx]
lea rdx, [rdx + 2]
add r10d, eax
mov ecx, r10d
movzx r10d, r10w
shr ecx, 0x10
add r10d, ecx
add r11d, 0xffffffff
jne 0x1800015a5
mov ebx, r10d
mov rcx, r8
shr ebx, 0x10
add bx, r10w
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
je 0x1800015f9
movzx ecx, word [rax + 0x58]
cmp bx, cx
adc cx, bp
sub bx, cx
movzx ecx, word [rax + 0x5a]
cmp bx, cx
adc cx, bp
sub bx, cx
mov ecx, dword [rax + 0x58]
jmp 0x1800015fe
mov ecx, edi
movzx ebx, bp
movzx eax, bx
add eax, edi
test r14, r14
je 0x18000160b
mov dword [r14], ecx
test rsi, rsi
je 0x180001612
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
cmp eax, ecx
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
sete al
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x180009cb8
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 0x180009d27
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180009d27
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180009d27
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180009d27
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180009d27
cmp dword [rcx + 0x84], 0xe
jbe 0x180009d27
cmp dword [rcx + 0xf8], 0
je 0x180009d27
mov ecx, ebx
call fcn.180009dcc
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.180009bc0
nop
cmp dword [rbp + 0x20], 0
jne 0x180009d88
call fcn.18000e8a4
cmp eax, 1
jne 0x180009d78
xor dl, dl
jmp 0x180009d82
call fcn.18000e870
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x180009d93
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180009d9c
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180009cb8