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

Disassembly:
sub rsp, 0x38
call fcn.004011a0
xor r9d, r9d
test al, al
je 0x406fd0
cmp qword [0x004481b0], r9
jne 0x406fc8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x004481b0]
lea r8, [0x00408618]
mov qword [0x004481c0], rax
lea rax, [0x004481b8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041a8d0
mov rcx, qword [0x004481c0]
mov qword [0x004481b0], rax
jmp 0x407027
mov ecx, dword [0x004481b8]
jmp 0x40704d
cmp qword [0x00448230], 0
jne 0x407047
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x00448230]
lea r8, [0x00405fb4]
mov qword [0x00448240], rax
lea rax, [0x00448238]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041a8d0
mov rcx, qword [0x00448240]
mov qword [0x00448230], rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40705d
lea rcx, str.Error_starting_SplashThread_n
call fcn.00409e94
jmp 0x40705d
mov ecx, dword [0x00448238]
mov r8d, 2
lea edx, [r8 + 4]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
add rsp, 0x38
ret
Function at 0x4074c0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rdi, rcx
mov ecx, 0x40
mov rbx, rdx
call fcn.00414ff0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
xor esi, esi
mov rcx, rdi
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rbx
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], esi
mov dword [rbp + 0x30], esi
mov dword [rbp + 0x14], esi
call fcn.00407e08
lea edx, [rsi + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rbp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, qword [rbp]
mov ebx, 0xffffffff
mov edx, ebx
mov qword [rbp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r11, [rsp + 0x30]
lea r8, [0x00407430]
mov qword [rsp + 0x28], r11
mov r9, rbp
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00407154]
mov r9, rbp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x34]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00407220]
mov r9, rbp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00407310]
mov r9, rbp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x3c]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x004073a0]
mov r9, rbp
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbp]
mov dword [rbp + 0x30], 5
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rbp + 0x38]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [rbp + 0x10]
lea rcx, str._HttpDownloader__Download_Tasks_Complete___success_d__n
call fcn.00409e94
mov rcx, qword [rsp + rsi*8 + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 1
cmp rsi, 5
jl 0x407632
mov eax, dword [rbp + 0x10]
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x407678
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x2748
call fcn.00437b90
sub rsp, rax
mov rbp, rcx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.SetDllDirectoryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x13b0]
mov rdx, rbp
mov rbx, rax
mov byte [rsp + 0x13b0], 0
call fcn.004152c0
lea rdx, [0x0043be04]
lea rcx, [rsp + 0x13b0]
call fcn.00409e2c
lea rdx, [rsp + 0x13b0]
lea rcx, str._JNILaunch__Bin_folder_is__s_n
call fcn.00409e94
mov edi, 0x7d0
mov rcx, rdi
call fcn.00414ff0
mov ecx, edi
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rsp + 0x13b0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test rbx, rbx
je 0x407725
lea rcx, [rsp + 0x13b0]
call rbx
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov byte [rsp + 0x20], 0
call fcn.004152c0
lea rdx, [0x0043be04]
lea rcx, [rsp + 0x20]
call fcn.00409e2c
lea rdx, str.server
lea rcx, [rsp + 0x20]
call fcn.00409e2c
lea rdx, str.jvm.dll
lea rcx, [rsp + 0x20]
call fcn.00409e2c
lea rcx, [rsp + 0x20]
call fcn.004099a4
lea rdx, [rsp + 0x20]
lea rcx, str._JNILaunch__Trying_to_load_library__s__exists_d__n
mov r8d, eax
call fcn.00409e94
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
jne 0x40782f
lea rcx, str._JNILaunch__Unable_to_load_library._Will_attempt_fallback._n
call fcn.00409e94
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov byte [rsp + 0x20], dil
call fcn.004152c0
lea rdx, [0x0043be04]
lea rcx, [rsp + 0x20]
call fcn.00409e2c
lea rdx, str.client
lea rcx, [rsp + 0x20]
call fcn.00409e2c
lea rdx, str.jvm.dll
lea rcx, [rsp + 0x20]
call fcn.00409e2c
lea rcx, [rsp + 0x20]
call fcn.004099a4
lea rdx, [rsp + 0x20]
lea rcx, str._JNILaunch__Trying_to_load_library__s__exists_d__n
mov r8d, eax
call fcn.00409e94
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
jne 0x40782f
lea rcx, str._JNILaunch__Unable_to_load_second_library._n
call fcn.00409e94
jmp 0x407840
lea rdx, [rsp + 0x20]
lea rcx, str._JNILauncher__Loaded_Windows_DLL____s_n
call fcn.00409e94
test rbx, rbx
je 0x407849
xor ecx, ecx
call rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rax, rdi
add rsp, 0x2748
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x407c78
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rbp, r8
mov rdi, rdx
call fcn.00409360
xor edx, edx
lea rcx, [rsp + 0x48]
mov qword [rbp], 0
lea r8d, [rdx + 0x20]
mov rbx, rax
mov qword [rbp + 8], 0
call fcn.00417c90
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x18]
call fcn.00417c90
lea rcx, str._Proxy__Opening_HTTP_Session_n
call fcn.00409e94
xor r9d, r9d
lea rcx, str.JWrapper_Proxy_Detector_1.0
lea edx, [r9 + 1]
xor r8d, r8d
mov dword [rsp + 0x20], 0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
mov rsi, rax
je 0x407df6
test rdi, rdi
mov dword [rsp + 0x48], 1
je 0x407d1f
lea rcx, str._Proxy__Using_auto_config_URL:__S_n
mov rdx, rdi
mov dword [rsp + 0x48], 3
call fcn.00409e94
mov qword [rsp + 0x50], rdi
lea rcx, str._Proxy__Attempting_to_detect_proxy_for_URL__S_n
mov rdx, rbx
mov dword [rsp + 0x4c], 3
mov dword [rsp + 0x64], 1
call fcn.00409e94
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x407db9
lea rcx, str._Proxy__Configuration_found_n
call fcn.00409e94
cmp dword [rsp + 0x30], 1
jne 0x407d79
lea rcx, str._Proxy__Direct_connection_used_n
call fcn.00409e94
jmp 0x407dcd
mov rdx, qword [rsp + 0x38]
lea rcx, str._Proxy___S_n
call fcn.00409e94
mov rdx, qword [rsp + 0x40]
lea rcx, str._Proxy___S_n
call fcn.00409e94
mov rcx, qword [rsp + 0x38]
call fcn.004093c0
mov rcx, qword [rsp + 0x40]
mov qword [rbp], rax
call fcn.004093c0
mov qword [rbp + 8], rax
jmp 0x407dcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._Proxy__Configuration_NOT_found___d__n
mov edx, eax
call fcn.00409e94
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x407ddd
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x407ded
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call fcn.00414fb0
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x4080ec
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.00437b90
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command_line..._n
call fcn.00409e94
call fcn.0041b4f0
lea rcx, [rax + 0x30]
call fcn.00417430
xor esi, esi
mov byte [rsp + 0xe0], 0
cmp qword [rbx], rsi
je 0x408176
mov rdi, rbx
lea rdx, [0x0043bdfc]
lea rcx, [rsp + 0xe0]
call fcn.004152c0
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.004152c0
lea rdx, [0x00440d58]
lea rcx, [rsp + 0xe0]
call fcn.004152c0
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x408130
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Creating_command_line__s_n
call fcn.00409e94
call fcn.0041b4f0
lea rcx, [rax + 0x30]
call fcn.00417430
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.00417c90
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.00417c90
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0xe0]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x408233
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.00409e94
call fcn.0041b4f0
lea rcx, [rax + 0x30]
call fcn.00417430
mov rax, 0xffffffffffffffff
jmp 0x408288
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0xc458]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0xc458]
lea rcx, str._Spawner__runSpawnerAndWait_returned__d_n
call fcn.00409e94
mov rax, qword [rsp + 0xc458]
add rsp, 0xc430
pop rdi
pop rsi
pop rbx
ret
Function at 0x408294
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.00437b90
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command..._n
mov byte [rsp + 0xe0], 0
call fcn.00409e94
call fcn.0041b4f0
lea rcx, [rax + 0x30]
call fcn.00417430
xor esi, esi
cmp qword [rbx], rsi
je 0x40831a
mov rdi, rbx
lea rdx, [0x0043bdfc]
lea rcx, [rsp + 0xe0]
call fcn.004152c0
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.004152c0
lea rdx, [0x00440d58]
lea rcx, [rsp + 0xe0]
call fcn.004152c0
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x4082d4
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Executing_command__s_n
call fcn.00409e94
call fcn.0041b4f0
lea rcx, [rax + 0x30]
call fcn.00417430
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.00417c90
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.00417c90
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0xe0]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4083d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.00409e94
call fcn.0041b4f0
lea rcx, [rax + 0x30]
call fcn.00417430
mov eax, 0xffffffff
jmp 0x408407
lea rcx, str._Spawner__Create_process_seems_to_have_worked_n
call fcn.00409e94
call fcn.0041b4f0
lea rcx, [rax + 0x30]
call fcn.00417430
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0xc430
pop rdi
pop rsi
pop rbx
ret

Function at 0x408524
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x004481b0], 0
je 0x40858d
mov ecx, dword [0x004481b8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x004481b0]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408573
mov rcx, qword [0x004481b0]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x004481b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x004481c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x004481b0], 0
add rsp, 0x28
ret
Function at 0x4099e4
Capabilities:
Encode data using xor
Get session user name
Hash data using fnv
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x100
lea rcx, str.ALLUSERSPROFILE
call fcn.0041a3a0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
mov r12, rax
mov dword [rsp + 0x130], 0x64
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rcx, [rsp + 0x20]
call fcn.00415200
xor esi, esi
xor edi, edi
test eax, eax
mov ebx, 0x811c9dc5
movsxd rbp, eax
jle 0x409a67
movzx ecx, byte [rsp + rdi + 0x20]
mov edx, esi
xor ebx, ecx
movsx r8d, cl
lea rcx, str.__d___d__d_n
imul ebx, ebx, 0x1000193
mov r9d, ebx
call fcn.00409e94
add rdi, 1
add esi, 1
cmp rdi, rbp
jl 0x409a39
test ebx, ebx
jns 0x409a6d
neg ebx
xor edx, edx
lea rcx, [rsp + 0x90]
lea r8d, [rdx + 0x64]
call fcn.00417c90
lea rdx, [0x00441028]
lea rcx, [rsp + 0x90]
mov r8d, ebx
call fcn.00416080
lea rcx, [rsp + 0x20]
xor ebx, ebx
call fcn.00415200
test rax, rax
je 0x409ac7
cmp byte [rsp + rbx + 0x20], 0x80
jb 0x409ab4
mov byte [rsp + rbx + 0x20], 0x5f
lea rcx, [rsp + 0x20]
add rbx, 1
call fcn.00415200
cmp rbx, rax
jb 0x409aa8
mov ecx, 0x1388
call fcn.00414ff0
mov rdx, r12
mov rcx, rax
mov rbx, rax
mov byte [rax], 0
call fcn.004152c0
lea rdx, str.JWUser_
mov rcx, rbx
call fcn.00409e2c
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.004152c0
lea rdx, [0x0043c544]
mov rcx, rbx
call fcn.004152c0
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.004152c0
mov rcx, rbx
call fcn.00409de8
mov rax, rbx
add rsp, 0x100
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x409b38
Capabilities:
Check os version
Query environment variable

Disassembly:
push rbx
push rdi
sub rsp, 0xc8
lea rcx, str.APPDATA
mov dword [rsp + 0x20], 0x94
call fcn.0041a3a0
test rax, rax
mov rdi, rax
je 0x409c13
mov rcx, rax
call fcn.00415200
cmp rax, 2
jbe 0x409c13
cmp byte [rdi], 0x5c
jne 0x409c13
cmp byte [rdi + 1], 0x5c
jne 0x409c13
lea rcx, str._Extractor__Roaming_AppData_directory_detected_n
call fcn.00409e94
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x409c1f
cmp dword [rsp + 0x24], 5
jbe 0x409bc9
lea rcx, str.LOCALAPPDATA
call fcn.0041a3a0
lea rcx, str._Extractor__Local_AppData_directory_resolved_to__s_n
mov rdx, rax
mov rdi, rax
call fcn.00409e94
jmp 0x409c1f
lea rcx, str.USERPROFILE
call fcn.0041a3a0
mov ecx, 0x1388
mov rbx, rax
call fcn.00414ff0
mov rdx, rbx
mov rcx, rax
mov rdi, rax
mov byte [rax], 0
call fcn.004152c0
lea rdx, str.Local_Settings
mov rcx, rdi
call fcn.00409e2c
lea rdx, str.Application_Data
mov rcx, rdi
call fcn.00409e2c
jmp 0x409c1f
lea rcx, str._Extractor__Local_AppData_directory_detected_n
call fcn.00409e94
lea rcx, str.Validating_directory...
call fcn.00409e94
lea rcx, str.Shared_dir_detected_is__s_n
mov rdx, rdi
call fcn.00409e94
lea rcx, str.Checking_if__s_exists_n
mov rdx, rdi
call fcn.00409e94
mov edx, 6
mov rcx, rdi
call fcn.0041c080
test eax, eax
jne 0x409cd5
lea rcx, str.Checking_if_string_is_cAscii__s_n
mov rdx, rdi
call fcn.00409e94
mov rcx, rdi
xor ebx, ebx
call fcn.00415200
test rax, rax
je 0x409c8f
cmp byte [rbx + rdi], 0x80
jae 0x409cd5
mov rcx, rdi
add rbx, 1
call fcn.00415200
cmp rbx, rax
jb 0x409c78
lea rcx, str.Checking_if__s_contains_a___n
mov rdx, rdi
call fcn.00409e94
mov rcx, rdi
xor ebx, ebx
call fcn.00415200
test rax, rax
je 0x409cc4
cmp byte [rbx + rdi], 0x21
je 0x409cd5
mov rcx, rdi
add rbx, 1
call fcn.00415200
cmp rbx, rax
jb 0x409cad
lea rcx, str.Shared_directory_appears_valid.
call fcn.00409e94
jmp 0x409d5a
lea rcx, str.The_directory__s_appears_invalid._n
mov rdx, rdi
call fcn.00409e94
lea rcx, str.Trying_the_short_path_instead._n
mov rdx, rdi
call fcn.00409e94
mov ecx, 0x1388
call fcn.00414ff0
mov r8d, 0x400
mov rcx, rdi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x409d4a
lea rcx, str.Got_short_path_of__s_n
mov rdx, rbx
call fcn.00409e94
lea rcx, str.Checking_if__s_exists_n
mov rdx, rdi
call fcn.00409e94
mov edx, 6
mov rcx, rdi
call fcn.0041c080
test eax, eax
jne 0x409d4a
mov rax, rbx
jmp 0x409d5d
mov rcx, rbx
call fcn.00414fb0
call fcn.004099e4
mov rdi, rax
mov rax, rdi
add rsp, 0xc8
pop rdi
pop rbx
ret
Function at 0x40a268
Capabilities:
Check os version
Query environment variable

Disassembly:
push rbx
push rdi
sub rsp, 0xc8
lea rdx, str.perm_all
mov rbx, rcx
call fcn.00418190
test eax, eax
jne 0x40a300
lea rcx, str.Permanent_install_for_all_users_n
call fcn.00409e94
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40a2bd
cmp dword [rsp + 0x24], 5
jbe 0x40a2bd
lea rcx, str.PROGRAMDATA
call fcn.0041a3a0
jmp 0x40a32b
lea rcx, str.ALLUSERSPROFILE
call fcn.0041a3a0
mov ecx, 0x1388
mov rbx, rax
call fcn.00414ff0
mov rdx, rbx
mov rcx, rax
mov rdi, rax
mov byte [rax], 0
call fcn.004152c0
lea rdx, str.Application_Data
mov rcx, rdi
call fcn.00409e2c
mov rcx, rdi
call fcn.00409de8
jmp 0x40a32e
lea rdx, str.perm_user
mov rcx, rbx
call fcn.00418190
lea rcx, str.Permanent_install_for_current_user_n
test eax, eax
je 0x40a321
lea rcx, str.Temporary_install_n
call fcn.00409e94
call fcn.00409b38
mov rdi, rax
test rdi, rdi
jne 0x40a348
lea rcx, str.ERROR:_Unable_to_get_shared_dir_
call fcn.00409e94
lea ecx, [rdi + 1]
call fcn.004165f0
int3
mov rax, rdi
add rsp, 0xc8
pop rdi
pop rbx
ret
Function at 0x40c0f0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
jne 0x40c117
lea rdx, str.._srchashes_sha2_sha256.c
lea rcx, str.md___NULL
mov r8d, 0xd0
call fcn.0040e8f0
xor eax, eax
mov dword [rbx + 0x280], 0x6a09e667
mov dword [rbx + 0x284], 0xbb67ae85
mov dword [rbx + 0x288], 0x3c6ef372
mov dword [rbx + 0x28c], 0xa54ff53a
mov dword [rbx + 0x290], 0x510e527f
mov dword [rbx + 0x2a0], eax
mov qword [rbx + 0x278], rax
mov dword [rbx + 0x294], 0x9b05688c
mov dword [rbx + 0x298], 0x1f83d9ab
mov dword [rbx + 0x29c], 0x5be0cd19
add rsp, 0x20
pop rbx
ret

Function at 0x40c6b0
Capabilities:
Hash data using sha224

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
mov rbx, rcx
jne 0x40c6d5
lea r8d, [rcx + 0x2a]
lea rdx, str.c:users_simplehelpworkspace_runner_nativelibtomlibtomcrypt_srchashes_sha2_sha224.c
lea rcx, str.md___NULL
call fcn.0040e8f0
xor eax, eax
mov dword [rbx + 0x280], 0xc1059ed8
mov dword [rbx + 0x284], 0x367cd507
mov dword [rbx + 0x288], 0x3070dd17
mov dword [rbx + 0x28c], 0xf70e5939
mov dword [rbx + 0x290], 0xffc00b31
mov dword [rbx + 0x2a0], eax
mov qword [rbx + 0x278], rax
mov dword [rbx + 0x294], 0x68581511
mov dword [rbx + 0x298], 0x64f98fa7
mov dword [rbx + 0x29c], 0xbefa4fa4
add rsp, 0x20
pop rbx
ret
Function at 0x40fd70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx + 0xc8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rsi
test eax, eax
mov qword [rsp + 0x48], rdi
mov rsi, rdx
mov rdi, r8
mov rbx, rcx
js 0x40feee
cdq
and edx, 7
add eax, edx
and eax, 7
cmp eax, edx
jne 0x40feee
cmp r8, 8
mov qword [rsp + 0x38], rbp
jb 0x40fe11
xor ebp, ebp
nop
nop
mov eax, dword [rbx + 0xc8]
test eax, eax
je 0x40fe11
cdq
add rsi, 1
and edx, 7
add eax, edx
sar eax, 3
movsxd rcx, eax
movzx eax, byte [rsi - 1]
xor byte [rcx + rbx], al
add dword [rbx + 0xc8], 8
cmp dword [rbx + 0xc8], 0x440
jne 0x40fe07
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.0040f9d0
mov dword [rbx + 0xc8], ebp
sub rdi, 8
cmp rdi, 8
jae 0x40fdc0
cmp rdi, 0x440
jb 0x40fe5e
movabs rax, 0xf0f0f0f0f0f0f0f1
mul rdi
mov rbp, rdx
shr rbp, 0xa
mov rax, rbp
imul rax, rax, 0xfffffffffffffbc0
add rdi, rax
nop
nop
mov r8d, 0x11
mov rdx, rsi
mov rcx, rbx
call fcn.0040f9d0
add rsi, 0x88
sub rbp, 1
jne 0x40fe40
cmp rdi, 8
mov rbp, qword [rsp + 0x38]
jb 0x40feaa
mov r8, rdi
shr r8, 3
mov rax, r8
imul rax, rax, 0xfffffffffffffff8
add rdi, rax
nop
nop
mov eax, dword [rbx + 0xc8]
add rsi, 1
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd rcx, eax
movzx eax, byte [rsi - 1]
xor byte [rcx + rbx], al
add dword [rbx + 0xc8], 8
sub r8, 1
jne 0x40fe80
test rdi, rdi
je 0x40fed8
mov eax, dword [rbx + 0xc8]
mov ecx, 8
cdq
sub cl, dil
and edx, 7
add eax, edx
movzx edx, byte [rsi]
sar eax, 3
shr dl, cl
movsxd r8, eax
xor byte [r8 + rbx], dl
add dword [rbx + 0xc8], edi
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x28
ret

Function at 0x416050
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x416079
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x416079
mov ecx, eax
call fcn.00415500
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x417670
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x417699
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x417699
mov ecx, eax
call fcn.00415500
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x41bfd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
test rcx, rcx
mov ebx, edx
jne 0x41c00e
call fcn.004154d0
xor ebx, ebx
mov dword [rax], ebx
call fcn.004154a0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], 0x16
mov qword [rsp + 0x20], rbx
call fcn.0041e430
lea eax, [rbx + 0x16]
add rsp, 0x30
pop rbx
ret
test edx, 0xfffffff9
jne 0x41bfdd
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41c03b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00415500
call fcn.004154a0
mov eax, dword [rax]
add rsp, 0x30
pop rbx
ret
test al, 0x10
jne 0x41c06b
test al, 1
je 0x41c06b
test bl, 2
je 0x41c06b
call fcn.004154d0
mov dword [rax], 5
call fcn.004154a0
mov dword [rax], 0xd
call fcn.004154a0
mov eax, dword [rax]
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x41c080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
test rcx, rcx
mov ebx, edx
jne 0x41c0c6
call fcn.004154d0
mov dword [rax], 0
call fcn.004154a0
mov ebx, 0x16
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
mov qword [rsp + 0x20], 0
call fcn.0041e430
neg ebx
sbb eax, eax
add rsp, 0x30
pop rbx
ret
test edx, 0xfffffff9
jne 0x41c08d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41c0f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00415500
call fcn.004154a0
mov ebx, dword [rax]
neg ebx
sbb eax, eax
add rsp, 0x30
pop rbx
ret
test al, 0x10
jne 0x41c12b
test al, 1
je 0x41c12b
test bl, 2
je 0x41c12b
call fcn.004154d0
mov dword [rax], 5
call fcn.004154a0
mov dword [rax], 0xd
call fcn.004154a0
mov ebx, dword [rax]
neg ebx
sbb eax, eax
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
neg ebx
sbb eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x41c140
Capabilities:
Create directory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x41c16b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41c16b
mov ecx, eax
call fcn.00415500
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x41c180
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x41c1a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41c1a9
mov ecx, eax
call fcn.00415500
mov eax, 0xffffffff
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret