joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059790
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x20], 0
mov rbx, rcx
mov dword [rsp + 0x40], 1
jne 0x1400597e1
mov rax, qword [0x140178160]
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1400597d4
mov r8d, dword [rbx + 8]
mov edx, CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
mov r9, qword [rbx + 0x48]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400597f0
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov edx, dword [rcx + 8]
mov rcx, qword [0x1401776c8]
call fcn.14001b650
mov rdi, rax
test rax, rax
je 0x14005985d
lea r8, [rbx + 0x28]
mov qword [rbx + 0x48], rax
lea rdx, [rbx + 0x38]
mov rcx, rax
call fcn.140094dd0
mov rcx, qword [rbx + 0x48]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 8
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x14005985d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, dword [rbx + 8]
lea r9, str.Unable_to_set_SO_KEEPALIVE_socket_option___err__d_
mov rcx, qword [0x1401776d0]
mov edx, 2
mov dword [rsp + 0x20], eax
call fcn.1400a5ff0
mov rbx, qword [rsp + 0x48]
xor eax, eax
test rdi, rdi
setne al
add rsp, 0x30
pop rdi
ret

Function at 0x1400638d0
Capabilities:
Set registry value

Disassembly:
mov rcx, qword [rcx + 0x6b0]
test rcx, rcx
je 0x1400638f2
xor r9d, r9d
lea r8, str.JustUpdated
lea rdx, str.Main
jmp fcn.1400b4250
ret

Function at 0x14006f3a0
Capabilities:
Set registry value

Disassembly:
mov dword [rcx + 0x39c], edx
lea r8, str.GetWireVer
mov rcx, qword [rcx + 0x6b0]
mov r9d, edx
lea rdx, [0x14011ecc0]
jmp fcn.1400b4250
Function at 0x14007dd60
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x60
mov ebx, edx
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov dword [rsp + 0x40], 0
mov rcx, qword [0x1401776e0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov r8, rax
mov r9d, ebx
lea rdx, str._sgetwirequeue_lx
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov rcx, qword [0x1401776e0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov r8, rax
mov dword [rsp + 0x20], ebx
lea r9, str.GetWirequeue_bad
lea rdx, str._s_s_lx
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
nop
mov r8d, 3
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14007de4f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
lea r9, str.Error__d_moving__s_to__s
mov edx, 1
lea r8d, [rdx - 2]
mov rcx, qword [0x1401776d0]
call fcn.1400a5ff0
jmp 0x14007de57
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, dword [rsp + 0x40]
add rsp, 0x60
pop rbx
ret
Function at 0x140083da0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
movzx eax, byte [rdx]
mov rdi, rdx
mov ebx, 0xffffffff
test al, al
je 0x140083dee
mov qword [rsp + 0x30], rsi
lea rsi, [0x140172710]
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov ecx, eax
lea rdi, [rdi + 1]
mov eax, ebx
shr ebx, 8
xor rcx, rax
movzx eax, cl
xor ebx, dword [rsi + rax*4]
movzx eax, byte [rdi]
test al, al
jne 0x140083dc5
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140098fc0
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov esi, edx
mov rdi, rcx
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea r9, str.Incoming_WireMonitor_Connection__OnAccept___
mov edx, 5
lea r8d, [rdx - 8]
mov rcx, qword [0x1401776d0]
call fcn.1400a5ff0
mov ecx, 0x4f8
call sub.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140099022
mov rcx, rax
call fcn.140099180
mov rbx, rax
jmp 0x140099024
xor ebx, ebx
mov rax, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x28]
test eax, eax
je 0x1400990e2
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x70]
mov edx, 0xffff
mov r8d, 8
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rbx
call fcn.140099920
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call sub.mfc140u.dll_Ordinal_6091
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call sub.mfc140u.dll_Ordinal_6694
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, str.WireMonitor_Connection_Accepted__Peer:__s:_u__Local:__s:_u
mov edx, 5
lea r8d, [rdx - 8]
mov rcx, qword [0x1401776d0]
call fcn.1400a5ff0
jmp 0x14009911b
test rbx, rbx
je 0x14009911b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.ERROR:_WireMonitor_connection_refused__err:_d
mov edx, 2
lea r8d, [rdx - 5]
mov rcx, qword [0x1401776d0]
call fcn.1400a5ff0
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, esi
mov rcx, rdi
call sub.mfc140u.dll_CBasePane::m_bSetTooltipTopmost
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14009a310
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov eax, r9d
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14009a36f
mov qword [rsp + 0x28], r8
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov r8d, eax
xor edx, edx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov ebx, eax
test eax, eax
jne 0x14009a364
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rdi + 0x18]
lea rdx, str.Crypto:_Error__d_during_CryptDecrypt__BCrypto::Decrypt
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x14009a3c0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
call fcn.14009a380
xor esi, esi
mov dword [rsp + 0x20], esi
lea r9d, [rsi + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rdi + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14009a44f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x14009a421
mov dword [rsp + 0x20], 8
lea r9d, [rsi + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rdi + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x14009a44f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rdi + 0x18]
lea rdx, str.Crypto:_Error__d_during_CryptAcquireContext__::Initialize
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov qword [rdi + 0x10], rsi
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14009a4a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rdi + 0x18]
lea rdx, str.Crypto:_Error__d_during_CryptCreateHash__::Initialize
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov rax, qword [rbx]
mov edx, dword [rax - 0x10]
mov rcx, rbx
call fcn.14009d9a0
mov dword [rdi + 0x20], eax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
nop
mov rax, qword [rsp + 0x60]
mov ebx, dword [rax - 0x10]
mov edx, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rdx, rax
xor r9d, r9d
mov r8d, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x14009a511
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rdi + 0x18]
lea rdx, str.Crypto:_Error__d_during_CryptHashData__::Initialize
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rbx, [rdi + 8]
jmp 0x14009a552
lea rbx, [rdi + 8]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov edx, 0x6801
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x14009a552
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rdi + 0x18]
lea rdx, str.Crypto:_Error__d_during_CryptDeriveKey__::Initialize
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov qword [rbx], rsi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14009a562
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp qword [rbx], 0
setne sil
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, esi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14009c7a0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x6a0
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rsp + Ordinal_1681], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x272]
mov word [rsp + 0x270], di
xor edx, edx
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, SerializeElements<ATL::CStringT<char,StrTraitMFC_DLL<char,ATL::ChTraitsCRT<char>
lea rcx, [rsp + 0x480]
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rdx, [rsp + 0x20]
mov word [rsp + COleCurrency::operator>], di
lea rcx, [rsp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x14009c9b3
lea r8d, [rdi + 2]
lea rdx, [0x14010dda8]
lea rcx, [rsp + 0x480]
lea rbx, [rsp + 0x480]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
jne 0x14009c889
movzx ecx, word [rbx]
test cx, cx
je 0x14009c85f
cmp cx, 0x5c
lea eax, [rdi + 1]
cmovne eax, edi
add rbx, 2
mov edi, eax
cmp eax, 4
jl 0x14009c842
lea rcx, [rsp + 0x480]
mov rax, rbx
sub rax, rcx
lea rdx, [rsp + 0x480]
sar rax, 1
lea rcx, [rsp + 0x270]
movsxd r8, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
xor r8d, r8d
lea rdx, [0x1400f6ad4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok]
mov r8, rax
test rax, rax
je 0x14009c9bc
nop dword [rax + rax]
cmp word [rsp + 0x270], 0
jne 0x14009c904
lea rcx, [rsp + 0x270]
sub rcx, 2
nop word [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x14009c8d0
lea r9, [rsp + 0x480]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r9 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14009c8f0
jmp 0x14009c932
lea rax, [rsp + 0x270]
sub rax, 2
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x14009c910
xor edx, edx
nop dword [rax]
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x14009c920
cmp word [r8 + 2], 0x3a
je 0x14009c972
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x14009c969
xor edx, edx
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14009c972
jmp 0x14009c9c1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x270]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x14009c980
mov eax, dword [0x1400f6ad4]
lea rdx, [0x1400f6ad4]
mov dword [rcx], eax
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcstok]
mov r8, rax
test rax, rax
jne 0x14009c8b0
jmp 0x14009c9bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rcx, qword [rsp + 0x690]
xor rcx, rsp
call fcn.1400c7c30
mov rbx, qword [rsp + 0x6b8]
add rsp, 0x6a0
pop rdi
ret
Function at 0x14009cc20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov edi, r8d
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14009cc70
test ebx, ebx
jne 0x14009cc98
lea rdx, [0x1400f692c]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
mov dword [rsp + 0x20], 1
jmp 0x14009cda0
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char_]
nop
mov dword [rbp - 0x79], edi
lea eax, [rdi + rdi]
mov dword [rbp - 0x75], eax
add eax, eax
mov dword [rbp - 0x71], eax
add eax, eax
mov dword [rbp - 0x6d], eax
add eax, eax
mov dword [rbp - 0x69], eax
add eax, eax
mov dword [rbp - 0x65], eax
add eax, eax
mov dword [rbp - 0x61], eax
add eax, eax
mov dword [rbp - 0x5d], eax
add eax, eax
mov dword [rbp - 0x59], eax
add eax, eax
mov dword [rbp - 0x55], eax
add eax, eax
mov dword [rbp - 0x51], eax
add eax, eax
mov dword [rbp - 0x4d], eax
add eax, eax
mov dword [rbp - 0x49], eax
add eax, eax
mov dword [rbp - 0x45], eax
add eax, eax
mov dword [rbp - 0x41], eax
add eax, eax
mov dword [rbp - 0x3d], eax
add eax, eax
mov dword [rbp - 0x39], eax
add eax, eax
mov dword [rbp - 0x35], eax
add eax, eax
mov dword [rbp - 0x31], eax
add eax, eax
mov dword [rbp - 0x2d], eax
add eax, eax
mov dword [rbp - 0x29], eax
add eax, eax
mov dword [rbp - 0x25], eax
add eax, eax
mov dword [rbp - 0x21], eax
add eax, eax
mov dword [rbp - 0x1d], eax
add eax, eax
mov dword [rbp - 0x19], eax
add eax, eax
mov dword [rbp - 0x15], eax
add eax, eax
mov dword [rbp - 0x11], eax
add eax, eax
mov dword [rbp - 0xd], eax
add eax, eax
mov dword [rbp - 9], eax
add eax, eax
mov dword [rbp - 5], eax
add eax, eax
mov dword [rbp - 1], eax
add eax, eax
mov dword [rbp + 3], eax
xor esi, esi
movsxd r12, ebx
test ebx, ebx
jle 0x14009cd7f
xor edi, edi
xor eax, eax
xor ebx, ebx
cmp rax, 0x7f
cmovle rbx, rax
movzx r8d, byte [rbp + rbx - 0x79]
xor r8b, byte [r14 + rdi]
mov edx, esi
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_COleClientItem::Run]
inc esi
inc rdi
lea rax, [rbx + 1]
cmp rdi, r12
jl 0x14009cd50
lea rdx, [rsp + 0x28]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_ATL::CStringT_char_StrTraitMFC_DLL_char_ATL::ChTraitsCRT_char__1]
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XImage::XImage]
mov rax, r15
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400c7c30
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14009cdd0
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
xor r8d, r8d
mov rbp, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14009ce2f
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, edi
jge 0x14009ce31
cmp eax, 0x20
jne 0x14009ce31
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
inc ebx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14009ce00
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14009d9a0
Capabilities:
Hash data with crc32

Disassembly:
mov rcx, qword [rcx]
mov r8d, edx
mov edx, dword [rcx - 0x10]
jmp 0x14009d9b0
test edx, edx
je 0x14009d9df
lea r10, [0x140172cc0]
nop dword [rax + rax]
movzx r9d, byte [rcx]
lea rcx, [rcx + 2]
mov eax, r8d
shr r8d, 8
xor r9, rax
movzx eax, r9b
xor r8d, dword [r10 + rax*4]
add edx, 0xffffffff
jne 0x14009d9c0
mov eax, r8d
ret

Function at 0x14009de40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x1030
call fcn.1400c83e0
sub rsp, rax
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov ebx, edx
mov rdi, rcx
xor eax, eax
lea rcx, [rsp + 0x22]
xor edx, edx
mov word [rsp + 0x20], ax
mov r8d, COleBusyDialog::DoModal
call sub.VCRUNTIME140.dll_memset
test ebx, ebx
je 0x14009dea2
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x800
jbe 0x14009dea2
xor eax, eax
jmp 0x14009deda
mov edx, 0x1cc
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
xor r8d, r8d
lea rdx, [0x140133120]
mov r9, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edx, 0xffffffff
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov eax, ebx
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400c7c30
mov rbx, qword [rsp + 0x1048]
add rsp, 0x1030
pop rdi
ret
Function at 0x14009e0d0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
xor eax, eax
mov word [rsp + 0x30], ax
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x32]
call sub.VCRUNTIME140.dll_memset
lea rdx, [case.0x14009db83.3]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, [case.0x14009db83.3]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov dword [rsp + 0x20], 0x200
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14009e185
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov dword [rsp + 0x20], 0x200
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14009e21a
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test esi, esi
je 0x14009e21a
mov edx, 0x2e
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CPaneFrameWnd::EnterDragMode]
test eax, eax
jle 0x14009e21a
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMouseManager::LoadState]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400c7c30
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14009f3b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 0x60], 0
mov edi, r8d
mov rsi, rdx
mov dword [rsp + 0x34], 0
mov rbx, rcx
jne 0x14009f45c
mov rcx, qword [rcx + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14009f3fd
or dword [rbx + 0x4c], eax
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x14009f48c
mov rcx, qword [rbx + 0x30]
lea r9, [rsp + 0x34]
cmp eax, edi
mov rdx, rsi
cmovb edi, eax
mov rax, qword [rbx + 0x20]
mov r8d, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14009f460
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp eax, 0x3e5
je 0x14009f460
mov rcx, qword [rbx + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [rsp + 0x30]
or dword [rbx + 0x4c], eax
xor eax, eax
jmp 0x14009f490
cmp dword [rsp + 0x34], edi
jae 0x14009f48c
mov rdx, qword [rbx + 0x20]
lea r8, [rsp + 0x34]
mov rcx, qword [rbx + 0x30]
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x14009f48c
call qword [sym.imp.KERNEL32.dll_GetLastError]
or dword [rbx + 0x4c], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c7c30
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14009f650
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140174940]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 0x60], 0
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x14009f6e4
mov rcx, qword [rcx + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
or dword [rbx + 0x4c], eax
mov r8d, edi
mov rax, qword [rbx + 0x20]
mov rdx, rsi
mov rcx, qword [rbx + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14009f6ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
cmp eax, 0x3e5
je 0x14009f6fb
mov rcx, qword [rbx + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [rsp + 0x30]
or dword [rbx + 0x4c], eax
cmp eax, 6
jne 0x14009f6ff
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c7c30
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov eax, edi
jmp 0x14009f6e6
mov eax, dword [rsp + 0x34]
cmp eax, edi
jae 0x14009f6e6
mov dword [rbx + 0x14], 0xfffffcdb
jmp 0x14009f6e6
Function at 0x1400a6760
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0xc8]
test rcx, rcx
je 0x1400a67a3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
xor edx, edx
mov rcx, rbx
call fcn.1400a6b40
jmp 0x1400a67b5
xor r8d, r8d
mov rcx, qword [rbx + 0xb8]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
mov eax, edi
jmp 0x1400a67bb
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400ac080
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
movzx edx, word [rcx]
mov r9, rcx
mov eax, 0x62776821
test dx, dx
je 0x1400ac0c4
lea r10, [0x140173520]
nop word [rax + rax]
movzx r8d, dl
lea r9, [r9 + 2]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx ecx, r8b
xor eax, dword [r10 + rcx*4]
movzx ecx, word [r9]
movzx edx, cl
test cx, cx
jne 0x1400ac0a0
ret