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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
lea rdx, [0x0044c930]
mov rbx, rcx
call fcn.00419020
test rax, rax
mov rdi, rax
jne 0x4019d1
lea rcx, str._Extractor___Unable_to_open_destination_file_for_copy__s_n
mov rdx, rbx
call fcn.0040bd0c
xor al, al
jmp 0x401a25
lea rcx, [0x0045cd70]
mov r9, rsi
mov edx, 1
mov r8d, 0xc350
call fcn.00419510
test rax, rax
mov rbx, rax
je 0x401a0a
lea rcx, [0x0045cd70]
mov r9, rdi
mov r8, rax
mov edx, 1
call fcn.0041abc0
cmp rbx, 0xc350
je 0x4019d1
mov rcx, rsi
call fcn.0041b550
mov rcx, rdi
call fcn.0041b550
mov al, 1
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x405a40
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x0045a1e0], 0
je 0x405aa9
mov ecx, dword [0x0045a1e8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x0045a1e0]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405a8f
mov rcx, qword [0x0045a1e0]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x0045a1e0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x0045a1f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x0045a1e0], 0
add rsp, 0x28
ret
Function at 0x4069ec
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
call fcn.00401250
xor r9d, r9d
test al, al
je 0x406a5c
cmp qword [0x0045a160], r9
jne 0x406a54
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x0045a160]
lea r8, [0x004088e0]
mov qword [0x0045a170], rax
lea rax, [0x0045a168]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041b940
mov rcx, qword [0x0045a170]
mov qword [0x0045a160], rax
jmp 0x406ab3
mov ecx, dword [0x0045a168]
jmp 0x406ad9
cmp qword [0x0045a1e0], 0
jne 0x406ad3
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea r9, [0x0045a1e0]
lea r8, [0x00405abc]
mov qword [0x0045a1f0], rax
lea rax, [0x0045a1e8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.0041b940
mov rcx, qword [0x0045a1f0]
mov qword [0x0045a1e0], rax
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x406ae9
lea rcx, str.Error_starting_SplashThread_n
call fcn.0040bd0c
jmp 0x406ae9
mov ecx, dword [0x0045a1e8]
mov r8d, 2
lea edx, [r8 + 4]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
add rsp, 0x38
ret
Function at 0x406ed4
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.004171e0
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.004079f4
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, [0x00406e5c]
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, [0x00406be0]
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, [0x00406c94]
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, [0x00406d6c]
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, [0x00406de4]
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.0040bd0c
lea rcx, str._HttpDownloader__Saving_any_detected_proxy_settings_n
call fcn.0040bd0c
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.00405f48
xor ebx, ebx
mov rcx, qword [rsp + rbx*8 + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 1
cmp rbx, 5
jl 0x40707f
cmp dword [rdi + 0x10], 0
je 0x40709e
xor eax, eax
jmp 0x4070b7
lea rcx, str._HttpDownloader__Downloads_failed._Closing_buffer._n
call fcn.0040bd0c
mov rcx, rsi
call fcn.00407b44
mov eax, 0xffffffff
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x4077ac
Capabilities:
Delete file

Disassembly:
push rbx
push rdi
sub rsp, 0x28
cmp qword [0x0045cd68], 0
mov rdi, rcx
je 0x407851
lea rcx, str._Proxy__Saving_proxy_settings_now._n
call fcn.0040bd0c
mov rbx, qword [0x0045cd68]
mov rcx, rdi
cmp qword [rbx], 0
jne 0x4077e8
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40785d
lea rdx, [0x0044c930]
call fcn.00419020
test rax, rax
mov rdi, rax
je 0x40785d
cmp qword [rbx], 0
je 0x407847
lea rcx, str._Proxy__Saved_proxy_list_n
call fcn.0040bd0c
mov rcx, qword [rbx]
mov rdx, rdi
call fcn.0041c630
cmp qword [rbx + 8], 0
je 0x407847
lea rcx, str._Proxy__Saved_proxy_bypass_list_n
call fcn.0040bd0c
lea rcx, [0x004501fc]
mov rdx, rdi
call fcn.0041c630
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.0041c630
mov rcx, rdi
call fcn.0041b550
jmp 0x40785d
lea rcx, str._Proxy__No_working_proxy_was_found__so_no_proxy_to_be_saved._n
call fcn.0040bd0c
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x407864
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rbp, r8
mov rdi, rdx
call fcn.00409b1c
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.00419040
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x18]
call fcn.00419040
lea rcx, str._Proxy__Opening_HTTP_Session_n
call fcn.0040bd0c
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 0x4079e2
test rdi, rdi
mov dword [rsp + 0x48], 1
je 0x40790b
lea rcx, str._Proxy__Using_auto_config_URL:__S_n
mov rdx, rdi
mov dword [rsp + 0x48], 3
call fcn.0040bd0c
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.0040bd0c
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 0x4079a5
lea rcx, str._Proxy__Configuration_found_n
call fcn.0040bd0c
cmp dword [rsp + 0x30], 1
jne 0x407965
lea rcx, str._Proxy__Direct_connection_used_n
call fcn.0040bd0c
jmp 0x4079b9
mov rdx, qword [rsp + 0x38]
lea rcx, str._Proxy___S_n
call fcn.0040bd0c
mov rdx, qword [rsp + 0x40]
lea rcx, str._Proxy___S_n
call fcn.0040bd0c
mov rcx, qword [rsp + 0x38]
call fcn.00409b7c
mov rcx, qword [rsp + 0x40]
mov qword [rbp], rax
call fcn.00409b7c
mov qword [rbp + 8], rax
jmp 0x4079b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._Proxy__Configuration_NOT_found___d__n
mov edx, eax
call fcn.0040bd0c
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x4079c9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x4079d9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call fcn.004171a0
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x408340
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.00439870
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command_line..._n
call fcn.0040bd0c
call fcn.0041ca10
lea rcx, [rax + 0x30]
call fcn.00418cb0
xor esi, esi
mov byte [rsp + 0xe0], 0
cmp qword [rbx], rsi
je 0x4083ca
mov rdi, rbx
lea rdx, [0x00450db0]
lea rcx, [rsp + 0xe0]
call fcn.004174b0
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.004174b0
lea rdx, [0x00450db4]
lea rcx, [rsp + 0xe0]
call fcn.004174b0
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x408384
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Creating_command_line__s_n
call fcn.0040bd0c
call fcn.0041ca10
lea rcx, [rax + 0x30]
call fcn.00418cb0
lea rcx, str._Utils__Closing_logging_file._n
call fcn.0040bd0c
mov rcx, qword [0x004691f0]
test rcx, rcx
je 0x408414
call fcn.0041b550
mov qword [0x004691f0], 0
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.00419040
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.00419040
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 0x4084c9
mov rcx, qword [0x004691f8]
test rcx, rcx
je 0x40849e
call fcn.0040b4b0
test eax, eax
je 0x40849e
call fcn.0040bf48
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040bd0c
call fcn.0041ca10
lea rcx, [rax + 0x30]
call fcn.00418cb0
mov rax, 0xffffffffffffffff
jmp 0x408538
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x004691f8]
test rcx, rcx
je 0x4084f3
call fcn.0040b4b0
test eax, eax
je 0x4084f3
call fcn.0040bf48
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.0040bd0c
mov rax, qword [rsp + 0xc458]
add rsp, 0xc430
pop rdi
pop rsi
pop rbx
ret
Function at 0x408544
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.00439870
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command..._n
mov byte [rsp + 0xe0], 0
call fcn.0040bd0c
call fcn.0041ca10
lea rcx, [rax + 0x30]
call fcn.00418cb0
xor esi, esi
cmp qword [rbx], rsi
je 0x4085ca
mov rdi, rbx
lea rdx, [0x00450db0]
lea rcx, [rsp + 0xe0]
call fcn.004174b0
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.004174b0
lea rdx, [0x00450db4]
lea rcx, [rsp + 0xe0]
call fcn.004174b0
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x408584
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Executing_command__s_n
call fcn.0040bd0c
call fcn.0041ca10
lea rcx, [rax + 0x30]
call fcn.00418cb0
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.00419040
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.00419040
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 0x40869f
mov rcx, qword [0x004691f8]
test rcx, rcx
je 0x408676
call fcn.0040b4b0
test eax, eax
je 0x408676
call fcn.0040bf48
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040bd0c
call fcn.0041ca10
lea rcx, [rax + 0x30]
call fcn.00418cb0
mov eax, 0xffffffff
jmp 0x4086d1
lea rcx, str._Spawner__Create_process_seems_to_have_worked_n
call fcn.0040bd0c
call fcn.0041ca10
lea rcx, [rax + 0x30]
call fcn.00418cb0
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 0x4087ec
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x0045a160], 0
je 0x408855
mov ecx, dword [0x0045a168]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x12]
call qword [sym.imp.USER32.dll_PostThreadMessageA]
mov rcx, qword [0x0045a160]
mov edx, 0x2328
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40883b
mov rcx, qword [0x0045a160]
mov edx, 0x8ae
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x0045a160]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x0045a170]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x0045a160], 0
add rsp, 0x28
ret
Function at 0x4097f8
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.00407abc
lea rcx, str._Streamer__Downloading_from__s_into__s_n
mov r8, rsi
mov rdx, rbx
mov rdi, rax
call fcn.0040bd0c
mov r13d, 0x18
lea r12d, [r13 - 0x17]
mov rdx, r13
mov rcx, r12
call fcn.0041c930
mov rdx, r13
mov rcx, r12
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov rbp, rax
call fcn.0041c930
lea rdx, [0x0044c930]
mov rcx, rsi
mov qword [rax + 8], rdi
mov r13, rax
call fcn.00419020
lea r8, [0x00409628]
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, [0x004096d4]
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 0x4098eb
cmp dword [r13 + 0x10], 0
je 0x4098ee
xor r12d, r12d
mov eax, r12d
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x409900
Capabilities:
Create thread

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov rbx, rcx
mov edx, 0x32000
mov ecx, 3
call fcn.00407abc
mov edx, 0x18
lea ecx, [rdx - 0x17]
mov rdi, rax
call fcn.0041c930
lea r8, [0x00409758]
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 0x409960
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.004171e0
mov esi, 0x19000
mov r14d, 1
mov edx, esi
mov ecx, r14d
mov r13, rax
call fcn.00407abc
lea ecx, [r14 + 1]
mov edx, esi
mov r12, rax
call fcn.00407abc
lea edx, [r14 + 0x17]
mov rcx, r14
mov rbp, rax
call fcn.0041c930
lea edx, [r14 + 0x1f]
mov rcx, r14
mov qword [rax], rbx
mov qword [rax + 8], r12
mov rsi, rax
call fcn.0041c930
lea r8, [0x00409628]
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, [0x00409664]
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, [0x0040969c]
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.00407b44
mov rcx, rbp
call fcn.00407b44
cmp dword [rsi + 0x10], edi
jne 0x409a65
cmp dword [rbx + 0x18], edi
je 0x409a68
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 0x409a7c
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.004171e0
mov edx, 0x19000
mov ecx, 5
mov r12, rax
call fcn.00407abc
mov edx, 0x20
lea ecx, [rdx - 0x1f]
mov rbx, rax
call fcn.0041c930
lea r8, [0x00409664]
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, [0x0040969c]
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 0x40aea0
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x240
mov rdi, 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]
test rax, rax
mov rbx, rax
jne 0x40aedf
lea rcx, str._JNILaunch__WARNING:_SetDllDirectoryA_could_not_be_found
call fcn.0040bd0c
lea rcx, [rsp + 0x130]
mov rdx, rdi
mov byte [rsp + 0x130], 0
call fcn.004174b0
lea rdx, [0x0044c4cc]
lea rcx, [rsp + 0x130]
call fcn.0040bc6c
lea r8, str.ucrtbase
lea rdx, str.api_ms_win
lea rcx, [rsp + 0x130]
call fcn.0040ada0
lea rdx, str.vcruntime
lea rcx, [rsp + 0x130]
xor r8d, r8d
call fcn.0040ada0
lea rdx, str.msvcp
lea rcx, [rsp + 0x130]
xor r8d, r8d
call fcn.0040ada0
lea rdx, [rsp + 0x130]
lea rcx, str._JNILaunch__Bin_folder_is__s_n
call fcn.0040bd0c
mov edi, 0x104
mov rcx, rdi
call fcn.004171e0
mov ecx, edi
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test rbx, rbx
je 0x40afa0
lea rcx, [rsp + 0x130]
call rbx
lea rdx, str.server
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
call fcn.004174b0
lea rdx, str.jvm.dll
lea rcx, [rsp + 0x20]
call fcn.0040bc6c
lea rcx, [rsp + 0x20]
call fcn.0040b4b0
test eax, eax
jne 0x40b009
lea rdx, str.client
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], al
call fcn.004174b0
lea rdx, str.jvm.dll
lea rcx, [rsp + 0x20]
call fcn.0040bc6c
lea rcx, [rsp + 0x20]
call fcn.0040b4b0
test eax, eax
je 0x40b01a
lea rdx, [rsp + 0x20]
lea rcx, str._Utils__Located_DLL___s__n
call fcn.0040bd0c
lea r9, str.jvm.dll
lea r8, str.server
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.0040bcd4
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
jne 0x40b0b4
lea rdx, str.LoadLibrary
lea rcx, str.Utils
call fcn.0040ace4
lea r9, str.jvm.dll
lea r8, str.client
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.0040bcd4
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
jne 0x40b0b4
lea rdx, str.LoadLibrary
lea rcx, str.Utils
call fcn.0040ace4
lea rcx, str._Extractor___SEVERE__Unable_to_load_existing_JVM_dll._n
call fcn.0040bd0c
jmp 0x40b0c5
lea rdx, [rsp + 0x20]
lea rcx, str._Extractor__Successfully_loaded_DLL___s_._JVM_looks_good._n
call fcn.0040bd0c
test rbx, rbx
je 0x40b0ce
xor ecx, ecx
call rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rax, rdi
add rsp, 0x240
pop rdi
pop rsi
pop rbx
ret
Function at 0x40b4dc
Capabilities:
Compare security identifiers

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov r11, rsp
sub rsp, 0x68
lea rax, [r11 - 0x28]
xor r9d, r9d
mov rbp, r8
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x38], 0
lea rax, [r11 - 0x18]
mov r13, rdx
mov qword [r11 - 0x40], rax
lea r8d, [r9 + 4]
lea edx, [r9 + 1]
mov qword [r11 - 0x48], 0
mov qword [r11 - 0x28], 0
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoA]
test eax, eax
je 0x40b553
lea rcx, str.GetNamedSecurityInfo_Error__u_n
mov edx, eax
call fcn.0040bd0c
mov rcx, qword [rbp]
test rcx, rcx
je 0x40b54c
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x40b666
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclA]
test eax, eax
je 0x40b593
lea rcx, str.GetExplicitEntriesFromAcl_failed__u_n
mov edx, eax
call fcn.0040bd0c
mov rcx, qword [rbp]
test rcx, rcx
je 0x40b58c
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x40]
jmp 0x40b541
mov edi, dword [rsp + 0xb8]
add edi, 0xffffffff
movsxd rax, edi
js 0x40b637
lea rsi, [rax + rax*2]
shl rsi, 4
mov rcx, qword [rsp + 0x48]
cmp dword [rsi + rcx + 0x1c], 0
jne 0x40b61c
mov rdx, qword [rbp]
mov rcx, qword [rsi + rcx + 0x28]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40b62a
mov eax, dword [rsp + 0xb8]
mov r12d, edi
add eax, 0xffffffff
cmp edi, eax
jae 0x40b612
mov rcx, rsi
mov rax, qword [rsp + 0x48]
lea rbx, [rcx + 0x30]
mov r8d, 0x30
lea rdx, [rbx + rax]
add rcx, rax
call fcn.00417d40
mov eax, dword [rsp + 0xb8]
add r12d, 1
add eax, 0xffffffff
mov rcx, rbx
cmp r12d, eax
jb 0x40b5e1
add dword [rsp + 0xb8], 0xffffffff
jmp 0x40b62a
lea rcx, str._Utils__Unknown_trustee_at__u_n
mov edx, edi
call fcn.0040bd0c
sub rsi, 0x30
sub edi, 1
jns 0x40b5ae
mov rcx, qword [rbp]
test rcx, rcx
je 0x40b646
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x40b656
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0xb8]
mov dword [r13], eax
mov rax, qword [rsp + 0x48]
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x40b674
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x80
test rcx, rcx
mov rdi, r8
mov r12, rcx
mov qword [rsp + 0x40], 0
jne 0x40b6a2
lea eax, [rcx + 0x57]
jmp 0x40b82b
lea rcx, str.PROGRAMDATA
call fcn.0041c560
lea rdx, [rsp + 0x48]
lea rcx, str.S_1_5_32_545
xor esi, esi
mov qword [rsp + 0x48], 0
mov rbx, rax
mov dword [rsp + 0xc0], esi
call sub.ADVAPI32.dll_ConvertStringSidToSidA
test eax, eax
je 0x40b6f9
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call fcn.0040b4dc
mov esi, dword [rsp + 0xc0]
mov rbx, rax
jmp 0x40b707
lea rcx, str._Utils__Unable_to_convert_SID_for_USERS_n
call fcn.0040bd0c
xor ebx, ebx
test rbx, rbx
jne 0x40b714
lea eax, [rbx + 0x65]
jmp 0x40b82b
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x30]
call fcn.00419040
lea r14d, [rsi + 1]
mov dword [rsp + 0x50], 0x1200a9
lea rcx, [r14 + r14*2]
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 3
shl rcx, 4
mov dword [rsp + 0x6c], 0
mov qword [rsp + 0x78], rdi
call fcn.004171e0
test esi, esi
mov rdi, rax
je 0x40b786
mov rbp, rax
sub rbx, rax
mov r13d, esi
lea rdx, [rbx + rbp]
mov rcx, rbp
mov r8d, 0x30
call fcn.00417d40
add rbp, 0x30
sub r13, 1
jne 0x40b76a
mov eax, esi
lea rdx, [rsp + 0x50]
mov r8d, 0x30
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, rdi
call fcn.00417d40
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov ecx, r14d
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
test eax, eax
mov ebx, eax
je 0x40b7c6
lea rcx, str.SetEntriesInAcl_Error__u_n
jmp 0x40b805
mov rax, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea edx, [r9 + 1]
mov r8d, 0x80000004
mov rcx, r12
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
test eax, eax
mov ebx, eax
je 0x40b80c
lea rcx, str.SetNamedSecurityInfo_Error__u_n
mov edx, eax
call fcn.0040bd0c
test rdi, rdi
je 0x40b819
mov rcx, rdi
call fcn.004171a0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x40b829
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
add rsp, 0x80
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret