joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007d50
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0x18], 0
mov qword [rsp + 0x58], rdi
mov rdi, rcx
jne 0x10007ddd
xor ecx, ecx
lea rax, [rsp + 0x40]
lea r8, [0x10007b70]
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 0x10007def
xor ecx, ecx
mov qword [rsp + 0x50], rbx
call fcn.10021fa0
lea rdx, [0x100497d8]
lea rcx, [rsp + 0x48]
mov rbx, rax
call fcn.100277d0
lea r8, [rdi + 0x1a]
lea rdx, str._comm__create_thread__s__failed:__s
mov r9, rbx
mov rcx, rax
call fcn.100278d0
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret
mov rcx, qword [rcx + 0xa0]
test rcx, rcx
je 0x10007def
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret

Function at 0x10007e00
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x18], 0
mov qword [rsp + 0x40], rbx
mov rbx, rcx
je 0x10007e28
mov byte [rcx + 0x18], 0
mov rcx, qword [rcx + 0xa0]
test rcx, rcx
je 0x10007e28
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x10007ed8
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10007ed8
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 0x10007ed3
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 0x10007ed3
lea rax, [0x10049790]
mov rcx, rbx
mov byte [rbx + 0x18], dil
mov qword [rbx], rax
call fcn.10007e00
mov qword [rbx + 0x10], rdi
mov dword [rbx + 8], edi
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x10007ec4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
mov qword [rbx + 0xa0], rdi
call fcn.100449c0
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret
Function at 0x1000c100
Capabilities:
Terminate thread

Disassembly:
sub rsp, 0x28
lea rax, [0x10049c00]
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.1002db30
cmp byte [rbx + 0x18], 0
je 0x1000c147
mov byte [rbx + 0x18], 0
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1000c147
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x40], rsi
xor esi, esi
test rcx, rcx
je 0x1000c1b5
lea edx, [rsi + 0x64]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000c1b5
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 0x1000c1b5
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 0x1000c1b5
lea edx, [rsi + 1]
mov rcx, rbx
call fcn.10005990
lea rcx, [rbx + 0xa8]
call fcn.1002e750
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rsp + 0x48]
test rcx, rcx
lea r11, [0x10049790]
mov byte [rbx + 0x18], sil
mov qword [rbx], r11
je 0x1000c23f
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1000c23f
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 0x1000c23f
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 0x1000c23f
mov edx, 1
mov rcx, rbx
call fcn.10005990
mov qword [rbx + 0x10], rsi
mov dword [rbx + 8], esi
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1000c258
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 0x1000c660
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.1002db30
mov rcx, qword [0x1005da98]
lea rdx, str.Starting_session_connection
call fcn.10021be0
call fcn.1000c280
mov rcx, qword [0x1005da98]
lea rdx, str.connect_begin
mov ebx, eax
call fcn.10021be0
lea rdx, [0x10049ba0]
mov r8d, ebx
mov rcx, rdi
call fcn.1002e370
mov rcx, qword [0x1005da98]
lea rdx, str.connect_end
movzx edi, al
call fcn.10021be0
test ebx, ebx
jle 0x1000c7ad
test dil, dil
je 0x1000c7ad
mov rcx, qword [0x1005da98]
lea rdx, str.session_connection_succeed
call fcn.10021be0
cmp byte [rsi + 0x18], 0
jne 0x1000c785
xor ecx, ecx
lea rax, [rsp + 0x50]
lea r8, [0x10007b70]
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 0x1000c797
xor ecx, ecx
call fcn.10021fa0
lea rdx, [0x100497d8]
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.100277d0
lea r8, [rsi + 0x1a]
lea rdx, str._comm__create_thread__s__failed:__s
mov r9, rbx
mov rcx, rax
call fcn.100278d0
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 0x1000c797
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 [0x1005da98]
lea rdx, str.session_connection_failed
call fcn.10021be0
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
xor al, al
add rsp, 0x48
ret
Function at 0x1000cdb0
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
sub rsp, 0x168
mov rax, qword [0x1005d650]
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 0x1000ce2f
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.10027130
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 0x1000ced0
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 0x1000cea8
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [0x10049e0c]
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1000ceaf
test rdi, rdi
je 0x1000ced0
jmp 0x1000cec8
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.100449c0
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.10044fa0
add rsp, 0x168
ret
Function at 0x1000d020
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
sub rsp, 0x3e8
mov rax, qword [0x1005d650]
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 0x1000d270
test r8, r8
je 0x1000d270
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 0x1000d23b
mov edx, edi
mov rcx, r14
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x1000d23b
call fcn.100274c0
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 0x1000d203
cmp ebx, 2
je 0x1000d203
cmp ebx, 3
je 0x1000d203
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.1001ff70
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 0x1000d23b
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 0x1000d23b
lea r8, [0x10049e24]
lea rcx, [rsp + 0x60]
mov r9d, edi
mov edx, 0x104
call qword [sym.imp.msvcrt.dll__snprintf]
test r12d, r12d
je 0x1000d23b
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 0x1000d090
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.10044fa0
add rsp, 0x3e8
ret
Function at 0x1000d920
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
sub rsp, 0x2a8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 8], r12
mov rax, qword [0x1005d650]
mov qword [rsp + 0x290], rax
mov rdi, rcx
mov byte [rsp + 0x180], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [r11 - 0x127]
call sub.msvcrt.dll_memset
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x71]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x180]
lea rcx, str.ALLUSERSPROFILE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea r9, [rsp + 0x180]
lea r8, str._s_allservices.txt
mov edx, 0x104
lea rcx, [rsp + 0x70]
call fcn.1001ff70
nop
lea rdx, [0x10049d4c]
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_fopen]
mov rsi, rax
test rax, rax
je 0x1000da7a
mov rbx, qword [rdi + 0x28]
mov qword [rsp + 0x40], rbx
lea r12, [0x10049d50]
cmp rbx, qword [rdi + 0x30]
je 0x1000da7a
lea rax, [rbx + 0x73c]
lea rcx, [rbx + 0x23c]
lea rdx, [rbx + 0x1bc]
lea r9, str.Proxy
cmp dword [rbx + 0x2c], 1
cmove r9, r12
lea r8, [rbx + 0x13c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rdx, str.name:_s_ntype:_s_naddress:_s_nip:_s_nport:_s_n_n
lea rcx, [rsp + 0x50]
call fcn.100021a0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
cmove rcx, qword [sym.imp.msvcp60.dll_char_const__private:_static_char_const____ptr64___cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov rdx, rsi
call qword [sym.imp.msvcrt.dll_fputs]
lea rcx, [rsp + 0x50]
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 rbx, 0x1fa0
mov qword [rsp + 0x40], rbx
jmp 0x1000d9f0
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fclose]
nop
lea r8, [rsp + 0x70]
lea rdx, str.Save_Service_List_File_Path:__s_
mov rcx, qword [0x1005da98]
call fcn.10021cd0
mov rcx, qword [rsp + 0x290]
call fcn.10044fa0
mov rbx, qword [rsp + 0x2b8]
mov rsi, qword [rsp + 0x2c0]
mov rdi, qword [rsp + 0x2c8]
mov r12, qword [rsp + 0x2a0]
add rsp, 0x2a8
ret
Function at 0x1000e790
Capabilities:
Encrypt data using dpapi

Disassembly:
mov r11, rsp
sub rsp, 0xd8
mov rax, qword [0x1005d650]
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 0x1000e8eb
test rdx, rdx
je 0x1000e8eb
test r8d, r8d
je 0x1000e8eb
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, [0x10049e20]
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.10008050
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 0x1000e8d0
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov r9d, ebx
mov r8, rdi
call fcn.1000cf10
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 0x1000e8ed
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.10044fa0
add rsp, 0xd8
ret
Function at 0x1000f980
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 0x1000f9b2
nop
nop
imul r9d, r9d, 0x21
inc r8
add r9d, eax
movzx eax, byte [r8]
test eax, eax
jne 0x1000f9a0
mov rcx, qword [rcx + 0x200]
mov rdx, qword [0x1005dbb8]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1000f9e7
nop
nop
cmp dword [rax + 0x18], r9d
jae 0x1000f9dc
mov rax, qword [rax + 0x10]
jmp 0x1000f9e2
mov rcx, rax
mov rax, qword [rax]
cmp rax, rdx
jne 0x1000f9d0
mov rax, qword [r10 + 0x200]
mov qword [rsp + 0x30], rcx
cmp rcx, rax
je 0x1000fa05
cmp r9d, dword [rcx + 0x18]
jb 0x1000fa05
lea rdx, [rsp + 0x30]
jmp 0x1000fa0f
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
mov rdx, qword [rdx]
mov rcx, rbx
cmp rdx, rax
je 0x1000fa2d
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, [0x1004a1c1]
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 0x100113a0
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 0x100113d2
nop
nop
imul eax, eax, 0x21
inc rdx
add eax, r9d
movzx r9d, byte [rdx]
test r9d, r9d
jne 0x100113c0
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 + 0x1f8]
lea rdx, [rsp + 0x58]
call fcn.10014270
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 0x10018cd0
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
sub rsp, 0x4b8
mov rax, qword [0x1005d650]
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.1001ff70
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea r11, [rsp + 0x30]
lea r9, [0x1004b338]
lea rcx, [0x1004b348]
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 0x10018e0a
mov eax, 0xffffffff
jmp 0x10018eb5
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x1004b358]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jns 0x10018e36
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, 0xfffffffe
jmp 0x10018eb5
mov rcx, qword [rsp + 0x30]
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0xa0]
test rbp, rbp
je 0x10018e5a
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.10044fa0
add rsp, 0x4b8
ret
Function at 0x1001ed60
Capabilities:
Terminate process
Terminate thread

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x1005d3c8]
test rcx, rcx
je 0x1001ed78
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp byte [0x1005d328], 0
je 0x1001ed9a
mov rcx, qword [0x1005d3b0]
mov byte [0x1005d328], 0
test rcx, rcx
je 0x1001ed9a
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x1005d320]
mov qword [rsp + 0x40], rbx
xor ebx, ebx
test rcx, rcx
mov qword [rsp + 0x48], rdi
lea rdi, [0x10049790]
je 0x1001ee6f
lea edx, [rbx + 0x64]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001ee6f
mov rcx, qword [0x1005d320]
lea rdx, [rsp + 0x38]
mov byte [0x1005d328], bl
mov dword [rsp + 0x38], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x38], 0x103
jne 0x1001ee6f
mov rcx, qword [0x1005d320]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x1005d320]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1005d329], bl
mov dword [0x1005d318], ebx
je 0x1001ee6f
lea rcx, [0x1005d310]
mov qword [0x1005d310], rdi
mov byte [0x1005d328], bl
call fcn.10007e00
mov rcx, qword [0x1005d3b0]
mov qword [0x1005d320], rbx
test rcx, rcx
mov dword [0x1005d318], ebx
je 0x1001ee5c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x1005d310]
mov qword [0x1005d3b0], rbx
call fcn.100449c0
mov rcx, qword [0x1005d498]
test rcx, rcx
je 0x1001ee83
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp byte [0x1005d3f8], bl
je 0x1001eea3
mov rcx, qword [0x1005d480]
mov byte [0x1005d3f8], bl
test rcx, rcx
je 0x1001eea3
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x1005d3f0]
test rcx, rcx
je 0x1001ef67
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001ef67
mov rcx, qword [0x1005d3f0]
lea rdx, [rsp + 0x38]
mov byte [0x1005d3f8], bl
mov dword [rsp + 0x38], ebx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x38], 0x103
jne 0x1001ef67
mov rcx, qword [0x1005d3f0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x1005d3f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1005d3f9], bl
mov dword [0x1005d3e8], ebx
je 0x1001ef67
lea rcx, [0x1005d3e0]
mov qword [0x1005d3e0], rdi
mov byte [0x1005d3f8], bl
call fcn.10007e00
mov rcx, qword [0x1005d480]
mov qword [0x1005d3f0], rbx
test rcx, rcx
mov dword [0x1005d3e8], ebx
je 0x1001ef54
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x1005d3e0]
mov qword [0x1005d480], rbx
call fcn.100449c0
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret