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

Disassembly:
sub rsp, 0x68
call fcn.140001000
call fcn.1400016e0
call fcn.140001580
test eax, eax
je 0x1400018dd
call fcn.1400014c0
nop
lea rax, str.explorer.exe
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.140001400
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140001987
mov r8d, dword [rsp + 0x40]
xor edx, edx
mov ecx, 0x30
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001987
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [0x140001210]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14000197b
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
cmp eax, 1
je 0x14000199c
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x140001987
xor eax, eax
add rsp, 0x68
ret

Function at 0x140002504
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000254e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000254e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000254e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000254e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000254e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002550
xor al, al
add rsp, 0x28
ret
Function at 0x180006cb0
Capabilities:
Check mutex on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x28], 0
mov word [rsp + 0x30], 0
mov word [rsp + 0x30], 0
xor bl, bl
cmp qword [rdx + 0x10], 0
je 0x180006cf0
cmp qword [rdx + 0x18], 8
jb 0x180006cf2
mov rdx, qword [rdx]
jmp 0x180006cf2
xor edx, edx
mov r8, rdx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x180006d26
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, bl
mov ecx, 1
cmp eax, 0xb7
cmove ebx, ecx
mov byte [rsp + 0x31], bl
test rdi, rdi
je 0x180006d33
test bl, bl
je 0x180006d33
mov bl, 1
jmp 0x180006d35
xor bl, bl
test rdi, rdi
je 0x180006d4c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x28], 0
mov word [rsp + 0x30], 0
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180010070
Capabilities:
Copy file

Disassembly:
jmp 0x18001edc0
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x18001edf8
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x18001ee02
mov rcx, qword [rcx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x18001ee16
mov al, 1
jmp 0x18001ef61
xor sil, sil
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1801bc8a0]
movdqu xmmword [rsp + 0x58], xmm1
xor ebp, ebp
mov word [rsp + 0x48], bp
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.18001fa50
movzx ebx, sil
mov ecx, 1
test al, al
cmovne ebx, ecx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1801bc8a0]
movdqu xmmword [rsp + 0x38], xmm1
mov word [rsp + 0x28], bp
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18001fa50
test al, al
jne 0x18001ee83
test bl, bl
je 0x18001eeb6
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x18001eeb6
mov bl, 1
jmp 0x18001eeb8
xor bl, bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18001eefa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001eef5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001ef84
call fcn.180148104
movdqa xmm0, xmmword [0x1801bc8a0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bp
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18001ef4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ef46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001ef7e
call fcn.180148104
movdqa xmm0, xmmword [0x1801bc8a0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bp
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
call fcn.18014ebe4
nop
call fcn.18014ebe4
nop
int3
Function at 0x180011b70
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x44]
mov r8d, 0x110
call fcn.18014be70
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180011bf7
cmp dword [rsp + 0x44], 6
jb 0x180011bf7
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 0x207
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, str.Progid
mov rcx, 0xffffffff80000001
lea rdx, [0x1801b3320]
call fcn.1800119a0
test al, al
je 0x180011bf7
cmp word [rbx], 0
jne 0x180011c61
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x207
mov r9, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.http_shellopencommand
mov rcx, 0xffffffff80000000
call fcn.1800119a0
test al, al
je 0x180011c2c
cmp word [rbx], 0
jne 0x180011c61
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0x207
mov r9, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareClasses.html
mov rcx, 0xffffffff80000001
call fcn.1800119a0
test al, al
je 0x180011c65
cmp word [rbx], 0
je 0x180011c65
mov al, 1
jmp 0x180011c67
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x170
pop rbx
ret
Function at 0x180012610
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
mov qword [rcx], 0
mov rbx, rcx
mov word [rcx + 8], 0
cmp qword [rdx + 0x10], 0
je 0x180012639
cmp qword [rdx + 0x18], 8
jb 0x18001263b
mov rdx, qword [rdx]
jmp 0x18001263b
xor edx, edx
mov r8, rdx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
test rax, rax
je 0x18001266a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov rax, rbx
jne 0x18001266d
mov byte [rbx + 9], 1
add rsp, 0x20
pop rbx
ret
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1800126c0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor ebp, ebp
test rcx, rcx
je 0x1800126fe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], rbp
mov word [rdi + 8], bp
mov qword [rsp + 0x28], rbp
lea rcx, [rsp + 0x28]
call fcn.18001b640
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rcx, [rbx + 0x10]
jne 0x180012724
mov rcx, rbp
cmp qword [rsi + 0x10], 0
je 0x180012737
cmp qword [rsi + 0x18], 8
jb 0x18001273a
mov rsi, qword [rsi]
jmp 0x18001273a
mov rsi, rbp
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
je 0x18001275e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x18001275e
mov byte [rdi + 9], 1
cmp qword [rdi], 0
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x180012785
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180012798
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], rbp
mov edx, 0x58
mov rcx, rbx
call fcn.180148104
mov qword [rsp + 0x28], rbp
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800127d0
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [rcx]
xor r14d, r14d
test rcx, rcx
je 0x180012815
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov word [rdi + 8], r14w
mov qword [rsp + 0x28], r14
lea rcx, [rsp + 0x28]
call fcn.18001b760
nop
mov rbx, qword [rsp + 0x28]
cmp qword [rbx], 0
lea rbp, [rbx + 0x10]
jne 0x18001283c
mov rbp, r14
cmp qword [rsi + 0x10], 0
je 0x180012852
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x180012855
mov r8, qword [rsi]
jmp 0x180012855
mov r8, r14
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
test rax, rax
jne 0x1800128a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1800128a3
lea ecx, [rax + 5]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rsi + 0x10], 0
je 0x18001288f
cmp qword [rsi + 0x18], 8
jb 0x180012892
mov rsi, qword [rsi]
jmp 0x180012892
mov rsi, r14
mov r8, rsi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi], rax
mov rax, qword [rdi]
test rax, rax
je 0x1800128ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1800128bc
mov byte [rdi + 9], 1
mov rcx, qword [rdi]
call fcn.1800170e0
mov rax, qword [rdi]
test rax, rax
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x1800128ed
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180012900
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], r14
mov edx, 0x58
mov rcx, rbx
call fcn.180148104
mov qword [rsp + 0x28], r14
movzx eax, sil
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x180013860
Capabilities:
Create thread
Resume thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
jne 0x180013896
xor al, al
jmp 0x18001394b
mov qword [rsp + 0x38], 0
add rdi, 0x38
mov qword [rsp + 0x38], rdi
je 0x1800138b9
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800138b9
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rbx + 0x10]
cmp qword [rax + 8], 0
je 0x18001392a
mov eax, 1
lock xadd dword [rbx + 8], eax
mov rcx, qword [rbx + 0x10]
add rcx, 0x14
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [0x1800134d0]
xor edx, edx
xor ecx, ecx
call fcn.1801519c8
mov rcx, qword [rbx + 0x10]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x10]
cmp qword [rax + 0x18], 0
jne 0x180013963
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
sub eax, 1
jne 0x180013921
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbx + 0x10]
call fcn.180013680
xor bl, bl
test rdi, rdi
je 0x180013948
mov rcx, qword [rdi]
test rcx, rcx
je 0x18001393f
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], 0
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov byte [rax + 0x10], 1
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x180013981
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x180013909
mov bl, 1
jmp 0x18001392c

Function at 0x180015450
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov ecx, 1
call fcn.180147c14
mov qword [rbx], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x118
mov byte [rax], 0
call fcn.18014be70
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x1800154b7
cmp dword [rsp + 0x24], 6
mov rcx, qword [rbx]
setae dl
mov byte [rcx], dl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x150
pop rbx
ret
Function at 0x180018f20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
mov rax, rcx
mov qword [rcx + 0x10], rdi
jb 0x180018f55
mov rax, qword [rcx]
xor edx, edx
mov word [rax], di
mov r8d, 0x412
lea rcx, [rsp + 0x20]
call fcn.18014be70
lea rdx, [rsp + 0x20]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x180018f82
xor al, al
jmp 0x180018fb9
cmp eax, 0x208
jae 0x180018f7e
mov word [rsp + 0x430], di
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x180018fa0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180005390
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret

Function at 0x18001acb0
Capabilities:
Check os version

Disassembly:
xor r9d, r9d
xor r8d, r8d
jmp fcn.18001ad40

Function at 0x18001acc0
Capabilities:
Check os version

Disassembly:
xor r9d, r9d
mov r8b, 1
jmp fcn.18001ad40
Function at 0x18001c640
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea rcx, [r11 - 0x48]
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x68
ret

Function at 0x18001c690
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
xor edx, edx
add rcx, 4
mov r8d, 0x118
call fcn.18014be70
mov rcx, rbx
mov dword [rbx], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x18001c7f2
cmp dword [rbx + 4], 6
mov qword [rsp + 0x188], rdi
ja 0x18001c6f4
jne 0x18001c795
cmp dword [rbx + 8], 2
jb 0x18001c795
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x18001c795
mov edx, 1
mov rcx, rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x18001c795
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18001c795
movups xmm0, xmmword [0x1801b7998]
mov rcx, rax
movups xmm1, xmmword [0x1801b79a8]
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm1
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
je 0x18001c795
lea rcx, [rax + 6]
lea rdx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x18001c795
cmp word [rdi + 2], ax
jbe 0x18001c795
movzx edx, word [rdi + 0x32]
movzx eax, word [rdi + 0x30]
movzx ecx, word [rdi + 0x36]
mov dword [rbx + 4], edx
mov dword [rbx + 8], eax
mov dword [rbx + 0xc], ecx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x18001c7e6
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call fcn.18014be70
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call rdi
test eax, eax
jne 0x18001c7e6
mov eax, dword [rsp + 0x2c]
mov dword [rbx + 0xc], eax
mov rdi, qword [rsp + 0x188]
mov al, 1
jmp 0x18001c7f4
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x170
pop rbx
ret
Function at 0x18001e400
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx]
test rax, rax
je 0x18001e438
test rdx, rdx
je 0x18001e438
cmp qword [rax], 0xffffffffffffffff
je 0x18001e438
xor eax, eax
mov dword [r9], eax
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18001e438
mov al, 1
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret

Function at 0x18001e480
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx]
mov rdi, rdx
test rcx, rcx
je 0x18001e4de
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x18001e4de
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x18001e4c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x18001e4de
mov ecx, dword [rsp + 0x20]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov qword [rdi], rcx
jmp 0x18001e4e0
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x18001e630
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, edx
mov rbx, rcx
and edi, 0xffffb1af
cmp qword [rcx + 0x18], 8
jb 0x18001e66d
mov rcx, qword [rcx]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x18001e680
mov al, 1
jmp 0x18001e727
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.18001fa50
test al, al
je 0x18001e6d1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x18001e6d1
mov bl, 1
jmp 0x18001e6d3
xor bl, bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18001e711
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e70c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001e744
call fcn.180148104
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], si
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.18014ebe4
int3
Function at 0x18001e750
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x18001e785
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x18001e82f
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1801bc8a0]
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.18001fa50
test al, al
je 0x18001e7de
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18001e81c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e817
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001e84e
call fcn.180148104
movdqa xmm0, xmmword [0x1801bc8a0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.18014ebe4
int3
Function at 0x18001e860
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x18001e89c
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x18001e8a6
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x18001e8b7
mov al, 1
jmp 0x18001ea88
xor sil, sil
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1801bc8a0]
movdqu xmmword [rbp - 0x18], xmm1
xor r14d, r14d
mov word [rbp - 0x28], r14w
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.18001fa50
movzx ebx, sil
mov ecx, 1
test al, al
cmovne ebx, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
movdqa xmm1, xmmword [0x1801bc8a0]
movdqu xmmword [rbp - 0x38], xmm1
mov word [rbp - 0x48], r14w
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.18001fa50
test al, al
jne 0x18001e923
test bl, bl
je 0x18001e9e6
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x18001e9e6
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x18001e98d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e988
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001eaaf
call fcn.180148104
movdqa xmm0, xmmword [0x1801bc8a0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18001e9df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001e9da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001eab5
call fcn.180148104
mov al, 1
jmp 0x18001ea76
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x18001ea26
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ea21
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001eabb
call fcn.180148104
movdqa xmm0, xmmword [0x1801bc8a0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x18001ea74
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001ea6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001eaa9
call fcn.180148104
xor al, al
movdqa xmm0, xmmword [0x1801bc8a0]
mov word [rbp - 0x28], r14w
movdqu xmmword [rbp - 0x18], xmm0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180147bf0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18014ebe4
nop
call fcn.18014ebe4
nop
call fcn.18014ebe4
nop
call fcn.18014ebe4
int3