joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454ae0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x454b8f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00454be0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045cf00
xorps xmm15, xmm15
mov r14, qword [0x00c5e668]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045d040
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00454ae0
Function at 0x45ee80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00c5e700]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x00c5e429], 0
je 0x45eeb6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00c5e9c0]
aesenc xmm0, xmmword [0x00c5e9d0]
aesenc xmm0, xmmword [0x00c5e9e0]
movq rax, xmm0
ret
jmp 0x408840
Function at 0x401250
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
mov r11d, eax
mov eax, 1
cmp ecx, 5
ja 0x401278
jne 0x401276
shr r11w, 8
cmp r11b, al
jae 0x401278
xor eax, eax
add rsp, 0x28
ret

Function at 0x401530
Capabilities:
Move file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x400
mov rdi, rdx
call fcn.00417210
mov edx, 0x400
mov rcx, rax
mov rbx, rax
call fcn.0041b020
lea rcx, str._Extractor__Working_dir_is__s_n
mov rdx, rbx
call fcn.0040bfd4
mov rcx, rbx
call fcn.004171d0
mov rcx, rdi
call fcn.0040b6c0
test eax, eax
je 0x40158f
lea rcx, str._Rename__The_target_already_exists._Deleting._n
call fcn.0040bfd4
mov rcx, rdi
call fcn.0040b58c
mov rdx, rdi
mov rcx, rsi
call fcn.00418380
xor ebx, ebx
jmp 0x40161a
cmp ebx, 0xa
jge 0x401646
call fcn.004176c0
lea rcx, str._Rename__Could_not_rename__s_to__s___d__n
mov r8, rdi
mov r9d, dword [rax]
mov rdx, rsi
call fcn.0040bfd4
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str._Rename__Windows___this_FS_seems_to_not_supported_renaming._Trying_alternative_method..._n
call fcn.0040bfd4
mov r8d, 3
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x401638
lea rdx, str.MoveFileEx
lea rcx, str.Extractor
call fcn.0040af24
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rdi
mov rcx, rsi
add ebx, 1
call fcn.00418380
test eax, eax
jne 0x40159e
lea rcx, str._Rename__File__s_renamed_to__s_n
mov r8, rdi
mov rdx, rsi
call fcn.0040bfd4
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
lea rcx, str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.0040bfd4
xor eax, eax
test eax, eax
je 0x40161e
call fcn.004176c0
lea rcx, str._Rename___FAIL__Could_not_rename__s_to__s___d__n
mov r8, rdi
mov r9d, dword [rax]
mov rdx, rsi
call fcn.0040bfd4
lea rcx, str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.0040bfd4
mov rcx, rdi
call fcn.0040beec
lea rcx, str._Rename__Created_folder__s_n
mov rdx, rdi
call fcn.0040bfd4
mov rdx, rdi
mov rcx, rsi
call fcn.00401740
test eax, eax
je 0x4016a4
lea rcx, str._Rename__Copy_failed_too__Severe_filesystem_issues._n
call fcn.0040bfd4
jmp 0x401630
lea rcx, str._Rename__Copied__s_to__s_n
jmp 0x401625

Function at 0x4016b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
lea rdx, [0x0044c8f0]
mov rbx, rcx
call fcn.00418fe0
test rax, rax
mov rdi, rax
jne 0x4016e3
lea rcx, str._Extractor___Unable_to_open_destination_file_for_copy__s_n
mov rdx, rbx
call fcn.0040bfd4
jmp 0x401735
lea rcx, [0x0045dcd0]
mov r9, rsi
mov edx, 1
mov r8d, 0xc350
call fcn.004196c0
test rax, rax
mov rbx, rax
je 0x40171c
lea rcx, [0x0045dcd0]
mov r9, rdi
mov r8, rax
mov edx, 1
call fcn.0041ad70
cmp rbx, 0xc350
je 0x4016e3
mov rcx, rsi
call fcn.0041b8c0
mov rcx, rdi
call fcn.0041b8c0
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
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.004395f0
sub rsp, rax
test rcx, rcx
mov rbx, rcx
je 0x40176c
call fcn.004010b0
mov rdi, rax
jmp 0x401779
call fcn.004176c0
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.0040bfd4
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.00417420
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.004174e0
lea rcx, [rsp + 0x13b0]
mov rdx, rbx
call fcn.0040bf34
mov rdx, qword [rsp + 0x2768]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
call fcn.004174e0
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.0040bf34
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.0040bfd4
lea rcx, [rsp + 0x20]
call fcn.0040beec
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.0040bfd4
jmp 0x401988
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_FILE__s_n
call fcn.0040bfd4
lea rdx, [0x0044c898]
lea rcx, [rsp + 0x13b0]
call fcn.00418fe0
test rax, rax
mov qword [rsp + 0x2778], rax
je 0x40196b
lea rdx, [0x0044c8f0]
lea rcx, [rsp + 0x20]
call fcn.00418fe0
test rax, rax
mov rbp, rax
je 0x40195d
mov rdi, qword [rsp + 0x2778]
lea rcx, [0x0045dcd0]
mov r9, rdi
mov edx, 1
mov r8d, 0xc350
call fcn.004196c0
test rax, rax
mov rbx, rax
je 0x401926
lea rcx, [0x0045dcd0]
mov r9, rbp
mov r8, rax
mov edx, 1
call fcn.0041ad70
cmp rbx, 0xc350
je 0x4018ed
mov rcx, qword [rsp + 0x2778]
mov rdi, qword [rsp + 0x2770]
call fcn.0041b8c0
mov rcx, rbp
call fcn.0041b8c0
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.0040bfd4
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.00417210
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.0040bfd4
cmp r13d, edi
je 0x40318b
mov rcx, r13
call fcn.00417210
lea rcx, str._JavaCheck__Got_version_size_n
mov rsi, rax
call fcn.0040bfd4
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.0040bfd4
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.0040bfd4
cmp dword [rsp + 0x88], edi
je 0x403163
lea rcx, str._JavaCheck__Size_OK_n
call fcn.0040bfd4
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.0040bfd4
mov edx, dword [rbx + 0x14]
lea rcx, str._JavaCheck__file_version_LS_is__ld_n
call fcn.0040bfd4
movzx r8d, word [rbx + 0x12]
lea rdx, [0x0044d954]
mov rcx, r12
call fcn.004183b0
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.0040bfd4
mov rcx, rsi
call fcn.004171d0
jmp 0x403197
lea rcx, str._JavaCheck__verSize_is_zero_n
call fcn.0040bfd4
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.0040bfd4
mov rcx, r12
call fcn.00418e40
mov rcx, rbp
mov ebx, eax
call fcn.00418e40
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.0040bfd4
xor eax, eax
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x405eb0
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x0045b230], 0
je 0x405f19
mov ecx, dword [0x0045b238]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x0045b230]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405eff
mov rcx, qword [0x0045b230]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x0045b230]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x0045b240]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x0045b230], 0
add rsp, 0x28
ret
Function at 0x406efc
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
call fcn.00401250
xor r9d, r9d
test al, al
je 0x406f6c
cmp qword [0x0045b1b0], r9
jne 0x406f64
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x0045b1b0]
lea r8, [0x00408d78]
mov qword [0x0045b1c0], rax
lea rax, [0x0045b1b8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041bcb0
mov rcx, qword [0x0045b1c0]
mov qword [0x0045b1b0], rax
jmp 0x406fc3
mov ecx, dword [0x0045b1b8]
jmp 0x406fe9
cmp qword [0x0045b230], 0
jne 0x406fe3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x0045b230]
lea r8, [0x00405f2c]
mov qword [0x0045b240], rax
lea rax, [0x0045b238]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041bcb0
mov rcx, qword [0x0045b240]
mov qword [0x0045b230], rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406ff9
lea rcx, str.Error_starting_SplashThread_n
call fcn.0040bfd4
jmp 0x406ff9
mov ecx, dword [0x0045b238]
mov r8d, 2
lea edx, [r8 + 4]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
add rsp, 0x38
ret
Function at 0x40745c
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.00417210
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.00407d24
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, [0x004073cc]
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, [0x004070f0]
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, [0x004071bc]
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, [0x004072ac]
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, [0x0040733c]
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.0040bfd4
lea rcx, str._HttpDownloader__Saving_any_detected_proxy_settings_n
call fcn.0040bfd4
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.004063b8
xor ebx, ebx
mov rcx, qword [rsp + rbx*8 + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 1
cmp rbx, 5
jl 0x407607
cmp dword [rdi + 0x10], 0
je 0x407626
xor eax, eax
jmp 0x40763f
lea rcx, str._HttpDownloader__Downloads_failed._Closing_buffer._n
call fcn.0040bfd4
mov rcx, rsi
call fcn.00407e74
mov eax, 0xffffffff
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x407adc
Capabilities:
Delete file

Disassembly:
push rbx
push rdi
sub rsp, 0x28
cmp qword [0x0046a028], 0
mov rdi, rcx
je 0x407b81
lea rcx, str._Proxy__Saving_proxy_settings_now._n
call fcn.0040bfd4
mov rbx, qword [0x0046a028]
mov rcx, rdi
cmp qword [rbx], 0
jne 0x407b18
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x407b8d
lea rdx, [0x0044c8f0]
call fcn.00418fe0
test rax, rax
mov rdi, rax
je 0x407b8d
cmp qword [rbx], 0
je 0x407b77
lea rcx, str._Proxy__Saved_proxy_list_n
call fcn.0040bfd4
mov rcx, qword [rbx]
mov rdx, rdi
call fcn.0041c670
cmp qword [rbx + 8], 0
je 0x407b77
lea rcx, str._Proxy__Saved_proxy_bypass_list_n
call fcn.0040bfd4
lea rcx, [0x00450cdc]
mov rdx, rdi
call fcn.0041c670
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.0041c670
mov rcx, rdi
call fcn.0041b8c0
jmp 0x407b8d
lea rcx, str._Proxy__No_working_proxy_was_found__so_no_proxy_to_be_saved._n
call fcn.0040bfd4
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x407b94
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rbp, r8
mov rdi, rdx
call fcn.00409fb4
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.004191f0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x18]
call fcn.004191f0
lea rcx, str._Proxy__Opening_HTTP_Session_n
call fcn.0040bfd4
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 0x407d12
test rdi, rdi
mov dword [rsp + 0x48], 1
je 0x407c3b
lea rcx, str._Proxy__Using_auto_config_URL:__S_n
mov rdx, rdi
mov dword [rsp + 0x48], 3
call fcn.0040bfd4
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.0040bfd4
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 0x407cd5
lea rcx, str._Proxy__Configuration_found_n
call fcn.0040bfd4
cmp dword [rsp + 0x30], 1
jne 0x407c95
lea rcx, str._Proxy__Direct_connection_used_n
call fcn.0040bfd4
jmp 0x407ce9
mov rdx, qword [rsp + 0x38]
lea rcx, str._Proxy___S_n
call fcn.0040bfd4
mov rdx, qword [rsp + 0x40]
lea rcx, str._Proxy___S_n
call fcn.0040bfd4
mov rcx, qword [rsp + 0x38]
call fcn.0040a014
mov rcx, qword [rsp + 0x40]
mov qword [rbp], rax
call fcn.0040a014
mov qword [rbp + 8], rax
jmp 0x407ce9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._Proxy__Configuration_NOT_found___d__n
mov edx, eax
call fcn.0040bfd4
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x407cf9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x407d09
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call fcn.004171d0
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x40884c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.004395f0
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command_line..._n
call fcn.0040bfd4
call fcn.0041ca50
lea rcx, [rax + 0x30]
call fcn.00418dc0
xor esi, esi
mov byte [rsp + 0xe0], 0
cmp qword [rbx], rsi
je 0x4088d6
mov rdi, rbx
lea rdx, [0x0044c364]
lea rcx, [rsp + 0xe0]
call fcn.004174e0
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.004174e0
lea rdx, [0x004519b8]
lea rcx, [rsp + 0xe0]
call fcn.004174e0
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x408890
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Creating_command_line__s_n
call fcn.0040bfd4
call fcn.0041ca50
lea rcx, [rax + 0x30]
call fcn.00418dc0
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.004191f0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.004191f0
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 0x408993
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040bfd4
call fcn.0041ca50
lea rcx, [rax + 0x30]
call fcn.00418dc0
mov rax, 0xffffffffffffffff
jmp 0x4089e8
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.0040bfd4
mov rax, qword [rsp + 0xc458]
add rsp, 0xc430
pop rdi
pop rsi
pop rbx
ret
Function at 0x4089f4
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.004395f0
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command..._n
mov byte [rsp + 0xe0], 0
call fcn.0040bfd4
call fcn.0041ca50
lea rcx, [rax + 0x30]
call fcn.00418dc0
xor esi, esi
cmp qword [rbx], rsi
je 0x408a7a
mov rdi, rbx
lea rdx, [0x0044c364]
lea rcx, [rsp + 0xe0]
call fcn.004174e0
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.004174e0
lea rdx, [0x004519b8]
lea rcx, [rsp + 0xe0]
call fcn.004174e0
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x408a34
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Executing_command__s_n
call fcn.0040bfd4
call fcn.0041ca50
lea rcx, [rax + 0x30]
call fcn.00418dc0
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.004191f0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.004191f0
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 0x408b35
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040bfd4
call fcn.0041ca50
lea rcx, [rax + 0x30]
call fcn.00418dc0
mov eax, 0xffffffff
jmp 0x408b67
lea rcx, str._Spawner__Create_process_seems_to_have_worked_n
call fcn.0040bfd4
call fcn.0041ca50
lea rcx, [rax + 0x30]
call fcn.00418dc0
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 0x408c84
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x0045b1b0], 0
je 0x408ced
mov ecx, dword [0x0045b1b8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x0045b1b0]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408cd3
mov rcx, qword [0x0045b1b0]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x0045b1b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x0045b1c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x0045b1b0], 0
add rsp, 0x28
ret
Function at 0x409c90
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.00407dec
lea rcx, str._Streamer__Downloading_from__s_into__s_n
mov r8, rsi
mov rdx, rbx
mov rdi, rax
call fcn.0040bfd4
mov r13d, 0x18
lea r12d, [r13 - 0x17]
mov rdx, r13
mov rcx, r12
call fcn.0041c970
mov rdx, r13
mov rcx, r12
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov rbp, rax
call fcn.0041c970
lea rdx, [0x0044c8f0]
mov rcx, rsi
mov qword [rax + 8], rdi
mov r13, rax
call fcn.00418fe0
lea r8, [0x00409ac0]
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, [0x00409b6c]
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 0x409d83
cmp dword [r13 + 0x10], 0
je 0x409d86
xor r12d, r12d
mov eax, r12d
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x409d98
Capabilities:
Create thread

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov rbx, rcx
mov edx, 0x32000
mov ecx, 3
call fcn.00407dec
mov edx, 0x18
lea ecx, [rdx - 0x17]
mov rdi, rax
call fcn.0041c970
lea r8, [0x00409bf0]
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