joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c3980
Capabilities:
Read http header

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
lea rax, [rsp + 0x50]
mov rsi, rcx
mov qword [rsp + 0x28], rbp
mov rcx, qword [rcx + 0x10]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], ebp
lea edx, [rbp + 0x16]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1401c39c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
cmp eax, 0x7a
jne 0x1401c3a35
mov rdx, qword [0x1402bfcf8]
mov qword [rsp + 0x60], rbx
mov ebx, dword [rsp + 0x50]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
mov qword [rsp + 0x28], rbp
xor r8d, r8d
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
lea rax, [rsp + 0x50]
mov word [rcx + rbx], bp
lea edx, [r8 + 0x16]
mov r9, qword [rdi + 8]
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x1401c3a3f
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401c3a35
call fcn.14013d2a0
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
mov rax, rdi
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x1401c3a60
Capabilities:
Read http header

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
lea rax, [rsp + 0x50]
mov rsi, rdx
mov qword [rsp + 0x28], r14
mov rbp, rcx
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
mov r8, rdx
xor r9d, r9d
mov dword [rsp + 0x50], r14d
mov edx, 0xffff
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
nop
test eax, eax
jne 0x1401c3aaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1401c3b2a
mov rdx, qword [0x1402bfcf8]
mov qword [rsp + 0x58], rbx
mov ebx, dword [rsp + 0x50]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdi, rax
mov qword [rsp + 0x28], r14
mov r8, rsi
mov edx, 0xffff
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
lea rax, [rsp + 0x50]
mov word [rcx + rbx], r14w
mov r9, qword [rdi + 8]
mov rcx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov rbx, qword [rsp + 0x58]
test eax, eax
jne 0x1401c3b3a
lea rcx, ds:[rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401c3b2a
call fcn.14013d2a0
xor eax, eax
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov r8, qword [rdi + 8]
xorps xmm1, xmm1
mov rax, r8
mov ecx, r8d
and rax, 0xfffffffffffffff1
and ecx, 0xf
je 0x1401c3b6d
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
je 0x1401c3b69
mov eax, ecx
shr rax, 1
jmp 0x1401c3ba3
add rax, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
jne 0x1401c3b95
nop dword [rax]
add rax, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rax]
pmovmskb ecx, xmm0
bsf edx, ecx
je 0x1401c3b80
sub rax, r8
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
mov rbp, qword [rsp + 0x68]
add rax, rax
mov qword [rdi], rax
mov rax, rdi
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1401c3c00
Capabilities:
Read http header

Disassembly:
push rbx
push rsi
sub rsp, 0x258
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rcx, qword [rcx + 0x10]
mov eax, edx
mov r10d, edx
mov dword [rsp + 0x30], 0x100
and al, 1
mov rsi, r8
neg al
lea rax, [rsp + 0x30]
sbb r9d, r9d
and r9d, 5
mov edx, r9d
or edx, 0x13
test r10b, 2
cmove edx, r9d
xor ebx, ebx
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x1401c3d1d
mov eax, dword [rsp + 0x30]
lea r11, [rsp + 0x40]
mov qword [rsp + 0x278], rdi
mov r9d, eax
xor dil, dil
test rax, rax
je 0x1401c3cae
movzx ecx, word [rsp + 0x40]
cmp cx, 0x2d
je 0x1401c3c9d
cmp cx, 0x2b
jne 0x1401c3cae
cmp cx, 0x2d
lea r11, [rsp + 0x42]
lea r9, [rax - 2]
sete dil
shr r9, 1
mov r10b, 1
mov rax, rbx
je 0x1401c3cfc
mov qword [rsp + 0x250], r14
lea r14, [0x1402835c0]
nop dword [rax + rax]
movzx ecx, byte [r11 + rax*2]
mov r8d, dword [r14 + rcx*4]
cmp r8d, 0xa
jae 0x1401c3ce9
lea rdx, [rbx + rbx*4]
lea rbx, [r8 + rdx*2]
jmp 0x1401c3cec
xor r10b, r10b
inc rax
cmp rax, r9
jb 0x1401c3cd0
mov r14, qword [rsp + 0x250]
mov rax, rbx
neg rax
test dil, dil
mov rdi, qword [rsp + 0x278]
cmove rax, rbx
test r10b, r10b
je 0x1401c3d1d
mov qword [rsi], rax
mov al, 1
jmp 0x1401c3d1f
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x258
pop rsi
pop rbx
ret
Function at 0x1401c3e40
Capabilities:
Receive http response

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1040
call fcn.1402033c0
sub rsp, rax
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov r14, r8
mov r15, rdx
mov rbp, rcx
mov edi, 0x1000
mov rcx, qword [0x1402bfe50]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea r9, [rsp + 0x20]
mov r8d, edi
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov rsi, rax
xor ebx, ebx
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1401c3f3e
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x1401c3f18
lea eax, ds:[rcx + rbx]
cmp edi, eax
jae 0x1401c3ee5
mov rcx, qword [0x1402bfe50]
add edi, edi
mov r9d, edi
mov r8, rsi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov ecx, dword [rsp + 0x20]
mov rsi, rax
mov r8d, ecx
lea rdx, [rsp + 0x30]
mov ecx, ebx
add rcx, rsi
call fcn.1401e3aa0
add ebx, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x1401c3eb1
lea eax, [rbx + 1]
cmp edi, eax
jae 0x1401c3f3e
lfence
mov rcx, qword [0x1402bfe50]
lea r9d, [rdi + 1]
mov r8, rsi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rsi, rax
mov byte [rbx + rsi], 0
test ebx, ebx
je 0x1401c3f72
test r15, r15
je 0x1401c3f50
mov qword [r15], rsi
jmp 0x1401c3f66
mov rcx, qword [0x1402bfe50]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test r14, r14
je 0x1401c3f6e
mov dword [r14], ebx
mov al, 1
jmp 0x1401c3f88
mov rcx, qword [0x1402bfe50]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor al, al
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0x1088]
add rsp, 0x1040
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401c4d80
Capabilities:
Parse pe header

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
lea rbx, str.CryptoWinRT.dll
mov qword [rsp + 0x38], 0x1e
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x40], rbx
mov rsi, rcx
xor edi, edi
call fcn.140174480
mov r10, rax
test rax, rax
jne 0x1401c4e12
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r10, rax
test rax, rax
jne 0x1401c4e12
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r10, rax
test rax, rax
jne 0x1401c4e12
cmp dword [0x1402b5e88], 0x3e
jae 0x1401c4fea
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r10, rax
test rax, rax
je 0x1401c4fea
lea r8, str.Windows.Security.Cryptography.CryptographicBuffer
mov dword [rsp + 0x48], 1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
xorps xmm1, xmm1
and ecx, 0xf
je 0x1401c4e58
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
mov dword [rsp + 0x88], ecx
je 0x1401c4e54
mov edx, ecx
shr rdx, 1
jmp 0x1401c4e9b
add rdx, 0x10
movdqu xmm0, xmmword [rdx]
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x88], ecx
jne 0x1401c4e8d
movdqu xmm0, xmmword [rdx + 0x10]
add rdx, 0x10
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
bsf ecx, eax
mov dword [rsp + 0x88], ecx
je 0x1401c4e70
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
mov eax, 0x5a4d
mov dword [rsp + 0x4c], edx
mov qword [rsp + 0x58], r8
cmp word [r10], ax
jne 0x1401c4fea
mov ecx, dword ds:[r10 + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1401c4fea
cmp dword [rcx + r10], 0x4550
jne 0x1401c4fea
lea rdx, [r10 + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401c4fea
cmp dword [rdx + 4], edi
je 0x1401c4fea
lea r8, [r10 + rax]
mov word [rsp + 0x20], di
lea r9, str.DllGetActivationFactory
mov rcx, r10
call fcn.140174840
test rax, rax
je 0x1401c4fea
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x48]
call qword [str.PB__]
mov ebx, eax
test eax, eax
js 0x1401c4f67
mov rcx, qword [rsp + 0x90]
lea r8, [rsp + 0x30]
lea rdx, [0x140287618]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [str.PB__]
mov rcx, qword [rsp + 0x90]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.PB__]
test ebx, ebx
js 0x1401c4fea
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x98]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [str.PB__]
test eax, eax
js 0x1401c4fd8
mov rcx, qword [rsp + 0x98]
call fcn.1401c4ce0
mov r8, qword [rsp + 0x98]
mov rdi, rax
test r8, r8
je 0x1401c4fd8
test byte [r8], 1
jne 0x1401c4fd8
mov ecx, 0xffffffff
lock xadd dword [r8 + 0x18], ecx
cmp ecx, 1
jne 0x1401c4fd8
mov rax, qword gs:[0x30]
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.PB__]
mov rax, rdi
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x1401c5400
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test byte [0x1402bcbe0], 1
movzx edi, dl
mov rbx, rcx
jne 0x1401c5458
lock bts qword [0x1402bcbe0], 0x1f
jae 0x1401c543e
test byte [0x1402bcbe0], 1
jne 0x1401c5458
xor edx, edx
lea rcx, [0x1402bcbe0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401c5458
nop
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
lea rcx, [0x1402bcbe0]
mov dword [0x1402c3428], eax
call sym.SystemInformer.exe_PhfSetEvent
mov eax, dword [0x1402c3428]
nop
cmp eax, 0xffffffff
je 0x1401c5507
test dil, dil
je 0x1401c54c9
cmp eax, 0x40
jae 0x1401c5492
mov rcx, qword gs:[0x30]
mov qword [rcx + rax*8 + 0x1480], rbx
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lfence
mov rdx, rbx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x1401c54bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
test eax, eax
js 0x1401c5507
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lfence
cmp eax, 0x40
jae 0x1401c54ed
mov rcx, qword gs:[0x30]
mov rax, qword [rcx + rax*8 + 0x1480]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1401c5ec0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x48
test byte [0x1402bcbd0], 1
jne 0x1401c6093
lock bts qword [0x1402bcbd0], 0x1f
jae 0x1401c5f04
test byte [0x1402bcbd0], 1
jne 0x1401c6093
xor edx, edx
lea rcx, [0x1402bcbd0]
call sym.SystemInformer.exe_PhfWaitForEvent
movzx eax, byte [0x1402c01a6]
add rsp, 0x48
ret
lea rax, str.kernelbase.dll
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x30], 0x1c
call fcn.140174480
mov rsi, rax
test rax, rax
je 0x1401c6056
mov qword [rsp + 0x58], rbp
mov ebp, 0x5a4d
mov qword [rsp + 0x40], rdi
cmp word [rax], bp
jne 0x1401c5f95
mov ecx, dword [rax + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1401c5f95
cmp dword [rcx + rsi], 0x4550
jne 0x1401c5f95
lea rdx, [rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401c5f95
cmp dword [rdx + 4], 0
je 0x1401c5f95
xor ebx, ebx
lea r8, [rsi + rax]
lea r9, str.OpenPackageInfoByFullNameForUser
mov word [rsp + 0x20], bx
mov rcx, rsi
call fcn.140174840
jmp 0x1401c5f99
xor ebx, ebx
mov eax, ebx
mov qword [0x1402c3ec8], rax
cmp word [rsi], bp
jne 0x1401c5feb
mov ecx, dword [rsi + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1401c5feb
cmp dword [rcx + rsi], 0x4550
jne 0x1401c5feb
lea rdx, [rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401c5feb
cmp dword [rdx + 4], 0
je 0x1401c5feb
lea r8, [rsi + rax]
mov word [rsp + 0x20], bx
lea r9, str.GetPackageApplicationIds
mov rcx, rsi
call fcn.140174840
jmp 0x1401c5fee
mov rax, rbx
cmp word [rsi], bp
mov rbp, qword [rsp + 0x58]
mov qword [0x1402c3ec0], rax
jne 0x1401c6048
mov ecx, dword [rsi + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1401c6048
cmp dword [rcx + rsi], 0x4550
jne 0x1401c6048
lea rdx, [rsi + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401c6048
cmp dword [rdx + 4], 0
je 0x1401c6048
lea r8, ds:[rsi + rax]
mov word [rsp + 0x20], bx
lea r9, str.ClosePackageInfo
mov rcx, rsi
call fcn.140174840
mov rbx, rax
mov rdi, qword [rsp + 0x40]
mov qword [0x1402c3eb8], rbx
jmp 0x1401c605d
mov rbx, qword [0x1402c3eb8]
cmp qword [0x1402c3ec8], 0
mov rsi, qword [rsp + 0x60]
je 0x1401c6082
cmp qword [0x1402c3ec0], 0
je 0x1401c6082
test rbx, rbx
je 0x1401c6082
mov byte [0x1402c01a6], 1
lea rcx, [0x1402bcbd0]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x50]
movzx eax, byte [0x1402c01a6]
add rsp, 0x48
ret
Function at 0x1401ccdc0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edi, dword [rcx + 0x30]
mov eax, 0x38
mov r8d, edi
mov rsi, rdx
and r8d, 0x3f
mov rbp, rcx
sub eax, r8d
lea rcx, [rsp + 0x21]
mov ebx, 0x78
sub ebx, r8d
cmp r8d, 0x38
cmovb ebx, eax
xor edx, edx
lea eax, [rbx - 1]
movsxd r8, eax
call fcn.1401dff50
movsxd rax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
mov byte [rsp + 0x20], 0x80
mov eax, dword [rbp + 0x2c]
lea r8d, [rbx + 8]
shl eax, 3
mov ecx, edi
shr ecx, 0x1d
or ecx, eax
lea eax, [rdi*8]
bswap ecx
mov dword [rdx], ecx
mov rcx, rbp
bswap eax
mov dword [rdx + 4], eax
lea rdx, [rsp + 0x20]
call fcn.1401ccce0
mov ecx, dword [rbp + 0x18]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shr edx, 8
and ecx, 0xff00
shl eax, 0x10
or eax, ecx
shl eax, 8
or edx, eax
mov dword [rsi], edx
mov ecx, dword [rbp + 0x1c]
mov edx, ecx
shl edx, 0x10
mov eax, ecx
and eax, 0xff00
shr ecx, 8
or edx, eax
and ecx, 0xff00
movzx eax, byte [rbp + 0x1f]
shl edx, 8
or edx, ecx
or edx, eax
mov dword [rsi + 4], edx
mov ecx, dword [rbp + 0x20]
mov edx, ecx
shl edx, 0x10
mov eax, ecx
and eax, 0xff00
shr ecx, 8
or edx, eax
and ecx, 0xff00
movzx eax, byte [rbp + 0x23]
shl edx, 8
or edx, ecx
or edx, eax
mov dword [rsi + 8], edx
mov ecx, dword [rbp + 0x24]
mov edx, ecx
shl edx, 0x10
mov eax, ecx
and eax, 0xff00
or edx, eax
shl edx, 8
movzx eax, byte [rbp + 0x27]
or edx, eax
shr ecx, 8
and ecx, 0xff00
or edx, ecx
mov dword [rsi + 0xc], edx
mov ecx, dword [rbp + 0x28]
mov eax, ecx
and eax, 0xff00
mov edx, ecx
shl edx, 0x10
or edx, eax
shr ecx, 8
movzx eax, byte [rbp + 0x2b]
and ecx, 0xff00
shl edx, 8
or edx, eax
or edx, ecx
mov dword [rsi + 0x10], edx
xor eax, eax
mov qword [rbp + 0x2c], rax
mov dword [rbp + 0x18], 0x67452301
mov dword [rbp + 0x1c], 0xefcdab89
mov dword [rbp + 0x20], 0x98badcfe
mov dword [rbp + 0x24], 0x10325476
mov dword [rbp + 0x28], 0xc3d2e1f0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401ce2c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword ss:[rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x90]
mov rsi, rdx
test eax, eax
movq rdx, xmm3
mov r9, rdx
mov r11d, 0xd
mov r10d, r11d
movabs rbx, 0xfffffffffffff
cmovns r10d, eax
mov rbp, r8
and r9, rbx
shr rdx, 0x34
mov r14, rcx
test edx, edx
jne 0x1401ce334
mov rax, r9
neg rax
sbb ecx, ecx
and ecx, 0xfffffc02
jmp 0x1401ce33a
lea ecx, [rdx - 0x3ff]
mov rax, r9
movabs r8, 0x10000000000000
or rax, r8
mov r15d, 0x2d
test edx, edx
cmovne r9, rax
mov eax, ecx
cdq
mov edi, eax
mov eax, 0x2b
xor edi, edx
sub edi, edx
test ecx, ecx
cmovns r15d, eax
cmp edi, 0xa
jae 0x1401ce374
lea edx, [rax - 0x27]
jmp 0x1401ce38f
cmp edi, 0x64
jae 0x1401ce382
mov edx, 5
jmp 0x1401ce38f
cmp edi, 0x3e8
sbb rdx, rdx
add rdx, 7
mov rcx, rbp
movsxd r8, r10d
sub rcx, rsi
cmp rcx, r8
jl 0x1401ce4db
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x1401ce4db
cmp r10d, r11d
jge 0x1401ce3f5
lea r8, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea rax, [r8 - 1]
or rax, r9
movzx ecx, r11b
mov edx, 1
shl rdx, cl
and rdx, rax
and rdx, r8
add r9, rdx
mov rax, r9
and r9, rbx
shr rax, 0x34
add al, 0x30
mov byte [rsi], al
inc rsi
test r10d, r10d
jle 0x1401ce482
mov byte [rsi], 0x2e
lea r11, str.0123456789abcdefghijklmnopqrstuvwxyz
mov rax, r9
lea r8d, [r10 - 1]
shr rax, 0x30
mov ecx, 0x30
movzx eax, byte [rax + r11]
mov byte [rsi + 1], al
add rsi, 2
test r8d, r8d
je 0x1401ce482
movabs rdx, 0x1000000000000
test ecx, ecx
je 0x1401ce46c
lea rax, [rdx - 1]
sub ecx, 4
and r9, rax
ror rdx, 4
mov rax, r9
shr rax, cl
mov eax, eax
movzx eax, byte [rax + r11]
mov byte [rsi], al
inc rsi
sub r8d, 1
jne 0x1401ce440
jmp 0x1401ce482
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rsi
call fcn.1401dff50
add rsi, rbx
mov byte [rsi], 0x70
lea r9, [rsp + 0x40]
mov byte [rsi + 1], r15b
add rsi, 2
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x1401ce4a0
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rsi
cmp rax, rbx
jge 0x1401ce4e5
mov dword [r14 + 8], 0x84
jmp 0x1401ce502
lfence
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1401e3aa0
mov dword [r14 + 8], 0
lea rbp, [rbx + rsi]
mov qword [r14], rbp
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401dd6a0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1401d3c40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x1f90]
mov eax, 0x2090
call fcn.1402033c0
sub rsp, rax
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rbp + 0x1f80], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
lea rax, [rbp + 0x1f78]
xor r9d, r9d
mov qword [rsp + 0x70], rax
lea rax, [0x1402bcc40]
mov qword [rsp + 0x28], rax
lea rax, [0x1401d42d0]
mov qword [rsp + 0x20], rax
call fcn.1401d6b80
test eax, eax
js 0x1401d3d86
xor ebx, ebx
test eax, eax
mov rax, qword [rsp + 0x68]
jle 0x1401d3d2e
nop
cmp rax, qword [rsp + 0x70]
jb 0x1401d3d1e
lea rcx, [rsp + 0x78]
cmp rax, rcx
je 0x1401d3d1e
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x60]
sub eax, ecx
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x60]
sub eax, 0x18
mov dword [rsp + 0x30], eax
xor r9d, r9d
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
js 0x1401d3d86
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov byte [rax], 0xa
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x78]
cmp rax, rcx
je 0x1401d3d82
mov eax, dword [rsp + 0x68]
lea rcx, [rsp + 0x60]
sub eax, ecx
mov qword [rsp + 0x40], rbx
mov rcx, qword [rsp + 0x60]
sub eax, 0x18
mov qword [rsp + 0x38], rbx
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor r8d, r8d
lea rax, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
setns bl
dec ebx
mov eax, ebx
jmp 0x1401d3d8b
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x1f80]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0x20b8]
add rsp, 0x2090
pop rbp
ret

Function at 0x1401d4380
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
je 0x1401d43f4
xor eax, eax
lea rdi, [rcx + 0x18]
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov dword [rsp + 0x30], 0x2000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
test eax, eax
js 0x1401d43f4
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1401d43f4
add rax, 0x18
mov qword [rbx + 8], rdi
add rax, rbx
mov qword [rbx + 0x10], rax
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x70]
mov eax, 0xffffffff
add rsp, 0x60
pop rdi
ret
Function at 0x1401d4420
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
test rcx, rcx
je 0x1401d4489
mov rax, qword [rcx + 8]
lea rdi, [rcx + 0x18]
cmp rax, rdi
je 0x1401d447c
xor ecx, ecx
sub eax, ebx
mov qword [rsp + 0x40], rcx
sub eax, 0x18
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov rcx, qword [rbx]
xor r8d, r8d
mov dword [rsp + 0x30], eax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
js 0x1401d4489
mov qword [rbx + 8], rdi
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x70]
mov eax, 0xffffffff
add rsp, 0x60
pop rdi
ret