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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rdi
mov eax, 0x2740
call fcn.00439550
sub rsp, rax
test rcx, rcx
mov rbx, rcx
je 0x40176c
call fcn.004010b0
mov rdi, rax
jmp 0x401779
call fcn.00417630
xor edi, edi
mov dword [rax], 0x16
test rdi, rdi
mov qword [rsp + 0x2770], rdi
jne 0x40179d
lea rcx, str._CopyFolder__SourceDir_from__s_is_NULL_n
mov rdx, rbx
call fcn.0040bf40
lea eax, [rdi + 1]
jmp 0x401992
mov rcx, rdi
call fcn.004011f4
test rax, rax
mov rbp, rax
je 0x401986
mov rcx, qword [rax]
cmp byte [rcx], 0x2e
jne 0x4017c4
call fcn.00417390
cmp rax, 2
jbe 0x40179d
mov rdx, qword [rsp + 0x2760]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x13b0]
mov byte [rsp + 0x13b0], 0
call fcn.00417450
lea rcx, [rsp + 0x13b0]
mov rdx, rbx
call fcn.0040bea0
mov rdx, qword [rsp + 0x2768]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
call fcn.00417450
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.0040bea0
lea rcx, [rsp + 0x13b0]
call fcn.004010b0
test rax, rax
je 0x401896
mov rcx, rax
call fcn.004011a4
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_DIR__s_n
call fcn.0040bf40
lea rcx, [rsp + 0x20]
call fcn.0040be58
test eax, eax
mov ebx, eax
jne 0x401951
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x13b0]
call fcn.00401740
test eax, eax
mov ebx, eax
je 0x40179d
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s_n
lea rdx, [rsp + 0x13b0]
lea r8, [rsp + 0x20]
call fcn.0040bf40
jmp 0x401988
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_FILE__s_n
call fcn.0040bf40
lea rdx, [0x0044c898]
lea rcx, [rsp + 0x13b0]
call fcn.00418f50
test rax, rax
mov qword [rsp + 0x2778], rax
je 0x40196b
lea rdx, [0x0044c8f0]
lea rcx, [rsp + 0x20]
call fcn.00418f50
test rax, rax
mov rbp, rax
je 0x40195d
mov rdi, qword [rsp + 0x2778]
lea rcx, [0x0045ccd0]
mov r9, rdi
mov edx, 1
mov r8d, 0xc350
call fcn.00419630
test rax, rax
mov rbx, rax
je 0x401926
lea rcx, [0x0045ccd0]
mov r9, rbp
mov r8, rax
mov edx, 1
call fcn.0041ace0
cmp rbx, 0xc350
je 0x4018ed
mov rcx, qword [rsp + 0x2778]
mov rdi, qword [rsp + 0x2770]
call fcn.0041b830
mov rcx, rbp
call fcn.0041b830
jmp 0x40179d
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s__could_not_create_target_folder__n
jmp 0x40187f
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder___Unable_to_open_destination_file_for_copy__s_n
jmp 0x40197a
lea rdx, [rsp + 0x13b0]
lea rcx, str._CopyFolder___Unable_to_open_source_file_for_copy__s_n
call fcn.0040bf40
mov ebx, 1
jmp 0x401988
xor ebx, ebx
mov rcx, rdi
call fcn.004011a4
mov eax, ebx
add rsp, 0x2740
pop rdi
pop rbp
pop rbx
ret
Function at 0x403040
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov rax, rsp
sub rsp, 0x38
xor edi, edi
mov rbp, rdx
lea rdx, [rax + 0x48]
mov rbx, rcx
mov dword [rax + 0x48], edi
mov dword [rax + 0x50], edi
mov qword [rax - 0x18], rdi
call sub.VERSION.dll_GetFileVersionInfoSizeA
lea ecx, [rdi + 0x64]
mov r13d, eax
call fcn.00417180
lea rcx, str._JavaCheck__Checking_file_version_of__s_n
mov rdx, rbx
mov byte [rax], 0x30
mov byte [rax + 1], dil
mov r12, rax
call fcn.0040bf40
cmp r13d, edi
je 0x40318b
mov rcx, r13
call fcn.00417180
lea rcx, str._JavaCheck__Got_version_size_n
mov rsi, rax
call fcn.0040bf40
mov edx, dword [rsp + 0x80]
mov r9, rsi
mov r8d, r13d
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, edi
je 0x403175
lea rcx, str._JavaCheck__Got_version_info_n
call fcn.0040bf40
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x20]
lea rdx, [0x0044d8c8]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueA
cmp eax, edi
je 0x40316c
lea rcx, str._JavaCheck__Queried_value_n
call fcn.0040bf40
cmp dword [rsp + 0x88], edi
je 0x403163
lea rcx, str._JavaCheck__Size_OK_n
call fcn.0040bf40
mov rbx, qword [rsp + 0x20]
cmp dword [rbx], 0xfeef04bd
jne 0x40315a
mov edx, dword [rbx + 0x10]
lea rcx, str._JavaCheck__file_version_MS_is__ld_n
call fcn.0040bf40
mov edx, dword [rbx + 0x14]
lea rcx, str._JavaCheck__file_version_LS_is__ld_n
call fcn.0040bf40
movzx r8d, word [rbx + 0x12]
lea rdx, [0x0044d954]
mov rcx, r12
call fcn.00418320
jmp 0x403181
lea rcx, str._JavaCheck__signature_is_wrong_n
jmp 0x40317c
lea rcx, str._JavaCheck__size_is_null_n
jmp 0x40317c
lea rcx, str._JavaCheck__ver_query_value_function_call_failed_n
jmp 0x40317c
lea rcx, str._JavaCheck__get_file_version_info_call_failed_n
call fcn.0040bf40
mov rcx, rsi
call fcn.00417140
jmp 0x403197
lea rcx, str._JavaCheck__verSize_is_zero_n
call fcn.0040bf40
cmp rbp, rdi
je 0x4031ca
lea rcx, str._Extractor__Checking_JRE_version_requirements:__s_vs_required__s_n
mov r8, rbp
mov rdx, r12
call fcn.0040bf40
mov rcx, r12
call fcn.00418db0
mov rcx, rbp
mov ebx, eax
call fcn.00418db0
cmp ebx, eax
setge dil
mov eax, edi
jmp 0x4031de
xor edx, edx
lea rcx, str._Extractor__Versions_for_JREs_could_not_be_detected___d__d__n
lea r8d, [rdx + 1]
call fcn.0040bf40
xor eax, eax
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x405e24
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x0045a230], 0
je 0x405e8d
mov ecx, dword [0x0045a238]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x0045a230]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405e73
mov rcx, qword [0x0045a230]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x0045a230]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x0045a240]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x0045a230], 0
add rsp, 0x28
ret
Function at 0x406e70
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
call fcn.00401250
xor r9d, r9d
test al, al
je 0x406ee0
cmp qword [0x0045a1b0], r9
jne 0x406ed8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x0045a1b0]
lea r8, [0x00408cec]
mov qword [0x0045a1c0], rax
lea rax, [0x0045a1b8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041bc20
mov rcx, qword [0x0045a1c0]
mov qword [0x0045a1b0], rax
jmp 0x406f37
mov ecx, dword [0x0045a1b8]
jmp 0x406f5d
cmp qword [0x0045a230], 0
jne 0x406f57
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x0045a230]
lea r8, [0x00405ea0]
mov qword [0x0045a240], rax
lea rax, [0x0045a238]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041bc20
mov rcx, qword [0x0045a240]
mov qword [0x0045a230], rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406f6d
lea rcx, str.Error_starting_SplashThread_n
call fcn.0040bf40
jmp 0x406f6d
mov ecx, dword [0x0045a238]
mov r8d, 2
lea edx, [r8 + 4]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
add rsp, 0x38
ret
Function at 0x4073d0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rbx, rcx
mov ecx, 0x40
mov rsi, rdx
call fcn.00417180
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rdi], rax
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rcx, rbx
mov dword [rdi + 0x10], 0
mov dword [rdi + 0x30], 0
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x20], rsi
mov qword [rdi + 8], rax
mov dword [rdi + 0x14], 0
call fcn.00407c98
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
mov qword [rdi + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, qword [rdi]
mov ebx, 0xffffffff
mov edx, ebx
mov qword [rdi + 0x38], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r11, [rsp + 0x30]
lea r8, [0x00407340]
mov qword [rsp + 0x28], r11
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00407064]
mov r9, rdi
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x34]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00407130]
mov r9, rdi
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x38]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00407220]
mov r9, rdi
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x3c]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x004072b0]
mov r9, rdi
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rdi]
mov dword [rdi + 0x30], 5
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rdi + 0x38]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [rdi + 0x10]
lea rcx, str._HttpDownloader__Download_Tasks_Complete___success_d__n
call fcn.0040bf40
lea rcx, str._HttpDownloader__Saving_any_detected_proxy_settings_n
call fcn.0040bf40
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.0040632c
xor ebx, ebx
mov rcx, qword [rsp + rbx*8 + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 1
cmp rbx, 5
jl 0x40757b
cmp dword [rdi + 0x10], 0
je 0x40759a
xor eax, eax
jmp 0x4075b3
lea rcx, str._HttpDownloader__Downloads_failed._Closing_buffer._n
call fcn.0040bf40
mov rcx, rsi
call fcn.00407de8
mov eax, 0xffffffff
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x407a50
Capabilities:
Delete file

Disassembly:
push rbx
push rdi
sub rsp, 0x28
cmp qword [0x00469028], 0
mov rdi, rcx
je 0x407af5
lea rcx, str._Proxy__Saving_proxy_settings_now._n
call fcn.0040bf40
mov rbx, qword [0x00469028]
mov rcx, rdi
cmp qword [rbx], 0
jne 0x407a8c
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x407b01
lea rdx, [0x0044c8f0]
call fcn.00418f50
test rax, rax
mov rdi, rax
je 0x407b01
cmp qword [rbx], 0
je 0x407aeb
lea rcx, str._Proxy__Saved_proxy_list_n
call fcn.0040bf40
mov rcx, qword [rbx]
mov rdx, rdi
call fcn.0041c5e0
cmp qword [rbx + 8], 0
je 0x407aeb
lea rcx, str._Proxy__Saved_proxy_bypass_list_n
call fcn.0040bf40
lea rcx, [0x00450bfc]
mov rdx, rdi
call fcn.0041c5e0
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.0041c5e0
mov rcx, rdi
call fcn.0041b830
jmp 0x407b01
lea rcx, str._Proxy__No_working_proxy_was_found__so_no_proxy_to_be_saved._n
call fcn.0040bf40
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x407b08
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rbp, r8
mov rdi, rdx
call fcn.00409f28
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.00419160
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x18]
call fcn.00419160
lea rcx, str._Proxy__Opening_HTTP_Session_n
call fcn.0040bf40
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 0x407c86
test rdi, rdi
mov dword [rsp + 0x48], 1
je 0x407baf
lea rcx, str._Proxy__Using_auto_config_URL:__S_n
mov rdx, rdi
mov dword [rsp + 0x48], 3
call fcn.0040bf40
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.0040bf40
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 0x407c49
lea rcx, str._Proxy__Configuration_found_n
call fcn.0040bf40
cmp dword [rsp + 0x30], 1
jne 0x407c09
lea rcx, str._Proxy__Direct_connection_used_n
call fcn.0040bf40
jmp 0x407c5d
mov rdx, qword [rsp + 0x38]
lea rcx, str._Proxy___S_n
call fcn.0040bf40
mov rdx, qword [rsp + 0x40]
lea rcx, str._Proxy___S_n
call fcn.0040bf40
mov rcx, qword [rsp + 0x38]
call fcn.00409f88
mov rcx, qword [rsp + 0x40]
mov qword [rbp], rax
call fcn.00409f88
mov qword [rbp + 8], rax
jmp 0x407c5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._Proxy__Configuration_NOT_found___d__n
mov edx, eax
call fcn.0040bf40
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x407c6d
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x407c7d
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call fcn.00417140
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x4087c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.00439550
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command_line..._n
call fcn.0040bf40
call fcn.0041c9c0
lea rcx, [rax + 0x30]
call fcn.00418d30
xor esi, esi
mov byte [rsp + 0xe0], 0
cmp qword [rbx], rsi
je 0x40884a
mov rdi, rbx
lea rdx, [0x0044c364]
lea rcx, [rsp + 0xe0]
call fcn.00417450
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.00417450
lea rdx, [0x004518d8]
lea rcx, [rsp + 0xe0]
call fcn.00417450
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x408804
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Creating_command_line__s_n
call fcn.0040bf40
call fcn.0041c9c0
lea rcx, [rax + 0x30]
call fcn.00418d30
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.00419160
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.00419160
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 0x408907
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040bf40
call fcn.0041c9c0
lea rcx, [rax + 0x30]
call fcn.00418d30
mov rax, 0xffffffffffffffff
jmp 0x40895c
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.0040bf40
mov rax, qword [rsp + 0xc458]
add rsp, 0xc430
pop rdi
pop rsi
pop rbx
ret
Function at 0x408968
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.00439550
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command..._n
mov byte [rsp + 0xe0], 0
call fcn.0040bf40
call fcn.0041c9c0
lea rcx, [rax + 0x30]
call fcn.00418d30
xor esi, esi
cmp qword [rbx], rsi
je 0x4089ee
mov rdi, rbx
lea rdx, [0x0044c364]
lea rcx, [rsp + 0xe0]
call fcn.00417450
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.00417450
lea rdx, [0x004518d8]
lea rcx, [rsp + 0xe0]
call fcn.00417450
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x4089a8
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Executing_command__s_n
call fcn.0040bf40
call fcn.0041c9c0
lea rcx, [rax + 0x30]
call fcn.00418d30
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.00419160
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.00419160
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 0x408aa9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040bf40
call fcn.0041c9c0
lea rcx, [rax + 0x30]
call fcn.00418d30
mov eax, 0xffffffff
jmp 0x408adb
lea rcx, str._Spawner__Create_process_seems_to_have_worked_n
call fcn.0040bf40
call fcn.0041c9c0
lea rcx, [rax + 0x30]
call fcn.00418d30
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 0x408bf8
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x0045a1b0], 0
je 0x408c61
mov ecx, dword [0x0045a1b8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x0045a1b0]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408c47
mov rcx, qword [0x0045a1b0]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x0045a1b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x0045a1c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x0045a1b0], 0
add rsp, 0x28
ret
Function at 0x409c04
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x38
mov rsi, rdx
mov rbx, rcx
mov edx, 0x19000
mov ecx, 4
call fcn.00407d60
lea rcx, str._Streamer__Downloading_from__s_into__s_n
mov r8, rsi
mov rdx, rbx
mov rdi, rax
call fcn.0040bf40
mov r13d, 0x18
lea r12d, [r13 - 0x17]
mov rdx, r13
mov rcx, r12
call fcn.0041c8e0
mov rdx, r13
mov rcx, r12
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov rbp, rax
call fcn.0041c8e0
lea rdx, [0x0044c8f0]
mov rcx, rsi
mov qword [rax + 8], rdi
mov r13, rax
call fcn.00418f50
lea r8, [0x00409a34]
mov r9, rbp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov qword [r13], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00409ae0]
mov r9, r13
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov rdi, rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, 0xffffffff
mov rcx, rdi
mov edx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [rbp + 0x10], 0
jne 0x409cf7
cmp dword [r13 + 0x10], 0
je 0x409cfa
xor r12d, r12d
mov eax, r12d
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x409d0c
Capabilities:
Create thread

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov rbx, rcx
mov edx, 0x32000
mov ecx, 3
call fcn.00407d60
mov edx, 0x18
lea ecx, [rdx - 0x17]
mov rdi, rax
call fcn.0041c8e0
lea r8, [0x00409b64]
xor edx, edx
xor ecx, ecx
mov r9, rax
mov qword [rsp + 0x28], 0
mov qword [rax + 8], rdi
mov qword [rax], rbx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rax, rdi
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x409d6c
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rbx, rcx
mov ecx, 0x18
mov rdi, rdx
call fcn.00417180
mov esi, 0x19000
mov r14d, 1
mov edx, esi
mov ecx, r14d
mov r13, rax
call fcn.00407d60
lea ecx, [r14 + 1]
mov edx, esi
mov r12, rax
call fcn.00407d60
lea edx, [r14 + 0x17]
mov rcx, r14
mov rbp, rax
call fcn.0041c8e0
lea edx, [r14 + 0x1f]
mov rcx, r14
mov qword [rax], rbx
mov qword [rax + 8], r12
mov rsi, rax
call fcn.0041c8e0
lea r8, [0x00409a34]
mov r9, rsi
mov qword [rax + 0x10], rdi
xor edi, edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov rbx, rax
mov qword [rax], r12
mov qword [rax + 8], rbp
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00409a70]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [r13], rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00409aa8]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [r13 + 0x10], rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
mov qword [r13 + 8], rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r12
call fcn.00407de8
mov rcx, rbp
call fcn.00407de8
cmp dword [rsi + 0x10], edi
jne 0x409e71
cmp dword [rbx + 0x18], edi
je 0x409e74
mov r14d, edi
mov eax, r14d
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x409e88
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov rdi, rcx
mov ecx, 0x18
mov rsi, rdx
call fcn.00417180
mov edx, 0x19000
mov ecx, 5
mov r12, rax
call fcn.00407d60
mov edx, 0x20
lea ecx, [rdx - 0x1f]
mov rbx, rax
call fcn.0041c8e0
lea r8, [0x00409a70]
xor edx, edx
mov qword [rax + 8], rbx
xor ebx, ebx
mov r9, rax
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov rbp, rax
mov qword [rax], rdi
mov qword [rax + 0x10], rsi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [0x00409aa8]
mov r9, rbp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov qword [r12 + 0x10], rax
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r12 + 8], rax
mov rax, r12
add rsp, 0x30
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x40b684
Capabilities:
Compare security identifiers

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x68
mov rbx, rcx
lea rcx, str._Utils__Converted_SID_for_USERS_n
mov rbp, r8
mov r13, rdx
mov qword [rsp + 0x48], 0
call fcn.0040bf40
xor r9d, r9d
lea r11, [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea edx, [r9 + 1]
lea r8d, [r9 + 4]
mov rcx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoA]
test eax, eax
je 0x40b711
lea rcx, str.GetNamedSecurityInfo_Error__u_n
mov edx, eax
call fcn.0040bf40
mov rcx, qword [rbp]
test rcx, rcx
je 0x40b70a
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x40b87a
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclA]
test eax, eax
je 0x40b751
lea rcx, str.GetExplicitEntriesFromAcl_failed__u_n
mov edx, eax
call fcn.0040bf40
mov rcx, qword [rbp]
test rcx, rcx
je 0x40b74a
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
jmp 0x40b6ff
mov edx, dword [rsp + 0xb8]
lea rcx, str._Utils__Got__u_ACEs_for_folder_n
call fcn.0040bf40
mov edx, dword [rsp + 0xb8]
lea edi, [rdx - 1]
test edi, edi
movsxd rax, edi
js 0x40b83f
lea rsi, [rax + rax*2]
shl rsi, 4
mov rax, qword [rsp + 0x40]
mov edx, edi
cmp dword [rsi + rax + 0x1c], 0
jne 0x40b81f
lea rcx, str._Utils__Trustee__u_is_SID_n
call fcn.0040bf40
mov r11, qword [rsp + 0x40]
mov rdx, qword [rbp]
mov rcx, qword [rsi + r11 + 0x28]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40b82b
mov rax, qword [rsp + 0x40]
lea rcx, str._Utils__Trustee__u_is_Users._Permissions_is__u._Trimming..._n
mov edx, edi
mov r8d, dword [rsi + rax]
call fcn.0040bf40
mov edx, dword [rsp + 0xb8]
mov r12d, edi
lea eax, [rdx - 1]
cmp edi, eax
jae 0x40b813
mov rcx, rsi
mov rax, qword [rsp + 0x40]
lea rbx, [rcx + 0x30]
mov r8d, 0x30
lea rdx, [rbx + rax]
add rcx, rax
call fcn.00417ce0
mov edx, dword [rsp + 0xb8]
add r12d, 1
lea eax, [rdx - 1]
mov rcx, rbx
cmp r12d, eax
jb 0x40b7e2
add edx, 0xffffffff
mov dword [rsp + 0xb8], edx
jmp 0x40b832
lea rcx, str._Utils__Unknown_trustee_at__u_n
call fcn.0040bf40
mov edx, dword [rsp + 0xb8]
sub rsi, 0x30
sub edi, 1
jns 0x40b781
lea rcx, str._Utils__Trimmed_ACE_size_is__u_n
call fcn.0040bf40
mov rcx, qword [rbp]
test rcx, rcx
je 0x40b85a
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x40b86a
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0xb8]
mov dword [r13], eax
mov rax, qword [rsp + 0x40]
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret