joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011c14
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rbx, rdx
call fcn.14001191c
mov rcx, rbx
mov rsi, rax
call fcn.140016da8
lea rbp, str.__i4j_empty_command_line
test rax, rax
mov edx, 0x40000000
mov rcx, rsi
cmovne rbp, rbx
and qword [rsp + 0x30], 0
xor r9d, r9d
lea r8d, [r9 + 1]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
xor ebx, ebx
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140011ce3
mov ecx, ebx
inc ebx
cmp ecx, 0x32
jge 0x140011cc7
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
and qword [rsp + 0x30], 0
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140011c7f
cmp rdi, 0xffffffffffffffff
jne 0x140011ce3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.error_mailslot_CreateFile__d
mov edx, eax
call fcn.1400116b0
jmp 0x140011d44
mov rcx, rbp
call fcn.140016da8
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov rbx, rax
mov rdx, rbp
mov rcx, rdi
add ebx, ebx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140011d24
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.error_mailslot_WriteFile__d
mov edx, eax
call fcn.1400116b0
jmp 0x140011d3b
mov edx, dword [rsp + 0x60]
cmp edx, ebx
je 0x140011d3b
lea rcx, str.error_mailslot_WriteFile_length__d__d
mov r8d, ebx
call fcn.1400116b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
jmp fcn.1400166c0
Function at 0x1400120a8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
movss xmm0, dword [0x140040938]
and dword [rax + 0x20], 0
and dword [rax - 0x38], 0
ucomiss xmm0, dword [0x140037930]
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xorps xmm7, xmm7
jp 0x14001214a
jne 0x14001214a
movss xmm6, dword [0x14003792c]
lea rcx, str.J2D_UISCALE
movss dword [0x140040938], xmm6
call fcn.140019dc8
test rax, rax
je 0x140012142
xor edx, edx
mov rcx, rax
call fcn.14001ace0
cvtsd2ss xmm1, xmm0
movss dword [0x140040938], xmm1
call fcn.14001aad4
cmp dword [rax], 0x22
je 0x140012135
movss xmm0, dword [0x140040938]
comiss xmm7, xmm0
jb 0x14001214a
movaps xmm0, xmm6
movss dword [0x140040938], xmm0
jmp 0x14001214a
movss xmm0, dword [0x140040938]
comiss xmm0, xmm7
jbe 0x14001215c
movss dword [rbx], xmm0
movss dword [rdi], xmm0
jmp 0x140012249
cmp qword [0x14004dfe8], 0
jne 0x140012198
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14004dfe8], rax
test rax, rax
je 0x140012198
lea rdx, str.GetDpiForMonitor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004dfe0], rax
jmp 0x14001219f
mov rax, qword [0x14004dfe0]
test rax, rax
je 0x1400121e1
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
jne 0x140012249
mov eax, dword [rsp + 0x78]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2ss xmm0, rax
mov eax, dword [rsp + 0x20]
cvtsi2ss xmm1, rax
movss dword [rdi], xmm0
movss dword [rbx], xmm1
jmp 0x140012249
lea rcx, str.D2d1.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x14004dfd8], rax
test rax, rax
je 0x140012249
lea rdx, [0x1400378d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004dfd0], rax
test rax, rax
je 0x140012249
lea r9, [rsp + 0x28]
lea rdx, [0x1400378c0]
xor r8d, r8d
xor ecx, ecx
call rax
test eax, eax
jne 0x140012249
mov rcx, qword [rsp + 0x28]
mov r8, rbx
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rdi
ret
Function at 0x140013f68
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp byte [0x14004f795], 0
mov rbx, rcx
je 0x140013fbf
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140013fbf
mov rcx, rbx
call fcn.140016330
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8, rax
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x140013fd5
mov rcx, rbx
call fcn.14001ace8
call fcn.140017d40
lea rcx, [rax + 0x30]
call fcn.140017b78
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140014034
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x1400140bf
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x94
call fcn.1400186e0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x24], 6
jne 0x140014097
cmp dword [rsp + 0x28], 0
je 0x1400140bf
lea rdx, str.SetDefaultDllDirectories
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400140bf
mov ecx, 0xc00
call rax
lea rcx, str.restrict_DLL_directories
call fcn.1400116b0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140016a50
add rsp, 0xd0
pop rbx
ret

Function at 0x1400140d8
Capabilities:
Create directory

Disassembly:
push rbx
mov eax, 0x17a0
call fcn.140030d40
sub rsp, rax
mov rax, qword [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0x1790], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
call fcn.140006c00
xor ecx, ecx
call fcn.140018234
lea r8, [rsp + 0x20]
lea rdx, str._s_dir_d
lea rcx, [0x14004e000]
mov r9, rax
call fcn.140017758
lea rdx, [0x14004e000]
lea rcx, str.Temp_dir3:__S
call fcn.1400116b0
lea rcx, [0x14004e000]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140014180
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038350]
mov edx, eax
call fcn.1400116b0
inc ebx
cmp ebx, 0xa
jl 0x1400140fb
lea rdx, [0x14003834c]
mov ecx, 0x3f1
mov byte [0x14004e000], 0
call fcn.140004f90
mov rcx, qword [rsp + 0x1790]
xor rcx, rsp
call fcn.140016a50
add rsp, 0x17a0
pop rbx
ret
Function at 0x14001419c
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x48
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov rcx, rax
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140014222
lea r8, [rsp + 0x34]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140014222
lea ecx, [rax + 2]
xor edx, edx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x48
ret

Function at 0x140014384
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, 0xbb80
mov rcx, rbx
call fcn.140016208
mov ecx, 0x2ee0
mov rdi, rax
call fcn.140016208
mov r8d, 0x1770
mov rdx, rax
mov ecx, 0x2714
mov rsi, rax
call fcn.140004540
lea rcx, str.native_lib_dir_is__S
mov rdx, rsi
call fcn.1400116b0
mov rcx, rsi
call fcn.140008f10
lea r8, [0x14001435c]
mov rdx, rsi
mov rcx, rdi
call fcn.1400070d0
mov rcx, rdi
call fcn.140016330
test rax, rax
je 0x140014417
mov rcx, rdi
call fcn.140016330
cmp byte [rax + rdi - 1], 0x3b
je 0x140014417
lea rdx, [0x14003423c]
mov rcx, rdi
call fcn.140016860
mov rcx, rdi
call fcn.140016330
mov rcx, rdi
sub ebx, eax
call fcn.140016330
lea rcx, [0x140036558]
lea rdx, [rdi + rax]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rcx, [0x140036558]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x140014462
lea rcx, str.Setting_PATH__native_libs___S
mov rdx, rdi
call fcn.1400116b0
jmp 0x14001447a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Setting_PATH__native_libs___S_failed_with_error__d
mov rdx, rdi
mov r8d, eax
call fcn.1400116b0
mov rcx, rdi
call fcn.140016330
lea rcx, [rax + 6]
call fcn.140016208
lea rdx, str.PATH_s
mov r8, rdi
mov rcx, rax
mov rbx, rax
call fcn.140017758
mov rcx, rbx
call fcn.14001a360
mov rcx, rbx
call fcn.1400166c0
mov rcx, rdi
call fcn.1400166c0
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400166c0
Function at 0x1400144d0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, str._JAVA_OPTIONS
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, str.JDK_JAVA_OPTIONS
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rcx, str.JAVA_TOOL_OPTIONS
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea rdi, [0x1400359af]
lea rcx, str._JAVA_OPTIONS
mov rdx, rdi
call fcn.14001a394
lea rcx, str.JDK_JAVA_OPTIONS
mov rdx, rdi
call fcn.14001a394
lea rcx, str.JAVA_TOOL_OPTIONS
mov rdx, rdi
call fcn.14001a394
lea rcx, str.ucrtbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14001459f
lea rdx, str._putenv_s
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14001459f
lea r8, [fcn.14001a394]
lea rcx, str.using__putenv_s_in_ucrtbase.dll__p__p
mov rdx, rax
call fcn.1400116b0
lea rcx, str._JAVA_OPTIONS
mov rdx, rdi
call rbx
lea rcx, str.JDK_JAVA_OPTIONS
mov rdx, rdi
call rbx
lea rcx, str.JAVA_TOOL_OPTIONS
mov rdx, rdi
call rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140014e00
Capabilities:
Get common file path
Query environment variable
Set environment variable

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov ecx, 0x271a
call fcn.140004694
xor ebp, ebp
cmp eax, ebp
je 0x140014ff5
xor r8d, r8d
xor edx, edx
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movsxd rbx, eax
cmp ebx, ebp
jle 0x140014ff5
lea eax, [rbp + 2]
mul rbx
lea rcx, [rbp - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.140016208
mov rdi, rax
mov r8d, ebx
mov rdx, rax
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, ebp
jbe 0x140014fed
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, ebp
jbe 0x140014fed
lea rcx, [rsp + 0x50]
call fcn.140016da8
cmp rax, rbp
jbe 0x140014fed
lea rcx, [rsp + 0x50]
call fcn.140016da8
mov rsi, rax
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbp
mov word [rsp + 0x30], bp
mov r9, rdi
mov r8d, ebx
mov edx, eax
lea rcx, str.reducing_PATH__d__d__s
call fcn.1400116b0
lea rdx, [0x140034a88]
mov rcx, rdi
call fcn.1400188d8
mov rbx, rax
cmp rax, rbp
je 0x140014f83
mov rcx, rbx
call fcn.140016da8
cmp rax, rbp
je 0x140014f83
movsxd r8, esi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14001aee8
cmp eax, ebp
jne 0x140014f6d
cmp qword [rsp + 0x40], rbp
jbe 0x140014f55
lea rcx, [0x140034a88]
call fcn.140016da8
mov r8, rax
lea rdx, [0x140034a88]
lea rcx, [rsp + 0x28]
call fcn.140014930
mov rcx, rbx
call fcn.140016da8
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140014930
lea rdx, [0x140034a88]
xor ecx, ecx
call fcn.1400188d8
mov rbx, rax
cmp rax, rbp
jne 0x140014f0d
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
lea rcx, str.reduced_PATH__d_to__s
call fcn.1400116b0
cmp qword [rsp + 0x40], rbp
jbe 0x140014fdb
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp eax, ebp
jne 0x140014fdb
lea rcx, str.ERROR_setting_path
call fcn.1400116b0
nop
cmp qword [rsp + 0x48], 8
jb 0x140014fed
mov rcx, qword [rsp + 0x30]
call fcn.1400166c0
mov rcx, rdi
call fcn.1400166c0
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140016a50
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140015d18
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x4740
call fcn.140030d40
sub rsp, rax
mov rax, qword [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0x4730], rax
mov rsi, rcx
lea rcx, [rsp + 0xe0]
mov rdi, rdx
call fcn.140016900
lea rcx, str..pack
call fcn.140016330
lea rbx, [rsp + 0xe0]
lea rcx, [rsp + 0xe0]
sub rbx, rax
call fcn.140016330
xor ebp, ebp
mov rcx, rdi
mov byte [rax + rbx], bpl
call fcn.140005bb8
cmp al, bpl
jne 0x140015d9a
lea rcx, str.pack_path_doesnt_exists
call fcn.1400116b0
jmp 0x140015eeb
lea rdx, str._s_binunpack200.exe
lea rcx, [rsp + 0x2fc0]
mov r8, rsi
call fcn.140017758
lea r9, [rsp + 0xe0]
lea rdx, str._r___s____s_
lea rcx, [rsp + 0x1850]
mov r8, rdi
call fcn.140017758
lea rdx, [rsp + 0x2fc0]
lea rcx, [0x1400340a8]
call fcn.1400116b0
lea rdx, [rsp + 0x1850]
lea rcx, [0x1400340a8]
call fcn.1400116b0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.1400186e0
mov ebx, 0x68
lea rcx, [rsp + 0x70]
mov r8, rbx
xor edx, edx
call fcn.1400186e0
lea ecx, [rbx - 0x67]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov dword [rsp + 0xac], ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ecx
lea rdx, [rsp + 0x1850]
lea rcx, [rsp + 0x2fc0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x70], ebx
mov word [rsp + 0xb0], bp
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebp
jne 0x140015e99
lea rcx, str.could_not_create_unpack_process
call fcn.1400116b0
lea rdx, [0x140038c40]
mov ecx, 0x3f1
call fcn.140004f90
lea rcx, str.waiting_for_unpack200_to_finish
call fcn.1400116b0
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, str.unpack_done
call fcn.1400116b0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, ebp
jne 0x140015eeb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140015eeb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.could_not_delete_packed_file__error__d_
mov edx, eax
call fcn.1400116b0
mov rcx, qword [rsp + 0x4730]
xor rcx, rsp
call fcn.140016a50
mov rbx, qword [rsp + 0x4770]
add rsp, 0x4740
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015f10
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x3060
call fcn.140030d40
sub rsp, rax
mov rax, qword [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0x3050], rax
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov r8, rcx
mov r9, rdx
lea rcx, [rsp + 0x170]
lea rdx, str._s_s.jar.pack
call fcn.140017758
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140016072
lea rcx, [rsp + 0x5c]
call fcn.140016330
lea rcx, [rsp + 0x5c]
lea rdx, str._s_s_.s
mov qword [rsp + 0x28], rcx
sub rax, 5
lea rcx, [rsp + 0x170]
mov r9, rbp
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.140017758
lea rdx, [rsp + 0x170]
lea rcx, str.checking__S
call fcn.1400116b0
lea rcx, [rsp + 0x170]
call fcn.140005bb8
test al, al
jne 0x140016053
cmp byte [rdi], al
jne 0x140015ff5
lea rcx, str.Unpacking_JRE
call fcn.1400116b0
lea rcx, str.Preparing_JRE_..._n
call fcn.140013f68
mov byte [rdi], 1
lea rcx, [rsp + 0x5c]
call fcn.140016330
lea rcx, [rsp + 0x5c]
lea rdx, str._s_.s
mov qword [rsp + 0x20], rcx
lea r9, [rax - 5]
lea rcx, [rsp + 0x170]
mov r8, rbp
call fcn.140017758
lea r9, [rsp + 0x170]
lea rdx, str._s_s.pack
lea rcx, [rsp + 0x18e0]
mov r8, rsi
call fcn.140017758
lea rdx, [rsp + 0x18e0]
mov rcx, rsi
call fcn.140015d18
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140015f7a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x3050]
xor rcx, rsp
call fcn.140016a50
mov rbx, qword [rsp + 0x3098]
add rsp, 0x3060
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400187cc
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x1400187e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400187e6
xor eax, eax
test eax, eax
je 0x1400187f6
mov ecx, eax
call fcn.14001ab14
or eax, 0xffffffff
jmp 0x1400187f8
xor eax, eax
add rsp, 0x28
ret

Function at 0x140018800
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x140018816
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140018818
xor eax, eax
test eax, eax
je 0x140018828
mov ecx, eax
call fcn.14001ab14
or eax, 0xffffffff
jmp 0x14001882a
xor eax, eax
add rsp, 0x28
ret

Function at 0x140018874
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001888c
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001888e
xor eax, eax
test eax, eax
je 0x14001889e
mov ecx, eax
call fcn.14001ab14
or eax, 0xffffffff
jmp 0x1400188a0
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400188a8
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400188be
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400188c0
xor eax, eax
test eax, eax
je 0x1400188d0
mov ecx, eax
call fcn.14001ab14
or eax, 0xffffffff
jmp 0x1400188d2
xor eax, eax
add rsp, 0x28
ret
Function at 0x140019f48
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140019f5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140019f60
xor eax, eax
test eax, eax
je 0x140019f70
mov ecx, eax
call fcn.14001ab14
or eax, 0xffffffff
jmp 0x140019f72
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001b357
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400409c0]
jne 0x140016a6a
rol rcx, 0x10
test cx, 0xffff
jne 0x140016a66
repz ret
ror rcx, 0x10
jmp 0x14001b2b0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14004f8a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14004f998]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14001b335
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14004f8a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14001b357
mov rax, qword [rsp + 0x88]
mov qword [0x14004f998], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14004f938], rax
mov rax, qword [0x14004f998]
mov qword [0x14004f810], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14004f920], rax
mov dword [0x14004f800], 0xc0000409
mov dword [0x14004f804], 1
mov rax, qword [0x1400409c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400409c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14004f898], eax
mov ecx, 1
call fcn.14001b3fc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400395f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14004f898], 0
jne 0x14001b3de
mov ecx, 1
call fcn.14001b3fc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14001f2cc
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001f140
Function at 0x14001f2d8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14001ff5c
nop
cmp dword [0x14004fdd8], 1
je 0x14001f278
mov dword [0x14004fdd4], 1
mov byte [0x14004fdd0], r12b
test ebx, ebx
jne 0x14001f264
mov rcx, qword [0x1400508d0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001f251
mov rcx, qword [0x1400508c8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14001f1f0
call fcn.14001b40c
cmp qword [rdi], rax
jne 0x14001f1f0
jmp 0x14001f1d6
cmp rdi, rsi
jb 0x14001f251
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14001b40c
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400508d0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400508c8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14001f22f
cmp r13, rax
je 0x14001f24f
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14001f1d6
lea rdx, [0x140033598]
lea rcx, [0x140033580]
call fcn.14001f020
lea rdx, [0x1400335a8]
lea rcx, [0x1400335a0]
call fcn.14001f020
nop
test r12d, r12d
je 0x14001f287
mov ecx, 8
call fcn.14001fe5c
test r12d, r12d
jne 0x14001f2b2
mov dword [0x14004fdd8], 1
lea ecx, [r12 + 8]
call fcn.14001fe5c
mov ecx, r15d
call fcn.14001efb4
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14001f140