joyce8/EMBER2024-capa huggingface dataset:
Function at 0x31eeca22e
Capabilities:
Hash data using murmur3

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor r13d, r13d
xor edi, edi
mov rax, rdx
mov rbp, rcx
mov rbx, rdx
mov ecx, 4
cqo
idiv rcx
lea r12, [rax*4]
cmp r13, r12
jl 0x31eeca122
mov rax, rbx
mov ecx, 4
cqo
idiv rcx
xor ecx, ecx
jmp 0x31eeca192
cmp r13, rbx
jl 0x31eeca138
lea rdx, [rbx - 1]
mov rcx, r13
call fcn.31eec5dc5
jmp 0x31eeca21b
mov rax, r13
mov rcx, qword [0x31ef53750]
add r13, 4
imul esi, dword [rbp + rax], 0xcc9e2d51
call fcn.31ef174d0
rol esi, 0xf
cmp byte [rax], 0
jne 0x31eeca21b
imul esi, esi, 0x1b873593
xor esi, edi
rol esi, 0xd
lea esi, [rsi + rsi*4]
lea edi, [rsi - 0x19ab949c]
jmp 0x31eeca10c
cmp r8, rbx
jge 0x31eeca20d
test r8, r8
js 0x31eeca20d
movzx eax, byte [rbp + r8]
shl ecx, 8
or ecx, eax
test rdx, rdx
jg 0x31eeca1e4
imul esi, ecx, 0xcc9e2d51
mov rcx, qword [0x31ef53750]
xor r12d, r12d
call fcn.31ef174d0
rol esi, 0xf
cmp byte [rax], 0
jne 0x31eeca21e
imul ecx, esi, 0x1b873593
xor edi, ebx
xor ecx, edi
mov edx, ecx
shr edx, 0x10
xor edx, ecx
imul edx, edx, 0x85ebca6b
mov eax, edx
shr eax, 0xd
xor eax, edx
imul eax, eax, 0xc2b2ae35
mov r12d, eax
shr r12d, 0x10
xor r12d, eax
jmp 0x31eeca21e
dec rdx
mov r8, r13
xor r12d, r12d
add r8, rdx
js 0x31eeca1f7
cmp r8, rdx
jae 0x31eeca1fd
mov r12d, 1
test r12, r12
je 0x31eeca175
call fcn.31eec4641
jmp 0x31eeca21b
lea rdx, [rbx - 1]
mov rcx, r8
call fcn.31eec5dc5
jmp 0x31eeca21e
xor r12d, r12d
mov rax, r12
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
sub rsp, 0x28
mov r8, qword [rcx]
mov rcx, qword [rcx + 8]
test r8, r8
js 0x31eeca253
test rcx, rcx
je 0x31eeca247
add rcx, 8
mov rdx, r8
add rsp, 0x28
jmp 0x31eeca0e0
lea rdx, [r8 - 1]
xor ecx, ecx
call fcn.31eec7290
xor eax, eax
add rsp, 0x28
ret
Function at 0x31eef1f40
Capabilities:
Hash data with crc32

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor r13d, r13d
lea rbp, [0x31ef38900]
mov rax, rdx
mov rdi, rcx
mov rbx, rdx
mov ecx, 8
cqo
mov r12d, r8d
idiv rcx
mov rsi, rax
lea rax, [r13*8]
cmp r13, rsi
jl 0x31eef1f8a
lea rcx, [0x31ef38900]
jmp 0x31eef2019
mov rcx, qword [0x31ef53750]
mov r14d, dword [rdi + r13*8]
call fcn.31ef174d0
cmp byte [rax], 0
jne 0x31eef2034
mov eax, dword [rdi + r13*8 + 4]
xor r12d, r14d
inc r13
mov ecx, eax
movzx edx, al
shr ecx, 0x18
mov edx, dword [rbp + rdx*4 + 0xc00]
xor edx, dword [rbp + rcx*4]
movzx ecx, r12b
xor edx, dword [rbp + rcx*4 + 0x1c00]
mov ecx, r12d
shr ecx, 0x18
xor edx, dword [rbp + rcx*4 + 0x1000]
movzx ecx, ah
shr eax, 0x10
movzx eax, al
mov ecx, ecx
xor edx, dword [rbp + rcx*4 + 0x800]
xor edx, dword [rbp + rax*4 + 0x400]
mov eax, r12d
shr r12d, 0x10
movzx eax, ah
movzx r12d, r12b
mov eax, eax
xor edx, dword [rbp + rax*4 + 0x1800]
xor edx, dword [rbp + r12*4 + 0x1400]
mov r12d, edx
jmp 0x31eef1f71
cmp rax, rbx
jge 0x31eef2034
mov dl, byte [rdi + rax]
inc rax
xor edx, r12d
shr r12d, 8
movzx edx, dl
xor r12d, dword [rcx + rdx*4]
jmp 0x31eef2019
mov eax, r12d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x31ef16430
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.31ef22830
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.31ef22830
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x31ef16da2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x31ef607e8]
test eax, eax
je 0x31ef16e3a
lea rax, [0x31ef607c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x31ef607f0]
mov qword [rbp - 8], rax
jmp 0x31ef16e1e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x31ef16e12
cmp qword [rbp - 0x10], 0
je 0x31ef16e12
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x31ef16dd8
lea rax, [0x31ef607c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x31ef16e3b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x31ef16f40
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x31ef16f68
mov eax, 0
jmp 0x31ef16fb6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x31ef16f91
mov eax, 0
jmp 0x31ef16fb6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x31ef16fb1
mov eax, 0
jmp 0x31ef16fb6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x31ef16fbc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x31ef1703a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x31ef17031
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x31ef17031
mov rax, qword [rbp - 8]
jmp 0x31ef1704f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x31ef17004
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x31ef23c94
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x31ef23dde
mov rcx, qword [rbp + 0x10]
call fcn.31ef2826d
cmp eax, 1
jne 0x31ef23dd1
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov word [rbp - 8], 0
mov byte [rbp - 6], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x31ef23d87
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x31ef23d9d
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x31ef23d83
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x31ef23dbc
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sub.msvcrt.dll_abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x31ef23ddf
nop
add rsp, 0x90
pop rbp
ret
Function at 0x31ef24fd5
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xffffffffffffffff
lea rax, [0x31ef24dfb]
mov rdx, rax
lea rax, [0x31ef61260]
mov rcx, rax
call fcn.31ef24406
mov eax, dword [0x31ef2fc60]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x31ef25028
mov rax, qword [rbp - 0x10]
jmp 0x31ef25188
call fcn.31ef23b70
mov qword [rbp - 0x10], rax
mov rax, qword [0x31ef65040]
test rax, rax
je 0x31ef25044
cmp qword [rbp - 0x10], 0
jne 0x31ef2504e
mov eax, 0
jmp 0x31ef25188
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 8]
mov rdx, rax
call fcn.31ef23c94
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x31ef25129
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x31ef2fc60]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x31ef25184
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x31ef25282
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call fcn.31ef24fd5
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call fcn.31ef24e29
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x31ef252ef
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x31ef2fc60]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x31ef25433
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x31ef2538c
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x31ef25347
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.31ef23a4c
mov qword [rbp - 0x10], 0
mov eax, dword [0x31ef2fc60]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x31ef25433
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x31ef253c6
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x31ef25433
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.31ef23a4c
mov qword [rbp - 0x10], 0
mov eax, dword [0x31ef2fc60]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140001010
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
lea rcx, str.color_40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._n_AVOID_FREEZE_HAS_TO_BE_DISABLED_NIGGA
call fcn.140001160
lea rdx, [0x140001340]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400010dc
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp byte [0x14000566c], 0
lea rcx, str.color_40
jne 0x14000107a
lea rcx, str.color_A0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x14000566c], 0
lea rdx, str._n_AVOID_FREEZE_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
sete byte [0x14000566c]
call fcn.140001160
lea rdx, section..text
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
movzx edx, byte [0x14000566c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___bool____ptr64]
mov rcx, rax
lea rdx, [0x140001340]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001044

Function at 0x140001c58
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x4ff68]
mov eax, 0x50050
call fcn.140048f90
sub rsp, rax
mov sil, r9b
mov rdi, r8
mov rcx, rdx
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xff50]
mov edx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
xor r14d, r14d
test eax, eax
je 0x140083efc
lea r8, [rbp + 0xff50]
lea rdx, [0x1400ddae0]
lea rcx, [rsp + 0x50]
call fcn.140024834
lea rcx, [rsp + 0x50]
call fcn.140028d58
mov rbx, rax
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140083ead
cmp word [rsp + rax*2 + 0x4c], 0x3a
je 0x140083ead
mov word [rsp + rax*2 + 0x4e], r14w
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140083ec1
test sil, sil
je 0x140083efc
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x2200000
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140083f16
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
lea r11, [rsp + 0x50050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor edx, edx
lea rcx, [rbp + 0x1ff50]
mov r8d, 0x2fffa
call fcn.140026240
add bx, bx
mov dword [rbp + 0x1ff50], 0xa0000003
mov word [rbp + 0x1ff5a], bx
lea rdx, [rsp + 0x50]
add bx, 2
lea rcx, [rbp + 0x1ff60]
mov r8d, 0x7fff
mov word [rbp + 0x1ff5c], bx
call fcn.140032024
movzx eax, word [rbp + 0x1ff5a]
lea r8, [rbp + 0x1ff50]
add ax, 0xc
mov qword [rsp + 0x38], r14
movzx r9d, ax
mov edx, 0x900a4
lea rax, [rbp + 0x4ff70]
mov word [rbp + 0x1ff54], r9w
mov qword [rsp + 0x30], rax
add r9d, 8
mov dword [rsp + 0x28], r14d
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rsi
test eax, eax
jne 0x140083fbd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140083ef3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140083efe
Function at 0x180024440
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test edx, edx
je 0x18002445d
mov eax, 1
cmp edx, eax
jne 0x18002449f
mov qword [0x180075668], rcx
add rsp, 0x28
ret
cmp qword [0x180060a70], 0
je 0x18002449a
cmp qword [0x180060a78], 8
lea rcx, [0x180060a60]
cmovae rcx, qword [0x180060a60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r8d, r8d
lea rdx, [0x180034acc]
lea rcx, [0x180060a60]
call fcn.1800014a0
mov eax, 1
add rsp, 0x28
ret
Function at 0x140018560
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001870b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x1402d8518]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140035180
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x1400185ce
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x1400185e1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x140018605
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x140018619
cmp rbx, 0x1000
jae 0x1400185d8
nop
jmp 0x140018689
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x14001862d
xor edx, edx
jmp 0x140018680
mov rcx, qword [0x1402d8518]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.140035180
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x14001860f
jmp 0x1400185f5
call fcn.140066f40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.140039940
lea rax, [0x140351db9]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.14003a240
mov rax, qword [rsp + 0x38]
call fcn.140039f40
lea rax, [0x140351f09]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.14003a240
mov rax, qword [rsp + 0x30]
call fcn.140039f40
call fcn.140039ba0
call fcn.1400399c0
lea rax, [0x140356840]
mov ebx, 0x21
call fcn.140038080
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140063380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140018560
Function at 0x140018740
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14001896a
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x1402d8510]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.140035200
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x1400187bb
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x1400187ce
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x1400187f0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x140018804
cmp rbx, 0x1000
jae 0x1400187c5
jmp 0x14001888e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x140018816
xor esi, esi
jmp 0x140018880
mov rax, qword [0x1402d8510]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.140035200
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x1400187fa
jmp 0x1400187e2
call fcn.140066f40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x140018909
call fcn.140039940
lea rax, [0x14035273d]
mov ebx, 0x19
call fcn.14003a240
mov rax, qword [rsp + 0x68]
call fcn.140039f40
lea rax, [0x140351f09]
mov ebx, 0x19
nop
call fcn.14003a240
mov eax, dword [rsp + 0x34]
call fcn.140039f40
call fcn.140039ba0
call fcn.1400399c0
lea rax, [0x14034c7d8]
mov ebx, 0xd
call fcn.140038080
cmp eax, 0x5af
je 0x1400188b3
call fcn.140039940
lea rax, [0x14035273d]
mov ebx, 0x19
call fcn.14003a240
mov rax, qword [rsp + 0x38]
call fcn.140039f40
lea rax, [0x140351f09]
mov ebx, 0x19
nop dword [rax]
call fcn.14003a240
mov eax, dword [rsp + 0x34]
call fcn.140039f40
call fcn.140039ba0
call fcn.1400399c0
lea rax, [0x140355881]
mov ebx, 0x1f
call fcn.140038080
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140063380
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140018740