joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011d2d0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, Ordinal_50
call fcn.1401d1210
sub rsp, rax
xor esi, esi
lea edx, [rax - 0x2f]
mov ebx, esi
mov rdi, rcx
call fcn.1400c4750
mov rdx, rax
mov rcx, rdi
mov rbp, rax
call fcn.1400c45c0
mov r14, rax
test rax, rax
je 0x14011d37a
lea r9d, [rsi + 1]
mov dword [rsp + 0x20], 0xf0000040
xor r8d, r8d
lea rcx, [rsp + 0x58]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14011d353
mov rcx, qword [rsp + 0x58]
mov r8, r14
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rbx, rbp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rbx*8]
mov rdx, rbx
mov rcx, rdi
call fcn.1400c4650
mov rcx, rdi
call fcn.1400c4850
mov rbx, rax
test rax, rax
jne 0x14011d416
mov edx, 1
mov rcx, rdi
call fcn.1400c4750
mov rdx, rax
mov rcx, rdi
mov rbp, rax
call fcn.1400c45c0
mov r14, rax
test rax, rax
je 0x14011d404
mov r9d, reloc.WS2_32.dll_shutdown
mov dword [rsp + 0x20], 0xf0000040
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x14011d3e6
mov rcx, qword [rsp + 0x58]
mov r8, r14
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rsi, rbp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rsi*8]
mov rdx, rsi
mov rcx, rdi
call fcn.1400c4650
mov rcx, rdi
call fcn.1400c4850
mov rbx, rax
test rbx, rbx
je 0x14011d40e
mov rax, rbx
jmp 0x14011d416
mov rcx, rdi
call fcn.1400c4850
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1401276d8
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x1402b1510]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov ebp, r8d
lea edx, [rax + rax]
add rcx, rdx
call qword [section..data]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x1401277e8
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140127761
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + ioctlsocket]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
test rbp, rbp
je 0x1401277dd
mov rsi, rbp
mov al, byte [r14]
lea rdx, [rsp + 0x20]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x20], al
mov rcx, qword [rdi + 8]
call qword [rbx + ioctlsocket]
mov al, byte [r14]
lea rdx, [rsp + 0x20]
xor al, 0x5c
mov r8d, 1
mov byte [rsp + 0x20], al
inc r14
mov rcx, qword [rdi + 0x10]
call qword [rbx + ioctlsocket]
sub rbp, 1
jne 0x140127771
jmp 0x1401277dd
mov rcx, qword [rdi + 8]
lea rdx, [0x1402356f0]
mov r8d, 1
call qword [rbx + ioctlsocket]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1402356f1]
mov r8d, 1
call qword [rbx + ioctlsocket]
inc rsi
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jb 0x1401277b2
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401d08c0
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140127be0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401d1210
sub rsp, rax
mov rbx, rcx
mov rsi, rdx
mov rcx, rdx
call fcn.1400d4100
test eax, eax
je 0x140127c1f
xor edx, edx
mov rcx, rbx
call fcn.1400d45a0
mov eax, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbp
mov ebp, dword [rsi + 8]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov r14, qword [rsi]
lea eax, [rbp - 1]
movsxd rdi, eax
xor eax, eax
mov rcx, qword [r14 + rdi*8]
cmp rcx, 1
sete al
sub ebp, eax
cmp rsi, rbx
je 0x140127c67
mov edx, ebp
mov rcx, rbx
call fcn.1400d4b60
test rax, rax
je 0x140127ccd
mov eax, dword [rsi + 0x10]
mov dword [rbx + 0x10], eax
mov rcx, qword [r14 + rdi*8]
mov rax, qword [rbx]
mov rdx, rcx
xor rdx, 1
inc rdx
neg rdx
shl rdx, 0x3f
lea r8, [rax + rdi*8]
shr rcx, 1
je 0x140127c87
mov qword [r8], rcx
test rdi, rdi
jle 0x140127cbe
sub r14, rax
nop
mov rcx, qword [r14 + r8 - 8]
lea r8, [r8 - 8]
mov rax, rcx
dec rdi
shr rax, 1
or rax, rdx
mov rdx, rcx
xor rdx, 1
mov qword [r8], rax
inc rdx
neg rdx
shl rdx, 0x3f
test rdi, rdi
jg 0x140127c90
mov dword [rbx + 8], ebp
test ebp, ebp
jne 0x140127cc8
mov dword [rbx + 0x10], ebp
mov eax, 1
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x14016e790
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, reloc.WLDAP32.dll_Ordinal_200
call fcn.1401d1210
sub rsp, rax
mov rax, qword [0x1402b1510]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r12, qword [rsp + 0x130]
xor r14d, r14d
mov rax, qword [rcx]
mov rbp, r9
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
mov r15d, r14d
lea r13d, [r14 + 1]
test r9, r9
je 0x14016e7f9
cmp r9, rax
je 0x14016e7f1
test rdx, rdx
je 0x14016e86a
test r8d, r8d
js 0x14016e86a
mov r15d, r13d
mov qword [rcx], r9
jmp 0x14016e801
test rax, rax
je 0x14016e86a
mov rbp, rax
mov rcx, rbp
call fcn.1400cf250
test al, 2
jne 0x14016e86a
test rsi, rsi
je 0x14016e8d2
mov rcx, rbp
mov r15d, r13d
call fcn.1400dd080
cmp eax, 0x90
jg 0x14016e86a
cmp eax, edi
jge 0x14016e890
mov rcx, qword [rbx + 8]
mov r8, r12
mov rdx, rbp
call fcn.1400af3a0
test eax, eax
je 0x14016e86a
mov rcx, qword [rbx + 8]
mov r8, rdi
mov rdx, rsi
call fcn.1400af5f0
test eax, eax
je 0x14016e86a
mov rcx, qword [rbx + 8]
lea rsi, [rbx + 0x20]
mov r8, rsi
lea rdx, [rbx + 0x24]
call fcn.1400af2c0
test eax, eax
jne 0x14016e8ad
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401d08c0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp edi, 0x90
ja 0x14016e86a
mov r8, rdi
lea rcx, [rbx + 0x24]
mov rdx, rsi
call fcn.1401d27a0
lea rsi, [rbx + 0x20]
mov dword [rsi], edi
mov ecx, dword [rsi]
cmp ecx, 0x90
je 0x14016e8db
mov eax, ecx
mov r8d, 0x90
sub r8d, ecx
xor edx, edx
lea rcx, [rbx + 0x24]
add rcx, rax
call fcn.1401d2e50
jmp 0x14016e8db
test r15d, r15d
je 0x14016e9b6
lea rcx, [rsp + 0x20]
mov rax, rbx
sub rax, rcx
mov rdx, r14
lea rdi, [rax + 0x24]
lea rsi, [rax + 0x25]
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
add rdx, 2
movzx eax, byte [rdi + rcx]
xor al, 0x36
mov byte [rcx], al
movzx eax, byte [rsi + rcx]
xor al, 0x36
mov byte [rcx + 1], al
cmp rdx, 0x90
jl 0x14016e900
mov rcx, qword [rbx + 0x10]
mov r8, r12
mov rdx, rbp
call fcn.1400af3a0
test eax, eax
je 0x14016e9c9
mov rcx, rbp
call fcn.1400dd080
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
movsxd r8, eax
call fcn.1400af5f0
test eax, eax
je 0x14016e9c9
mov rdx, r14
nop dword [rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
add rdx, 2
movzx eax, byte [rdi + rcx]
xor al, 0x5c
mov byte [rcx], al
movzx eax, byte [rsi + rcx]
xor al, 0x5c
mov byte [rcx + 1], al
cmp rdx, 0x90
jl 0x14016e960
mov rcx, qword [rbx + 0x18]
mov r8, r12
mov rdx, rbp
call fcn.1400af3a0
test eax, eax
je 0x14016e9c9
mov rcx, rbp
call fcn.1400dd080
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x20]
movsxd r8, eax
call fcn.1400af5f0
test eax, eax
je 0x14016e9c9
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 8]
call fcn.1400af660
test eax, eax
cmovne r14d, r13d
test r15d, r15d
je 0x14016e9dd
mov edx, 0x90
lea rcx, [rsp + 0x20]
call fcn.140001240
mov eax, r14d
jmp 0x14016e86c
Function at 0x140178620
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.1401d1210
sub rsp, rax
mov r10, rdx
mov dword [rsp + 0x40], reloc.WS2_32.dll_recv
add rdx, 0xf
lea rax, [r8 + 0xf]
mov r11, rcx
cmp r10, rax
ja 0x140178650
xor r9d, r9d
cmp rdx, r8
jae 0x140178669
movdqu xmm1, xmmword [r10]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [r10], xmm1
mov r9d, reloc.WS2_32.dll_recv
cmp r9, 0x10
jae 0x140178691
sub r8, r10
lea rax, [r9 + r10]
mov edx, reloc.WS2_32.dll_recv
sub rdx, r9
nop
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140178680
mov rcx, qword [r11 + 8]
lea r8, [rsp + 0x40]
mov r9, r10
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov rdx, r10
call fcn.1400fa4c0
test eax, eax
je 0x1401786c2
cmp dword [rsp + 0x40], 0x10
jne 0x1401786c2
mov eax, 1
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x140178870
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1401788f8
test r8, r8
je 0x1401788f8
mov rax, qword [rcx + 0x18]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x1401788b6
add rcx, 0x20
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x1401788a0
mov rax, qword [r10 + 0x18]
cmp r8, rax
jbe 0x1401788f8
sub r8, rax
mov eax, reloc.WS2_32.dll_recv
cmp r8, rax
cmova r8, rax
xor ecx, ecx
test r8, r8
je 0x1401788f8
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x18]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x40], al
inc rcx
cmp rcx, r8
jb 0x1401788e0
ret

Function at 0x1401b49e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, gethostname
call fcn.1401d1210
sub rsp, rax
cmp dword [rsp + 0x68], 0
je 0x1401b4a09
lea rax, [0x1401b3050]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401abdb0
lea rax, [0x1401b2210]
mov qword [rsp + 0x68], rax
add rsp, 0x38
jmp fcn.1401abb00

Function at 0x1401da2e0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1401da2bd
call fcn.1401d74dc
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401d7384
or eax, 0xffffffff
jmp 0x1401da2da
sub dword [rcx + 0x10], 1
jns 0x1401da2cc
add rsp, 0x28
jmp fcn.1401f0204
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1401da29c

Function at 0x1401e6934
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401e6760
Function at 0x140007300
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x30
mov eax, dword [0x14005ee90]
mov rdi, rcx
imul eax, dword [0x14005fd74]
mov rbp, qword [0x140060a30]
cmp eax, edx
jne 0x140007386
cmp qword [0x14005d7d8], 0
je 0x140007379
lea rcx, [0x14005d540]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x14000734d
lea rcx, [0x14005d540]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [0x14005d7d8]
call fcn.140017bd0
lea rcx, [0x14005d540]
mov qword [rdi + 0x2d8], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rdi
call fcn.140007520
test eax, eax
jne 0x140007386
xor eax, eax
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
lea rcx, [0x14005d540]
mov qword [rsp + 0x48], rsi
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x1400073ae
lea rcx, [0x14005d540]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add rdi, 0x2e0
xor ebx, ebx
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
sar rax, 3
sub eax, 1
movsxd rcx, eax
js 0x1400073f0
mov rax, qword [rdi]
lea rdx, [rax + rcx*8]
mov rax, qword [rdx]
lea rdx, [rdx - 8]
cmp dword [rax + 8], 1
cmove rbx, rax
sub rcx, 1
jns 0x1400073d1
test rbx, rbx
je 0x1400073f0
mov rsi, qword [rbx]
jmp 0x1400073f4
xor ebx, ebx
xor esi, esi
lea rcx, [0x14005d540]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [0x14005d7d8]
xor r8d, r8d
cmp dword [0x14005eeb8], r8d
mov eax, 4
mov r9, rsi
mov dword [rsp + 0x20], 0
cmovne r8d, eax
mov rcx, rbp
call fcn.1400168a0
mov rbp, rax
test rax, rax
je 0x1400074b4
lea rcx, [0x14005d540]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x140007454
lea rcx, [0x14005d540]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x14005fd70]
mov ecx, 0x18
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x50], rax
mov rbx, rax
test rax, rax
je 0x14000748a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0xc], eax
mov qword [rbx], rbp
mov dword [rbx + 8], 0
mov dword [rbx + 0x10], esi
jmp 0x14000748c
xor ebx, ebx
mov rdx, qword [rdi + 8]
mov qword [rsp + 0x50], rbx
cmp rdx, qword [rdi + 0x10]
je 0x1400074a5
mov qword [rdx], rbx
add qword [rdi + 8], 8
jmp 0x1400074f0
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.14000a760
jmp 0x1400074f0
test rsi, rsi
je 0x1400074fd
lea rcx, [0x14005d540]
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
jne 0x1400074d7
lea rcx, [0x14005d540]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x14005fd70]
mov dword [rbx + 8], 0
mov dword [rbx + 0x10], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0xc], eax
lea rcx, [0x14005d540]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc dword [0x14005fd70]
mov eax, 1
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140024c30
Capabilities:
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.mfc140u.dll_CMFCColorButton::OnFillBackground]
mov rcx, rdi
call fcn.140024d80
mov edx, 0x6be
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonSlider::SetACCData]
mov qword [0x140060f90], rdi
xor ebx, ebx
call qword [sym.imp.mfc140u.dll_AfxFieldText]
xor r9d, r9d
lea rdx, [0x140024ea0]
lea ecx, [rbx + 0xd]
mov r8, qword [rax + 0x10]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
test rax, rax
mov qword [0x140060f88], rax
mov ecx, 1
cmovne ebx, ecx
mov dword [rdi + 0x1d8], ebx
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140028ae0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rsp + 0x290], rax
test dword [rcx + 0x26c], 0x1000
mov rbx, rcx
movsd qword [rcx + 0x280], xmm1
jne 0x140028b1b
call fcn.140029140
mov eax, dword [rbx + 0x26c]
movsd xmm1, qword [rbx + 0x280]
test al, 0x40
je 0x140028b45
movsd xmm0, qword [rbx + 0x2a0]
ucomisd xmm0, qword [0x140047088]
jp 0x140028b41
je 0x140028b45
mulsd xmm1, xmm0
mov r8d, dword [rbx + 0x2b0]
test r8d, r8d
jne 0x140028b68
cvttsd2si ecx, xmm1
mov r8d, 0xa
lea rdx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
jmp 0x140028bce
mov ecx, dword [rbx + 0x2c0]
shr eax, 0xf
not eax
and eax, 1
cmp r8d, 6
jne 0x140028b89
cmp ecx, 0x2710
je 0x140028b89
mov ecx, 2
movsd xmm3, qword [rbx + 0x298]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlUtl.dll_class_CrlPlatform::CrlStringT_wchar_t____cdecl_UNITConvToUnitAndStringEx_double__int__double__unsigned_int__int__int_]
mov rcx, rax
call qword [sym.imp.CrlPlatform.dll_public:_wchar_t_const____ptr64___cdecl_CrlPlatform::CrlStringT_wchar_t_::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.CrlPlatform.dll_public:_void___cdecl_CrlPlatform::CrlStringT_wchar_t_::destructor_void____ptr64]
mov rbx, qword [rbx + 0x328]
test rbx, rbx
je 0x140028bde
mov rbx, qword [rbx + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rdi, eax
cmp rdi, 0x200
ja 0x140028c27
mov r8d, 0x100
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, edi
jne 0x140028c27
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140028c35
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140031b80
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x2a0
pop rdi
ret
Function at 0x14002f630
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x68], rbx
cmp dword [0x1400628d4], ebx
jne 0x14002f6f3
mov eax, dword [0x1400628d0]
test eax, eax
jne 0x14002f6f3
mov edx, dword [0x1400628c8]
test edx, edx
je 0x14002f693
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1400628d0]
mov edx, dword [0x1400628c8]
test eax, eax
jne 0x14002f6f3
test edx, edx
jne 0x14002f6a4
call fcn.14002f780
test eax, eax
je 0x14002f6ba
lea rdx, [rsp + 0x68]
mov rcx, qword [0x14005b078]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
test eax, eax
jne 0x14002f6f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 0x7e]
cmp ecx, 1
jbe 0x14002f6e9
cmp eax, 0x78
je 0x14002f6e9
cmp eax, 1
je 0x14002f6e9
cmp eax, 0x32
je 0x14002f6e9
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [0x1400628d0], 1
mov qword [rsp + 0x20], rbx
lea r9, [0x14002e1d0]
mov r8, rdi
mov edx, 0x6d47
mov rcx, rsi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov rsi, rax
mov qword [rsp + 0x30], rax
cmp dword [0x1400628d4], 0
je 0x14002f72a
cmp dword [0x1400628d0], 0
jne 0x14002f758
mov edi, ebx
test rsi, rsi
sete dil
test edi, edi
je 0x14002f73f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x14002f758
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1806910b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.180691237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1806910e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1806910c7
add dl, dl
jne 0x1806910ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18069114e
xor eax, eax
add dl, dl
jne 0x1806910fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180691205
add dl, dl
jne 0x18069110e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18069111b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180691128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180691135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180691142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1806910d6
mov eax, 1
add dl, dl
jne 0x18069115e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x18069116b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180691153
sub eax, ebx
mov ebx, 1
jne 0x1806911a4
mov ecx, 1
add dl, dl
jne 0x180691186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180691193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18069117b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1806910d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1806911c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1806911cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1806911b5
cmp eax, 0x7d00
jae 0x1806911f3
cmp eax, 0x500
jb 0x1806911ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1806910d6
cmp eax, 0x7f
ja 0x1806911f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1806910d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x18069122a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1806910d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400056ec
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x14004c2a0], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x14000574c
movdqa xmm0, xmmword [0x1400348d0]
movdqa xmm1, xmmword [0x1400348c0]
movdqa xmmword [0x140044f10], xmm0
movdqa xmm0, xmmword [0x1400348a0]
movdqa xmmword [0x140044f20], xmm1
movdqa xmm1, xmmword [0x1400348b0]
movdqa xmmword [0x140044f30], xmm0
movdqa xmmword [0x140044f40], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.1400229c0
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x140034880]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x140005768
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x140006008
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x140044f50]
mov r10, r8
mov rbx, rdx
mov r11d, ecx
test r8, r8
je 0x140006051
test bl, 7
je 0x140006051
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x14000602c
cmp r10, 8
jb 0x1400060fb
mov rdi, r10
shr rdi, 3
imul rax, rdi, 0xfffffffffffffff8
add r10, rax
xor r11d, dword [rbx]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, r9d
shr eax, 0x18
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [rsi + rcx*4 + 0x400]
movzx ecx, al
mov eax, r11d
shr eax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
shr eax, 0x10
xor r8d, dword [rsi + rcx*4 + 0x1000]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8d, dword [rsi + rcx*4 + 0x1400]
movzx ecx, al
movzx eax, r9b
xor r8d, dword [rsi + rcx*4 + 0x1800]
xor r8d, dword [rsi + rax*4 + 0xc00]
movzx eax, r11b
mov r11d, r8d
xor r11d, dword [rsi + rax*4 + 0x1c00]
sub rdi, 1
jne 0x140006069
test r10, r10
je 0x140006120
movzx ecx, byte [rbx]
inc rbx
movzx eax, r11b
xor rcx, rax
mov eax, r11d
shr eax, 8
mov r11d, dword [rsi + rcx*4]
xor r11d, eax
sub r10, 1
jne 0x140006100
mov rbx, qword [rsp + 8]
mov eax, r11d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140006134
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [rcx + 4], 0
mov r8, rcx
jne 0x14000617b
xor r9d, r9d
mov r10d, r9d
mov r11d, 8
mov edx, r10d
mov ecx, r10d
shr edx, 1
mov eax, edx
mov r10d, edx
xor eax, 0xedb88320
and cl, 1
cmovne r10d, eax
sub r11, 1
jne 0x140006149
mov dword [r8], r10d
inc r9d
add r8, 4
cmp r9d, 0x100
jb 0x140006140
ret