joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002c94
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14033d2f8]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x38]
mov rdi, rcx
lea rdx, str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x140002da0
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov esi, 0x104
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x140002d91
cmp dword [rsp + 0x30], 2
mov byte [rsp + 0x143], bl
jne 0x140002d55
lea rcx, [rsp + 0x40]
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
cmp eax, 0x103
setbe bl
jmp 0x140002d91
lea rdx, [rsp + 0x40]
mov ecx, ebx
sub rdx, rdi
lea rax, [rsi + 0x7ffffefa]
cmp rax, rbx
je 0x140002d7d
mov al, byte [rdx + rdi]
cmp al, bl
je 0x140002d7d
mov byte [rdi], al
inc rdi
sub rsi, 1
jne 0x140002d5f
cmp rsi, rbx
jne 0x140002d8a
dec rdi
mov ecx, 0x8007007a
cmp ecx, ebx
mov byte [rdi], bl
setge bl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140002da2
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140247970
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400041b0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x170
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rbx, rcx
lea rax, vtable.CSABOSVersion.0
mov qword [rcx], rax
lea rdi, [rcx + 0x8a8]
lea rax, vtable.CSABString.0
mov qword [rdi], rax
xor eax, eax
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], eax
lea ecx, [rax + 0x10]
call fcn.140247068
mov qword [rdi + 8], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov dword [rdi + 0x14], 1
lea rcx, [rbx + 8]
mov dword [rcx], 0x9c
mov dword [rbx + 0x8a4], 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rbx + 0xc], 6
jne 0x140004334
cmp dword [rbx + 0x10], 2
jne 0x140004334
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004334
mov dword [rsp + 0x50], 0x11c
lea rcx, [rsp + 0x50]
call rax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x18], eax
mov eax, dword [rsp + 0x5c]
mov dword [rbx + 0x14], eax
mov eax, dword [rsp + 0x54]
mov dword [rbx + 0xc], eax
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0x10], eax
movzx eax, byte [rsp + 0x16a]
mov byte [rbx + 0xa2], al
movzx eax, byte [rsp + 0x16b]
mov byte [rbx + 0xa3], al
movzx eax, word [rsp + 0x164]
mov word [rbx + 0x9c], ax
movzx eax, word [rsp + 0x166]
mov word [rbx + 0x9e], ax
movzx eax, word [rsp + 0x168]
mov word [rbx + 0xa0], ax
lea rcx, [rbx + 0x1c]
lea rdx, [rsp + 0x64]
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rdx + rax*2], 0
jne 0x1400042f0
lea r9d, [rax + 1]
lea rdx, [rsp + 0x188]
mov qword [rsp + 0x38], rdx
lea rdx, [0x1402860c8]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x64]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdx, rdi
mov rcx, rbx
call fcn.140006130
nop
mov rax, rbx
mov rbx, qword [rsp + 0x190]
add rsp, 0x170
pop rdi
ret
Function at 0x140006950
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov edi, r9d
mov rbp, rdx
mov r9, r8
mov rsi, rcx
cmp edi, 0x10000
jae 0x140006b14
cmp qword [rcx + 8], 0
mov qword [rsp + 0x40], rbx
jne 0x1400069cb
mov rcx, qword [rcx + 0x20]
mov rax, 0xffffffffffffffff
mov rdx, rax
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140006991
nop word [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x1400069a0
add rax, 2
add rax, rdx
cmp rax, 0x10000
jae 0x140006ad1
mov rdx, r9
call qword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x140006ad1
lea rbx, [rcx + 0x18]
mov rdx, r9
mov rcx, qword [rbx]
lea r8d, [rdi + 1]
call fcn.1402496a0
xor edx, edx
test edi, edi
je 0x140006aca
cmp edi, 0x40
jb 0x140006aa3
mov r8, qword [rbx]
lea eax, [rdi - 1]
add rax, r8
cmp r8, rbx
ja 0x140006a08
cmp rax, rbx
jae 0x140006aa3
mov r9d, edi
and r9d, 0xffffffc0
movdqa xmm2, xmmword [0x1402866b0]
mov r10d, 0x20
movdqa xmm3, xmmword [0x1402866c0]
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + r8]
lea eax, [r10 - 0x10]
movdqa xmm1, xmm2
pxor xmm1, xmm0
pxor xmm1, xmm3
movdqu xmmword [rdx + r8], xmm1
add edx, 0x40
movdqu xmm0, xmmword [rax + r8]
movdqa xmm1, xmm2
pxor xmm0, xmm2
pxor xmm0, xmm3
movdqu xmmword [rax + r8], xmm0
mov eax, r10d
movdqu xmm0, xmmword [rax + r8]
pxor xmm1, xmm0
pxor xmm1, xmm3
movdqu xmmword [rax + r8], xmm1
lea eax, [r10 + 0x10]
add r10d, 0x40
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax + r8]
pxor xmm1, xmm0
pxor xmm1, xmm3
movdqu xmmword [rax + r8], xmm1
cmp edx, r9d
jb 0x140006a30
cmp edx, edi
jae 0x140006aca
mov ecx, edi
mov eax, edx
sub ecx, edx
mov edx, ecx
nop
mov rcx, qword [rbx]
lea rax, [rax + 1]
xor byte [rax + rcx - 1], 0x1a
mov rcx, qword [rbx]
xor byte [rax + rcx - 1], 0xf7
sub rdx, 1
jne 0x140006ab0
cmp qword [rsi + 8], 0
jne 0x140006aeb
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsi + 0x30]
mov r9d, edi
mov rax, qword [rsp + 0x60]
mov rdx, rbp
mov r8, qword [rbx]
mov qword [rsp + 0x28], 0
mov r10, qword [rcx]
mov qword [rsp + 0x20], rax
call qword [r10 + PathResolve]
jmp 0x140006ad6
mov rbp, qword [rsp + 0x48]
xor eax, eax
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140006d30
Capabilities:
Get disk information
Get disk size

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xa0
mov dword [r11 + 0x10], 0x5c3a41
lea rax, vtable.CSABDiskVolumeType.0
mov qword [rcx], rax
mov rbx, rcx
mov dword [rcx + 8], 0xffffffff
cmp edx, 0x1a
ja 0x140006e63
lea rax, [r11 - 0x58]
mov dword [rsp + 0x38], 0x40
mov qword [r11 - 0x78], rax
lea rcx, [r11 + 0x10]
add dl, 0x41
mov qword [r11 - 0x10], rdi
lea rax, [r11 + 0x18]
mov byte [r11 + 0x10], dl
mov qword [r11 - 0x80], rax
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x140006dbd
lea rdx, str.FAT32
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140006dd1
mov dword [rbx + 8], 0x1000
mov rax, rbx
mov rdi, qword [rsp + 0x98]
add rsp, 0xa0
pop rbx
ret
lea rdx, [0x140286838]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x140006e2e
lea rax, [rsp + 0xb0]
lea r9, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp dword [rsp + 0xb0], 0xff7
setbe dil
add edi, 0x1001
mov dword [rbx + 8], edi
jmp 0x140006dbd
lea rdx, str.NTFS
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
mov rax, rbx
jne 0x140006dc0
mov rdi, qword [rsp + 0x98]
mov dword [rbx + 8], 0x1003
add rsp, 0xa0
pop rbx
ret
mov rax, rbx
add rsp, 0xa0
pop rbx
ret
Function at 0x14000a910
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x40
movsxd rbp, r8d
mov rsi, r9
mov r15, rdx
test r8d, r8d
je 0x14000aa8b
mov rcx, rbp
shl rcx, 2
cmp rcx, 0x7fffffff
jg 0x14000aaf0
movabs rax, 0x5555555555555556
mov qword [rsp + 0x60], rdi
imul rcx
mov eax, 0x55555556
mov qword [rsp + 0x68], r14
mov rbx, rdx
mov ecx, ebp
shr rbx, 0x3f
add rbx, rdx
imul ebp
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
sub ecx, eax
mov eax, 0x6bca1af3
add ebx, ecx
imul ebx
mov ecx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x4c
sub ecx, eax
je 0x14000a9b1
and ecx, 0x80000003
jge 0x14000a9a4
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
je 0x14000a9b1
mov eax, 4
sub eax, ecx
add ebx, eax
lea eax, [rbx + 2]
mov ecx, eax
mov r14d, eax
call fcn.140247068
lea r9, [rsp + 0x34]
mov dword [rsp + 0x34], ebx
mov r8, rax
mov dword [rsp + 0x20], 2
mov edx, ebp
mov rcx, r15
mov rdi, rax
call fcn.14000a430
mov byte [rbx + rdi], 0
mov eax, 0x20
mov word [rsp + 0x70], ax
xor eax, eax
movzx ecx, byte [rdi]
dec ebx
mov byte [rsp + 0x70], cl
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], al
cmp byte [rbx + rdi], 0x3d
jne 0x14000aa33
nop word [rax + rax]
lea r8, [0x140287268]
mov byte [rbx + rdi], 0
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.1402504d8
lea ebx, [rbx - 1]
cmp byte [rbx + rdi], 0x3d
je 0x14000aa10
lea r8, [rsp + 0x70]
mov rdx, r14
mov rcx, rdi
call fcn.1402504d8
lea r8, [rsp + 0x30]
mov rdx, r14
mov rcx, rdi
call fcn.1402504d8
lea rdx, [rdi + 1]
mov r8, 0xffffffffffffffff
mov rcx, rsi
call fcn.14000af20
mov edx, 1
mov rcx, rdi
call fcn.140247060
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop rsi
pop rbp
ret
cmp qword [r9 + 0x10], 1
jae 0x14000aad3
mov ecx, 1
call fcn.140247068
mov rdx, qword [rsi + 8]
mov rbx, rax
test rdx, rdx
je 0x14000aac5
mov r8, qword [rsi + 0x18]
mov rcx, rax
inc r8
call fcn.1402496a0
mov rcx, qword [rsi + 8]
mov edx, 1
call fcn.140247060
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], 1
jmp 0x14000aad7
mov rbx, qword [r9 + 8]
mov byte [rbx], 0
mov rbx, qword [rsp + 0x78]
mov qword [rsi + 0x18], 0
add rsp, 0x40
pop r15
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004cd0
int3
Function at 0x14000be00
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 8], rdx
lea rax, vtable.CSABSDKFunctions::CCoreServiceInterface.0
mov qword [rcx], rax
lea rbx, [rcx + 0x10]
mov qword [rsp + 0x48], rbx
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14000b0b0
mov qword [rbx], rax
mov qword [rsi + 0x20], rdi
lea rax, vtable.CSABCriticalSectionContainer.0
mov qword [rsi + 0x28], rax
lea rcx, [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000be87
mov rax, qword [rcx]
lea rdx, [0x140289770]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [0x140337be8], 0xffffffff
jne 0x14000be9c
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140337be8], eax
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000beb7
mov rax, qword [rcx]
lea rdx, [0x1402897a0]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c9e0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov rdi, rcx
lea rax, vtable.CSABPSAPIDLL.0
mov qword [rcx], rax
add rcx, 8
call fcn.140008ba0
nop
lea rax, vtable.CSABString.0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x38], 9
mov ecx, 0xa
call fcn.140247068
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000ca59
movsd xmm0, qword [0x140287ec8]
movsd qword [rax], xmm0
movzx ecx, word [0x140287ed0]
mov word [rax + 8], cx
mov dword [rsp + 0x3c], 1
mov r14, qword [rdi + 0x10]
mov ecx, dword [rdi + 0x18]
add ecx, 0xa
call fcn.140247068
mov rbp, rax
test r14, r14
je 0x14000caa0
mov rdx, r14
mov r9, rax
sub r9, r14
movzx r8d, byte [rdx]
mov byte [r9 + rdx], r8b
lea rdx, [rdx + 1]
test r8b, r8b
jne 0x14000ca81
mov rcx, r14
call fcn.140247060
mov qword [rdi + 0x10], rbp
jmp 0x14000caa4
mov qword [rdi + 0x10], rax
test rbp, rbp
je 0x14000cadc
mov ecx, dword [rdi + 0x18]
movsd xmm0, qword [rsi]
movsd qword [rcx + rbp], xmm0
movzx eax, word [rsi + 8]
mov word [rcx + rbp + 8], ax
mov rcx, qword [rdi + 0x10]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000cad0
mov dword [rdi + 0x18], eax
test rsi, rsi
je 0x14000cae9
mov rcx, rsi
call fcn.140247060
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x14000cb79
lea rdx, str.GetModuleFileNameExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x28], rax
lea rdx, str.GetModuleFileNameExW
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x30], rax
lea rdx, str.EnumProcesses
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.EnumProcessModules
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
lea rdx, str.EnumProcessModulesEx
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
lea rdx, str.GetModuleInformation
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x50], rax
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x14000d620
Capabilities:
Write file on windows

Disassembly:
push rbx
mov eax, 0xa0d0
call fcn.140247340
sub rsp, rax
lea rax, vtable.CSABCoreService.0
mov rbx, rcx
mov qword [rcx], rax
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0xa094
call fcn.140249b10
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0xa0e0]
mov dword [rsp + 0x34], eax
lea rdx, [rsp + 0x30]
xor eax, eax
mov r8d, 0xa098
mov dword [rsp + 0xa0e0], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0xa0d0
pop rbx
ret
Function at 0x14000ea50
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x58]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000eacd
lea r8, [rsp + 0x34]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x14000eacd
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], 0
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
xor edx, edx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, 1
add rsp, 0x48
ret
xor eax, eax
add rsp, 0x48
ret

Function at 0x14000eae0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa090
lea rcx, [rsp + 0x38]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1068
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x34], eax
sub rdx, rdi
nop dword [rax]
movzx eax, word [rdi]
mov word [rdx + rdi], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x14000eb30
lea rcx, [rsp + 0x858]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x14000eb50
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], ebx
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
call fcn.1400143a0
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14000eae0
Function at 0x14000eda0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa090
lea rcx, [rsp + 0x38]
call fcn.140249b10
mov dword [rsp + 0x30], 0x1068
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x34], eax
sub rdx, rdi
nop dword [rax]
movzx eax, word [rdi]
mov word [rdx + rdi], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x14000eb30
lea rcx, [rsp + 0x858]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x14000eb50
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a100]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0xa098
mov dword [rsp + 0x1a100], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a108]
mov r8d, 0x10018
mov dword [rsp + 0x1a108], ebx
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0d0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
lea r11, [rsp + 0x1a0f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
call fcn.1400143a0
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14000eae0
Function at 0x14000ee10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x14000ee50
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa094
lea rcx, [rsp + 0x34]
mov edi, r9d
call fcn.140249b10
mov dword [rsp + 0x30], 0x1018
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a110]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rbx, qword [rsp + 0x1a148]
mov r8d, 0xa098
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edi
xor edi, edi
mov dword [rsp + 0x1a110], edi
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a128]
mov r8d, 0x10018
mov dword [rsp + 0x1a128], edi
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0dc]
test ecx, ecx
je 0x14000ef49
mov r8d, ecx
mov qword [rsp + 0x20], rdi
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a128]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0dc]
mov rax, qword [rsp + 0x1a130]
test rax, rax
je 0x14000ef58
mov dword [rax], ecx
mov rax, qword [rsp + 0xa0e0]
mov ecx, dword [rsp + 0xa0d0]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a118]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ee50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.1400143a0
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x14000ee50
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xa094
lea rcx, [rsp + 0x34]
mov edi, r9d
call fcn.140249b10
mov dword [rsp + 0x30], 0x1018
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a110]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rbx, qword [rsp + 0x1a148]
mov r8d, 0xa098
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edi
xor edi, edi
mov dword [rsp + 0x1a110], edi
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a128]
mov r8d, 0x10018
mov dword [rsp + 0x1a128], edi
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0dc]
test ecx, ecx
je 0x14000ef49
mov r8d, ecx
mov qword [rsp + 0x20], rdi
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x1a128]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0xa0dc]
mov rax, qword [rsp + 0x1a130]
test rax, rax
je 0x14000ef58
mov dword [rax], ecx
mov rax, qword [rsp + 0xa0e0]
mov ecx, dword [rsp + 0xa0d0]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a118]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000eff0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov ebx, r9d
mov edi, r8d
mov rsi, rdx
call fcn.1400143a0
mov r9d, ebx
mov r8d, edi
mov rdx, rsi
mov rcx, rax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp 0x14000f030
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov eax, 0x1a0f0
call fcn.140247340
sub rsp, rax
mov edi, r8d
mov rbx, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0xa094
lea rcx, [rsp + 0x34]
mov esi, r9d
call fcn.140249b10
mov dword [rsp + 0x30], 0x1019
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a120]
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rbx, qword [rsp + 0x1a140]
mov r8d, 0xa098
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], edi
xor edi, edi
mov dword [rsp + 0x44], esi
mov rax, qword [rbx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x1a120], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0xa0d0]
mov r8d, 0x10018
call fcn.140249b10
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x1a128]
mov r8d, 0x10018
mov dword [rsp + 0x1a128], edi
lea rdx, [rsp + 0xa0d0]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsp + 0x1a130]
test rcx, rcx
je 0x14000f114
mov eax, dword [rsp + 0xa0dc]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x1a138]
test rcx, rcx
je 0x14000f12a
mov eax, dword [rsp + 0xa0e0]
mov dword [rcx], eax
mov rax, qword [rsp + 0xa0e8]
mov ecx, dword [rsp + 0xa0d0]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rsp + 0xa0d8]
mov rbx, qword [rsp + 0x1a110]
add rsp, 0x1a0f0
pop rdi
pop rsi
pop rbp
ret