joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003929c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1400c86f0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400392fa
cmp word [rdx], r12w
jne 0x1400392fa
or byte [rax + r8*8 + 0x38], cl
jmp 0x140039300
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14003945b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140039436
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140039339
mov rcx, r9
jmp 0x14003935c
cmp r9, rdx
jae 0x140039373
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14003931d
jmp 0x14003945b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140039430
cmp dword [rsp + 0x80], edi
je 0x140039430
mov rdx, r14
lea r11, [0x1400c86f0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140039409
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400393dc
mov word [rbx], r12w
jmp 0x140039457
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400393e5
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140039457
cmp word [rsp + 0x70], r12w
jne 0x140039416
cmp rbx, rsi
je 0x1400393d6
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140039f28
cmp word [rsp + 0x70], r12w
je 0x14003945b
mov word [rbx], r13w
jmp 0x140039457
lea r11, [0x1400c86f0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140039453
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14003945b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140045f70
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140039f28
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140039f28
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400460c0
cmp rax, 0xffffffffffffffff
je 0x1400460c0
xor edi, edi
test rbp, rbp
jle 0x14004606b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140035dd0
mov rbx, rax
test rax, rax
jne 0x140045ff8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140046061
mov edx, 0x8000
mov ecx, r14d
call fcn.140032ee0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400381e0
cmp eax, 0xffffffff
je 0x140046041
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140046008
mov edx, r15d
mov ecx, r14d
call fcn.140032ee0
jmp 0x140046061
cmp byte [rsi + 0x38], dil
je 0x140046058
cmp dword [rsi + 0x34], 5
jne 0x140046058
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140046061
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140035e48
jmp 0x1400460d4
jns 0x1400460d4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140039f28
cmp rax, 0xffffffffffffffff
jne 0x14004608c
cmp byte [rsi + 0x30], dil
je 0x1400460d4
mov edi, dword [rsi + 0x2c]
jmp 0x1400460d4
mov ecx, r14d
call fcn.14003ed48
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400460d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400460d4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400460cd
mov eax, dword [rsi + 0x2c]
jmp 0x1400460d2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140039f28
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400465a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400465c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400465c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14004a1e0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov qword [rax], 0
mov rax, qword [rsp + 8]
mov qword [rax + 8], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x6a09e667
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xbb67ae85
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x3c6ef372
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0xa54ff53a
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x510e527f
mov eax, 4
imul rax, rax, 5
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x9b05688c
mov eax, 4
imul rax, rax, 6
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x1f83d9ab
mov eax, 4
imul rax, rax, 7
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x50], 0x5be0cd19
ret
Function at 0x14004ca00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x60], 0
je 0x14004ca1e
cmp qword [rsp + 0x68], 0
jne 0x14004ca25
xor eax, eax
jmp 0x14004cb51
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov dword [rsp], 0
jmp 0x14004cac6
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x18]
cmp dword [rsp], eax
jae 0x14004cb4f
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14004cb0e
inc rax
test dl, dl
jne 0x14004cafb
xor eax, eax
jmp 0x14004cb13
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004cb4a
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
jmp 0x14004cb51
jmp 0x14004cabe
xor eax, eax
add rsp, 0x58
ret
Function at 0x14000f9fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xb0], rdx
test rdx, 0xffffffffffff0000
jne 0x14000fa3b
cmp dword [rcx + 0xa8], 0
jne 0x14000fa3b
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14001d18c
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14000f9a0
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400109f4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.1400200f4
mov rsi, rax
test rax, rax
je 0x140010a70
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x140010a6b
cmp dword [rbx], 0x40
jb 0x140010a6b
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageA]
bt rax, 0xd
jb 0x140010a6b
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x140010a74
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140017334
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14001739c
call fcn.14001d18c
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14001739c
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400173be
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140016d4c
mov esi, eax
test rdi, rdi
je 0x1400173bc
test rbx, rbx
je 0x1400173bc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140017868
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x1400178a6
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x14001795a
call fcn.1400180dc
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400178c5
mov ecx, 0x80004005
call fcn.1400089d0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14002c498
test eax, eax
je 0x14001792d
cmp eax, 0xc
je 0x140017927
cmp eax, 0x16
je 0x140017921
cmp eax, 0x22
je 0x140017921
cmp eax, 0x50
je 0x14001792d
call fcn.14001a770
int3
call fcn.14001a770
int3
call fcn.14001a728
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140017958
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14002b624
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002b498
Function at 0x14002b630
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140034494
nop
cmp dword [0x1400a4aa8], 1
je 0x14002b5d0
mov dword [0x1400a4aa4], 1
mov byte [0x1400a4aa0], r12b
test ebx, ebx
jne 0x14002b5bc
mov rcx, qword [0x1400a6320]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b5a9
mov rcx, qword [0x1400a6318]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14002b548
call fcn.14002dc48
cmp qword [rdi], rax
jne 0x14002b548
jmp 0x14002b52e
cmp rdi, rsi
jb 0x14002b5a9
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002dc48
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400a6320]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400a6318]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002b587
cmp r13, rax
je 0x14002b5a7
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14002b52e
lea rdx, [0x140068b58]
lea rcx, [0x140068b40]
call fcn.14002b378
lea rdx, [0x140068b68]
lea rcx, [0x140068b60]
call fcn.14002b378
nop
test r12d, r12d
je 0x14002b5df
mov ecx, 8
call fcn.140034394
test r12d, r12d
jne 0x14002b60a
mov dword [0x1400a4aa8], 1
lea ecx, [r12 + 8]
call fcn.140034394
mov ecx, r15d
call fcn.14002b30c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14002b498
Function at 0x14002ccbf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400945f8]
jne 0x1400252ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400252c6
repz ret
ror rcx, 0x10
jmp 0x14002cc18
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400a4b70]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400a4c68]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002cc9d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400a4b70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14002ccbf
mov rax, qword [rsp + 0x88]
mov qword [0x1400a4c68], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400a4c08], rax
mov rax, qword [0x1400a4c68]
mov qword [0x1400a4ae0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400a4bf0], rax
mov dword [0x1400a4ad0], 0xc0000409
mov dword [0x1400a4ad4], 1
mov rax, qword [0x1400945f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140094600]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400a4b68], eax
mov ecx, 1
call fcn.140030398
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14006df48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400a4b68], 0
jne 0x14002cd46
mov ecx, 1
call fcn.140030398
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140037cac
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14002dc48
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400a5850], rbx
jne 0x140037db2
lea rcx, [0x14006ec00]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140037e87
lea rdx, [0x14006ebf0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140037e87
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14006ebe0]
mov rcx, rsi
mov qword [0x1400a5850], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14006ebc8]
mov rcx, rsi
mov qword [0x1400a5858], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14006eba8]
mov rcx, rsi
mov qword [0x1400a5860], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400a5870], rax
test rax, rax
je 0x140037da9
lea rdx, [0x14006eb90]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400a5868], rax
jmp 0x140037db9
mov rax, qword [0x1400a5868]
jmp 0x140037dc0
mov rax, qword [0x1400a5868]
mov r11, qword [0x1400a5870]
cmp rax, rdi
je 0x140037e28
cmp r11, rdi
je 0x140037e28
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400a5870]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140037e28
test rax, rax
je 0x140037e28
call rsi
test rax, rax
je 0x140037e22
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140037e22
test byte [rsp + 0x38], 1
jne 0x140037e28
bts ebp, 0x15
jmp 0x140037e66
mov rcx, qword [0x1400a5858]
cmp rcx, rdi
je 0x140037e66
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140037e66
call rax
mov rbx, rax
test rax, rax
je 0x140037e66
mov rcx, qword [0x1400a5860]
cmp rcx, rdi
je 0x140037e66
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140037e66
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400a5850]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140037e87
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140037e89
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14003f9f0
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rdx, [0x140095a00]
mov rcx, qword [rsp + 0x30]
call fcn.14003ee00
add rsp, 0x28
ret

Function at 0x14003fa60
Capabilities:
Hash data using sha384

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rdx, [0x1400959c0]
mov rcx, qword [rsp + 0x30]
call fcn.14003ee00
add rsp, 0x28
ret
Function at 0x1400405a0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rdx, [0x140095a60]
mov rcx, qword [rsp + 0x30]
call fcn.14003fbd0
add rsp, 0x28
ret
Function at 0x140041230
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rcx
cmp qword [rsp + 8], 0
jne 0x140041244
mov eax, 1
jmp 0x1400412bc
mov rax, qword [rsp + 8]
mov dword [rax + 0x14], 0
mov rax, qword [rsp + 8]
mov dword [rax + 0x18], 0
xor ecx, ecx
mov rax, qword [rsp + 8]
mov word [rax + 0x1c], cx
mov rax, qword [rsp + 8]
mov dword [rax], 0x67452301
mov rax, qword [rsp + 8]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rsp + 8]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rsp + 8]
mov dword [rax + 0xc], 0x10325476
mov rax, qword [rsp + 8]
mov dword [rax + 0x10], 0xc3d2e1f0
mov rax, qword [rsp + 8]
mov dword [rax + 0x60], 0
mov rax, qword [rsp + 8]
mov dword [rax + 0x64], 0
xor eax, eax
repz ret

Function at 0x140041300
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x100]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x101]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x30], rax
xor eax, eax
mov word [rsp + 0x24], ax
jmp 0x140041353
movzx eax, word [rsp + 0x24]
add ax, 1
mov word [rsp + 0x24], ax
movsx eax, word [rsp + 0x24]
cmp eax, dword [rsp + 0x58]
jge 0x14004142e
movzx eax, byte [rsp + 0x21]
add eax, 1
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov byte [rsp + 0x21], al
movzx ecx, byte [rsp + 0x21]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + rcx]
movzx ecx, byte [rsp + 0x20]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
add rdx, rax
movzx eax, byte [rsp + 0x21]
mov rcx, qword [rsp + 0x30]
add rcx, rax
call fcn.1400412c0
movzx r11d, byte [rsp + 0x21]
mov rax, qword [rsp + 0x30]
movzx edx, byte [rax + r11]
movzx ecx, byte [rsp + 0x20]
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax + rcx]
mov eax, edx
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov byte [rsp + 0x28], al
movsx rdx, word [rsp + 0x24]
movzx ecx, byte [rsp + 0x28]
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rax + rcx]
mov rax, qword [rsp + 0x50]
movzx edx, byte [rax + rdx]
xor edx, ecx
movsx rcx, word [rsp + 0x24]
mov rax, qword [rsp + 0x50]
mov byte [rax + rcx], dl
jmp 0x140041345
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rsp + 0x21]
mov byte [rcx + 0x100], al
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rsp + 0x20]
mov byte [rcx + 0x101], al
add rsp, 0x48
ret

Function at 0x140048d50
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140048d8c
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx]
call fcn.140026f24
mov r11, qword [rsp + 0x30]
mov qword [r11], 0
mov rcx, qword [rsp + 0x30]
add rcx, 8
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
add rsp, 0x28
ret