joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001cd20
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14001caa0
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.14001caa0
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.14001caa0
mov ecx, dword [0x140040244]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 8
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.140022850
call fcn.14001caa0
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret

Function at 0x1400204c0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002051c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002051c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002051c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002051c
cmp dword [rcx + 0x84], 0xe
jbe 0x14002051c
cmp dword [rcx + 0xf8], 0
je 0x14002051c
mov ecx, ebx
call fcn.140020730
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1400411c0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400208b0
cmp dword [rsp + 0x60], 0
jne 0x14002055f
mov ecx, ebx
call fcn.1400207b0
int3
add rsp, 0x40
pop rbx
ret

Function at 0x140020570
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400205d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400205d2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x1400205d2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x1400205d2
cmp dword [rdx + 0x84], 0xe
jbe 0x1400205d2
cmp dword [rdx + 0xf8], 0
je 0x1400205d2
mov ecx, ebx
call fcn.140020730
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1400411c0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400208b0
cmp dword [rsp + 0x60], 0
jne 0x140020615
mov ecx, ebx
call fcn.1400207b0
int3
add rsp, 0x40
pop rbx
ret
Function at 0x1400209c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x14003f068]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x140020a2c
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x140020a2c
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x140020a7f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x140020a10
mov rcx, qword [0x1400411c8]
test rcx, rcx
jne 0x140020a62
call fcn.140023c20
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x1400411c8], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x140020b63
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x140020b65
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x140020b8a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x140020a2c
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x140020a2c
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x140020a2c
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x140020b53
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x140020b31
jmp 0x140020a2c
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x140020a2c
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.14001b140
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14001bcdc
int3
Function at 0x140021140
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14003f068]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14002117c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.14001b854
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140021238
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14002129e
test ebx, ebx
jne 0x14002129e
lea ecx, [rax + 2]
call fcn.14001b854
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.14001b140
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140001cb8
Capabilities:
Parse pe header

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

Function at 0x180754058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1807541df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180754089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18075406f
add dl, dl
jne 0x180754096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807540f6
xor eax, eax
add dl, dl
jne 0x1807540a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1807541ad
add dl, dl
jne 0x1807540b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807540c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807540d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1807540dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1807540ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18075407e
mov eax, 1
add dl, dl
jne 0x180754106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180754113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1807540fb
sub eax, ebx
mov ebx, 1
jne 0x18075414c
mov ecx, 1
add dl, dl
jne 0x18075412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18075413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180754123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18075407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180754168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180754175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18075415d
cmp eax, 0x7d00
jae 0x18075419b
cmp eax, 0x500
jb 0x180754196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18075407e
cmp eax, 0x7f
ja 0x18075419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18075407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1807541d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18075407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001030
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12d, ecx
lea rcx, [0x14002b980]
xor r13d, r13d
xor edx, edx
mov rbx, r13
call fcn.14000d4f4
lea ebp, [r13 + 1]
test rax, rax
mov rsi, rax
je 0x140001136
nop
test rbx, rbx
jne 0x140001136
mov eax, r12d
lea edx, [rbx + 6]
xor r9d, r9d
shr eax, 4
mov rcx, rsi
add ax, 1
movzx r8d, ax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
test rax, rax
mov rdi, rax
jne 0x1400010a3
mov rbx, r13
jmp 0x140001119
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400010b9
mov rbx, r13
jmp 0x140001114
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rbx, rax
jne 0x1400010cf
mov rbx, r13
jmp 0x140001114
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, r12d
mov r11d, eax
add r11, rbx
and ecx, 0xf
jbe 0x140001102
nop
nop
cmp rbx, r11
jae 0x140001107
add ecx, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x1400010f0
cmp rbx, r11
jb 0x14000110c
mov rbx, r13
jmp 0x140001114
cmp word [rbx], r13w
cmove rbx, r13
test rbx, rbx
jne 0x140001151
lea rcx, [0x14002b980]
mov edx, ebp
call fcn.14000d4f4
add ebp, 1
test rax, rax
mov rsi, rax
jne 0x140001070
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
mov rax, rsi
jmp 0x140001138
Function at 0x1400021c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov eax, r8d
mov rbp, rdx
mov ebx, r8d
shr eax, 4
mov rsi, rcx
mov r8d, 6
add ax, 1
mov rcx, rbp
movzx edx, ax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
mov r12, rax
je 0x140002331
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140002331
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
mov rdi, rax
je 0x140002331
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rdi
and ebx, 0xf
jbe 0x140002266
nop
cmp rdi, r11
jae 0x140002331
add ebx, 0xffffffff
movzx eax, word [rdi]
lea rdi, [rdi + rax*2 + 2]
jne 0x140002250
cmp rdi, r11
jae 0x140002331
movzx eax, word [rdi]
test ax, ax
je 0x140002331
movzx ebx, ax
mov rax, qword [rsi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x14000229c
mov edx, ebx
mov rcx, rsi
call fcn.1400024b0
movzx ecx, word [rdi]
lea r8, [rdi + 2]
cmp ecx, 0xffffffff
jne 0x1400022b9
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
and ecx, ecx
movsxd r9, ecx
mov rcx, qword [rsi]
lea rdi, [rbx + rbx]
mov rdx, rdi
add r9, r9
call fcn.14000dab0
test eax, eax
je 0x140002307
cmp eax, 0xc
je 0x1400022fc
cmp eax, 0x16
je 0x1400022f1
cmp eax, 0x22
je 0x1400022f1
cmp eax, 0x50
je 0x140002307
mov ecx, 0x80004005
call fcn.140001010
int3
mov ecx, 0x80070057
call fcn.140001010
int3
mov ecx, 0x8007000e
call fcn.140001010
int3
test ebx, ebx
js 0x140002326
mov rcx, qword [rsi]
cmp ebx, dword [rcx - 0xc]
jg 0x140002326
mov dword [rcx - 0x10], ebx
mov rcx, qword [rsi]
mov eax, 1
mov word [rdi + rcx], 0
jmp 0x140002333
mov ecx, 0x80070057
call fcn.140001010
int3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140005510
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
sub rsp, 0x70
test rdx, rdx
mov rbp, rcx
je 0x1400056c4
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x18], r13
mov qword [rax + 0x10], rbx
mov qword [rcx + 0x520], rdx
mov rdi, rcx
mov qword [rax - 0x10], r12
mov esi, 0x5c00
xor r13d, r13d
nop
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rdi + 8], r13
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
mov qword [rdi], rax
je 0x140005636
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov qword [rcx], rax
mov rax, qword [rdi + 8]
mov edx, 0xc0000000
mov qword [rcx + 8], rax
mov rcx, qword [rbp + 0x520]
xor eax, eax
lea r8d, [rax + 3]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov r12, rax
jne 0x1400055c7
mov qword [rsp + 0x40], r13
jmp 0x140005622
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x80]
mov edx, esi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
or edx, 0x220000
mov r9d, 0x10
mov rcx, r12
mov dword [rsp + 0x28], SafeArrayUnaccessData
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11, qword [rsp + 0x40]
test ebx, ebx
cmove r11, r13
mov qword [rsp + 0x40], r11
lea rcx, [rsp + 0x40]
mov rax, qword [rcx]
mov qword [rdi + 0x10], rax
mov rax, qword [rcx + 8]
mov qword [rdi + 0x18], rax
add esi, 0xc
add rdi, 0x20
cmp esi, 0x5de0
jl 0x140005550
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rbp + 0x508], r13
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x98]
test rax, rax
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov qword [rbp + 0x500], rax
je 0x1400056b6
lea rax, [rsp + 0x80]
lea r8, [0x140005820]
mov r9, rbp
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x528], rax
mov rax, rbp
mov r13, qword [rsp + 0x60]
add rsp, 0x70
pop rbp
ret
mov rax, rcx
add rsp, 0x70
pop rbp
ret
Function at 0x1400076f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x30
mov ebx, dword [0x14002d230]
lea rax, [0x140024448]
mov rdi, rcx
lea r8, str.REALTEK
test ebx, ebx
lea rdx, str.RtkAudioService
lea rcx, str.__s__CService::Initialize_for__s_n
cmovne r8, rax
call fcn.140001000
lea rcx, [rdi + 0xa0]
mov edx, ebx
mov dword [rdi + 0x408], ebx
call fcn.140008f30
cmp dword [rdi + 0x100], 0
je 0x140007866
mov rcx, rdi
call fcn.140008480
test eax, eax
jne 0x140007795
lea r9, str..Service.cpp
lea rdx, str.RtkAudioService
lea rcx, str.__s__RETURN_VALUE_ON_FALSE:_Line___d__File___s_n
mov r8d, 0x286
call fcn.140001000
mov eax, 2
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140008580
test eax, eax
jne 0x1400077d6
lea r9, str..Service.cpp
lea rdx, str.RtkAudioService
lea rcx, str.__s__RETURN_VALUE_ON_FALSE:_Line___d__File___s_n
mov r8d, 0x28a
call fcn.140001000
mov eax, 3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp dword [rdi + 0xfc], 0
je 0x14000782c
mov rcx, rdi
call fcn.140008680
test eax, eax
jne 0x140007820
lea r9, str..Service.cpp
lea rdx, str.RtkAudioService
lea rcx, str.__s__RETURN_VALUE_ON_FALSE:_Line___d__File___s_n
mov r8d, 0x290
call fcn.140001000
mov eax, 4
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea rcx, [rdi + 0xa0]
call fcn.14000c9b0
mov eax, dword [rdi + 0xb8]
test eax, eax
mov dword [rdi + 0x10], eax
je 0x140007866
xor ecx, ecx
lea rax, [rsp + 0x48]
lea r8, [0x140007880]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x48], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x400], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x14000d574
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14002a0c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.14000ec40
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.14000ec40
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x14000d607
cmp dword [rsp + 0x24], 5
jb 0x14000d621
jmp 0x14000d61d
cmp dword [rsp + 0x30], esi
jne 0x14000d621
cmp dword [rsp + 0x24], 4
ja 0x14000d61d
jne 0x14000d621
cmp dword [rsp + 0x28], 0
jbe 0x14000d621
mov byte [rbx + 0x18], sil
lea rax, [0x140021540]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.140005900
movzx ecx, byte [0x14002ca28]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x14002ca28], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000d970
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000e970
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x94
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14000e9ce
cmp dword [0x14002ba70], 2
je 0x14000e9b0
call fcn.140013180
mov ecx, 0x12
call fcn.140012f40
mov ecx, 0xff
call fcn.140012b40
mov eax, 0xff
jmp 0x14000ebd5
mov dword [rax], 0x94
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x14000e9ff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0xff
jmp 0x14000ebd5
mov r13d, dword [rbx + 0x10]
mov esi, dword [rbx + 4]
mov r12d, dword [rbx + 8]
mov edi, dword [rbx + 0xc]
and edi, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp r13d, 2
je 0x14000ea31
bts edi, 0xf
mov eax, esi
shl eax, 8
add eax, r12d
mov dword [0x14002c074], r13d
mov dword [0x14002c07c], eax
mov dword [0x14002c080], esi
mov dword [0x14002c084], r12d
mov dword [0x14002c078], edi
cmp word [0x140000000], 0x5a4d
jne 0x14000eab7
movsxd rax, dword [0x14000003c]
lea rcx, [0x140000000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x14000ea85
xor ebx, ebx
mov dword [rsp + 0x50], ebx
jmp 0x14000eabd
cmp word [rax + 0x18], 0x20b
je 0x14000ea95
xor ebx, ebx
mov dword [rsp + 0x50], ebx
jmp 0x14000eabd
cmp dword [rax + 0x84], 0xe
ja 0x14000eaa6
xor ebx, ebx
mov dword [rsp + 0x50], ebx
jmp 0x14000eabd
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x50], ebx
jmp 0x14000eabd
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov ecx, 1
call fcn.1400123a0
test eax, eax
jne 0x14000eaed
cmp dword [0x14002ba70], 2
je 0x14000ead9
call fcn.140013180
mov ecx, 0x1c
call fcn.140012f40
mov ecx, 0xff
call fcn.140012b40
call fcn.140010d90
test eax, eax
jne 0x14000eb18
cmp dword [0x14002ba70], 2
je 0x14000eb04
call fcn.140013180
mov ecx, 0x10
call fcn.140012f40
mov ecx, 0xff
call fcn.140012b40
call fcn.1400150a0
nop
call fcn.140014d70
test eax, eax
jns 0x14000eb31
mov ecx, 0x1b
call fcn.140012b10
call fcn.140014c50
mov qword [0x14002e4c8], rax
call fcn.140014a50
mov qword [0x14002ba68], rax
call fcn.1400147e0
test eax, eax
jns 0x14000eb5c
mov ecx, 8
call fcn.140012b10
call fcn.1400144b0
test eax, eax
jns 0x14000eb6f
mov ecx, 9
call fcn.140012b10
mov ecx, 1
call fcn.140012c80
test eax, eax
je 0x14000eb84
mov ecx, eax
call fcn.140012b10
mov r8, qword [0x14002c0b0]
mov qword [0x14002c0b8], r8
mov rdx, qword [0x14002c098]
mov ecx, dword [0x14002c088]
call fcn.140005970
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x14000ebb5
mov ecx, eax
call fcn.140012e90
call fcn.140012eb0
jmp 0x14000ebd3
mov eax, edi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
sub rsp, 0x28
call fcn.140015120
add rsp, 0x28
jmp 0x14000e970