joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400028ab
Capabilities:
Get common file path

Disassembly:
jmp 0x14005bcc0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov rdi, rsp
mov ecx, 0x98
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x270]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x20c
rep stosb byte [rdi], al
mov edx, 0x105
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x244], eax
cmp dword [rsp + 0x244], 0
jbe 0x14005bd83
cmp dword [rsp + 0x244], 0x104
ja 0x14005bd83
mov eax, 2
imul rax, rax, 0x105
mov qword [rsp + 0x250], rax
cmp qword [rsp + 0x250], 0x20c
jae 0x14005bd59
jmp 0x14005bd5e
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x250]
mov word [rsp + rcx + 0x30], ax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
call fcn.140005731
mov al, 1
jmp 0x14005bd85
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f63f0]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x260
pop rdi
ret

Function at 0x1400029c3
Capabilities:
Check if file exists

Disassembly:
jmp 0x14005c0a0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rdi, rsp
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x90]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14005c142
lea rcx, [rsp + 0x38]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x90]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005c138
lea rcx, [rsp + 0x38]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x38]
call fcn.1400073ce
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401f6570]
call fcn.14000849f
mov eax, edi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x80
pop rdi
ret
Function at 0x140002b26
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x14011dfa0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x14011e007
mov r8d, 0x38
lea rdx, [0x140220330]
lea rcx, [0x1402203b0]
call fcn.1400070db
xor eax, eax
mov rcx, qword [rsp + 0x80]
call fcn.140006d75
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140005975
lea rcx, [rsp + 0x28]
call fcn.140008a17
nop
lea rcx, [rsp + 0x28]
call fcn.140008625
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14011e060
mov r8d, 0x3c
lea rdx, [0x1402203d0]
lea rcx, [0x140220450]
call fcn.1400070db
xor eax, eax
mov rcx, qword [rsp + 0x88]
call fcn.14000179e
movzx eax, al
test eax, eax
jne 0x14011e088
mov rcx, qword [rsp + 0x88]
call fcn.140004fac
mov qword [rsp + 0x58], rax
jmp 0x14011e091
mov qword [rsp + 0x58], 0
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
jne 0x14011e0d7
mov r8d, 0x3e
lea rdx, [0x140220460]
lea rcx, [0x1402204e0]
call fcn.1400070db
xor eax, eax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x14011e0fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14011e0fe
mov rax, qword [rsp + 0x80]
mov byte [rax + 9], 1
mov rcx, qword [rsp + 0x80]
call fcn.140007a59
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0x28]
call fcn.14000890e
movzx eax, byte [rsp + 0x48]
mov edi, eax
mov rcx, rsp
lea rdx, [0x140220840]
call fcn.14000849f
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x70
pop rdi
ret

Function at 0x140003008
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400fa1e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
call fcn.1400f9320
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400fa223
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [section..00cfg]
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [rsp + 0x28]
jmp 0x1400fa232
mov rdx, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret
Function at 0x14000326f
Capabilities:
Clear file content

Disassembly:
jmp 0x14018ffa0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0xffffffffffffffff
jne 0x14018ffe4
mov r8d, 0xb8
lea rdx, [0x14024d170]
lea rcx, str.m_handle_____HANDLE__LONG_PTR__1_
call fcn.1400070db
xor eax, eax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0xffffffffffffffff
jne 0x14018fff3
xor al, al
jmp 0x140190016
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14019000c
mov byte [rsp + 0x20], 1
jmp 0x140190011
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x1400032d8
Capabilities:
Read file on windows

Disassembly:
jmp 0x14005af80
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x14005afbc
xor al, al
jmp 0x14005b018
cmp qword [rsp + 0x48], 0
jne 0x14005afc8
xor al, al
jmp 0x14005b018
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
cmp qword [rax], 0xffffffffffffffff
jne 0x14005afda
xor al, al
jmp 0x14005b018
mov rax, qword [rsp + 0x58]
mov dword [rax], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14005b016
xor al, al
jmp 0x14005b018
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x140003a49
Capabilities:
Set current directory

Disassembly:
jmp 0x14005d660
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
call fcn.140004fac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x14005d69f
mov dword [rsp + 0x20], 1
jmp 0x14005d6a7
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x140003abc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14006e4b0
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, word [rsp + 0x58]
movd xmm0, eax
movdqa xmmword [rsp + 0x20], xmm0
pshuflw xmm0, xmmword [rsp + 0x20], 0
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x20]
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x50]
and rax, 0xfff
cmp rax, 0xff0
ja 0x14006e5c1
mov rax, qword [rsp + 0x50]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pxor xmm0, xmmword [rsp + 0x10]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pcmpeqw xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x30]
pcmpeqw xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
por xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pmovmskb eax, xmm0
mov dword [rsp], eax
cmp dword [rsp], 0
je 0x14006e5b1
mov eax, dword [rsp]
bsf eax, eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
add rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x14006e5a1
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
jmp 0x14006e5aa
mov qword [rsp + 8], 0
mov rax, qword [rsp + 8]
jmp 0x14006e5fc
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
jmp 0x14006e5f7
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x14006e5d9
mov rax, qword [rsp + 0x50]
jmp 0x14006e5fc
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
test eax, eax
jne 0x14006e5e9
xor eax, eax
jmp 0x14006e5fc
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x14006e4eb
add rsp, 0x48
ret
Function at 0x140003b84
Capabilities:
Check os version

Disassembly:
jmp 0x140030c90
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
mov rdi, rsp
mov ecx, 0x60
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x190]
mov qword [rsp + 0x168], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x190]
call fcn.140008f7b
nop
mov ecx, 1
call fcn.140003dfa
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x160]
mov qword [rax], rcx
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x11c
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140030d69
cmp dword [rsp + 0x34], 6
jb 0x140030d4c
mov byte [rsp + 0x170], 1
jmp 0x140030d54
mov byte [rsp + 0x170], 0
mov rax, qword [rsp + 0x190]
mov rax, qword [rax]
movzx ecx, byte [rsp + 0x170]
mov byte [rax], cl
mov rax, qword [rsp + 0x190]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401e7940]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x180
pop rdi
ret
Function at 0x140004223
Capabilities:
Check if file exists
Get common file path

Disassembly:
jmp 0x140062b70
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8d0
mov rdi, rsp
mov ecx, 0x234
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x8e0]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x8c8], rax
mov rax, qword [rsp + 0x8e0]
movzx eax, byte [rax + 8]
test eax, eax
je 0x140062bbb
jmp 0x140062d74
mov rax, qword [rsp + 0x8e0]
mov byte [rax + 8], 1
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x458], 0
lea r8, [rsp + 0x458]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x140062c64
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x458]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140062c2f
cmp qword [rsp + 0x458], 0
je 0x140062c2d
mov rcx, qword [rsp + 0x458]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140062c64
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x8b8], rax
cmp qword [rsp + 0x8b8], 0x410
jae 0x140062c50
jmp 0x140062c55
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x8b8]
mov word [rsp + rcx + 0x30], ax
lea rdx, [0x1401f8fe0]
lea rcx, [rsp + 0x30]
call fcn.1400019d8
lea rdx, [0x1401f8fe8]
lea rcx, [rsp + 0x30]
call fcn.1400019d8
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140062ccb
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x8c0], rax
cmp qword [rsp + 0x8c0], 0x410
jae 0x140062cb7
jmp 0x140062cbc
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x8c0]
mov word [rsp + rcx + 0x30], ax
lea rax, [rsp + 0x480]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
call fcn.140007536
test rax, rax
jbe 0x140062d40
mov r8d, 0x207
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x480]
call fcn.140006b90
lea rcx, [rsp + 0x480]
call fcn.140007536
test rax, rax
jbe 0x140062d40
lea rdx, [0x1401f8fe4]
lea rcx, [rsp + 0x480]
call fcn.1400019d8
lea rdx, str.2345Image.hzv
lea rcx, [rsp + 0x480]
call fcn.1400019d8
call fcn.140006f14
mov qword [rsp + 0x8a8], rax
lea rcx, [rsp + 0x480]
call fcn.140007536
test rax, rax
jbe 0x140062d74
lea rdx, [rsp + 0x480]
mov rcx, qword [rsp + 0x8a8]
call fcn.140003d87
mov rcx, rsp
lea rdx, [0x1401f9198]
call fcn.14000849f
mov rcx, qword [rsp + 0x8c8]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x8d0
pop rdi
ret
Function at 0x1400042d7
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400ffaa0
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 r14d, r14d
mov rbx, rax
test rax, rax
je 0x1400ffb8a
mov rsi, rax
cmp word [rax], r14w
je 0x1400ffaf3
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x1400ffadb
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x1400ffad7
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
test eax, eax
je 0x1400ffb8a
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.1400046bf
mov rdi, rax
test rax, rax
je 0x1400ffb78
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1400ffb78
mov rsi, rdi
mov rdi, r14
jmp 0x1400ffb7b
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.140007e00
jmp 0x1400ffb8d
mov rsi, r14
test rbx, rbx
je 0x1400ffb9b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x140004395
Capabilities:
Get common file path

Disassembly:
jmp 0x14005d6c0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x470
mov rdi, rsp
mov ecx, 0x11c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x480]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x468], rax
mov rcx, qword [rsp + 0x480]
call fcn.14000485e
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
lea rdx, [rsp + 0x30]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [rsp + 0x454], eax
cmp dword [rsp + 0x454], 0
jne 0x14005d739
xor al, al
jmp 0x14005d796
cmp dword [rsp + 0x454], 0x208
jb 0x14005d74a
xor al, al
jmp 0x14005d796
mov eax, 2
imul rax, rax, 0x208
mov qword [rsp + 0x460], rax
cmp qword [rsp + 0x460], 0x412
jae 0x14005d76e
jmp 0x14005d773
call fcn.140005038
xor eax, eax
mov rcx, qword [rsp + 0x460]
mov word [rsp + rcx + 0x30], ax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x480]
call fcn.140005731
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f6ec8]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x470
pop rdi
ret
Function at 0x1400053d0
Capabilities:
Move file

Disassembly:
jmp 0x14005c180
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rdi, rsp
mov ecx, 0x38
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xf8]
call fcn.140004fac
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.140004fac
mov rcx, qword [rsp + 0xc0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14005c20d
mov al, 1
jmp 0x14005c2df
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x38]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0xf0]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005c23b
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x78]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xf8]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005c264
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14005c2c8
lea rcx, [rsp + 0x78]
call fcn.140004fac
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x38]
call fcn.140004fac
mov rcx, qword [rsp + 0xc8]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14005c2c8
mov byte [rsp + 0xb0], 1
lea rcx, [rsp + 0x78]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x38]
call fcn.1400073ce
movzx eax, byte [rsp + 0xb0]
jmp 0x14005c2df
lea rcx, [rsp + 0x78]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x38]
call fcn.1400073ce
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f65d8]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0xe0
pop rdi
ret

Function at 0x14000563c
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140078450
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.140077dc0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140078487
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x1402ab010]
jmp 0x14007848d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret
Function at 0x1400056c3
Capabilities:
Check os version

Disassembly:
jmp 0x140018bc0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov rdi, rsp
mov ecx, 0x44
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x120]
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rdi, qword [rsp + 0x120]
xor eax, eax
mov ecx, 0x11c
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x120]
mov dword [rax], 0x11c
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140018d27
mov rax, qword [rsp + 0x120]
cmp dword [rax + 4], 6
ja 0x140018c59
mov rax, qword [rsp + 0x120]
cmp dword [rax + 4], 6
jne 0x140018ccc
mov rax, qword [rsp + 0x120]
cmp dword [rax + 8], 2
jb 0x140018ccc
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x84], 0
lea r9, [rsp + 0x84]
lea r8, [rsp + 0x64]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x24]
call fcn.140002676
movzx eax, al
test eax, eax
je 0x140018ccc
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x64]
mov dword [rax + 0xc], ecx
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0xe4], 0
lea r8, [rsp + 0xe4]
lea rdx, [rsp + 0xc4]
lea rcx, [rsp + 0xa4]
call fcn.140019c90
movzx eax, al
test eax, eax
je 0x140018d23
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0xe4]
mov dword [rax + 0xc], ecx
mov al, 1
jmp 0x140018d29
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401dcc30]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x110
pop rdi
ret
Function at 0x140005907
Capabilities:
Move file

Disassembly:
jmp 0x14005c320
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov rdi, rsp
mov ecx, 0x48
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x1402840e8]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rcx, qword [rsp + 0x138]
call fcn.140004fac
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x130]
call fcn.140004fac
mov r8d, 0xb
mov rcx, qword [rsp + 0x100]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14005c3ae
mov al, 1
jmp 0x14005c57a
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x38]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x130]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005c3dc
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x78]
call fcn.1400051eb
nop
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x138]
call fcn.1400038cd
movzx eax, al
test eax, eax
je 0x14005c405
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14005c472
lea rcx, [rsp + 0x78]
call fcn.140004fac
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x38]
call fcn.140004fac
mov r8d, 0xb
mov rcx, qword [rsp + 0x108]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14005c472
mov byte [rsp + 0xf0], 1
lea rcx, [rsp + 0x78]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x38]
call fcn.1400073ce
movzx eax, byte [rsp + 0xf0]
jmp 0x14005c57a
mov rcx, qword [rsp + 0x138]
call fcn.1400029c3
cmp eax, 0xffffffff
je 0x14005c555
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xb8]
call fcn.1400044f3
nop
lea rcx, [rsp + 0xb8]
call fcn.140001c67
movzx eax, al
test eax, eax
je 0x14005c548
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.1400053d0
movzx eax, al
test eax, eax
je 0x14005c548
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.1400053d0
movzx eax, al
test eax, eax
je 0x14005c532
lea rcx, [rsp + 0xb8]
call fcn.1400076f3
mov byte [rsp + 0xf1], 1
lea rcx, [rsp + 0xb8]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x78]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x38]
call fcn.1400073ce
movzx eax, byte [rsp + 0xf1]
jmp 0x14005c57a
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xb8]
call fcn.1400053d0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400073ce
mov byte [rsp + 0xf2], 0
lea rcx, [rsp + 0x78]
call fcn.1400073ce
nop
lea rcx, [rsp + 0x38]
call fcn.1400073ce
movzx eax, byte [rsp + 0xf2]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401f67b0]
call fcn.14000849f
mov rax, rdi
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400030d0
add rsp, 0x120
pop rdi
ret