joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b60c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140048cc8], rbx
je 0x14003b673
cmp rax, rbx
jne 0x14003b666
mov ebx, 1
mov esi, ebx
jmp 0x14003b678
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14003b64b
mov ebx, 1
mov eax, dword [0x140048cd0]
cmp eax, ebx
jne 0x14003b690
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14003b6fc
mov eax, dword [0x140048cd0]
test eax, eax
jne 0x14003b6f1
mov dword [0x140048cd0], ebx
lea r15, [0x14003e288]
lea rdi, [0x14003e270]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14003b6e3
test eax, eax
jne 0x14003b6e7
cmp qword [rdi], r14
je 0x14003b6d8
mov rax, qword [rdi]
mov rcx, qword [0x14003e230]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14003b6ba
test eax, eax
je 0x14003b6f7
mov eax, 0xff
jmp 0x14003b852
mov dword [0x140048284], ebx
mov edi, 0x1f
mov eax, dword [0x140048cd0]
cmp eax, ebx
jne 0x14003b723
lea rdx, [0x14003e268]
lea rcx, [0x14003e238]
call sub.msvcrt.dll__initterm
mov dword [0x140048cd0], 2
test esi, esi
jne 0x14003b731
mov rax, r14
xchg qword [0x140048cc8], rax
cmp qword [0x140048ce8], r14
je 0x14003b764
lea rcx, [0x140048ce8]
call fcn.14003bbf0
test eax, eax
je 0x14003b764
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140048ce8]
mov r9, qword [0x14003e230]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14003b77d
mov eax, 0xff
jmp 0x14003b852
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14003b803
test ax, ax
je 0x14003b798
test edx, edx
jne 0x14003b803
sub ax, bx
cmp ax, di
ja 0x14003b7ae
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14003b798
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001fc0
mov dword [0x140048280], eax
cmp dword [0x1400482a0], r14d
jne 0x14003b7ec
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140048284], r14d
jne 0x14003b801
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140048280]
jmp 0x14003b852
cmp ax, 0x22
jne 0x14003b817
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14003b786
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14003bc70
add rsp, 0x28
jmp 0x14003b60c
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 0x401424
Capabilities:
Move file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x400
mov rdi, rdx
call fcn.00416720
mov edx, 0x400
mov rcx, rax
mov rbx, rax
call fcn.0041a1f0
lea rcx, str._Extractor__Working_dir_is__s_n
mov rdx, rbx
call fcn.0040b520
mov rcx, rbx
call fcn.004166e0
mov rcx, rdi
call fcn.0040afe8
test eax, eax
je 0x401483
lea rcx, str._Rename__The_target_already_exists._Deleting._n
call fcn.0040b520
mov rcx, rdi
call fcn.0040aebc
mov rdx, rdi
mov rcx, rsi
call fcn.004175c0
xor ebx, ebx
jmp 0x40150e
cmp ebx, 0xa
jge 0x40153a
call fcn.00416bd0
lea rcx, str._Rename__Could_not_rename__s_to__s___d__n
mov r8, rdi
mov r9d, dword [rax]
mov rdx, rsi
call fcn.0040b520
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.0040b520
mov r8d, 3
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x40152c
lea rdx, str.MoveFileEx
lea rcx, str.Extractor
call fcn.0040a970
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, rdi
mov rcx, rsi
add ebx, 1
call fcn.004175c0
test eax, eax
jne 0x401492
lea rcx, str._Rename__File__s_renamed_to__s_n
mov r8, rdi
mov rdx, rsi
call fcn.0040b520
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
lea rcx, str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.0040b520
xor eax, eax
test eax, eax
je 0x401512
call fcn.00416bd0
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.0040b520
lea rcx, str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.0040b520
mov rcx, rdi
call fcn.0040b43c
lea rcx, str._Rename__Created_folder__s_n
mov rdx, rdi
call fcn.0040b520
mov rdx, rdi
mov rcx, rsi
call fcn.00401634
test eax, eax
je 0x401598
lea rcx, str._Rename__Copy_failed_too__Severe_filesystem_issues._n
call fcn.0040b520
jmp 0x401524
lea rcx, str._Rename__Copied__s_to__s_n
jmp 0x401519

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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
lea rdx, [0x0044b810]
mov rbx, rcx
call fcn.004181b0
test rax, rax
mov rdi, rax
jne 0x4015d7
lea rcx, str._Extractor___Unable_to_open_destination_file_for_copy__s_n
mov rdx, rbx
call fcn.0040b520
jmp 0x401629
lea rcx, [0x0045bcd0]
mov r9, rsi
mov edx, 1
mov r8d, 0xc350
call fcn.00418890
test rax, rax
mov rbx, rax
je 0x401610
lea rcx, [0x0045bcd0]
mov r9, rdi
mov r8, rax
mov edx, 1
call fcn.00419f40
cmp rbx, 0xc350
je 0x4015d7
mov rcx, rsi
call fcn.0041aa90
mov rcx, rdi
call fcn.0041aa90
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x401634
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.004389e0
sub rsp, rax
test rcx, rcx
mov rbx, rcx
je 0x401660
call fcn.004010b0
mov rdi, rax
jmp 0x40166d
call fcn.00416bd0
xor edi, edi
mov dword [rax], 0x16
test rdi, rdi
mov qword [rsp + 0x2770], rdi
jne 0x401691
lea rcx, str._CopyFolder__SourceDir_from__s_is_NULL_n
mov rdx, rbx
call fcn.0040b520
lea eax, [rdi + 1]
jmp 0x401886
mov rcx, rdi
call fcn.004011f4
test rax, rax
mov rbp, rax
je 0x40187a
mov rcx, qword [rax]
cmp byte [rcx], 0x2e
jne 0x4016b8
call fcn.00416930
cmp rax, 2
jbe 0x401691
mov rdx, qword [rsp + 0x2760]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x13b0]
mov byte [rsp + 0x13b0], 0
call fcn.004169f0
lea rcx, [rsp + 0x13b0]
mov rdx, rbx
call fcn.0040b480
mov rdx, qword [rsp + 0x2768]
mov rbx, qword [rbp]
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
call fcn.004169f0
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.0040b480
lea rcx, [rsp + 0x13b0]
call fcn.004010b0
test rax, rax
je 0x40178a
mov rcx, rax
call fcn.004011a4
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_DIR__s_n
call fcn.0040b520
lea rcx, [rsp + 0x20]
call fcn.0040b43c
test eax, eax
mov ebx, eax
jne 0x401845
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x13b0]
call fcn.00401634
test eax, eax
mov ebx, eax
je 0x401691
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s_n
lea rdx, [rsp + 0x13b0]
lea r8, [rsp + 0x20]
call fcn.0040b520
jmp 0x40187c
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder__Copying_FILE__s_n
call fcn.0040b520
lea rdx, [0x0044b7b8]
lea rcx, [rsp + 0x13b0]
call fcn.004181b0
test rax, rax
mov qword [rsp + 0x2778], rax
je 0x40185f
lea rdx, [0x0044b810]
lea rcx, [rsp + 0x20]
call fcn.004181b0
test rax, rax
mov rbp, rax
je 0x401851
mov rdi, qword [rsp + 0x2778]
lea rcx, [0x0045bcd0]
mov r9, rdi
mov edx, 1
mov r8d, 0xc350
call fcn.00418890
test rax, rax
mov rbx, rax
je 0x40181a
lea rcx, [0x0045bcd0]
mov r9, rbp
mov r8, rax
mov edx, 1
call fcn.00419f40
cmp rbx, 0xc350
je 0x4017e1
mov rcx, qword [rsp + 0x2778]
mov rdi, qword [rsp + 0x2770]
call fcn.0041aa90
mov rcx, rbp
call fcn.0041aa90
jmp 0x401691
lea rcx, str._CopyFolder___Failed_to_copy__s_to__s__could_not_create_target_folder__n
jmp 0x401773
lea rdx, [rsp + 0x20]
lea rcx, str._CopyFolder___Unable_to_open_destination_file_for_copy__s_n
jmp 0x40186e
lea rdx, [rsp + 0x13b0]
lea rcx, str._CopyFolder___Unable_to_open_source_file_for_copy__s_n
call fcn.0040b520
mov ebx, 1
jmp 0x40187c
xor ebx, ebx
mov rcx, rdi
call fcn.004011a4
mov eax, ebx
add rsp, 0x2740
pop rdi
pop rbp
pop rbx
ret
Function at 0x402d38
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.00416720
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.0040b520
cmp r13d, edi
je 0x402e83
mov rcx, r13
call fcn.00416720
lea rcx, str._JavaCheck__Got_version_size_n
mov rsi, rax
call fcn.0040b520
mov edx, dword [rsp + 0x80]
mov r9, rsi
mov r8d, r13d
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, edi
je 0x402e6d
lea rcx, str._JavaCheck__Got_version_info_n
call fcn.0040b520
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x20]
lea rdx, [0x0044c798]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueA
cmp eax, edi
je 0x402e64
lea rcx, str._JavaCheck__Queried_value_n
call fcn.0040b520
cmp dword [rsp + 0x88], edi
je 0x402e5b
lea rcx, str._JavaCheck__Size_OK_n
call fcn.0040b520
mov rbx, qword [rsp + 0x20]
cmp dword [rbx], 0xfeef04bd
jne 0x402e52
mov edx, dword [rbx + 0x10]
lea rcx, str._JavaCheck__file_version_MS_is__ld_n
call fcn.0040b520
mov edx, dword [rbx + 0x14]
lea rcx, str._JavaCheck__file_version_LS_is__ld_n
call fcn.0040b520
movzx r8d, word [rbx + 0x12]
lea rdx, [0x0044c824]
mov rcx, r12
call fcn.004175f0
jmp 0x402e79
lea rcx, str._JavaCheck__signature_is_wrong_n
jmp 0x402e74
lea rcx, str._JavaCheck__size_is_null_n
jmp 0x402e74
lea rcx, str._JavaCheck__ver_query_value_function_call_failed_n
jmp 0x402e74
lea rcx, str._JavaCheck__get_file_version_info_call_failed_n
call fcn.0040b520
mov rcx, rsi
call fcn.004166e0
jmp 0x402e8f
lea rcx, str._JavaCheck__verSize_is_zero_n
call fcn.0040b520
cmp rbp, rdi
je 0x402ec2
lea rcx, str._Extractor__Checking_JRE_version_requirements:__s_vs_required__s_n
mov r8, rbp
mov rdx, r12
call fcn.0040b520
mov rcx, r12
call fcn.00418010
mov rcx, rbp
mov ebx, eax
call fcn.00418010
cmp ebx, eax
setge dil
mov eax, edi
jmp 0x402ed6
xor edx, edx
lea rcx, str._Extractor__Versions_for_JREs_could_not_be_detected___d__d__n
lea r8d, [rdx + 1]
call fcn.0040b520
xor eax, eax
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x405a6c
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x00459230], 0
je 0x405ad5
mov ecx, dword [0x00459238]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x00459230]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405abb
mov rcx, qword [0x00459230]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x00459230]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x00459240]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x00459230], 0
add rsp, 0x28
ret
Function at 0x406ab8
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
call fcn.00401250
xor r9d, r9d
test al, al
je 0x406b28
cmp qword [0x004591b0], r9
jne 0x406b20
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x004591b0]
lea r8, [0x004087e8]
mov qword [0x004591c0], rax
lea rax, [0x004591b8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041ae80
mov rcx, qword [0x004591c0]
mov qword [0x004591b0], rax
jmp 0x406b7f
mov ecx, dword [0x004591b8]
jmp 0x406ba5
cmp qword [0x00459230], 0
jne 0x406b9f
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x00459230]
lea r8, [0x00405ae8]
mov qword [0x00459240], rax
lea rax, [0x00459238]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041ae80
mov rcx, qword [0x00459240]
mov qword [0x00459230], rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406bb5
lea rcx, str.Error_starting_SplashThread_n
call fcn.0040b520
jmp 0x406bb5
mov ecx, dword [0x00459238]
mov r8d, 2
lea edx, [r8 + 4]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
add rsp, 0x38
ret
Function at 0x407018
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.00416720
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.004077e8
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, [0x00406f88]
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, [0x00406cac]
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, [0x00406d78]
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, [0x00406e68]
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, [0x00406ef8]
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.0040b520
lea rcx, str._HttpDownloader__Saving_any_detected_proxy_settings_n
call fcn.0040b520
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.00405f74
xor ebx, ebx
mov rcx, qword [rsp + rbx*8 + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 1
cmp rbx, 5
jl 0x4071c3
cmp dword [rdi + 0x10], 0
je 0x4071e2
xor eax, eax
jmp 0x4071fb
lea rcx, str._HttpDownloader__Downloads_failed._Closing_buffer._n
call fcn.0040b520
mov rcx, rsi
call fcn.00407938
mov eax, 0xffffffff
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x407658
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rbp, r8
mov rdi, rdx
call fcn.00409a24
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.004183c0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x18]
call fcn.004183c0
lea rcx, str._Proxy__Opening_HTTP_Session_n
call fcn.0040b520
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 0x4077d6
test rdi, rdi
mov dword [rsp + 0x48], 1
je 0x4076ff
lea rcx, str._Proxy__Using_auto_config_URL:__S_n
mov rdx, rdi
mov dword [rsp + 0x48], 3
call fcn.0040b520
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.0040b520
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 0x407799
lea rcx, str._Proxy__Configuration_found_n
call fcn.0040b520
cmp dword [rsp + 0x30], 1
jne 0x407759
lea rcx, str._Proxy__Direct_connection_used_n
call fcn.0040b520
jmp 0x4077ad
mov rdx, qword [rsp + 0x38]
lea rcx, str._Proxy___S_n
call fcn.0040b520
mov rdx, qword [rsp + 0x40]
lea rcx, str._Proxy___S_n
call fcn.0040b520
mov rcx, qword [rsp + 0x38]
call fcn.00409a84
mov rcx, qword [rsp + 0x40]
mov qword [rbp], rax
call fcn.00409a84
mov qword [rbp + 8], rax
jmp 0x4077ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._Proxy__Configuration_NOT_found___d__n
mov edx, eax
call fcn.0040b520
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x4077bd
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x4077cd
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call fcn.004166e0
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x4082bc
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.004389e0
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command_line..._n
call fcn.0040b520
call fcn.0041bc20
lea rcx, [rax + 0x30]
call fcn.00417f90
xor esi, esi
mov byte [rsp + 0xe0], 0
cmp qword [rbx], rsi
je 0x408346
mov rdi, rbx
lea rdx, [0x0044b288]
lea rcx, [rsp + 0xe0]
call fcn.004169f0
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.004169f0
lea rdx, [0x00450658]
lea rcx, [rsp + 0xe0]
call fcn.004169f0
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x408300
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Creating_command_line__s_n
call fcn.0040b520
call fcn.0041bc20
lea rcx, [rax + 0x30]
call fcn.00417f90
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.004183c0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.004183c0
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 0x408403
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040b520
call fcn.0041bc20
lea rcx, [rax + 0x30]
call fcn.00417f90
mov rax, 0xffffffffffffffff
jmp 0x408458
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.0040b520
mov rax, qword [rsp + 0xc458]
add rsp, 0xc430
pop rdi
pop rsi
pop rbx
ret
Function at 0x408464
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.004389e0
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command..._n
mov byte [rsp + 0xe0], 0
call fcn.0040b520
call fcn.0041bc20
lea rcx, [rax + 0x30]
call fcn.00417f90
xor esi, esi
cmp qword [rbx], rsi
je 0x4084ea
mov rdi, rbx
lea rdx, [0x0044b288]
lea rcx, [rsp + 0xe0]
call fcn.004169f0
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.004169f0
lea rdx, [0x00450658]
lea rcx, [rsp + 0xe0]
call fcn.004169f0
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x4084a4
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Executing_command__s_n
call fcn.0040b520
call fcn.0041bc20
lea rcx, [rax + 0x30]
call fcn.00417f90
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.004183c0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.004183c0
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 0x4085a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040b520
call fcn.0041bc20
lea rcx, [rax + 0x30]
call fcn.00417f90
mov eax, 0xffffffff
jmp 0x4085d7
lea rcx, str._Spawner__Create_process_seems_to_have_worked_n
call fcn.0040b520
call fcn.0041bc20
lea rcx, [rax + 0x30]
call fcn.00417f90
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 0x4086f4
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x004591b0], 0
je 0x40875d
mov ecx, dword [0x004591b8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x004591b0]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408743
mov rcx, qword [0x004591b0]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x004591b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x004591c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x004591b0], 0
add rsp, 0x28
ret
Function at 0x409700
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.004078b0
lea rcx, str._Streamer__Downloading_from__s_into__s_n
mov r8, rsi
mov rdx, rbx
mov rdi, rax
call fcn.0040b520
mov r13d, 0x18
lea r12d, [r13 - 0x17]
mov rdx, r13
mov rcx, r12
call fcn.0041bb40
mov rdx, r13
mov rcx, r12
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov rbp, rax
call fcn.0041bb40
lea rdx, [0x0044b810]
mov rcx, rsi
mov qword [rax + 8], rdi
mov r13, rax
call fcn.004181b0
lea r8, [0x00409530]
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, [0x004095dc]
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 0x4097f3
cmp dword [r13 + 0x10], 0
je 0x4097f6
xor r12d, r12d
mov eax, r12d
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x409808
Capabilities:
Create thread

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