joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006b434
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov eax, dword [rcx + 8]
lea rbx, [rcx + 0xcd4]
mov r12d, dword [rcx + 0xcc]
lea rdx, [rcx + 0xd4]
mov ebp, dword [rsp + 0xa0]
xor r10d, r10d
mov qword [rbx], rax
mov r13, r9
mov dword [rbx + 8], 4
mov rdi, rcx
mov dword [rbx + 0xc], ebp
mov dword [rbx + 0x10], 1
lea r14d, [r10 + 2]
mov eax, dword [rcx + 0xc]
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], 8
mov dword [rbx + 0x24], ebp
mov dword [rbx + 0x28], r10d
test ebp, ebp
je 0x18006b4be
mov eax, dword [rcx + 0x20]
lea r14d, [r10 + 3]
mov qword [rbx + 0x30], rax
mov dword [rbx + 0x38], r10d
mov dword [rbx + 0x3c], ebp
mov dword [rbx + 0x40], r10d
jmp 0x18006b504
mov r9d, dword [rcx + 0x14]
test r12d, r12d
je 0x18006b504
mov r8, r12
mov eax, 0xf000
cmp word [rdx + 8], ax
jne 0x18006b4fa
mov eax, r14d
lea rcx, [rax + rax*2]
mov eax, dword [rdx]
add rax, r9
mov qword [rbx + rcx*8], rax
mov eax, dword [rdx + 4]
add eax, 7
mov qword [rbx + rcx*8 + 0xc], r10
and eax, 0xfffffff8
mov dword [rbx + rcx*8 + 8], eax
inc r14d
add rdx, 0xc
sub r8, 1
jne 0x18006b4ca
lea r15d, [r14 + r14*2]
shl r15d, 3
mov ecx, r15d
call fcn.18006a2b8
mov rsi, rax
test rax, rax
jne 0x18006b538
lea r9, [0x180088230]
xor edx, edx
lea r8, [0x180088230]
xor ecx, ecx
call fcn.180069f5c
jmp 0x18006b5df
mov r8d, r15d
mov rdx, rbx
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov r15, qword [rsp + 0x90]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov r9, r15
and qword [rsp + 0x30], 0
mov r8d, r14d
and qword [rsp + 0x28], 0
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r13
call fcn.18006aec0
test eax, eax
je 0x18006b5d7
test ebp, ebp
jne 0x18006b5f9
test r12d, r12d
jne 0x18006b5f9
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + 7]
cqo
and edx, 7
lea rdi, [rdx + rax]
and edi, 0xfffffff8
sub edi, ecx
je 0x18006b5f9
mov r8d, edi
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov r8d, edi
mov rdx, rbx
mov rcx, r13
call r15
test eax, eax
jne 0x18006b5f9
lea r9, [0x180088230]
xor edx, edx
xor ecx, ecx
lea r8d, [rbp + 0x11]
call fcn.180069eb4
mov rcx, rsi
call fcn.18006a2fc
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.18006a2fc
mov eax, 1
jmp 0x18006b5e1

Function at 0x18006bd58
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x18006bd7d
lea r8, [0x180088230]
xor edx, edx
mov r9, r8
xor ecx, ecx
call fcn.180069f5c
xor eax, eax
jmp 0x18006bd82
mov eax, 1
add rsp, 0x28
ret
Function at 0x18006d2a4
Capabilities:
Hash data using sha256

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 rdi, qword [rcx + 0x20]
mov rsi, rdx
mov r14, rdi
mov rbx, rcx
shl r14, 3
and edi, 0x3f
mov byte [rdi + rcx + 0x28], 0x80
jmp 0x18006d2ea
and edi, 0x3f
jne 0x18006d2e5
mov rcx, rbx
call fcn.18006d64c
mov byte [rdi + rbx + 0x28], 0
inc edi
cmp edi, 0x38
jne 0x18006d2d8
lea ebp, [rdi - 0x30]
mov edx, ebp
mov rcx, r14
shl r14, 8
shr rcx, 0x38
mov byte [rdi + rbx + 0x28], cl
inc edi
sub rdx, 1
jne 0x18006d2f6
mov rcx, rbx
call fcn.18006d64c
mov rcx, rbx
mov al, byte [rcx + 3]
mov byte [rsi], al
lea rsi, [rsi + 4]
mov al, byte [rcx + 2]
mov byte [rsi - 3], al
mov eax, dword [rcx]
shr eax, 8
mov byte [rsi - 2], al
mov al, byte [rcx]
lea rcx, [rcx + 4]
mov byte [rsi - 1], al
sub rbp, 1
jne 0x18006d318
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
and qword [rbx + 0x20], rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x18006d394
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x18006d6cc
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x100
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1800c5470]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x20], eax
lea r9, str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
lea r8, str._s__u
lea edx, [r14 + 0x41]
lea rcx, [rsp + 0x60]
call fcn.18006de8c
mov word [rsp + 0xe0], r14w
mov edi, r14d
lea r8, [rsp + 0x60]
lea edx, [r14 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
je 0x18006d805
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18006d77b
or edx, 0xffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
call fcn.18006dd04
test rax, rax
je 0x18006d7a9
mov qword [rbx], rax
mov rax, qword [rbx]
inc dword [rax + 0x5d0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
jne 0x18006d805
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18006d805
mov rdi, r14
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x18006d7cb
xor edx, edx
mov r8d, 0x5d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov qword [rsp + 0x50], rdi
test rdi, rdi
je 0x18006d7e2
mov rdx, rsi
mov rcx, rdi
call fcn.18006d868
jmp 0x18006d7e5
mov rax, r14
mov qword [rbx], rax
test rax, rax
je 0x18006d832
mov edi, 1
mov rcx, rax
call fcn.18006de34
test eax, eax
je 0x18006d84b
jmp 0x18006d788
mov rax, rbx
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1800782d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov dword [rsp + 0x30], 1
lea rdx, [0x1800c2b30]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x34], 3
lea rdx, [0x1800c2b30]
lea rcx, [rsp + 0x34]
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x18006d868
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rsi, rdx
mov rdi, rcx
and qword [rcx], 0
or dword [rcx + 8], 0xffffffff
lea rbx, [rcx + 0x10]
and dword [rbx], 0
lea rcx, [rbx + 8]
xor edx, edx
mov r8d, 0x5a0
call sub.msvcrt.dll_memset
mov qword [rbx + 0x5b0], rbx
mov qword [rbx + 0x5a8], rbx
mov qword [rbx + 0x5b8], rbx
and dword [rdi + 0x5d0], 0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rdi + 8], eax
cmp eax, 0xffffffff
je 0x18006d8ea
mov qword [rdi], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rsp + 0x50], 2
lea rdx, [0x1800c2b30]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x18006d9d4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, rcx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, qword [r14]
mov esi, eax
add rdx, 0x10
mov rbx, qword [rdx + 0x5a8]
mov qword [rdx + 0x5b8], rbx
cmp rbx, rdx
je 0x18006dae1
mov rax, qword [rbx + 0x5a8]
mov qword [rdx + 0x5b8], rax
test rbx, rbx
je 0x18006dae1
cmp esi, dword [rbx]
jne 0x18006da34
mov rdi, rbx
jmp 0x18006dab2
mov r8d, dword [rbx]
mov edx, 1
lea ecx, [rdx + 0x3f]
call qword [sym.imp.KERNEL32.dll_OpenThread]
test rax, rax
jne 0x18006daa9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x18006da9a
mov rcx, qword [rbx + 0x5b0]
mov rax, qword [rbx + 0x5a8]
mov qword [rcx + 0x5a8], rax
mov rcx, qword [rbx + 0x5a8]
mov rax, qword [rbx + 0x5b0]
mov qword [rcx + 0x5b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x18006dab2
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18006dab2
lea rcx, str.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x18006dab2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14]
add rcx, 0x10
mov rbx, qword [rcx + 0x5b8]
cmp rbx, rcx
je 0x18006dadc
mov rax, qword [rbx + 0x5a8]
mov qword [rcx + 0x5b8], rax
test rbx, rbx
jne 0x18006da2b
test rdi, rdi
jne 0x18006daf7
mov rcx, qword [r14]
add rcx, 0x10
call fcn.18006dd84
mov rdi, rax
test rax, rax
je 0x18006daf7
mov dword [rax], esi
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x18006dc08
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1800c8240]
jmp 0x18006dc14
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
mov rax, qword [rcx]
test rax, rax
je 0x18006dcc2
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
jne 0x18006dc4b
and qword [rsp + 0x48], 0
jmp 0x18006dc5b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x18006dcc4
mov rax, qword [rbx]
mov rcx, qword [rax]
test rcx, rcx
je 0x18006dcc2
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x18006dcc2
mov rcx, rbx
call fcn.18006d9d4
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18006dccf
mov rax, qword [rbx]
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
je 0x18006dce8
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18006dce8
jmp 0x18006dcac
mov rcx, qword [rbx]
mov rcx, qword [rcx]
test rcx, rcx
je 0x18006dcbd
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, rdi
jmp 0x18006dcc4
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rsp + 0x20], 1
lea rdx, [0x1800c2b30]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x24], 4
lea rdx, [0x1800c2b30]
lea rcx, [rsp + 0x24]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x18006dc14
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1800c8240]
jmp 0x18006dc14
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
mov rax, qword [rcx]
test rax, rax
je 0x18006dcc2
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
jne 0x18006dc4b
and qword [rsp + 0x48], 0
jmp 0x18006dc5b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x18006dcc4
mov rax, qword [rbx]
mov rcx, qword [rax]
test rcx, rcx
je 0x18006dcc2
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x18006dcc2
mov rcx, rbx
call fcn.18006d9d4
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x18006dccf
mov rax, qword [rbx]
mov ecx, dword [rax + 8]
cmp ecx, 0xffffffff
je 0x18006dce8
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x18006dce8
jmp 0x18006dcac
mov rcx, qword [rbx]
mov rcx, qword [rcx]
test rcx, rcx
je 0x18006dcbd
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, rdi
jmp 0x18006dcc4
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rsp + 0x20], 1
lea rdx, [0x1800c2b30]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll__CxxThrowException
mov dword [rsp + 0x24], 4
lea rdx, [0x1800c2b30]
lea rcx, [rsp + 0x24]
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x18006f580
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x18006f607
movsxd rax, dword [0x18000003c]
lea rdx, [0x180000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x18006f607
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18006f607
sub r8, rdx
movzx eax, word [rcx + 0x14]
add rax, 0x18
add rax, rcx
movzx ecx, word [rcx + 6]
lea rdx, [rcx + rcx*4]
lea r9, [rax + rdx*8]
mov qword [rsp], rax
cmp rax, r9
je 0x18006f603
mov edx, dword [rax + 0xc]
cmp r8, rdx
jb 0x18006f5fd
mov ecx, dword [rax + 8]
add ecx, edx
cmp r8, rcx
jae 0x18006f5fd
cmp dword [rax + 0x24], 0
jge 0x18006f5f9
xor al, al
jmp 0x18006f60d
mov al, 1
jmp 0x18006f60d
add rax, 0x28
jmp 0x18006f5d4
xor al, al
jmp 0x18006f60d
xor al, al
jmp 0x18006f60d
add rsp, 0x18
ret
Function at 0x18006ffa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x18006ff80
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov r9, qword [0x1800ce5e1]
xor r8d, r8d
mov dword [rax + 8], 0x62756373
jae 0x180070005
jne 0x180070006
mov byte [rax + 0xc], r8b
movsxd rax, dword [r9 + 0x3c]
mov ecx, dword [rax + r9 + 0x88]
mov byte [rax], al
add byte [rax], al
test ecx, ecx
je 0x18007002b
lea rax, [r9 + rcx]
mov r10d, r8d
mov esi, dword [rax + 0x18]
jo 0x18006ffda
test esi, esi
jle 0x18007002b
mov r11d, dword [rax + 0x20]
mov ebx, dword [rax + 0x24]
mov r14d, dword [rax + 0x1c]
add r11, r9
add rbx, r9
movzx eax, word [rbx]
lea rdi, [rsp + 0x40]
lea rcx, [r14 + rax*4]
mov eax, dword [r11]
mov ebp, dword [rcx + r9]
add rax, r9
jmp 0x18006fff9
cmp cl, byte [rdi]
jne 0x18006ffff
inc rax
inc rdi
mov cl, byte [rax]
test cl, cl
jne 0x18006ffef
mov cl, byte [rax]
mov edx, r8d
mov eax, r8d
cmp cl, byte [rdi]
seta dl
cmp byte [rdi], cl
seta al
cmp edx, eax
je 0x180070027
inc r10d
add rbx, 2
add r11, 4
cmp r10d, esi
jl 0x18006ffd7
jmp 0x18007002b
lea r8, [r9 + rbp]
call r8
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x180070044
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xor esi, esi
mov dword [rsp + 0x20], 0x6c583553
mov dword [rsp + 0x24], 0x79644f70
mov dword [rsp + 0x28], 0x55284e4d
mov dword [rsp + 0x2c], 0x52785229
mov word [rsp + 0x30], 0x77
lea r12d, [rsi + 1]
mov dword [rsp + 0x38], 0x65006b
mov dword [rbp - 0x7d], 0x6e0072
mov dword [rbp - 0x79], 0x6c0065
mov dword [rbp - 0x75], 0x320033
mov dword [rbp - 0x71], 0x64002e
mov dword [rbp - 0x6d], 0x6c006c
mov word [rbp - 0x69], si
mov edx, 0x3d090c
mov eax, esi
lea rcx, [rbp - 0x59]
mov byte [rcx], al
add eax, r12d
add rcx, r12
cmp eax, 0x6a
jb 0x1800700cd
sub rdx, r12
jne 0x1800700c7
cmp byte [rbp - 0x29], 0x30
jne 0x1800701a6
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
mov rdx, rbx
mov rcx, qword [rdx + 0x60]
mov r9d, esi
mov rax, rcx
cmp word [rcx], si
je 0x180070118
lea rax, [rax + 2]
add r9d, r12d
cmp word [rax], si
jne 0x18007010c
lea rax, [rsp + 0x38]
mov r8d, esi
lea rax, [rax + 2]
add r8d, r12d
cmp word [rax], si
jne 0x180070120
cmp r9d, r8d
jne 0x18007018f
lea r11, [rsp + 0x38]
mov r10d, esi
sub r11, rcx
movzx r8d, word [rcx]
mov rax, rcx
mov r9d, esi
test r8w, r8w
je 0x1800701a0
lea rax, [rax + 2]
add r9d, r12d
cmp word [rax], si
jne 0x18007014c
cmp r10d, r9d
jae 0x1800701a0
movzx r9d, word [r11 + rcx]
lea eax, [r8 - 0x41]
cmp ax, 0x19
ja 0x180070171
add r8w, 0x20
lea eax, [r9 - 0x41]
cmp ax, 0x19
ja 0x180070180
add r9w, 0x20
cmp r8w, r9w
jne 0x18007018f
add r10d, r12d
add rcx, 2
jmp 0x18007013c
mov rdx, qword [rdx]
cmp rdx, rbx
jne 0x1800700fd
mov rbx, rsi
jmp 0x1800701aa
mov rbx, qword [rdx + 0x30]
jmp 0x1800701aa
mov rbx, qword [rbp + 0x6f]
mov edx, 0xe3142
mov rcx, rbx
call fcn.1800704f0
mov edx, 0xd5786
mov rcx, rbx
mov rdi, rax
call fcn.1800704f0
mov edx, 0x348bfa
mov rcx, rbx
mov qword [rbp - 0x61], rax
call fcn.1800704f0
mov r14d, 0x3000
mov r13d, 0xf000
add al, dh
add byte [rax], al
mov r9d, 4
xor ecx, ecx
mov r8d, r14d
mov edx, r13d
mov edx, ebp
mov qword [rbp + 0x7f], rax
call rdi
movsx ecx, byte [rbp - 0x59]
movsx edx, byte [rbp - 1]
Function at 0x180070210
Capabilities:
Encode data using xor

Disassembly:
mov r9d, esi
mov r10, rax
movsxd rbx, ecx
sub r11, rax
movsxd rcx, r9d
movabs rax, 0xe38e38e38e38e38f
add r9d, r12d
mul rcx
shr rdx, 4
lea rax, [rdx + rdx*8]
add rax, rax
sub rcx, rax
sub rcx, rbx
mov al, byte [rsp + rcx + 0x20]
xor al, byte [r11 + r10]
mov byte [r10], al
add r10, r12
cmp r9d, r13d
jb 0x18007021c
movsxd rax, dword [r15 + 0x3c]
movsx r9d, byte [rbp - 0x51]
mov r8d, r14d
mov edx, dword [rax + r15 + 0x50]
shl r9d, 3
xor ecx, ecx
call rdi
mov rdi, rax
test rax, rax
je 0x1800704da
movsxd r14, dword [r15 + 0x3c]
mov r8d, esi
add r14, r15
sub rax, qword [r14 + 0x30]
mov r9d, dword [r14 + 0x54]
movzx r10d, word [r14 + 0x14]
mov qword [rbp + 0x6f], rax
mov qword [r14 + 0x30], rdi
test r9, r9
je 0x1800702b8
mov rdx, r15
mov rcx, rdi
sub rdx, rdi
mov al, byte [rdx + rcx]
add r8d, r12d
mov byte [rcx], al
movsxd rax, r8d
add rcx, r12
cmp rax, r9
jb 0x1800702a5
mov rax, qword [r14 + 0xb0]
mov rcx, qword [r14 + 0x90]
mov r13, rsi
mov r12, rsi
mov ebx, esi
mov qword [rbp + 0x77], rax
cmp si, word [r14 + 6]
jae 0x1800704da
lea r9, [r10 + 0x24]
add r9, r14
mov r10d, dword [r9]
cmp eax, r10d
jb 0x1800702fc
mov r8d, dword [r9 - 4]
cmp ecx, r10d
jb 0x180070311
mov r8d, dword [r9 - 4]
add r8d, r10d
cmp ecx, r8d
jae 0x180070311
lea r12, [r9 - 0xc]
mov r11d, dword [r9 + 8]
mov esi, dword [r9 + 4]
lea r8, [rdi + r10]
add r11, r15
xor eax, eax
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1800704f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
invalid
cmp al, 0x8b
xor edx, edx
Function at 0x180070760
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1800c5470]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, ILCombine
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18007079c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18006ffb0
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 0x180070858
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 0x1800708be
test ebx, ebx
jne 0x1800708be
lea ecx, [rax + 2]
call fcn.18006ffb0
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.1800782d0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x1800744f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x430
mov rax, qword [0x1800c5470]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbp, rdx
mov rdi, rcx
cmp rcx, rdx
je 0x180074631
lea r14, [0x180000000]
mov r15d, 0x5c
xor r12d, r12d
nop word [rax + rax]
mov eax, dword [rdi]
lea rsi, [r14 + 0xc8850]
mov rbx, qword [rsi + rax*8]
lea rsi, [rsi + rax*8]
test rbx, rbx
je 0x180074565
cmp rbx, 0xffffffffffffffff
jne 0x180074673
jmp 0x180074624
cmp byte [0x1800c8840], r12b
mov rbx, qword [r14 + rax*8 + 0x88790]
je 0x180074584
mov r8d, 0x800
mov rcx, rbx
jmp 0x18007460a
test rbx, rbx
je 0x18007461a
cmp word [rbx], r12w
je 0x18007461a
mov edx, 0x200
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [rax - 1]
cmp ecx, 0x1fe
ja 0x18007461a
mov ecx, eax
inc eax
mov word [rsp + rcx*2 + 0x20], r15w
cmp eax, 0x200
jae 0x18007461a
movzx edx, word [rbx]
test dx, dx
je 0x1800745eb
nop dword [rax + rax]
mov word [rsp + rax*2 + 0x20], dx
inc eax
cmp eax, 0x200
jae 0x18007461a
movzx edx, word [rbx + 2]
add rbx, 2
test dx, dx
jne 0x1800745d0
mov ecx, eax
add rcx, rcx
cmp rcx, 0x400
jae 0x180074678
mov word [rsp + rcx + 0x20], r12w
mov r8d, 8
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x18007465f
mov rax, 0xffffffffffffffff
xchg qword [rsi], rax
add rdi, 4
cmp rdi, rbp
jne 0x180074540
xor eax, eax
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1800782d0
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rcx, rbx
xchg qword [rsi], rcx
test rcx, rcx
je 0x180074673
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
jmp 0x180074633
call fcn.18006f800
int3