joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407264
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.00416e70
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.00407af8
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, [0x004071d4]
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, [0x00406ef8]
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, [0x00406fc4]
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, [0x004070b4]
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, [0x00407144]
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.0040bc84
lea rcx, str._HttpDownloader__Saving_any_detected_proxy_settings_n
call fcn.0040bc84
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
call fcn.004061c0
xor ebx, ebx
mov rcx, qword [rsp + rbx*8 + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 1
cmp rbx, 5
jl 0x40740f
cmp dword [rdi + 0x10], 0
je 0x40742e
xor eax, eax
jmp 0x407447
lea rcx, str._HttpDownloader__Downloads_failed._Closing_buffer._n
call fcn.0040bc84
mov rcx, rsi
call fcn.00407c48
mov eax, 0xffffffff
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x4078b0
Capabilities:
Delete file

Disassembly:
push rbx
push rdi
sub rsp, 0x28
cmp qword [0x00469028], 0
mov rdi, rcx
je 0x407955
lea rcx, str._Proxy__Saving_proxy_settings_now._n
call fcn.0040bc84
mov rbx, qword [0x00469028]
mov rcx, rdi
cmp qword [rbx], 0
jne 0x4078ec
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x407961
lea rdx, [0x0044c8c0]
call fcn.00418bd0
test rax, rax
mov rdi, rax
je 0x407961
cmp qword [rbx], 0
je 0x40794b
lea rcx, str._Proxy__Saved_proxy_list_n
call fcn.0040bc84
mov rcx, qword [rbx]
mov rdx, rdi
call fcn.0041c260
cmp qword [rbx + 8], 0
je 0x40794b
lea rcx, str._Proxy__Saved_proxy_bypass_list_n
call fcn.0040bc84
lea rcx, [0x00450b64]
mov rdx, rdi
call fcn.0041c260
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.0041c260
mov rcx, rdi
call fcn.0041b4b0
jmp 0x407961
lea rcx, str._Proxy__No_working_proxy_was_found__so_no_proxy_to_be_saved._n
call fcn.0040bc84
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x407968
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rbp, r8
mov rdi, rdx
call fcn.00409d88
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.00418de0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x18]
call fcn.00418de0
lea rcx, str._Proxy__Opening_HTTP_Session_n
call fcn.0040bc84
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 0x407ae6
test rdi, rdi
mov dword [rsp + 0x48], 1
je 0x407a0f
lea rcx, str._Proxy__Using_auto_config_URL:__S_n
mov rdx, rdi
mov dword [rsp + 0x48], 3
call fcn.0040bc84
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.0040bc84
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 0x407aa9
lea rcx, str._Proxy__Configuration_found_n
call fcn.0040bc84
cmp dword [rsp + 0x30], 1
jne 0x407a69
lea rcx, str._Proxy__Direct_connection_used_n
call fcn.0040bc84
jmp 0x407abd
mov rdx, qword [rsp + 0x38]
lea rcx, str._Proxy___S_n
call fcn.0040bc84
mov rdx, qword [rsp + 0x40]
lea rcx, str._Proxy___S_n
call fcn.0040bc84
mov rcx, qword [rsp + 0x38]
call fcn.00409de8
mov rcx, qword [rsp + 0x40]
mov qword [rbp], rax
call fcn.00409de8
mov qword [rbp + 8], rax
jmp 0x407abd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str._Proxy__Configuration_NOT_found___d__n
mov edx, eax
call fcn.0040bc84
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x407acd
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x407add
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call fcn.00416e30
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x408620
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.004391e0
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command_line..._n
call fcn.0040bc84
call fcn.0041c640
lea rcx, [rax + 0x30]
call fcn.004189b0
xor esi, esi
mov byte [rsp + 0xe0], 0
cmp qword [rbx], rsi
je 0x4086aa
mov rdi, rbx
lea rdx, [0x0044c33c]
lea rcx, [rsp + 0xe0]
call fcn.00417140
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.00417140
lea rdx, [0x00451838]
lea rcx, [rsp + 0xe0]
call fcn.00417140
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x408664
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Creating_command_line__s_n
call fcn.0040bc84
call fcn.0041c640
lea rcx, [rax + 0x30]
call fcn.004189b0
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.00418de0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.00418de0
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 0x408767
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040bc84
call fcn.0041c640
lea rcx, [rax + 0x30]
call fcn.004189b0
mov rax, 0xffffffffffffffff
jmp 0x4087bc
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.0040bc84
mov rax, qword [rsp + 0xc458]
add rsp, 0xc430
pop rdi
pop rsi
pop rbx
ret
Function at 0x4087c8
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0xc430
call fcn.004391e0
sub rsp, rax
mov rbx, rcx
lea rcx, str._Spawner__Constructing_command..._n
mov byte [rsp + 0xe0], 0
call fcn.0040bc84
call fcn.0041c640
lea rcx, [rax + 0x30]
call fcn.004189b0
xor esi, esi
cmp qword [rbx], rsi
je 0x40884e
mov rdi, rbx
lea rdx, [0x0044c33c]
lea rcx, [rsp + 0xe0]
call fcn.00417140
mov rdx, qword [rdi]
lea rcx, [rsp + 0xe0]
call fcn.00417140
lea rdx, [0x00451838]
lea rcx, [rsp + 0xe0]
call fcn.00417140
add rsi, 1
lea rdi, [rbx + rsi*8]
cmp qword [rdi], 0
jne 0x408808
lea rdx, [rsp + 0xe0]
lea rcx, str._Spawner__Executing_command__s_n
call fcn.0040bc84
call fcn.0041c640
lea rcx, [rax + 0x30]
call fcn.004189b0
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.00418de0
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x18]
call fcn.00418de0
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 0x408909
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateProcess_failed___d_._n
mov edx, eax
call fcn.0040bc84
call fcn.0041c640
lea rcx, [rax + 0x30]
call fcn.004189b0
mov eax, 0xffffffff
jmp 0x40893b
lea rcx, str._Spawner__Create_process_seems_to_have_worked_n
call fcn.0040bc84
call fcn.0041c640
lea rcx, [rax + 0x30]
call fcn.004189b0
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 0x408a58
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp qword [0x0045a1b0], 0
je 0x408ac1
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 0x408aa7
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 0x409a64
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.00407bc0
lea rcx, str._Streamer__Downloading_from__s_into__s_n
mov r8, rsi
mov rdx, rbx
mov rdi, rax
call fcn.0040bc84
mov r13d, 0x18
lea r12d, [r13 - 0x17]
mov rdx, r13
mov rcx, r12
call fcn.0041c560
mov rdx, r13
mov rcx, r12
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov rbp, rax
call fcn.0041c560
lea rdx, [0x0044c8c0]
mov rcx, rsi
mov qword [rax + 8], rdi
mov r13, rax
call fcn.00418bd0
lea r8, [0x00409894]
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, [0x00409940]
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 0x409b57
cmp dword [r13 + 0x10], 0
je 0x409b5a
xor r12d, r12d
mov eax, r12d
add rsp, 0x38
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x409b6c
Capabilities:
Create thread

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov rbx, rcx
mov edx, 0x32000
mov ecx, 3
call fcn.00407bc0
mov edx, 0x18
lea ecx, [rdx - 0x17]
mov rdi, rax
call fcn.0041c560
lea r8, [0x004099c4]
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 0x409bcc
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.00416e70
mov esi, 0x19000
mov r14d, 1
mov edx, esi
mov ecx, r14d
mov r13, rax
call fcn.00407bc0
lea ecx, [r14 + 1]
mov edx, esi
mov r12, rax
call fcn.00407bc0
lea edx, [r14 + 0x17]
mov rcx, r14
mov rbp, rax
call fcn.0041c560
lea edx, [r14 + 0x1f]
mov rcx, r14
mov qword [rax], rbx
mov qword [rax + 8], r12
mov rsi, rax
call fcn.0041c560
lea r8, [0x00409894]
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, [0x004098d0]
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, [0x00409908]
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.00407c48
mov rcx, rbp
call fcn.00407c48
cmp dword [rsi + 0x10], edi
jne 0x409cd1
cmp dword [rbx + 0x18], edi
je 0x409cd4
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 0x409ce8
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.00416e70
mov edx, 0x19000
mov ecx, 5
mov r12, rax
call fcn.00407bc0
mov edx, 0x20
lea ecx, [rdx - 0x1f]
mov rbx, rax
call fcn.0041c560
lea r8, [0x004098d0]
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, [0x00409908]
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 0x40adb4
Capabilities:
Get common file path
Set current directory

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x2740
call fcn.004391e0
sub rsp, rax
mov rbx, rcx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.SetDllDirectoryA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x13b0]
mov rdx, rbx
mov rdi, rax
mov byte [rsp + 0x13b0], 0
call fcn.00417140
lea rdx, [0x0044c46c]
lea rcx, [rsp + 0x13b0]
call fcn.0040bbe4
lea rdx, [rsp + 0x13b0]
lea rcx, str._JNILaunch__Bin_folder_is__s_n
call fcn.0040bc84
mov ebx, 0x7d0
mov rcx, rbx
call fcn.00416e70
mov ecx, ebx
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rsp + 0x13b0]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test rdi, rdi
je 0x40ae60
lea rcx, [rsp + 0x13b0]
call rdi
lea rdx, str.server
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
call fcn.00417140
lea rdx, str.jvm.dll
lea rcx, [rsp + 0x20]
call fcn.0040bbe4
lea rcx, [rsp + 0x20]
call fcn.0040b378
test eax, eax
jne 0x40aec9
lea rdx, str.client
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], al
call fcn.00417140
lea rdx, str.jvm.dll
lea rcx, [rsp + 0x20]
call fcn.0040bbe4
lea rcx, [rsp + 0x20]
call fcn.0040b378
test eax, eax
je 0x40aeda
lea rdx, [rsp + 0x20]
lea rcx, str._Utils__Located_DLL___s__n
call fcn.0040bc84
lea r9, str.jvm.dll
lea r8, str.server
lea rdx, [rsp + 0x13b0]
lea rcx, [rsp + 0x20]
call fcn.0040bc4c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbx, rax
jne 0x40af74
lea rdx, str.LoadLibrary
lea rcx, str.Utils
call fcn.0040acf8
lea r9, str.jvm.dll
lea r8, str.client
lea rdx, [rsp + 0x13b0]
lea rcx, [rsp + 0x20]
call fcn.0040bc4c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbx, rax
jne 0x40af74
lea rdx, str.LoadLibrary
lea rcx, str.Utils
call fcn.0040acf8
lea rcx, str._Extractor___SEVERE__Unable_to_load_existing_JVM_dll._n
call fcn.0040bc84
jmp 0x40af85
lea rdx, [rsp + 0x20]
lea rcx, str._Extractor__Successfully_loaded_DLL___s_._JVM_looks_good._n
call fcn.0040bc84
test rdi, rdi
je 0x40af8e
xor ecx, ecx
call rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rax, rbx
add rsp, 0x2740
pop rdi
pop rsi
pop rbx
ret
Function at 0x40b3c8
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.0040bc84
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 0x40b455
lea rcx, str.GetNamedSecurityInfo_Error__u_n
mov edx, eax
call fcn.0040bc84
mov rcx, qword [rbp]
test rcx, rcx
je 0x40b44e
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x40b5be
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_GetExplicitEntriesFromAclA]
test eax, eax
je 0x40b495
lea rcx, str.GetExplicitEntriesFromAcl_failed__u_n
mov edx, eax
call fcn.0040bc84
mov rcx, qword [rbp]
test rcx, rcx
je 0x40b48e
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
jmp 0x40b443
mov edx, dword [rsp + 0xb8]
lea rcx, str._Utils__Got__u_ACEs_for_folder_n
call fcn.0040bc84
mov edx, dword [rsp + 0xb8]
lea edi, [rdx - 1]
test edi, edi
movsxd rax, edi
js 0x40b583
lea rsi, [rax + rax*2]
shl rsi, 4
mov rax, qword [rsp + 0x40]
mov edx, edi
cmp dword [rsi + rax + 0x1c], 0
jne 0x40b563
lea rcx, str._Utils__Trustee__u_is_SID_n
call fcn.0040bc84
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 0x40b56f
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.0040bc84
mov edx, dword [rsp + 0xb8]
mov r12d, edi
lea eax, [rdx - 1]
cmp edi, eax
jae 0x40b557
mov rcx, rsi
mov rax, qword [rsp + 0x40]
lea rbx, [rcx + 0x30]
mov r8d, 0x30
lea rdx, [rbx + rax]
add rcx, rax
call fcn.004179d0
mov edx, dword [rsp + 0xb8]
add r12d, 1
lea eax, [rdx - 1]
mov rcx, rbx
cmp r12d, eax
jb 0x40b526
add edx, 0xffffffff
mov dword [rsp + 0xb8], edx
jmp 0x40b576
lea rcx, str._Utils__Unknown_trustee_at__u_n
call fcn.0040bc84
mov edx, dword [rsp + 0xb8]
sub rsi, 0x30
sub edi, 1
jns 0x40b4c5
lea rcx, str._Utils__Trimmed_ACE_size_is__u_n
call fcn.0040bc84
mov rcx, qword [rbp]
test rcx, rcx
je 0x40b59e
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x40b5ae
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
Function at 0x40b5cc
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 0x40b5fa
lea eax, [rcx + 0x57]
jmp 0x40b783
lea rcx, str.PROGRAMDATA
call fcn.0041b330
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 0x40b651
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xc0]
mov rcx, rbx
call fcn.0040b3c8
mov esi, dword [rsp + 0xc0]
mov rbx, rax
jmp 0x40b65f
lea rcx, str._Utils__Unable_to_convert_SID_n
call fcn.0040bc84
xor ebx, ebx
test rbx, rbx
jne 0x40b66c
lea eax, [rbx + 0x65]
jmp 0x40b783
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x30]
call fcn.00418de0
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.00416e70
test esi, esi
mov rdi, rax
je 0x40b6de
mov rbp, rax
sub rbx, rax
mov r13d, esi
lea rdx, [rbx + rbp]
mov rcx, rbp
mov r8d, 0x30
call fcn.004179d0
add rbp, 0x30
sub r13, 1
jne 0x40b6c2
mov eax, esi
lea rdx, [rsp + 0x50]
mov r8d, 0x30
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, rdi
call fcn.004179d0
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 0x40b71e
lea rcx, str.SetEntriesInAcl_Error__u_n
jmp 0x40b75d
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 0x40b764
lea rcx, str.SetNamedSecurityInfo_Error__u_n
mov edx, eax
call fcn.0040bc84
test rdi, rdi
je 0x40b771
mov rcx, rdi
call fcn.00416e30
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x40b781
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
Function at 0x40b798
Capabilities:
Encode data using xor
Get session user name
Hash data using fnv
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x100
lea rcx, str.ALLUSERSPROFILE
call fcn.0041b330
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
mov r12, rax
mov dword [rsp + 0x130], 0x64
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rcx, [rsp + 0x20]
call fcn.00417080
xor esi, esi
xor edi, edi
test eax, eax
mov ebx, 0x811c9dc5
movsxd rbp, eax
jle 0x40b81b
movzx ecx, byte [rsp + rdi + 0x20]
mov edx, esi
xor ebx, ecx
movsx r8d, cl
lea rcx, str.__d___d__d_n
imul ebx, ebx, 0x1000193
mov r9d, ebx
call fcn.0040bc84
add rdi, 1
add esi, 1
cmp rdi, rbp
jl 0x40b7ed
test ebx, ebx
jns 0x40b821
neg ebx
xor edx, edx
lea rcx, [rsp + 0x90]
lea r8d, [rdx + 0x64]
call fcn.00418de0
lea rdx, [0x0044d8d4]
lea rcx, [rsp + 0x90]
mov r8d, ebx
call fcn.00418010
lea rcx, [rsp + 0x20]
xor ebx, ebx
call fcn.00417080
test rax, rax
je 0x40b87b
cmp byte [rsp + rbx + 0x20], 0x80
jb 0x40b868
mov byte [rsp + rbx + 0x20], 0x5f
lea rcx, [rsp + 0x20]
add rbx, 1
call fcn.00417080
cmp rbx, rax
jb 0x40b85c
mov ecx, 0x1388
call fcn.00416e70
mov rdx, r12
mov rcx, rax
mov rbx, rax
mov byte [rax], 0
call fcn.00417140
lea rdx, str.JWUser_
mov rcx, rbx
call fcn.0040bbe4
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.00417140
lea rdx, [0x0044cb18]
mov rcx, rbx
call fcn.00417140
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.00417140
mov rcx, rbx
call fcn.0040bb9c
mov rax, rbx
add rsp, 0x100
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret