joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a86a0
Capabilities:
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r9
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rsp + 0x90]
mov dword [rsp + 0x24], r8d
mov r15, qword [rdx + 0x18]
mov r12, r15
add r12, 4
mov r8, 0xffffffffffffffff
cmovae r8, r12
mov ebp, r14d
mov rax, qword [rdx]
mov rdx, qword [rdx + 0x10]
cmp r8, rax
jbe 0x1400a86fa
sub r8, rdx
sub rax, rdx
cmp rax, r8
jb 0x1400a8893
bswap ebp
mov r8, r15
sub r8, rdx
jbe 0x1400a8716
add rdx, qword [rdi + 8]
mov rcx, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0x10], r15
mov rax, qword [rdi + 8]
mov dword [rax + r15], ebp
mov rdx, qword [rdi + 0x10]
cmp r12, rdx
jbe 0x1400a872e
mov qword [rdi + 0x10], r12
mov rdx, r12
mov qword [rdi + 0x18], r12
mov rax, r12
add rax, 4
mov r8, 0xffffffffffffffff
cmovae r8, rax
mov rax, qword [rdi]
cmp r8, rax
jbe 0x1400a875b
sub r8, rdx
sub rax, rdx
cmp rax, r8
jb 0x1400a88b2
mov r8, r12
sub r8, rdx
jbe 0x1400a8775
add rdx, qword [rdi + 8]
mov rcx, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 0x10], r12
mov rax, qword [rdi + 8]
mov ecx, dword [rsp + 0x24]
mov dword [rax + r15 + 4], ecx
add r15, 8
mov r12, qword [rdi + 0x10]
cmp r15, r12
jbe 0x1400a8796
mov qword [rdi + 0x10], r15
mov r12, r15
mov qword [rdi + 0x18], r15
test r14, r14
je 0x1400a8803
mov r13, r15
add r13, r14
mov r8, 0xffffffffffffffff
cmovae r8, r13
mov rax, qword [rdi]
cmp r8, rax
jbe 0x1400a87c7
sub r8, r12
mov rcx, rdi
call fcn.140270860
mov rdx, qword [rdi + 0x10]
bswap ebp
mov r8, r15
sub r8, rdx
ja 0x1400a8704
jmp 0x1400a8716
mov rcx, rdi
call fcn.140270860
mov rdx, qword [rdi + 0x10]
mov r8, r12
sub r8, rdx
ja 0x1400a8763
jmp 0x1400a8775

Function at 0x1400a89b0
Capabilities:
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r9
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rsp + 0x90]
mov dword [rsp + 0x24], r8d
mov r15, qword [rdx]
mov r13, qword [r15 + 0x18]
mov r12, r13
add r12, 4
mov r8, 0xffffffffffffffff
cmovae r8, r12
mov ebp, r14d
mov rax, qword [r15]
mov rdx, qword [r15 + 0x10]
cmp r8, rax
jbe 0x1400a8a0d
sub r8, rdx
sub rax, rdx
cmp rax, r8
jb 0x1400a8bab
bswap ebp
mov r8, r13
sub r8, rdx
jbe 0x1400a8a29
add rdx, qword [r15 + 8]
mov rcx, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [r15 + 0x10], r13
mov rax, qword [r15 + 8]
mov dword [rax + r13], ebp
cmp r12, qword [r15 + 0x10]
cmp esp, dword [rdi + 0x10]
mov rcx, r15
call fcn.140270860
mov rdx, qword [r15 + 0x10]
bswap ebp
mov r8, r13
sub r8, rdx
ja 0x1400a8a17
jmp 0x1400a8a29
Function at 0x1400ac240
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rdx + 0x10]
movups xmm1, xmmword [rdx]
movups xmm0, xmmword [rdx + 4]
mov r9d, dword [rdx + 0xc]
add r9d, eax
bswap r9d
movd xmm2, r9d
shufps xmm2, xmm0, 0xd4
unpcklps xmm0, xmm1
shufps xmm0, xmm2, 0x21
xorps xmm0, xmmword [rcx]
aesenc xmm0, xmmword [rcx + 0x10]
aesenc xmm0, xmmword [rcx + 0x20]
aesenc xmm0, xmmword [rcx + 0x30]
aesenc xmm0, xmmword [rcx + 0x40]
aesenc xmm0, xmmword [rcx + 0x50]
aesenc xmm0, xmmword [rcx + 0x60]
aesenc xmm0, xmmword [rcx + 0x70]
aesenc xmm0, xmmword [rcx + 0x80]
aesenc xmm0, xmmword [rcx + 0x90]
aesenc xmm0, xmmword [rcx + 0xa0]
aesenc xmm0, xmmword [rcx + 0xb0]
inc eax
aesenc xmm0, xmmword [rcx + 0xc0]
mov dword [rdx + 0x10], eax
aesenc xmm0, xmmword [rcx + 0xd0]
aesenclast xmm0, xmmword [rcx + 0xe0]
movdqu xmmword [r8], xmm0
ret
Function at 0x1400aee80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, r8
cmp rcx, 2
jne 0x1400aef16
movdqa xmm0, xmmword [rdx]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14027caa0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14004ba20
test rdi, rdi
je 0x1400aef96
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400aefaf
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1400af0a7
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400af128
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r8, r9
and r8, 7
je 0x1400af0b4
xor r10d, r10d
movzx r11d, byte [rcx + r10]
xor rax, r11
imul rax, rdx
inc r10
cmp r8, r10
jne 0x1400aef70
add r8, rcx
cmp r9, 8
jae 0x1400af0bd
jmp 0x1400af128
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14004ba20
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400af128
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400af128
mov r8, rcx
cmp r9, 8
jb 0x1400af128
add rcx, r9
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400af0c0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400c0c60
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movdqa xmmword [rsp + 0x80], xmm6
mov r15, r9
mov r14d, ecx
mov r10, qword [rsp + 0x120]
mov r13, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x110]
mov r11, qword [rsp + 0x108]
or byte [rcx], al
add byte [rax], al
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push rbx
push rdi
sub rsp, 0x78
mov r9d, 0x40
lea r8, str.marker11
lea rdx, str.marker1
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor edi, edi
mov qword [rsp + 0xa8], 0x1000
lea rcx, str.ntdll.dll
mov qword [rsp + 0xa0], rdi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtAllocateVirtualMemory
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtWriteVirtualMemory
movzx ecx, byte [rax + 4]
mov dword [0x140003028], ecx
lea rcx, [rax + 0x12]
mov qword [0x140003018], rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtCreateThreadEx
movzx ecx, byte [rax + 4]
add rax, 0x12
mov dword [section..data], ecx
mov rcx, rbx
mov qword [0x140003008], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtWaitForSingleObject
movzx ecx, byte [rax + 4]
add rax, 0x12
mov dword [0x140003010], ecx
mov rcx, rbx
mov qword [0x140003020], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rsp + 0x28], 0x40
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
lea rdx, [rsp + 0xa0]
movzx ecx, byte [rax + 4]
add rax, 0x12
mov dword [0x14000302c], ecx
lea rcx, [rdi - 1]
mov qword [0x140003030], rax
call fcn.1400011c0
mov dword [rsp + 0x90], 0x8348fc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsp + 0xa0]
lea r9d, [rdi + 4]
mov rcx, rax
lea r8, [rsp + 0x90]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call fcn.1400011cf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x48], rdi
mov r9, rax
mov rax, qword [rsp + 0xa0]
xor r8d, r8d
mov qword [rsp + 0x40], rdi
mov edx, 0x20000000
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400011de
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
xor edx, edx
call fcn.1400011ed
lea r9d, [rdi + 0x40]
xor ecx, ecx
lea r8, str.marker22
lea rdx, str.marker2
call qword [sym.imp.USER32.dll_MessageBoxW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140001d40
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001d97
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x140001dd9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001d70
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x434
call fcn.140008be0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
nop
cmp qword [rsp + 0x48], rdi
je 0x140001dea
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140001dc0
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140001dd9
mov rcx, rdi
cmp eax, 1
je 0x140001e05
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140001d50
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x140003e60
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x460
mov rdi, rcx
test rcx, rcx
jne 0x140003e7e
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140003ec7
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x140003f09
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003ea0
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x434
call fcn.140008be0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x438
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
nop
cmp qword [rsp + 0x48], rdi
je 0x140003f1c
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140003ef0
xor eax, eax
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
lea rcx, [rsp + 0x50]
call fcn.140003da0
mov rbx, qword [rsp + 0x470]
add rsp, 0x460
pop rdi
ret
Function at 0x140004760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov r8d, 6
lea rdx, str.TargetResource
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x1400048f9
mov rdx, rdi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400048f9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x1400048f9
mov rdx, rdi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x1400048f9
mov r14d, eax
mov ecx, eax
call fcn.140006ae4
mov rdi, rax
mov r8d, r14d
mov rdx, rsi
mov rcx, rax
call fcn.14000c6d0
mov r14d, dword [rdi]
lea rcx, [r14 + 1]
call fcn.140006ae4
mov rsi, rax
lea r8, [r14 + 1]
xor edx, edx
mov rcx, rax
call fcn.140008be0
mov r8d, dword [rdi]
lea rdx, [rdi + 4]
mov rcx, rsi
call fcn.14000c6d0
mov rdx, rsi
mov rcx, rbx
call fcn.140004920
mov rcx, rsi
test al, al
jne 0x14000484a
call fcn.14000683c
mov rcx, rdi
call fcn.14000683c
xor al, al
jmp 0x1400048f9
call fcn.14000683c
mov r14d, dword [rdi]
add r14, 4
add r14, rdi
movzx eax, byte [r14]
mov qword [rbx + 0x28], rax
movzx eax, byte [r14]
test al, al
je 0x1400048d8
mov esi, eax
lea rcx, [rax + 1]
call fcn.140006ae4
mov r15, rax
lea r8, [rsi + 1]
xor edx, edx
mov rcx, rax
call fcn.140008be0
mov qword [rbx + 0x30], r15
movzx r8d, byte [r14]
lea rdx, [r14 + 1]
mov rcx, r15
call fcn.14000c6d0
movzx eax, byte [r14]
add r14, rax
mov eax, dword [r14 + 1]
mov qword [rbx + 0x38], rax
mov r15d, dword [r14 + 1]
mov ecx, r15d
call fcn.140006ae4
mov rsi, rax
mov r8d, r15d
xor edx, edx
mov rcx, rax
call fcn.140008be0
mov qword [rbx + 0x40], rsi
mov r8d, dword [r14 + 1]
lea rdx, [r14 + 5]
mov rcx, rsi
call fcn.14000c6d0
mov rcx, rdi
call fcn.14000683c
mov rcx, qword [rbx + 0x18]
call fcn.140004290
mov rcx, qword [rbx + 0x20]
call fcn.140004290
nop
mov al, 1
jmp 0x1400048f9
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x140006010
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
cmp byte [rcx + 0x3c], sil
je 0x14000614d
mov edx, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x140006067
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140006136
lea rdx, [rsp + 0x90]
call fcn.140003b30
mov r13, rax
mov rdx, rax
lea rcx, [0x14005c648]
call fcn.140003a30
mov r14, rax
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400060a1
add edi, edi
mov r12, qword [r15 + 0x30]
mov ebx, esi
nop dword [rax]
nop word [rax + rax]
mov r8d, edi
sub r8d, ebx
mov edx, ebx
add rdx, r14
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
mov rcx, r12
cmp r8d, 0x400
jbe 0x1400060e7
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400060f7
add ebx, dword [rsp + 0x30]
jmp 0x140006102
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140006108
cmp ebx, edi
je 0x14000610d
jmp 0x1400060c0
mov esi, 0x6d
mov dword [rsp + 0x30], esi
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test r13, r13
je 0x140006128
mov rcx, r13
call fcn.14000683c
test r14, r14
je 0x140006136
mov rcx, r14
call fcn.14000683c
nop
jmp 0x140006144
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006160
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x48
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
cmp byte [rcx + 0x3c], sil
je 0x14000627b
mov edx, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x1400061b5
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140006264
lea rdx, [rsp + 0x90]
call fcn.140003c00
mov r14, rax
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400061e0
add edi, edi
mov r12, qword [r15 + 0x30]
mov ebx, esi
nop dword [rax]
nop word [rax + rax]
mov r8d, edi
sub r8d, ebx
mov edx, ebx
add rdx, r14
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
mov rcx, r12
cmp r8d, 0x400
jbe 0x140006227
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140006237
add ebx, dword [rsp + 0x30]
jmp 0x140006242
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140006248
cmp ebx, edi
je 0x14000624d
jmp 0x140006200
mov esi, 0x6d
mov dword [rsp + 0x30], esi
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, r14
call fcn.14000683c
nop
jmp 0x140006272
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006290
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x78], esi
cmp byte [rcx + 0x3c], sil
je 0x1400063ba
mov edx, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x1400062e6
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, rbx
mov rcx, rdi
call fcn.140003b30
mov r13, rax
mov rdx, rax
lea rcx, [0x14005c648]
call fcn.140003a30
mov r14, rax
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140006310
add edi, edi
mov r12, qword [r15 + 0x30]
mov ebx, esi
nop dword [rax]
nop word [rax + rax]
mov r8d, edi
sub r8d, ebx
mov edx, ebx
add rdx, r14
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
mov rcx, r12
cmp r8d, 0x400
jbe 0x140006357
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140006367
add ebx, dword [rsp + 0x78]
jmp 0x140006372
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140006378
cmp ebx, edi
je 0x14000637d
jmp 0x140006330
mov esi, 0x6d
mov dword [rsp + 0x78], esi
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test r13, r13
je 0x140006398
mov rcx, r13
call fcn.14000683c
test r14, r14
je 0x1400063a6
mov rcx, r14
call fcn.14000683c
nop
jmp 0x1400063b1
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x1400063e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov r15, rcx
xor esi, esi
mov dword [rsp + 0x78], esi
cmp byte [rcx + 0x3c], sil
je 0x1400064d8
mov edx, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x140006430
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, rbx
mov rcx, rdi
call fcn.140003c00
mov r14, rax
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140006445
add edi, edi
mov r12, qword [r15 + 0x30]
mov ebx, esi
nop word [rax + rax]
mov r8d, edi
sub r8d, ebx
mov edx, ebx
add rdx, r14
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x78]
mov rcx, r12
cmp r8d, 0x400
jbe 0x140006487
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140006497
add ebx, dword [rsp + 0x78]
jmp 0x1400064a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x1400064a8
cmp ebx, edi
je 0x1400064ad
jmp 0x140006460
mov esi, 0x6d
mov dword [rsp + 0x78], esi
mov rcx, qword [r15 + 0x30]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, r14
call fcn.14000683c
nop
jmp 0x1400064cf
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140007294
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400072de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400072de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400072de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400072de
cmp dword [rcx + 0x84], 0xe
jbe 0x1400072de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400072e0
xor al, al
add rsp, 0x28
ret

Function at 0x14000e358
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000e154
Function at 0x14001664c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001667c
xor eax, eax
jmp 0x14001673f
mov rbp, rbx
cmp word [rax], si
je 0x1400166a1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140016688
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140016684
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001656c
movsxd r14, eax
test eax, eax
jne 0x1400166df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140016675
mov rcx, r14
call fcn.140014b90
mov rdi, rax
test rax, rax
jne 0x1400166f8
xor ecx, ecx
call fcn.140014c68
jmp 0x1400166d4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001656c
test eax, eax
jne 0x140016729
mov rcx, rdi
call fcn.140014c68
jmp 0x140016733
xor ecx, ecx
call fcn.140014c68
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret