joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013b480
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14013b628
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14013b4e5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14013b4e5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14013b4e5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14013b51c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14013b572
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14013b572
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14013b572
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14013b572
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14013b572
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14013af30
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14013b5d4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140117590
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14013b300
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14013b620
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140117590
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14013cd90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1406b92c0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14013ce25
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14013ce86
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140117590
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14028f750
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14013cf41
sub ecx, 1
je 0x14013cfb4
sub ecx, 1
je 0x14013cef0
cmp ecx, 1
je 0x14013ced3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1404fab84]
call fcn.140117590
jmp 0x14013cfb4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14013cac0
test eax, eax
je 0x14013cfb4
jmp 0x14013ce5a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14013cfb4
sub rax, rsi
cmp rax, rbp
jae 0x14013cfb4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140117710
jmp 0x14013cfb4
cmp r8d, 4
jle 0x14013cfb4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14013cfb4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1401174b0
mov esi, eax
test eax, eax
je 0x14013cf93
mov edx, 5
mov rcx, rbx
call fcn.14013da80
mov eax, esi
jmp 0x14013ce5a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140125eb0
mov rcx, r14
call fcn.140126190
test eax, eax
je 0x14013ce58
mov edx, 5
mov rcx, rbx
call fcn.14013da80
mov eax, Ordinal_46
jmp 0x14013ce5a
Function at 0x14014fd50
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14014fd92
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14014fdd9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14014fe32
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x14014fdf0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14014fe73
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1402b4b8b]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1402b4b8c]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14014fe40
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14019d5d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x48
movsx eax, byte [rsp + 0x58]
and eax, 1
mov dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x60]
mov ecx, eax
call fcn.14019d020
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x58]
and eax, 0xf
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x14019d620
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 3
ja 0x14019d6a3
movsx eax, byte [rsp + 0x60]
mov ecx, dword [rsp + 0x24]
sar eax, cl
and eax, 1
cmp eax, dword [rsp + 0x34]
jne 0x14019d645
mov dword [rsp + 0x28], 1
jmp 0x14019d64d
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x14019d65e
mov dword [rsp + 0x2c], 0
jmp 0x14019d666
mov dword [rsp + 0x2c], 1
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14019d689
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14019d460
jmp 0x14019d69e
movzx eax, byte [rsp + 0x20]
xor eax, 1
movzx edx, al
mov rcx, qword [rsp + 0x50]
call fcn.14019d460
jmp 0x14019d616
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
call fcn.14019d460
add rsp, 0x48
ret
Function at 0x14028e4d8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14028e512
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14028e517
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14028e560
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14028e560
dec r8
sub rdx, 1
jne 0x14028e546
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14028f224
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14028e73c
mov ebx, eax
test eax, eax
jne 0x14028f254
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14028f2b7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14028f2ae
test al, 0x10
je 0x14028f2ae
bt eax, 0xa
jae 0x14028f2a7
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14028f2d4
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14028f2a3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14028f2a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14028f2ae
and dword [rsp + 0x3c], 0
jmp 0x14028f2b3
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140290804
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14029084e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14029084e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14029084e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14029084e
cmp dword [rcx + 0x84], 0xe
jbe 0x14029084e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140290850
xor al, al
add rsp, 0x28
ret
Function at 0xa5ff10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xa5ff1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xa5ff2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xa5ff15
lea eax, [rcx + 1]
jmp 0xa5ff3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xa5ff4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xa5ff34
sub eax, 3
jb 0xa5ff6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xa5ffbd
sar eax, 1
movsxd rbp, eax
jb 0xa5ffa4
jmp 0xa5ff7c
add ebx, ebx
jne 0xa5ff7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa5ffa4
inc ecx
add ebx, ebx
jne 0xa5ff8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xa5ffa4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xa5ff9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xa5ff8c
add ecx, 2
jmp 0xa5ffa9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00a5fed2
jmp 0xa5ff1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xbb600
mov dl, 0x1c
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xa60009
cmp rsi, rcx
jae 0xa60011
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xa5fff0
cmp al, 0x8f
ja 0xa5fff0
cmp byte [rsi - 2], 0xf
je 0xa5fff6
sub al, 0xe8
cmp al, 1
ja 0xa5ffda
cmp rsi, rcx
jae 0xa60011
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xa5ffe0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xa60011
lodsb al, byte [rsi]
jmp 0xa5fff0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x65b000]
mov eax, dword [rdi]
or eax, eax
je 0xa6006e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x660000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xa6001e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xa60068
mov qword [rbx], rax
add rbx, 8
jmp 0xa6003e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xa600b2
cmp al, 0xef
ja 0xa6009a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xa6007a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xa60089
mov eax, dword [rdi]
add rdi, 4
jmp 0xa60089
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xa60106
sub rsp, 0xffffffffffffff80
jmp 0x46a180
Function at 0x1400068c0
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, rcx
lea rax, vtable.CCrypto.0
mov qword [rcx], rax
add rcx, 8
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
xor ebp, ebp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
lea r14, [rbx + 0x20]
mov qword [r14], rbp
lea rcx, [rbx + 0x28]
mov edx, 0x400
call sub.mfc140u.dll_CMapStringToString::CMapStringToString
nop
lea rdx, [case.0x14009db83.3]
lea rcx, [rbx + 8]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov dword [rsp + 0x20], ebp
lea r9d, [rbp + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140006969
mov dword [rsp + 0x20], 8
lea r9d, [rbp + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140006969
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CCrypto::CCrypto__CryptAcquireContext_PROV_RSA_FULL__retuned_error__x
jmp 0x140006994
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1400069a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CCrypto::CCrypto__CryptCreateHash_CALG_MD5__retuned_error__x
mov r8d, eax
lea rcx, [rbx + 8]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
nop
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140006c80
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
lea rdx, [case.0x14009db83.3]
add rcx, 8
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
cmp qword [rsi + 0x10], 0
je 0x140006dcd
lea r14, [rsi + 0x20]
mov rcx, qword [r14]
test rcx, rcx
je 0x140006dcd
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x140006cee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CCrypto::DeriveKey__CryptDestroyHash_retuned_error__x
lea rcx, [rsi + 8]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov qword [r14], 0
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8003
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140006d32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CCrypto::DeriveKey__CryptCreateHash_CALG_MD5__retuned_error__x
lea rcx, [rsi + 8]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
jmp 0x140006ddf
lea r15, [rsi + 0x18]
mov rcx, qword [r15]
test rcx, rcx
je 0x140006d69
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test eax, eax
je 0x140006d62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CCrypto::DeriveKey__CryptDestroyKey_retuned_error__x
lea rcx, [rsi + 8]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
mov qword [r15], 0
mov rdx, qword [rbx]
mov r8d, dword [rdx - 0x10]
add r8d, r8d
xor r9d, r9d
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140006d13
mov qword [rsp + 0x20], r15
mov r9d, 1
mov r8, qword [r14]
mov edx, 0x6602
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x140006dc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CCrypto::DeriveKey__CryptDeriveKey_CALG_RC2__return_error__x
lea rcx, [rsi + 8]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
jmp 0x140006ddf
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, 1
jmp 0x140006dea
lea rdx, str.CCrypto::DeriveKey__m_hCryptProv_and_or_m_hHash_are_NULL
lea rcx, [rsi + 8]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140006fc0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x28]
mov rbx, rdx
mov rbp, rcx
xor edx, edx
add rcx, 0x28
call qword [rax + VarBstrFromDisp]
mov rax, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call qword [rax + 0x88]
mov rax, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
call qword [rax + 0xa8]
lea rcx, [rbp + 0x28]
call sub.mfc140u.dll_CDaoFieldExchange::Default
mov ecx, dword [rbx + 0x10]
mov rsi, rax
xor r9d, r9d
mov dword [rsp + 0x40], ecx
mov rcx, qword [rbp + 0x18]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rsi
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x14000706f
mov rcx, rsi
call sub.mfc140u.dll_operator_1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, dword [rsp + 0x40]
lea rcx, [rbp + 8]
mov r8d, eax
lea rdx, str.CCrypto::InternalDecrypt__::CryptDecrypt_returned_error__x__data_len___d
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
xor al, al
jmp 0x1400070bc
mov rax, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
mov edx, dword [rsp + 0x40]
call qword [rax + VarBstrFromDisp]
mov rax, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
mov r8d, dword [rsp + 0x40]
mov rdx, rsi
call qword [rax + 0x88]
mov rax, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
call qword [rax + 0xa8]
mov rax, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x68]
mov rcx, rsi
call sub.mfc140u.dll_operator_1
mov al, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400070e0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [rcx + 0x28]
mov r14, rcx
add rcx, 0x28
mov rbp, rdx
call qword [rax + 0x78]
mov r8, qword [r14 + 0x28]
lea rcx, [r14 + 0x28]
mov rbx, rax
lea rdi, [rax + rax]
mov rdx, rdi
call qword [r8 + VarBstrFromDisp]
lea rcx, [r14 + 0x28]
call sub.mfc140u.dll_CDaoFieldExchange::Default
mov rcx, qword [r14 + 0x18]
mov rsi, rax
xor r9d, r9d
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rsi
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x14000717e
mov rcx, rsi
call sub.mfc140u.dll_operator_1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, dword [rsp + 0x60]
lea rcx, [r14 + 8]
mov r8d, eax
lea rdx, str.CCrypto::InternalEncrypt__::CryptEncrypt_returned_error__x__data_len___d
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
xor al, al
jmp 0x1400071ba
xor edx, edx
mov rcx, rbp
lea r8, [rdx - 1]
call sub.mfc140u.dll_CMFCToolTipCtrl::SetHotRibbonButton
mov edx, dword [rsp + 0x60]
mov r8, 0xffffffffffffffff
mov rcx, rbp
call sub.mfc140u.dll_CMFCToolTipCtrl::SetHotRibbonButton
mov r8d, dword [rsp + 0x60]
mov rdx, rsi
mov rcx, qword [rbp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call sub.mfc140u.dll_operator_1
mov al, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140013aa0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140013c58
nop dword [rax + rax]
cmp ecx, 0x7c
je 0x140013c58
cmp ecx, 0x29
jne 0x140013aed
cmp dword [rbx + 0x1c], 0
jne 0x140013c58
test dword [rbx + 0x80], 0x10000000
je 0x140013c71
jmp 0x140013c2d
cmp ecx, 0x2e
jne 0x140013b00
lea rcx, [rbx + 0x40]
call fcn.140013230
jmp 0x140013c3a
cmp ecx, 0x5c
jne 0x140013b68
mov rcx, rbx
call fcn.1400169e0
test byte [rbx + 0x80], 0x80
je 0x140013b5b
movzx eax, word [rbx + 0x78]
cmp ax, 0x62
jne 0x140013b36
lea rcx, [rbx + 0x40]
call fcn.140013a90
mov rcx, rbx
call fcn.1400169e0
jmp 0x140013c4a
cmp ax, 0x42
jne 0x140013b5b
lea rcx, [rbx + 0x40]
call fcn.140013a90
lea rcx, [rbx + 0x40]
call fcn.140016970
mov rcx, rbx
call fcn.1400169e0
jmp 0x140013c4a
mov rcx, rbx
call fcn.140013ca0
jmp 0x140013c42
cmp ecx, 0x5b
jne 0x140013b93
mov rcx, rbx
call fcn.1400169e0
mov rcx, rbx
call fcn.1400143d0
mov edx, VarDateFromDisp
mov rcx, rbx
lea r8d, [rdx - 0x59]
call fcn.140015d40
jmp 0x140013c42
cmp ecx, 0x28
jne 0x140013bc7
mov rcx, rbx
call fcn.1400169e0
mov rcx, rbx
call fcn.140017410
mov edx, 0x29
mov rcx, rbx
movzx edi, al
lea r8d, [rdx - 0x24]
call fcn.140015d40
test dil, dil
je 0x140013c4a
jmp 0x140013c42
cmp ecx, 0x5e
jne 0x140013bdf
lea rcx, [rbx + 0x40]
call fcn.140012f60
mov rcx, rbx
call fcn.1400169e0
jmp 0x140013c4a
cmp ecx, 0x24
jne 0x140013bf7
lea rcx, [rbx + 0x40]
call fcn.140013320
mov rcx, rbx
call fcn.1400169e0
jmp 0x140013c4a
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140013c63
cmp ecx, 0x3f
je 0x140013c63
cmp ecx, 0x7b
je 0x140013c63
cmp ecx, 0x7d
jne 0x140013c1c
test dword [rbx + 0x80], 0x10000000
je 0x140013c7f
jmp 0x140013c2d
cmp ecx, 0x5d
jne 0x140013c2d
test dword [rbx + 0x80], 0x10000000
je 0x140013c8d
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140012f70
mov rcx, rbx
call fcn.1400169e0
mov rcx, rbx
call fcn.140016a60
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140013ac0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.140015d30
int3
mov edx, 5
mov rcx, rbx
call fcn.140015d30
int3
mov edx, 6
mov rcx, rbx
call fcn.140015d30
int3
mov edx, 4
mov rcx, rbx
call fcn.140015d30
int3

Function at 0x140017730
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x14000f394
movabs r10, 0x100000001b3
movzx edx, byte [rcx + r8]
inc r8
xor rax, rdx
imul rax, r10
cmp r8, r9
jb 0x14000f380
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000f360