joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002644
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r9, dword [rcx + 0x3c]
lea rbx, [rcx + 0x18]
add rbx, r9
xor r10d, r10d
mov r14, r8
mov r15, rdx
mov rbp, rcx
movzx eax, word [r9 + rcx + 0x14]
movzx esi, word [r9 + rcx + 6]
add rbx, rax
test rsi, rsi
je 0x1400026c7
xor edi, edi
cmp dword [rbx], 0x45474150
je 0x14000269f
cmp dword [rbx], 0x7865742e
jne 0x1400026bb
cmp byte [rbx + 4], 0x74
jne 0x1400026bb
mov ecx, dword [rbx + 0xc]
mov r9, r14
mov edx, dword [rbx + 8]
add rcx, rbp
mov r8, r15
call fcn.1400025cc
mov r10, rax
test rax, rax
jne 0x1400026c7
inc rdi
add rbx, 0x28
cmp rdi, rsi
jl 0x140002689
mov rbx, qword [rsp + 0x40]
mov rax, r10
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400026e4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [0x140004010]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor ebx, ebx
lea r9, [rsp + 0x20]
mov r14, rcx
mov dword [rsp + 0x20], ebx
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea esi, [rbx + 0xb]
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x140002830
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x6f616d4c
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140002830
mov r8d, dword [rsp + 0x20]
xor r9d, r9d
mov rdx, rax
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
js 0x140002820
mov esi, ebx
cmp qword [rdi], rbx
jbe 0x140002820
lea rbp, [rdi + 8]
mov rax, rbp
lea rcx, [rsp + 0x30]
mov edx, 2
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x14000278a
movups xmm0, xmmword [rax]
mov rdx, r14
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x58]
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x14000281b
inc esi
add rbp, 0x128
movsxd rax, esi
cmp rax, qword [rdi]
jb 0x14000277d
jmp 0x140002820
mov rbx, qword [rsp + 0x40]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
jmp 0x140002832
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400028f0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x2fc4d15f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d26d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d1ff2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f4108]
test eax, eax
je 0x2fc4d208a
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f4110]
mov qword [rbp - 8], rax
jmp 0x2fc4d206e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d2062
cmp qword [rbp - 0x10], 0
je 0x2fc4d2062
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d2028
lea rax, [0x2fc4f40e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d208b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2190
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d21b8
mov eax, 0
jmp 0x2fc4d2206
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d21e1
mov eax, 0
jmp 0x2fc4d2206
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d2201
mov eax, 0
jmp 0x2fc4d2206
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d220c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d228a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2281
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d2281
mov rax, qword [rbp - 8]
jmp 0x2fc4d229f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d2254
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cf750
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d0830
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d0152
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f2108]
test eax, eax
je 0x2fc4d01ea
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f2110]
mov qword [rbp - 8], rax
jmp 0x2fc4d01ce
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d01c2
cmp qword [rbp - 0x10], 0
je 0x2fc4d01c2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d0188
lea rax, [0x2fc4f20e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d01eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d02f0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d0318
mov eax, 0
jmp 0x2fc4d0366
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d0341
mov eax, 0
jmp 0x2fc4d0366
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d0361
mov eax, 0
jmp 0x2fc4d0366
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d036c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d03ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d03e1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d03e1
mov rax, qword [rbp - 8]
jmp 0x2fc4d03ff
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d03b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4f5d10
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4f6712
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc51b108]
test eax, eax
je 0x2fc4f67aa
lea rax, [0x2fc51b0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc51b110]
mov qword [rbp - 8], rax
jmp 0x2fc4f678e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4f6782
cmp qword [rbp - 0x10], 0
je 0x2fc4f6782
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4f6748
lea rax, [0x2fc51b0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4f67ab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4f68b0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4f68d8
mov eax, 0
jmp 0x2fc4f6926
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4f6901
mov eax, 0
jmp 0x2fc4f6926
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4f6921
mov eax, 0
jmp 0x2fc4f6926
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4f692c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4f69aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4f69a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4f69a1
mov rax, qword [rbp - 8]
jmp 0x2fc4f69bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4f6974
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000f2c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x460
mov rax, qword [0x1400310f0]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, r8
test r8, r8
jne 0x14000f2ed
mov eax, 0x80070057
jmp 0x14000f393
lea rax, [rsp + 0x38]
mov qword [rsp + 0x488], rbx
xor ebx, ebx
lea r9d, [rbx + 1]
xor r8d, r8d
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000f32e
mov eax, 0x80004005
jmp 0x14000f38b
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea rdx, str.Boomerang_x64Path
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000f367
mov ebx, 0x80004005
jmp 0x14000f379
lea r8, [rsp + 0x50]
mov edx, 0x200
mov rcx, rdi
call fcn.140015470
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000f389
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x488]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140014ab0
add rsp, 0x460
pop rdi
ret
Function at 0x140011170
Capabilities:
Read file via mapping

Disassembly:
push rbx
sub rsp, 0x30
lea r8, [rcx + 0xcf8]
mov rbx, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
lea r9, [rbx + 0x1108]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rbx + 0xcd0], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor edx, edx
mov qword [rbx + 0xce0], rax
lea rax, [rbx + 0xf00]
lea r8d, [r9 + 4]
mov qword [rsp + 0x28], rax
or rcx, 0xffffffffffffffff
mov dword [rbx + 0xce8], 0x1f4000
mov dword [rsp + 0x20], 0x1f4000
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0xcd8], rax
test rax, rax
je 0x14001120c
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
mov qword [rsp + 0x20], 0x1f4000
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0xcf0], rax
lea r8, [rbx + 0x1338]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
lea r9, [rbx + 0x1748]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rbx + 0x1310], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor edx, edx
mov qword [rbx + 0x1320], rax
lea rax, [rbx + 0x1540]
lea r8d, [r9 + 4]
mov qword [rsp + 0x28], rax
or rcx, 0xffffffffffffffff
mov dword [rbx + 0x1328], 0x1f4000
mov dword [rsp + 0x20], 0x1f4000
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x1318], rax
test rax, rax
je 0x14001129f
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
mov qword [rsp + 0x20], 0x1f4000
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x1330], rax
lea r8, [rbx + 0x1978]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
lea r9, [rbx + 0x1d88]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rbx + 0x1950], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor edx, edx
mov qword [rbx + 0x1960], rax
lea rax, [rbx + 0x1b80]
lea r8d, [r9 + 4]
mov qword [rsp + 0x28], rax
or rcx, 0xffffffffffffffff
mov dword [rbx + 0x1968], 0x1f4000
mov dword [rsp + 0x20], 0x1f4000
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x1958], rax
test rax, rax
je 0x1400113d2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
mov qword [rsp + 0x20], 0x1f4000
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea r8, [rbx + 0x1fb8]
xor edx, edx
xor ecx, ecx
mov qword [rbx + 0x1970], rax
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
lea r9, [rbx + 0x23c8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rbx + 0x1f90], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor edx, edx
mov qword [rbx + 0x1fa0], rax
lea rax, [rbx + 0x21c0]
lea r8d, [r9 + 4]
mov qword [rsp + 0x28], rax
or rcx, 0xffffffffffffffff
mov dword [rbx + 0x1fa8], 0x1f4000
mov dword [rsp + 0x20], 0x1f4000
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x1f98], rax
test rax, rax
je 0x1400113ca
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
mov qword [rsp + 0x20], 0x1f4000
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x1fb0], rax
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov eax, 0x80004005
add rsp, 0x30
pop rbx
ret
Function at 0x140011700
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, rcx
add rcx, 0x2828
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140011737
mov eax, 0x80004005
jmp 0x1400117e8
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14001172d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x1400117e6
mov rcx, qword [rdi + 0x48]
mov r8, qword [rcx]
call qword [r8 + 0x18]
or ebx, eax
mov rcx, qword [rdi + 0x48]
mov r8, qword [rcx]
mov edx, dword [rdi + 0x2e5c]
call qword [r8 + 0x1f8]
or ebx, eax
mov rcx, qword [rdi + 0x48]
mov rax, qword [rcx]
lea rdx, [rdi + 0x2828]
call qword [rax + 0x20]
or ebx, eax
mov rcx, qword [rdi + 0x48]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x50]
or ebx, eax
jl 0x1400117e6
mov qword [rsp + 0x40], 0
mov rcx, qword [rdi + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x14002cf98]
call qword [rax]
or ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400117db
mov rax, qword [rcx]
lea rdx, [rdi + 0x2820]
call qword [rax + 0xa0]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400117e6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140012440
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x660
mov rax, qword [0x1400310f0]
xor rax, rsp
mov qword [rsp + 0x650], rax
mov r14, rcx
add rcx, 8
mov r13d, edx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test r13d, r13d
je 0x140012495
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x140012495
call qword [sym.imp.KERNEL32.dll_SuspendThread]
xor r12d, r12d
mov dword [rsp + 0x20], r12d
nop dword [rax]
xor edx, edx
mov r15d, r12d
mov esi, r12d
lea ecx, [rdx + 4]
mov rdi, r12
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14001262f
lea rdx, [rsp + 0x430]
mov rcx, rax
mov dword [rsp + 0x430], 0x1c
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x140012626
nop word [rax + rax]
mov eax, dword [r14]
cmp dword [rsp + 0x43c], eax
jne 0x140012527
mov eax, dword [rsp + 0x438]
cmp eax, dword [r14 + 0x40]
je 0x140012527
cmp eax, dword [r14 + 0x44]
je 0x140012527
cmp eax, dword [r14 + 0x48]
je 0x140012527
cmp eax, dword [r14 + 0x4c]
je 0x140012527
mov dword [rsp + rdi*4 + 0x450], eax
inc esi
inc rdi
lea rdx, [rsp + 0x430]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
je 0x140012545
cmp rdi, 0x80
jl 0x1400124f0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x14001262f
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x400
call fcn.140016790
movsxd rsi, esi
mov rdi, r12
test rsi, rsi
jle 0x140012593
mov r8d, dword [rsp + rdi*4 + 0x450]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
inc rdi
mov qword [rsp + rdi*8 + 0x28], rax
cmp rdi, rsi
jl 0x140012573
mov rdi, r12
test rsi, rsi
jle 0x1400125d2
nop dword [rax + rax]
mov rcx, qword [rsp + rdi*8 + 0x30]
test rcx, rcx
je 0x1400125c5
test r13d, r13d
je 0x1400125b7
call qword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x1400125bd
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1400125c5
inc r15d
inc rdi
cmp rdi, rsi
jl 0x1400125a0
test r15d, r15d
jne 0x1400125dd
mov ebp, 1
mov dword [rsp + 0x20], ebp
jmp 0x1400125e1
mov ebp, dword [rsp + 0x20]
mov rdi, r12
test rsi, rsi
jle 0x140012608
nop dword [rax]
mov rcx, qword [rsp + rdi*8 + 0x30]
test rcx, rcx
je 0x140012600
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc rdi
cmp rdi, rsi
jl 0x1400125f0
test ebp, ebp
je 0x1400124a0
test r13d, r13d
jne 0x140012635
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x140012635
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x140012635
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, 0x80004005
lea rcx, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r12d
mov rcx, qword [rsp + 0x650]
xor rcx, rsp
call fcn.140014ab0
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret