joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ed366
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, r8
mov r8, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov qword [rsi], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor r14d, r14d
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x1400ed3fe
mov rbx, rax
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400eff1c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov r12, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0xa8], rax
test dl, dl
je 0x1400effa8
lea rax, [0x140106700]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x140178ac0]
lea r8, str.NtMapViewOfSection
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400ef93c
lea rax, [0x140106770]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400ef93c
jmp 0x1400effb4
cmp qword [r12 + 0x18], 0
je 0x1400f0153
mov rax, qword [r12]
mov r14, qword [rax]
mov dword [rsp + 0x20], 1
mov r13, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8d, 0x10000
mov rcx, r14
xor edx, edx
mov r9d, 0x2000
call r13
mov rdi, rax
mov rsi, qword [r12 + 0x18]
shl rsi, 6
lea r15, [rsi + 0x60]
mov rcx, r15
call fcn.1400ef7a4
mov rbx, rax
mov rax, 0xfffffffffffff000
mov rcx, rbx
and rcx, rax
lea rdx, [rcx + rdi]
and ebx, 0xfff
add rsi, 0x105f
and rsi, rax
mov dword [rsp + 0x20], 0x40
mov rcx, r14
mov r8, rsi
mov r9d, 0x1000
call r13
mov rdi, rax
test rax, rax
jne 0x1400f006a
lea rdx, str..._.._sandbox_win_src_interception.cc
lea r9, str.thunk_base
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x189
call fcn.140024e50
mov rcx, rsi
call fcn.140024ee0
mov rcx, rsi
call fcn.140024ef0
add rdi, rbx
movaps xmm0, xmmword [section..rdata]
lea rsi, [rsp + 0x48]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi], r15
mov dword [rsi + 0x18], 0
mov qword [rsi + 8], 0x20
lea rcx, [0x1401b24e0]
mov r8d, 0x150
xor edx, edx
call fcn.14012fcf0
mov rcx, r12
mov rdx, rdi
mov r8, r15
mov r9, rsi
call fcn.1400f041e
mov ebx, eax
test eax, eax
jne 0x1400f0155
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x48]
mov r9d, 0x20
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, 0x2a
test eax, eax
je 0x1400f0155
cmp qword [rsp + 0x40], 0x20
jne 0x1400f0155
lea rax, [rsp + 0x3c]
mov dword [rax], 0xaaaaaaaa
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [r12]
lea rdx, str.g_originals
lea r8, [0x1401b24e0]
mov r9d, 0x150
call fcn.1400cc330
mov ebx, eax
jmp 0x1400f0155
xor ebx, ebx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14012cde0
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400f1b90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov eax, dword [0x1401b2658]
mov ecx, dword [0x1401af720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f1c13
lea rcx, [0x1401b2650]
call fcn.14005bb20
test rax, rax
jne 0x1400f1c02
mov ecx, 4
call fcn.14012c988
mov rsi, rax
mov dword [rax], 0
lea rcx, [0x1401b2650]
call fcn.14005bb20
test rax, rax
je 0x1400f1bf3
mov rcx, rax
call fcn.14012c9c4
lea rcx, [0x1401b2650]
mov rdx, rsi
call fcn.14005bb60
lea rcx, [0x1401b2650]
add rsp, 0x20
pop rsi
jmp fcn.14005bb20
lea rcx, [0x1401b2658]
call fcn.14012cb70
cmp dword [0x1401b2658], 0xffffffff
jne 0x1400f1bb6
mov qword [0x1401b2650], 0
lea rcx, [0x1401b2650]
lea rdx, [0x1400246a0]
call fcn.14005bbb0
lea rcx, [0x1401b2658]
call fcn.14012cc08
jmp 0x1400f1bb6
Function at 0x1400f36b0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
jmp 0x140107744
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x140107773
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401077ac
and eax, 0x410
cmp eax, 0x410
jne 0x1401077ac
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp 0x1401078aa
test byte [rsi], 1
mov rcx, rbx
je 0x1401077b8
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x14010788d
mov ecx, 2
call fcn.14002c580
test al, al
je 0x14010788b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x94
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140039950
movzx r8d, byte [rsi]
test r8b, 1
je 0x140107860
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x140107868
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x140107881
mov rcx, qword [rsp + 0x48]
call fcn.14012c9c4
lea rcx, [rsp + 0x50]
call fcn.14002d640
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1401078d9
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401079ae
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1401079ac
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x2f
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140039950
movzx r8d, byte [rsi]
test r8b, 1
je 0x140107981
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x140107989
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1401079a2
mov rcx, qword [rsp + 0x48]
call fcn.14012c9c4
lea rcx, [rsp + 0x50]
call fcn.14002d640
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400f6240
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [section..rdata]
lea rsi, [rsp + 0x160]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x1400f62d3
mov ecx, 1
call fcn.14002c580
test al, al
je 0x1400f62d3
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xb1
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.140001e21
mov rcx, rsi
call fcn.14002cae0
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov eax, esi
add rsp, 0x1a0
pop rsi
ret
Function at 0x140106304
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret
Function at 0x140107744
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
jmp 0x140107744
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x140107773
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401077ac
and eax, 0x410
cmp eax, 0x410
jne 0x1401077ac
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp 0x1401078aa
test byte [rsi], 1
mov rcx, rbx
je 0x1401077b8
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x14010788d
mov ecx, 2
call fcn.14002c580
test al, al
je 0x14010788b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x94
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140039950
movzx r8d, byte [rsi]
test r8b, 1
je 0x140107860
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x140107868
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x140107881
mov rcx, qword [rsp + 0x48]
call fcn.14012c9c4
lea rcx, [rsp + 0x50]
call fcn.14002d640
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1401078d9
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401079ae
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1401079ac
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x2f
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140039950
movzx r8d, byte [rsi]
test r8b, 1
je 0x140107981
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x140107989
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1401079a2
mov rcx, qword [rsp + 0x48]
call fcn.14012c9c4
lea rcx, [rsp + 0x50]
call fcn.14002d640
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401078aa
Capabilities:
Delete directory

Disassembly:
jmp 0x140107744
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x140107773
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401077ac
and eax, 0x410
cmp eax, 0x410
jne 0x1401077ac
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp 0x1401078aa
test byte [rsi], 1
mov rcx, rbx
je 0x1401077b8
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x14010788d
mov ecx, 2
call fcn.14002c580
test al, al
je 0x14010788b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x94
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140039950
movzx r8d, byte [rsi]
test r8b, 1
je 0x140107860
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x140107868
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x140107881
mov rcx, qword [rsp + 0x48]
call fcn.14012c9c4
lea rcx, [rsp + 0x50]
call fcn.14002d640
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1401078d9
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401079ae
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1401079ac
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x2f
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140039950
movzx r8d, byte [rsi]
test r8b, 1
je 0x140107981
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x140107989
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1401079a2
mov rcx, qword [rsp + 0x48]
call fcn.14012c9c4
lea rcx, [rsp + 0x50]
call fcn.14002d640
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14010edb0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx + 0x48], 0x1003f
mov eax, dword [rdx + 0x234]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x238]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x23c]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x240]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x24c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x250]
mov dword [rcx + 0x60], eax
lea rdx, [rcx + 0x64]
lea rbx, [rdi + 0x34]
mov rcx, rbx
call fcn.1400e96d0
movzx eax, word [rdi + 0x30]
mov dword [rsi + 0xd4], eax
movzx eax, word [rdi + 0x2e]
mov dword [rsi + 0xd8], eax
movzx eax, word [rdi + 0x2c]
mov dword [rsi + 0xdc], eax
movzx eax, word [rdi + 0x2a]
mov dword [rsi + 0xe0], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0xe4], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0xe8], eax
mov eax, dword [rdi + 4]
mov dword [rsi + 0xec], eax
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0xf0], eax
mov eax, dword [rdi + 8]
mov dword [rsi + 0xf4], eax
mov eax, dword [rdi]
mov dword [rsi + 0xf8], eax
mov eax, dword [rdi + 0x18]
mov dword [rsi + 0xfc], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x100], eax
movzx eax, word [rdi + 0x28]
mov dword [rsi + 0x104], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x108], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x10c], eax
movzx eax, word [rdi + 0x32]
mov dword [rsi + 0x110], eax
add rsi, 0x114
mov r8d, 0x200
mov rcx, rsi
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14012f890
Function at 0x1401135ce
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
mov r15, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
mov r14, qword [rsp + 0x380]
mov rsi, qword [rsp + 0x370]
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x78], rdx
call fcn.140054d08
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140096fc4
test al, al
je 0x14011368e
mov rax, qword [rsp + 0x378]
mov rcx, qword [rsp + 0x368]
mov edx, dword [rsp + 0x360]
mov r8d, dword [rsp + 0x358]
mov r9, qword [rsp + 0x350]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov rcx, rbx
mov rdx, rbp
mov r8, r15
call rdi
mov esi, 1
test eax, eax
jne 0x1401137dd
call fcn.140054d08
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140096fb4
xor esi, esi
test al, al
je 0x1401137dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov edx, 0x18
mov rcx, r14
mov r8d, 1
call fcn.1400cdaaa
test al, al
je 0x1401137d3
call fcn.1400cd9e0
test rax, rax
je 0x1401137d3
mov rsi, rax
mov qword [rsp + 0x70], 0
lea rdi, [rsp + 0xe0]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14012fcf0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x14011371f
mov qword [rsp + 0x70], rdi
movaps xmm0, xmmword [section..rdata]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm0
mov rcx, rbx
mov rdx, rsi
call fcn.1400cea86
lea rsi, [0x140178d30]
lea rax, [rsp + 0x88]
mov ecx, 0xb
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
movabs rcx, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov dword [rdx], 0x18
mov qword [rdx + 8], r14
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x370]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x80]
mov rcx, rbx
mov edx, 0xd
call fcn.1401137ff
test eax, eax
je 0x1401137b2
mov al, 1
jmp 0x1401137cf
mov ecx, dword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [rsp + 0x90], 0
sete sil
xor eax, eax
test al, al
je 0x1401137dd
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14012cde0
mov eax, esi
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140115dd0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rsi
mov rdx, rax
call fcn.140005bca
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x140115e3a
mov eax, edi
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14013a638
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14013a768
Function at 0x180005470
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x180005493
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x180005480
mov byte [rcx + 0x47], 0
mov rax, rcx
ret

Function at 0x1800054a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x1800054d4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1800054c0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x180005509
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.18000b0f0
nop
cmp byte [rbx + 0xa], 0
je 0x180005533
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x180005520
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x180005568
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.18000b0f0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.18000d310
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800055c1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800055bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800055bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180005601
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800055fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800055fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180106b84
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret