joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b410
Capabilities:
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rcx, qword [rcx + 8]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14000b54f
mov rax, 0xffffffffffffffff
movq xmm0, rax
movdqu xmmword [rsi + 8], xmm0
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x14000b55a
mov rdx, qword [rdi + 8]
test ebx, ebx
je 0x14000b564
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsi + 4], eax
mov dword [rsi], 2
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x14000b571
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor edx, edx
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000b538
mov rcx, rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
xor ecx, ecx
cmp dword [rsp + 0x68], 1
seta dl
test eax, eax
je 0x14000b538
mov cl, dl
mov dword [rsi], 2
mov eax, dword [rsi + 4]
mov edx, eax
shr edx, 0xa
and edx, 1
cmp eax, 0xffffffff
mov eax, 2
cmovne eax, edx
xor edx, edx
test ecx, ecx
je 0x14000b50a
cmp eax, 1
jne 0x14000b53f
mov dword [rsi], edx
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14000b51f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400192f0
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
jmp 0x14000b4e3
cmp ecx, 1
jne 0x14000b50c
test eax, eax
jne 0x14000b50c
mov edx, 1
jmp 0x14000b50a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b444
mov word [rax], 0
jmp 0x14000b462
mov rcx, rsi
call fcn.14000bed0
jmp 0x14000b47a
test byte [rsi + 4], 0x10
jne 0x14000b48e
xor edi, edi
jmp 0x14000b4c8
Function at 0x14000b890
Capabilities:
Copy file
Delete file
Move file
Set file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rcx, qword [rdx + 8]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000b8c3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], 0xffffffffffffffff
mov edx, dword [rdi + 4]
test dl, 1
je 0x14000b8f0
cmp edx, 0xffffffff
jne 0x14000b8e3
mov rcx, qword [rsi + 8]
mov edx, 0x80
jmp 0x14000b8ea
and edx, 0xfffffffe
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov rdx, qword [rsi]
mov r9, qword [rsi + 8]
add rdx, 1
lea r8, [0x140030424]
lea rcx, [rsp + 0x60]
call fcn.140009ab0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 3
mov rdi, qword [rsp + 0x68]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
mov word [rsp + 0x48], 0x654
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
or eax, 2
xor ebx, ebx
cmp eax, 2
je 0x14000b97f
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000b97f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov qword [rsp + 0x68], 0
test rdi, rdi
je 0x14000b995
mov rcx, rdi
call fcn.14000e248
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400192f0
mov eax, ebx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000bed0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsi + 4], eax
mov ecx, eax
shr ecx, 4
and ecx, 1
cmp eax, 0xffffffff
mov ebp, 2
cmovne ebp, ecx
cmp ebp, 2
je 0x14000bf9e
cmp ebp, 1
je 0x14000bfa9
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x60000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov rcx, qword [rsi + 8]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000bf55
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 8], rbx
cmp rbx, 0xffffffffffffffff
je 0x14000bf9e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsi + 4], eax
mov ecx, eax
shr ecx, 4
and ecx, 1
cmp eax, 0xffffffff
mov eax, 2
cmovne eax, ecx
cmp ebp, eax
je 0x14000bf9e
mov rcx, qword [rsi + 8]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000bf96
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 8], 0xffffffffffffffff
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov ecx, 0x20a
call fcn.14000e240
mov rbx, rax
mov r8d, 0x20a
mov rcx, rax
xor edx, edx
call fcn.14000fe30
lea rdx, str.mozlock.
mov rcx, rdi
mov r8, rbx
call fcn.14000e110
test eax, eax
je 0x14000c040
mov rcx, rbx
call fcn.1400173f8
test rax, rax
je 0x14000c040
mov rcx, rax
nop dword [rax]
add rcx, 0xffffffffffffffff
movzx edx, word [rbx + rcx*2]
cmp dx, 0x5c
je 0x14000c004
cmp dx, 0x2f
jne 0x14000c019
cmp rax, rcx
jb 0x14000bff0
mov word [rbx + rcx*2], 0
mov rax, rcx
test rcx, rcx
jne 0x14000bff0
jmp 0x14000c040
mov rcx, rbx
mov dx, 0x2f
call fcn.140010054
mov r14, rax
mov rcx, rbx
mov dx, 0x5c
call fcn.140010054
cmp r14, rax
cmova rax, r14
test rax, rax
jne 0x14000c052
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp fcn.14000e248
add rax, 2
lea rcx, [rsi + 0x10]
mov rdx, rax
call fcn.1400099b0
test eax, eax
js 0x14000c040
cmp qword [rsi + 0x10], 0
je 0x14000c040
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], 4
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rcx, qword [rsi + 8]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14000c0c7
mov qword [rsi + 8], r14
mov rcx, rbx
call fcn.14000e248
mov rbx, qword [rsi + 8]
cmp rbx, 0xffffffffffffffff
jne 0x14000bf5f
jmp 0x14000bf9e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c0a8
Function at 0x14000c0d0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.1400173f8
test rax, rax
je 0x14000c33d
mov rbx, rax
movzx eax, word [rdi + rax*2 - 2]
cmp ax, 0x5c
je 0x14000c114
cmp ax, 0x2f
jne 0x14000c118
add rbx, 0xffffffffffffffff
lea rax, [rbx + 2]
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.14000e240
mov r14, rax
lea r8, [rbx + rbx]
add r8, 4
xor r15d, r15d
mov rcx, rax
xor edx, edx
call fcn.14000fe30
lea r8, [rbx + 1]
mov rcx, r14
mov rdx, rdi
call fcn.1400178c0
mov rcx, r14
call fcn.140015850
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0xf0000000
lea rcx, [rsp + 0x38]
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14000c286
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0x8003
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x14000c2be
add ebx, ebx
mov rcx, qword [rsp + 0x30]
xor r15d, r15d
mov rdx, r14
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x14000c2c6
mov dword [rsp + 0x2c], 4
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x2c]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000c2c3
mov edi, dword [rsp + 0x28]
mov rcx, rdi
call fcn.14000e240
mov r12, rax
xor r15d, r15d
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.14000fe30
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x28]
mov edx, 2
mov r8, r12
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14000c2c6
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000c26c
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x38]
mov r15d, 1
test rcx, rcx
je 0x14000c2c6
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x14000c2c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14000c2c6
mov dword [rsp + 0x20], 0xf0000008
xor r15d, r15d
lea rcx, [rsp + 0x38]
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x14000c19e
jmp 0x14000c2c6
xor r15d, r15d
jmp 0x14000c2c6
xor r15d, r15d
mov rcx, r14
call fcn.14000e248
test r15d, r15d
je 0x14000c33d
lea rdx, [0x1400302e4]
mov r8d, 0x104
mov rcx, rsi
call fcn.1400178c0
cmp dword [rsp + 0x28], 0
je 0x14000c32e
add rsi, 0x48
xor ebx, ebx
lea r14, str._.2x
mov rdi, qword [sym.imp.USER32.dll_wsprintfW]
nop word cs:[rax + rax]
nop dword [rax]
movzx r8d, byte [r12 + rbx]
mov rcx, rsi
mov rdx, r14
call rdi
add rsi, 4
add rbx, 1
mov eax, dword [rsp + 0x28]
cmp rbx, rax
jb 0x14000c310
mov rcx, r12
call fcn.14000e248
mov esi, 1
jmp 0x14000c33f
xor esi, esi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400192f0
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14000d1f0
Capabilities:
Delete file
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000d239
call fcn.140015da4
mov qword [rsi], 0
lea rdi, [rsi + 0x210]
mov rcx, rdi
xor edx, edx
call fcn.1400155f8
add rsi, 8
mov rcx, rsi
test eax, eax
je 0x14000d241
mov rdx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_MoveFileW]
nop
add rsp, 0x28
pop rdi
pop rsi
ret
add rsp, 0x28
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_DeleteFileW]

Function at 0x14000d2d0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp qword [rcx], 0
je 0x14000d35f
mov r14, rdx
mov rsi, rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov r9, qword [rcx]
lea rcx, str._Warning:
mov edx, 0xd
mov r8d, 1
call fcn.140016da8
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rsi]
call fcn.140002320
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov r8, r14
xor r9d, r9d
call fcn.140010804
mov r9, qword [rsi]
lea rcx, str._n
mov edx, 4
mov r8d, 1
call fcn.140016da8
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400192f0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14000d380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rsi, rcx
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x40], 0
lea rdi, [rsp + 0x50]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call fcn.14000fe30
mov r8d, 0x104
mov rcx, rdi
mov rdx, rsi
call fcn.1400178c0
mov qword [rsp + 0x48], 0
lea rdx, [0x140030334]
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.14001794c
test rax, rax
je 0x14000d5c9
mov r13, rax
mov r15, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea r12, [0x140030334]
lea rbp, [rsp + 0x48]
mov rsi, qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [rsp + 0x40], eax
nop dword [rax]
mov rcx, r13
call r15
test eax, 0x400
je 0x14000d5a0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
mov rcx, r13
xor edx, edx
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000d500
mov rsi, rbp
mov ecx, 0x4000
call fcn.14000e240
mov rbx, rax
mov r8d, 0x4000
mov rcx, rax
xor edx, edx
call fcn.14000fe30
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0x4000
mov rcx, rdi
mov edx, 0x900a8
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov bpl, 1
mov r14d, 1
test eax, eax
je 0x14000d560
mov eax, dword [rbx]
cmp eax, 0xa000000c
je 0x14000d518
cmp eax, 0xa0000003
jne 0x14000d560
cmp word [rbx + 0xa], 5
jb 0x14000d51f
movzx eax, word [rbx + 8]
and eax, 0xfffffffe
lea rcx, [rbx + rax]
add rcx, 0x10
jmp 0x14000d532
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
setne al
mov dword [rsp + 0x40], eax
mov r14d, 1
jmp 0x14000d576
cmp word [rbx + 0xa], 5
jae 0x14000d523
xor ebp, ebp
jmp 0x14000d560
movzx eax, word [rbx + 8]
and eax, 0xfffffffe
lea rcx, [rbx + rax]
add rcx, 0x14
mov r8d, 4
lea rdx, str.___
call fcn.140017894
xor r14d, r14d
test eax, eax
setne r14b
mov ebp, dword [rsp + 0x40]
or bpl, r14b
nop word cs:[rax + rax]
nop
mov rcx, rbx
call fcn.14000e248
mov dword [rsp + 0x40], ebp
mov rbp, rsi
mov rsi, qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rax, rdi
add rax, 1
cmp rax, 2
jae 0x14000d58a
test r14d, r14d
je 0x14000d5a0
jmp 0x14000d5c9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x14000d5c9
nop dword [rax + rax]
xor ecx, ecx
mov rdx, r12
mov r8, rbp
call fcn.14001794c
mov rdi, rax
mov rcx, r13
mov rdx, rax
call rsi
test rdi, rdi
jne 0x14000d420
mov dword [rsp + 0x40], 0
mov esi, dword [rsp + 0x40]
and sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400192f0
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000da60
Capabilities:
Query service status

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rdi, rcx
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
xor edx, edx
mov r8d, 5
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x14000db75
mov r14, rax
mov rcx, rax
mov rdx, rdi
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14000db98
mov rdi, rax
mov dword [rsp + 0x3c], 0xcf
imul ebp, ebx, 0x3e8
test ebp, ebp
je 0x14000dbbf
xor esi, esi
lea r15, [rsp + 0x34]
lea r12, [rsp + 0x38]
mov rbx, qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov qword [rsp + 0x20], r15
mov rcx, rdi
xor edx, edx
mov r8, r12
mov r9d, 0x24
call rbx
test eax, eax
je 0x14000db20
cmp dword [rsp + 0x3c], 1
jne 0x14000db60
jmp 0x14000dbda
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jle 0x14000db3d
lea ecx, [rax - 0x425]
cmp ecx, 2
jb 0x14000db60
jmp 0x14000dc6d
cmp eax, 0x79
jle 0x14000dc25
cmp eax, 0x41c
jne 0x14000dc3f
nop word cs:[rax + rax]
nop dword [rax + rax]
mov ecx, 0x32
call r13
add esi, 0x32
cmp esi, ebp
jb 0x14000daf0
mov ebx, dword [rsp + 0x3c]
jmp 0x14000dbdf
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x429
sete cl
xor ecx, 0xff
cmp eax, 5
mov ebx, 0xfd
cmovne ebx, ecx
jmp 0x14000dbf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, 0x7a
jg 0x14000dbc6
cmp edi, 5
je 0x14000dc10
cmp edi, 6
jne 0x14000dc1e
mov ebx, 0xec
jmp 0x14000dbf0
mov ebx, 0xcf
jmp 0x14000dbdf
cmp edi, 0x7b
je 0x14000dc17
cmp edi, 0x424
jne 0x14000dc1e
mov ebx, 0xee
jmp 0x14000dbf0
mov ebx, 1
mov rsi, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call rsi
mov rcx, r14
call rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400192f0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebx, 0xeb
jmp 0x14000dbf0
mov ebx, 0xed
jmp 0x14000dbf0
mov ebx, 0xef
jmp 0x14000dbf0
cmp eax, 5
je 0x14000dc54
cmp eax, 6
je 0x14000dc5f
cmp eax, 0x57
jne 0x14000dc82
mov ebx, 0xdc
mov dword [rsp + 0x3c], ebx
jmp 0x14000dbdf
cmp eax, 0x7a
je 0x14000dc90
cmp eax, 0x7c
jne 0x14000dc82
mov ebx, 0xdd
mov dword [rsp + 0x3c], ebx
jmp 0x14000dbdf
mov ebx, 0xda
mov dword [rsp + 0x3c], ebx
jmp 0x14000dbdf
mov ebx, 0xd9
mov dword [rsp + 0x3c], ebx
jmp 0x14000dbdf
cmp eax, 0x45b
jne 0x14000dc82
mov ebx, 0xde
mov dword [rsp + 0x3c], ebx
jmp 0x14000dbdf
mov ebx, 0xdf
mov dword [rsp + 0x3c], ebx
jmp 0x14000dbdf
mov ebx, 0xdb
mov dword [rsp + 0x3c], ebx
jmp 0x14000dbdf
Function at 0x14000dca0
Capabilities:
Move file
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x490
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x488], rax
xor edi, edi
lea rbx, [rsp + 0x270]
mov r8d, 0x20a
mov rcx, rbx
xor edx, edx
call fcn.14000fe30
lea rdx, [0x1400302d6]
mov rcx, rsi
mov r8, rbx
call fcn.14000e110
test eax, eax
je 0x14000dd2e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor edi, edi
lea rcx, [rsp + 0x270]
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000dd4e
mov rcx, qword [rsp + 0x488]
xor rcx, rsp
call fcn.1400192f0
mov eax, edi
add rsp, 0x490
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rbx, rax
lea rdx, str.failed:__d
lea rdi, [rsp + 0x250]
mov rcx, rdi
mov r8d, ebp
call fcn.14000de10
mov rcx, rdi
call fcn.140017160
mov r14, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rbx
mov rdx, rdi
mov r8d, r14d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
test ebp, ebp
je 0x14000dd2e
cmp dword [rsp + 0x3c], r14d
jne 0x14000dd2e
xor edi, edi
lea rbx, [rsp + 0x40]
mov r8d, 0x20a
mov rcx, rbx
xor edx, edx
call fcn.14000fe30
mov r8d, 0x104
mov rcx, rbx
mov rdx, rsi
call fcn.1400178c0
lea rdx, str.update.status
mov rcx, rbx
call int.14000e0c0
test eax, eax
je 0x14000dd2e
lea rcx, [rsp + 0x270]
lea rdx, [rsp + 0x40]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
xor edi, edi
test eax, eax
setne dil
jmp 0x14000dd2e
Function at 0x14000dff0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push rsi
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x14000e064
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000e09a
lea rdx, [rsp + 0x54]
lea rsi, [0x1400393d4]
mov r8d, 0x105
mov rcx, rsi
call fcn.1400178c0
mov word [0x1400395dc], 0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400192f0
mov rax, rsi
add rsp, 0x280
pop rsi
ret
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
jne 0x14000e025
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.140014824
cmp esi, 2
mov ecx, 9
cmove ecx, esi
mov dword [rax], ecx
xor esi, esi
jmp 0x14000e048
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14000e0a9
xor esi, esi
jmp 0x14000e048
call fcn.140014824
mov dword [rax], 2
xor esi, esi
jmp 0x14000e048

Function at 0x140013bac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013ce4
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 0x140013d4b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140013d4b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140013d4b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140013d4b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140013d4b
cmp dword [rcx + 0x84], 0xe
jbe 0x140013d4b
cmp dword [rcx + 0xf8], 0
je 0x140013d4b
mov ecx, ebx
call fcn.140013c30
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.140013e78
cmp dword [rbp + 0x20], 0
je 0x140013d98
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140013c8c
int3
Function at 0x140001000
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor r9d, r9d
mov rbx, r8
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapSetInformation]
lea rax, [rsp + 0x90]
mov edx, 0x105
sub rbx, rax
lea rcx, [rsp + 0x90]
xor edi, edi
lea rax, [rdx + 0x7ffffef9]
test rax, rax
je 0x140001070
movzx eax, word [rbx + rcx]
test ax, ax
je 0x140001070
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000104e
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], di
je 0x140001160
movzx eax, word [rsp + 0x90]
lea rcx, [rsp + 0x90]
jmp 0x1400010a6
lea rbx, [rcx + 2]
cmp ax, 0x3a
je 0x1400010ad
movzx eax, word [rbx]
mov rcx, rbx
test ax, ax
jne 0x140001096
jmp 0x1400010ce
mov word [rcx], di
cmp word [rbx], di
je 0x1400010ce
lea rdx, str._ProcessID
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x1400010d6
lea rbx, [rsp + 0x90]
lea rax, [rsp + 0x30]
mov edx, 0x29
sub rbx, rax
lea rcx, [rsp + 0x30]
lea rax, [rdx + 0x7fffffd5]
test rax, rax
je 0x14000110a
movzx eax, word [rbx + rcx]
test ax, ax
je 0x14000110a
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400010e8
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], di
je 0x140001160
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_IIDFromString]
test eax, eax
js 0x140001160
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
test eax, eax
js 0x140001160
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_com_private_l1_1_0.dll_CoRegisterSurrogateEx]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
xor eax, eax
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140001460
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2b0
pop rdi
ret

Function at 0x140001430
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