joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100062a0
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
xor esi, esi
mov qword [rsp + 0x58], rdi
mov rdi, rcx
mov ebx, esi
nop
nop
mov eax, dword [rdi + 0x9d8]
shr eax, 7
test al, 1
jne 0x100062df
mov ecx, gethostbyaddr
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x64
jl 0x100062c0
cmp byte [rdi + 0xc8], sil
je 0x10006301
mov byte [rdi + 0xc8], sil
mov rcx, qword [rdi + 0x150]
test rcx, rcx
je 0x10006301
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rdi + 0xc0]
mov qword [rsp + 0x48], rbp
lea rbp, [0x10046678]
test rcx, rcx
je 0x100063d4
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100063d4
mov rcx, qword [rdi + 0xc0]
lea rdx, [rsp + 0x20]
mov byte [rdi + 0xc8], sil
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x20], 0x103
jne 0x100063d4
mov rcx, qword [rdi + 0xc0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rdi + 0xc9], sil
mov dword [rdi + 0xb8], esi
je 0x100063d4
lea rcx, [rdi + 0xb0]
mov qword [rdi + 0xb0], rbp
mov byte [rdi + 0xc8], sil
call fcn.10008000
mov qword [rdi + 0xc0], rsi
mov dword [rdi + 0xb8], esi
mov rcx, qword [rdi + 0x150]
test rcx, rcx
je 0x100063c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0xb0]
mov qword [rdi + 0x150], rsi
call fcn.10041bb0
lea rbx, [rdi + 0x490]
mov rdi, qword [rsp + 0x58]
cmp byte [rbx + 0x18], sil
je 0x100063fc
mov byte [rbx + 0x18], sil
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x100063fc
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x10006495
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10006495
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
mov byte [rbx + 0x18], sil
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x20], 0x103
jne 0x10006495
mov rcx, qword [rbx + 0x10]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbx + 0x19], sil
mov dword [rbx + 8], esi
je 0x10006495
mov rcx, rbx
mov qword [rbx], rbp
mov byte [rbx + 0x18], sil
call fcn.10008000
mov qword [rbx + 0x10], rsi
mov dword [rbx + 8], esi
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x10006486
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
mov qword [rbx + 0xa0], rsi
call fcn.10041bb0
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x10007f50
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0x18], 0
mov qword [rsp + 0x58], rdi
mov rdi, rcx
jne 0x10007fdd
xor ecx, ecx
lea rax, [rsp + 0x40]
lea r8, [0x10007d70]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x40], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov ecx, dword [rsp + 0x40]
mov qword [rdi + 0x10], rax
mov dword [rdi + 8], ecx
jne 0x10007fef
xor ecx, ecx
mov qword [rsp + 0x50], rbx
call fcn.100205e0
lea rdx, [0x100466c0]
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.10027af0
lea r8, [rdi + 0x1a]
lea rdx, str._comm__create_thread__s__failed:__s
mov r9, rbx
mov rcx, rax
call fcn.10027bf0
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret
mov rcx, qword [rcx + 0xa0]
test rcx, rcx
je 0x10007fef
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret

Function at 0x10008000
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x18], 0
mov qword [rsp + 0x40], rbx
mov rbx, rcx
je 0x10008028
mov byte [rcx + 0x18], 0
mov rcx, qword [rcx + 0xa0]
test rcx, rcx
je 0x10008028
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x100080d8
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100080d8
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x48], rdi
lea rdx, [rsp + 0x30]
xor edi, edi
mov byte [rbx + 0x18], 0
mov dword [rsp + 0x30], edi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x30], 0x103
jne 0x100080d3
mov rcx, qword [rbx + 0x10]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbx + 0x19], dil
mov dword [rbx + 8], edi
je 0x100080d3
lea rax, [0x10046678]
mov rcx, rbx
mov byte [rbx + 0x18], dil
mov qword [rbx], rax
call fcn.10008000
mov qword [rbx + 0x10], rdi
mov dword [rbx + 8], edi
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x100080c4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
mov qword [rbx + 0xa0], rdi
call fcn.10041bb0
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret
Function at 0x1000c300
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
lea rax, [0x10046ae0]
mov qword [rsp + 0x38], rbx
mov byte [rcx + 0x18], 0
mov rbx, rcx
mov qword [rcx], rax
add rcx, 0xa8
mov qword [rsp + 0x48], rdi
call fcn.1002de20
cmp byte [rbx + 0x18], 0
je 0x1000c347
mov byte [rbx + 0x18], 0
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1000c347
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x40], rsi
xor esi, esi
test rcx, rcx
je 0x1000c3b5
lea edx, [rsi + 0x64]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000c3b5
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov byte [rbx + 0x18], sil
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x30], 0x103
jne 0x1000c3b5
mov rcx, qword [rbx + 0x10]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbx + 0x19], sil
mov dword [rbx + 8], esi
je 0x1000c3b5
lea edx, [rsi + 1]
mov rcx, rbx
call fcn.10005b80
lea rcx, [rbx + 0xa8]
call fcn.1002ea40
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rsp + 0x48]
test rcx, rcx
lea r11, [0x10046678]
mov byte [rbx + 0x18], sil
mov qword [rbx], r11
je 0x1000c43f
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000c43f
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov byte [rbx + 0x18], sil
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x30], 0x103
jne 0x1000c43f
mov rcx, qword [rbx + 0x10]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rbx + 0x19], sil
mov dword [rbx + 8], esi
je 0x1000c43f
mov edx, 1
mov rcx, rbx
call fcn.10005b80
mov qword [rbx + 0x10], rsi
mov dword [rbx + 8], esi
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1000c458
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xa0], rsi
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x1000c860
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov byte [rcx + 0x18], 0
mov rsi, rcx
mov qword [rsp + 0x68], rdi
lea rdi, [rcx + 0xa8]
mov rcx, rdi
call fcn.1002de20
mov rcx, qword [0x10058a98]
lea rdx, str.Starting_session_connection
call fcn.10025150
call fcn.1000c480
mov rcx, qword [0x10058a98]
lea rdx, str.connect_begin
mov ebx, eax
call fcn.10025150
lea rdx, [0x10046a80]
mov r8d, ebx
mov rcx, rdi
call fcn.1002e660
mov rcx, qword [0x10058a98]
lea rdx, str.connect_end
movzx edi, al
call fcn.10025150
test ebx, ebx
jle 0x1000c9ad
test dil, dil
je 0x1000c9ad
mov rcx, qword [0x10058a98]
lea rdx, str.session_connection_succeed
call fcn.10025150
cmp byte [rsi + 0x18], 0
jne 0x1000c985
xor ecx, ecx
lea rax, [rsp + 0x50]
lea r8, [0x10007d70]
mov qword [rsp + 0x28], rax
mov r9, rsi
xor edx, edx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x50], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov ecx, dword [rsp + 0x50]
mov qword [rsi + 0x10], rax
mov dword [rsi + 8], ecx
jne 0x1000c997
xor ecx, ecx
call fcn.100205e0
lea rdx, [0x100466c0]
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.10027af0
lea r8, [rsi + 0x1a]
lea rdx, str._comm__create_thread__s__failed:__s
mov r9, rbx
mov rcx, rax
call fcn.10027bf0
mov al, 1
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
add rsp, 0x48
ret
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x1000c997
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
add rsp, 0x48
ret
mov rcx, qword [0x10058a98]
lea rdx, str.session_connection_failed
call fcn.10025150
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
xor al, al
add rsp, 0x48
ret
Function at 0x1000cfb0
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
sub rsp, 0x168
mov rax, qword [0x10058650]
mov qword [rsp + 0x140], rax
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rsi
mov rsi, r8
mov rbx, rdx
lea rcx, [rsp + 0x31]
mov r8d, 0x103
xor edx, edx
mov qword [r11 - 0x10], rdi
mov byte [rsp + 0x30], 0
call sub.msvcrt.dll_memset
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x1000d02f
lea r8, [rcx - 1]
lea rcx, [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.msvcrt.dll_strncpy]
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
mov byte [rsp + rcx + 0x2e], al
lea rcx, [rsp + 0x30]
mov r8d, 0x104
mov rdx, rbx
call fcn.10027450
xor ebx, ebx
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x24], ebx
mov qword [rsp + 0x28], rbx
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [rsp + 0x20], eax
jle 0x1000d0d0
movsxd rcx, eax
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r8d, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rax
xor edx, edx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000d0a8
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [0x10046c64]
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1000d0af
test rdi, rdi
je 0x1000d0d0
jmp 0x1000d0c8
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_gethostbyname
call sub.msvcrt.dll_memcpy
movzx edx, word [rdi + 0xa]
mov dword [rsi], edx
mov rcx, rdi
call fcn.10041bb0
mov rdi, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x188]
xor al, al
mov rcx, qword [rsp + 0x140]
call fcn.10042170
add rsp, 0x168
ret
Function at 0x1000d220
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
sub rsp, 0x3e8
mov rax, qword [0x10058650]
mov qword [rsp + 0x390], rax
test rdx, rdx
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x38], r14
movsxd r12, r9d
mov rbp, r8
mov r14, rdx
je 0x1000d470
test r8, r8
je 0x1000d470
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x30], r13
mov qword [r11 - 0x40], r15
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov qword [rsp + 0x3e0], rbx
mov sil, 0x41
mov r15d, eax
mov qword [rsp + 0x3c8], rdi
nop
nop
movsx edi, sil
lea ecx, [rdi - 0x41]
movzx eax, cl
bt r15d, eax
jae 0x1000d43b
mov edx, edi
mov rcx, r14
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x1000d43b
call fcn.100277e0
lea rcx, [rsp + 0x61]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x60], 0
mov ebx, eax
call sub.msvcrt.dll_memset
cmp ebx, 1
je 0x1000d403
cmp ebx, 2
je 0x1000d403
cmp ebx, 3
je 0x1000d403
xor eax, eax
lea r8, str._c:_
lea rcx, [rsp + 0x50]
lea edx, [rax + 0x10]
mov r9d, edi
mov byte [rsp + 0x50], 0
mov qword [rsp + 0x51], rax
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
call fcn.1001fe60
lea rcx, [rsp + 0x171]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x170], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x281]
xor edx, edx
mov r8d, 0x104
mov byte [rsp + 0x280], 0
call sub.msvcrt.dll_memset
xor ebx, ebx
lea ecx, [rbx + 1]
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x280]
lea r9, [rsp + 0x48]
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, 0x105
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea r9, [rsp + 0x170]
lea r8, str._s___c:__
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov dword [rsp + 0x20], edi
call qword [sym.imp.msvcrt.dll__snprintf]
test r12d, r12d
je 0x1000d43b
lea r8d, [r12 - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_strncat]
mov byte [r12 + rbp - 1], bl
jmp 0x1000d43b
lea r8, [0x10046c7c]
lea rcx, [rsp + 0x60]
mov r9d, edi
mov edx, 0x104
call qword [sym.imp.msvcrt.dll__snprintf]
test r12d, r12d
je 0x1000d43b
lea r8d, [r12 - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.msvcrt.dll_strncat]
mov byte [r12 + rbp - 1], 0
inc sil
cmp sil, 0x5a
jle 0x1000d290
mov r15, qword [rsp + 0x3a8]
mov r13, qword [rsp + 0x3b8]
mov rdi, qword [rsp + 0x3c8]
mov rsi, qword [rsp + 0x3d0]
mov rbx, qword [rsp + 0x3e0]
mov r14, qword [rsp + 0x3b0]
mov r12, qword [rsp + 0x3c0]
mov rbp, qword [rsp + 0x3d8]
mov rcx, qword [rsp + 0x390]
call fcn.10042170
add rsp, 0x3e8
ret
Function at 0x1000e3d0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov r11, rsp
sub rsp, 0xd8
mov rax, qword [0x10058650]
mov qword [rsp + 0xb0], rax
test rcx, rcx
mov qword [r11 + 0x20], rbx
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x18], rdi
mov ebx, r8d
mov rsi, rcx
mov rdi, rdx
je 0x1000e52b
test rdx, rdx
je 0x1000e52b
test r8d, r8d
je 0x1000e52b
xor eax, eax
mov qword [r11 - 8], rbp
xor ebp, ebp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], ebp
mov qword [r11 - 0x78], rax
movabs rax, 0x6400770070
lea r8, [rsp + 0x40]
lea rdx, [0x10046c78]
mov qword [r11 - 0x30], rax
xor eax, eax
lea rcx, [r11 - 0x70]
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x50], rbp
mov byte [rsp + 0x40], al
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const____ptr64__class_std::allocator_unsigned_short_int__const____ptr64____ptr64]
xor r11d, r11d
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x88]
mov rdx, rsi
mov byte [rsp + 0x40], r11b
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
lea rcx, [rsp + 0x68]
mov rdx, rax
call fcn.10008250
lea rcx, [rsp + 0x88]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
mov r11, qword [rsp + 0x70]
mov eax, dword [rsp + 0x78]
test r11, r11
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x58]
cmove r11, qword [sym.imp.msvcp60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____ptr64___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
add eax, eax
xor r9d, r9d
mov dword [rsp + 0x58], eax
lea rax, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x60], r11
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
mov rbp, qword [rsp + 0xd0]
test eax, eax
setne sil
test sil, sil
je 0x1000e510
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov r9d, ebx
mov r8, rdi
call fcn.1000d110
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rsp + 0x68]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void____ptr64]
mov al, sil
jmp 0x1000e52d
xor al, al
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xb0]
call fcn.10042170
add rsp, 0xd8
ret
Function at 0x1000f590
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
movzx eax, byte [r8]
mov rbx, rdx
mov r10, rcx
test eax, eax
mov r9d, 0x1505
je 0x1000f5c2
nop
nop
imul r9d, r9d, 0x21
inc r8
add r9d, eax
movzx eax, byte [r8]
test eax, eax
jne 0x1000f5b0
mov rcx, qword [rcx + 0x1e0]
mov rdx, qword [0x10058bc0]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1000f5f7
nop
nop
cmp dword [rax + 0x18], r9d
jae 0x1000f5ec
mov rax, qword [rax + 0x10]
jmp 0x1000f5f2
mov rcx, rax
mov rax, qword [rax]
cmp rax, rdx
jne 0x1000f5e0
mov rax, qword [r10 + 0x1e0]
mov qword [rsp + 0x30], rcx
cmp rcx, rax
je 0x1000f615
cmp r9d, dword [rcx + 0x18]
jb 0x1000f615
lea rdx, [rsp + 0x30]
jmp 0x1000f61f
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
mov rdx, qword [rdx]
mov rcx, rbx
cmp rdx, rax
je 0x1000f63d
add rdx, 0x20
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
xor eax, eax
lea r8, [rsp + 0x30]
lea rdx, [0x10046ff1]
mov byte [rsp + 0x30], al
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x10010e90
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x40
movzx r9d, byte [rdx]
mov r10, r8
mov rbx, rcx
test r9d, r9d
mov eax, 0x1505
je 0x10010ec2
nop
nop
imul eax, eax, 0x21
inc rdx
add eax, r9d
movzx r9d, byte [rdx]
test r9d, r9d
jne 0x10010eb0
mov dword [rsp + 0x58], eax
xor eax, eax
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x20]
mov rdx, r10
mov byte [rsp + 0x50], al
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const____ptr64__class_std::allocator_char__const____ptr64____ptr64]
lea rcx, [rbx + 0x1d8]
lea rdx, [rsp + 0x58]
call fcn.100141a0
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.msvcp60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcp60.dll_public:_void___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void____ptr64]
add rsp, 0x40
pop rbx
ret
Function at 0x10018ab0
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
sub rsp, 0x4b8
mov rax, qword [0x10058650]
mov qword [rsp + 0x480], rax
mov qword [r11 - 8], rbx
mov qword [r11 - 0x10], rbp
mov rbp, qword [rsp + 0x4e0]
xor eax, eax
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x20], rdi
mov rdi, rcx
mov rsi, r8
mov ebx, edx
mov qword [r11 - 0x28], r12
lea rcx, [r11 - 0x357]
xor edx, edx
mov r8d, 0x103
mov r12, r9
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x160], al
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], 0
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x270], 0
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x40]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x160]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea r9, [rsp + 0x160]
lea r8, str._s_s.lnk
lea rcx, [rsp + 0x50]
mov edx, 0x104
mov qword [rsp + 0x20], rsi
call fcn.1001fe60
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea r11, [rsp + 0x30]
lea r9, [0x10048128]
lea rcx, [0x10048138]
lea r8d, [rdx + 1]
mov qword [rsp + 0x20], r11
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rdi, qword [rsp + 0x498]
test eax, eax
mov rsi, qword [rsp + 0x4a0]
mov rbx, qword [rsp + 0x4b0]
jns 0x10018bea
mov eax, 0xffffffff
jmp 0x10018c95
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x10048148]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jns 0x10018c16
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, 0xfffffffe
jmp 0x10018c95
mov rcx, qword [rsp + 0x30]
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0xa0]
test rbp, rbp
je 0x10018c3a
mov rcx, qword [rsp + 0x30]
mov rdx, rbp
mov rax, qword [rcx]
call qword [rax + 0x58]
lea rax, [rsp + 0x270]
lea r8, [rsp + 0x50]
mov r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x270]
mov r8d, 1
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
xor eax, eax
mov r12, qword [rsp + 0x490]
mov rbp, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x480]
call fcn.10042170
add rsp, 0x4b8
ret