joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140843058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408431df
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 0x140843089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14084306f
add dl, dl
jne 0x140843096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408430f6
xor eax, eax
add dl, dl
jne 0x1408430a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408431ad
add dl, dl
jne 0x1408430b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408430c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408430d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408430dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408430ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14084307e
mov eax, 1
add dl, dl
jne 0x140843106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140843113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408430fb
sub eax, ebx
mov ebx, 1
jne 0x14084314c
mov ecx, 1
add dl, dl
jne 0x14084312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14084313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140843123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140843168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140843175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14084315d
cmp eax, 0x7d00
jae 0x14084319b
cmp eax, 0x500
jb 0x140843196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084307e
cmp eax, 0x7f
ja 0x14084319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14084307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408431d2
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 0x14084307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x180006816
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x180085650
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret
Function at 0x140071360
Capabilities:
Terminate process

Disassembly:
adc dword [rax + 0x1b0c9c1d], edx
retf
cld
pop r11
jmp 0x14007136d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14007137d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140071365
lea eax, [rcx + 1]
jmp 0x14007138b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14007139e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140071384
sub eax, 3
jb 0x1400713be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14007140d
sar eax, 1
movsxd rbp, eax
jb 0x1400713f4
jmp 0x1400713cc
add ebx, ebx
jne 0x1400713ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400713f4
inc ecx
add ebx, ebx
jne 0x1400713da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400713f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400713ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400713dc
add ecx, 2
jmp 0x1400713f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140071322
jmp 0x14007136d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x4a400
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14007145d
cmp rsi, rcx
jae 0x140071465
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140071444
cmp al, 0x8f
ja 0x140071444
cmp byte [rsi - 2], 0xf
je 0x14007144a
sub al, 0xe8
cmp al, 1
ja 0x14007142e
cmp rsi, rcx
jae 0x140071465
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140071434
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140071465
lodsb al, byte [rsi]
jmp 0x140071444
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6e000]
mov eax, dword [rdi]
or eax, eax
je 0x1400714c2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x711e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140071472
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400714bc
mov qword [rbx], rax
add rbx, 8
jmp 0x140071492
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400714fc
cmp al, 0xef
ja 0x1400714ee
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400714ce
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400714dd
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140071550
sub rsp, 0xffffffffffffff80
jmp 0x14004980c
Function at 0x140011276
Capabilities:
Terminate process

Disassembly:
jmp 0x140015160
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011311
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1400135a0
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400260ff]
call fcn.140011433
mov byte [rbp + 4], 0
xor eax, eax
cmp eax, 1
je 0x140013661
mov ecx, 0x5a
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8001
test eax, eax
je 0x140013630
movzx eax, byte [rbp + 4]
test eax, eax
je 0x140013615
lea rdx, str.Turning_off_traffic_blocking.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001108c
lea rdx, [0x14001103c]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.140011118
mov byte [rbp + 4], 0
jmp 0x140013625
lea rcx, str.tcp.DstPort__25565
call fcn.1400114b0
mov byte [rbp + 4], 1
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
movzx eax, byte [rbp + 4]
test eax, eax
je 0x140013651
lea rcx, str.tcp.DstPort__25565
call fcn.1400114b0
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001365c
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400135bf
xor eax, eax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14001131b
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400164b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400164d0
xor al, al
jmp 0x140016551
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400164e3
xor al, al
jmp 0x140016551
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001650d
xor al, al
jmp 0x140016551
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016521
xor al, al
jmp 0x140016551
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016533
xor al, al
jmp 0x140016551
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001654f
xor al, al
jmp 0x140016551
mov al, 1
add rsp, 0x38
ret
Function at 0x140990058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409901df
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 0x140990089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14099006f
add dl, dl
jne 0x140990096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409900f6
xor eax, eax
add dl, dl
jne 0x1409900a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409901ad
add dl, dl
jne 0x1409900b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409900c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409900d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409900dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409900ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14099007e
mov eax, 1
add dl, dl
jne 0x140990106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140990113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409900fb
sub eax, ebx
mov ebx, 1
jne 0x14099014c
mov ecx, 1
add dl, dl
jne 0x14099012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14099013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140990123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140990168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140990175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14099015d
cmp eax, 0x7d00
jae 0x14099019b
cmp eax, 0x500
jb 0x140990196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099007e
cmp eax, 0x7f
ja 0x14099019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14099007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409901d2
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 0x14099007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140018ab0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rsi, rdx
mov byte [rbp + 0x28], 0
mov rdi, rcx
lea rdx, [rbp + 0x28]
lea rcx, [0x140018bbc]
mov rbx, r8
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.14000144c
mov rcx, rax
test rax, rax
je 0x140018baf
mov rax, qword [rax]
call qword [rax + 0x18]
mov r9, rbx
lea rdx, str._s_s.dmp
add rax, 0x18
lea rcx, [rbp - 0x10]
mov r8, rsi
mov qword [rbp - 0x10], rax
call fcn.14000baa8
lea rcx, [rbp - 0x10]
call fcn.14000c26c
mov dl, byte [rdi]
lea r8, [rbp - 0x10]
mov cl, byte [rbp + 0x28]
xor r9d, r9d
call fcn.1400198d4
cmp byte [rdi + 1], 0
je 0x140018b7c
mov r9, rbx
lea rdx, str._s_s_full.dmp
mov r8, rsi
lea rcx, [rbp - 0x10]
call fcn.14000baa8
lea rcx, [rbp - 0x10]
call fcn.14000c26c
mov rbx, qword [rbp - 0x10]
mov rcx, rbx
call fcn.1400065a4
test al, al
je 0x140018b80
mov dl, byte [rdi]
lea r8, [rbp - 0x10]
mov cl, byte [rbp + 0x28]
xor r9d, r9d
call fcn.1400198d4
jmp 0x140018b80
mov rbx, qword [rbp - 0x10]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018b9a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3

Function at 0x140019180
Capabilities:
Delete directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x30], 0
mov r14, rdx
mov sil, cl
call fcn.14001acc4
call fcn.14000144c
test sil, sil
je 0x140019211
test rax, rax
je 0x14001937f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
lea rdx, str.GoogleCrashReports
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x20], rax
call fcn.1400055c0
mov rdx, rax
lea r9, [rbp - 0x20]
mov r8b, 1
mov ecx, 0x26
call fcn.14001a228
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140019206
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp - 0x20]
mov ebx, 1
jmp 0x140019279
mov rcx, rax
test rax, rax
je 0x14001937f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rdx, str.GoogleCrashReports
lea rcx, [rbp - 0x10]
mov qword [rbp + 0x48], rax
call fcn.1400055c0
mov rdx, rax
lea r9, [rbp + 0x48]
mov r8b, 1
mov ecx, 0x80004005
call fcn.1400017a4
int3
Function at 0x180002760
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800029b0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18000287a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800027c4
mov rax, qword [0x18000a008]
cmp qword [rsp + 0x20], rax
ja 0x1800027c4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180002786
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800027f5
jmp 0x18000287a
cmp dword [rsp + 0x50], 0x10000
jne 0x18000285d
cmp qword [rsp + 0x48], 0x10000
jb 0x18000285d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18000283b
mov rax, qword [rsp + 0x28]
jmp 0x18000287c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18000284b
xor eax, eax
jmp 0x18000287c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180002875
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800029b0
mov qword [rsp + 0x20], rax
jmp 0x180002786
xor eax, eax
add rsp, 0x68
ret

Function at 0x180002890
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800029f0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800029a6
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800028eb
mov rax, qword [0x18000a008]
cmp qword [rsp + 0x20], rax
ja 0x1800028eb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800028ad
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18000291c
jmp 0x1800029a6
cmp dword [rsp + 0x50], 0x10000
jne 0x180002984
cmp qword [rsp + 0x48], 0x10000
jb 0x180002984
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180002962
mov rax, qword [rsp + 0x28]
jmp 0x1800029a8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180002972
xor eax, eax
jmp 0x1800029a8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800029a1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800029f0
mov qword [rsp + 0x20], rax
jmp 0x1800028ad
xor eax, eax
add rsp, 0x68
ret
Function at 0x180002a40
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180002fd0
mov qword [rsp + 0x28], 0
cmp qword [0x18000a0f8], 0
jne 0x180002a88
cmp qword [0x18000a0f0], 0
je 0x180002a88
mov rax, qword [0x18000a0f0]
mov qword [0x18000a0f8], rax
cmp qword [0x18000a0f8], 0
je 0x180002b2e
mov rax, qword [0x18000a0f8]
cmp qword [rax + 0x10], 0
je 0x180002b2e
mov rax, qword [0x18000a0f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180002b2e
mov rax, qword [0x18000a0f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180002b2e
mov rax, qword [0x18000a0f8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180002af4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180002afb
xor eax, eax
jmp 0x180002ca5
mov rax, qword [0x18000a0f8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x180002ca5
mov rax, qword [0x18000a0f0]
mov qword [0x18000a0f8], rax
jmp 0x180002b50
mov rax, qword [0x18000a0f8]
mov rax, qword [rax + 8]
mov qword [0x18000a0f8], rax
cmp qword [0x18000a0f8], 0
je 0x180002b9d
cmp qword [0x18000a0f8], 0
je 0x180002b9b
mov rax, qword [0x18000a0f8]
cmp qword [rax + 0x10], 0
je 0x180002b9b
mov rax, qword [0x18000a0f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180002b9b
mov rax, qword [0x18000a0f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180002b9b
jmp 0x180002acc
jmp 0x180002b3e
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180002cb0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180002ca3
mov rax, qword [rsp + 0x48]
mov qword [0x18000a0f8], rax
mov rax, qword [0x18000a0f8]
mov dword [rax], 0x52727464
mov rax, qword [0x18000a0f8]
mov qword [rax + 0x10], 0
mov rax, qword [0x18000a0f8]
mov rcx, qword [0x18000a0f0]
mov qword [rax + 8], rcx
mov rax, qword [0x18000a0f8]
mov qword [0x18000a0f0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18000a0f8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180002c54
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180002c8e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180002c4a
mov rax, qword [0x18000a0f8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180002acc
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800039c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180003a07
xor al, al
jmp 0x180003aa9
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180003a31
xor al, al
jmp 0x180003aa9
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180003aa1
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180003aa1
mov al, 1
jmp 0x180003aa9
jmp 0x180003aa7
xor al, al
add rsp, 0x78
ret

Function at 0x180003db0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18000a0f0]
mov qword [rsp + 0x28], rax
jmp 0x180003dd0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180003dff
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x180003dfd
call sub.KERNEL32.dll_GetLastError
jmp 0x180003e01
jmp 0x180003dc2
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800044c0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x18000a108], eax
je 0x1800044db
mov eax, 0x10dd
jmp 0x180004600
mov rax, qword [0x18000a120]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180004585
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180004550
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180004550
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180003110
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180006830
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800044e7
mov qword [0x18000a120], 0
call fcn.180003b70
mov rax, qword [0x18000a118]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800045e9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180006830
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x1800045a1
mov qword [0x18000a118], 0
mov dword [0x18000a108], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180004b30
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x18000a10c], 0
je 0x180004b4d
mov eax, dword [0x18000a10c]
jmp 0x180004c13
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180004b60
xor eax, eax
jmp 0x180004c13
mov ecx, 0x10
call fcn.180006864
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180004bce
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x180004bb3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.180006830
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x18000a10c], eax
mov qword [0x18000a110], 0
mov eax, dword [rsp + 0x20]
jmp 0x180004c13
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x180004be8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180004b89
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x18000a118]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x18000a118], rax
xor eax, eax
add rsp, 0x48
ret