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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r11, [0x141610500]
mov r9, r15
mov rax, r15
sar rax, 6
and r9d, 0x3f
shl r9, 6
mov r14, rdx
mov rdi, r15
mov r10d, 0xa
mov rdx, qword [r11 + rax*8]
mov r12, qword [rdx + r9 + 0x28]
test r8, r8
je 0x1400b0624
cmp word [r14], r10w
jne 0x1400b0624
mov rcx, r15
mov rax, r15
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
or byte [rax + rcx + 0x38], 4
jmp 0x1400b0645
mov dl, byte [rdx + r9 + 0x38]
mov rcx, rdi
and dl, 0xfb
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rcx + 0x38], dl
lea rbp, [r14 + r8*2]
mov rsi, r14
mov rbx, r14
cmp r14, rbp
jae 0x1400b081e
mov ecx, 0xd
lea r13d, [rcx - 0xb]
movzx eax, word [rsi]
cmp ax, 0x1a
je 0x1400b07dc
cmp ax, cx
je 0x1400b0681
mov word [rbx], ax
add rbx, r13
add rsi, r13
jmp 0x1400b0775
lea rax, [rsi + 2]
cmp rax, rbp
jae 0x1400b06a9
cmp word [rax], r10w
jne 0x1400b069b
mov word [rbx], r10w
mov eax, 4
jmp 0x1400b06a1
mov word [rbx], cx
mov rax, r13
add rsi, rax
jmp 0x1400b07bf
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, r13d
lea rdx, [rsp + 0x70]
mov rcx, r12
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400b07c4
cmp dword [rsp + 0x80], 0
je 0x1400b07c4
mov rcx, rdi
lea r11, [0x141610500]
and ecx, 0x3f
mov rax, rdi
sar rax, 6
mov r10d, 0xa
shl rcx, 6
mov rax, qword [r11 + rax*8]
test byte [rax + rcx + 0x38], 0x48
je 0x1400b0783
movzx eax, word [rsp + 0x70]
cmp ax, r10w
jne 0x1400b071b
mov word [rbx], r10w
jmp 0x1400b076d
mov r8, rdi
mov word [rsp + 0x78], ax
mov r9, rdi
and r8d, 0x3f
sar r9, 6
mov ecx, 0xd
xor edx, edx
mov word [rbx], cx
shl r8, 6
mov rcx, qword [r11 + r9*8]
mov al, byte [rsp + rdx + 0x78]
add rcx, r8
mov byte [rcx + rdx + 0x3a], al
inc rdx
cmp rdx, r13
jl 0x1400b073c
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rcx + 0x3c], r10b
add rbx, r13
mov ecx, 0xd
cmp rsi, rbp
jb 0x1400b0661
jmp 0x1400b081e
cmp word [rsp + 0x70], r10w
jne 0x1400b0790
cmp rbx, r14
je 0x1400b0715
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400b3ca0
mov r10d, 0xa
lea r11, [0x141610500]
cmp word [rsp + 0x70], r10w
je 0x1400b0770
lea ecx, [r10 + 3]
mov word [rbx], cx
add rbx, r13
jmp 0x1400b0775
mov ecx, 0xd
lea r11, [0x141610500]
mov word [rbx], cx
add rbx, r13
lea r10d, [rcx - 3]
jmp 0x1400b0775
mov rcx, rdi
mov rax, rdi
sar rax, 6
and ecx, 0x3f
shl rcx, 6
mov rax, qword [r11 + rax*8]
mov dl, byte [rax + rcx + 0x38]
test dl, 0x40
jne 0x1400b0815
mov rax, rdi
or dl, r13b
sar rax, 6
and edi, 0x3f
shl rdi, 6
mov rax, qword [r11 + rax*8]
mov byte [rax + rdi + 0x38], dl
jmp 0x1400b081e
movzx ecx, word [rsi]
mov word [rbx], cx
add rbx, r13
sub rbx, r14
sar rbx, 1
lea rax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180027c70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180027c98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180027c98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x180028650
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.180001ba0
movzx eax, al
test eax, eax
jne 0x180028697
mov rax, qword [rsp + 0x30]
mov rcx, rax
call fcn.180001c50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x30]
lea rdx, [0x180037f7c]
mov rcx, rax
call fcn.180001da0
add rsp, 0x28
ret
Function at 0x18007f64c
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18007f6b0
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18007f69e
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18007f697
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18007f66b
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180208db0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18007f6c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x180209940]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x18007f6f6
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18007f72c
mov eax, 0xa
jmp 0x18007f7bb
test esi, esi
je 0x18007f74e
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18007f76f
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18007f76f
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18007f769
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18007f76f
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x18007fc8c
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18007fca3
cmp r8b, 0x90
je 0x18007fca3
cmp r8b, 0xcc
jne 0x18007fcc5
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18007fcc1
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18007fcc5
add edx, r10d
cmp edx, r9d
jb 0x18007fcb1
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x18008002c
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x180080076
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x180209930]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x1800800af
cmp rbx, r14
jb 0x1800800ac
cmp rbx, r12
jae 0x1800800ac
cmp qword [rbx + 8], rsi
jne 0x180080211
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180080098
mov r15, rdi
cmp rdi, r14
jb 0x1800801cb
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x1800800fb
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180080135
cmp dword [rbp - 0x10], 0x10000
je 0x180080105
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x180080135
sub r15, r13
cmp r15, r14
jae 0x1800800d1
jmp 0x180080135
test r15, r15
je 0x180080135
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800801d6
cmp r15, r14
jae 0x1800800c0
test rbx, rbx
jmp 0x1800801c9
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x180080211
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180080211
cmp dword [rbp - 0x10], 0x10000
je 0x1800801a4
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x180080161
jmp 0x180080211
test rdi, rdi
je 0x180080211
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800801d6
cmp rdi, r12
jbe 0x18008013d
jmp 0x180080211
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x1800801e2
mov rax, qword [0x180209930]
mov qword [rbx], rax
mov qword [0x180209930], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180087428
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800819d0
sub rsp, rax
mov rax, qword [0x1800cf040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800954d8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180087477
mov rax, rbp
jmp 0x18008757f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1084c0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180095768
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x1084c0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18008757b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18008757b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180095768
test rax, rax
js 0x18008757b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18008757b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18008756d
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18008756d
cmp byte [rcx], 0xd
jne 0x180087553
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180087562
cmp byte [rcx + 1], 0xa
jne 0x180087562
inc rcx
jmp 0x180087562
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xcf400]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180087535
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18008757f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800816d0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400034a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x140058690]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov ebp, edx
mov rsi, rcx
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
lea rdx, [0x14004cc18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.VirtualProtect
mov rcx, rdi
call rbx
mov r12, rax
lea rdx, str.CreateThread
mov rcx, rdi
call rbx
mov r13, rax
lea rdx, str.WaitForSingleObject
mov rcx, rdi
call rbx
mov r14, rax
mov qword [rsp + 0x78], 0xf
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x60], r15b
xor r8d, r8d
lea edx, [r15 + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140005290
lea r11, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r11, qword [rsp + 0x60]
mov rax, qword [rbp + rsi - 0x10]
mov qword [r11], rax
mov rax, qword [rbp + rsi - 8]
mov qword [r11 + 8], rax
mov qword [rsp + 0x70], 0x10
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
mov byte [rax + 0x10], r15b
lea eax, [rbp - 0x10]
mov edi, eax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.140005010
nop
mov r8d, edi
mov rdx, rsi
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14002c2c0
mov r11d, r15d
test rdi, rdi
je 0x1400035fb
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
xor edx, edx
mov rax, r11
div qword [rsp + 0x70]
movzx eax, byte [rdx + rcx]
xor byte [rbx + r11], al
inc r11
cmp r11, rdi
jb 0x1400035d0
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14002c2c0
lea r9, [rsp + 0x30]
mov r8d, 0x40
mov edx, ebp
mov rcx, rsi
call r12
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8, rsi
xor edx, edx
xor ecx, ecx
call r13
or edx, 0xffffffff
mov rcx, rax
call r14
nop
test rbx, rbx
je 0x14000364b
mov rcx, rbx
call fcn.14002cf50
nop
cmp qword [rsp + 0x78], 0x10
jb 0x14000365d
mov rcx, qword [rsp + 0x60]
call fcn.14002cf50
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14002c0a0
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140034287
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140058690]
jne 0x14002c0ba
rol rcx, 0x10
test cx, 0xffff
jne 0x14002c0b6
repz ret
ror rcx, 0x10
jmp 0x1400341e0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1414f0050]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1414f0148]
mov qword [rsp + 0x58], rax
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 0x140034265
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, [0x1414f0050]
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 0x140034287
mov rax, qword [rsp + 0x88]
mov qword [0x1414f0148], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1414f00e8], rax
mov rax, qword [0x1414f0148]
mov qword [0x1414effc0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1414f00d0], rax
mov dword [0x1414effb0], 0xc0000409
mov dword [0x1414effb4], 1
mov rax, qword [0x140058690]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140058698]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1414f0048], eax
mov ecx, 1
call fcn.14003e4a4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140049d80]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1414f0048], 0
jne 0x14003430e
mov ecx, 1
call fcn.14003e4a4
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 0x140034748
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400345b8
Function at 0x14003e584
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140058690]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140035a30
xor ebx, ebx
cmp qword [0x1414f1158], rbx
mov rdi, rax
jne 0x14003e697
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14003e76e
lea rdx, [0x14004be30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003e76e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1414f1158], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1414f1160], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1414f1168], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1414f1178], rax
test rax, rax
je 0x14003e68e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1414f1170], rax
jmp 0x14003e69e
mov rax, qword [0x1414f1170]
jmp 0x14003e6a5
mov rax, qword [0x1414f1170]
mov r11, qword [0x1414f1178]
cmp rax, rdi
je 0x14003e70c
cmp r11, rdi
je 0x14003e70c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1414f1178]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14003e70c
test rax, rax
je 0x14003e70c
call rsi
test rax, rax
je 0x14003e706
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14003e706
test byte [rsp + 0x40], 1
jne 0x14003e70c
bts ebp, 0x15
jmp 0x14003e74c
mov rcx, qword [0x1414f1160]
cmp rcx, rdi
je 0x14003e74c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14003e74c
call rax
mov rbx, rax
test rax, rax
je 0x14003e74c
mov rcx, qword [0x1414f1168]
cmp rcx, rdi
je 0x14003e74c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14003e74c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1414f1158]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14003e76e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14003e770
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002c0a0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x1413c0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1413c01df
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 0x1413c0089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413c006f
add dl, dl
jne 0x1413c0096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413c00f6
xor eax, eax
add dl, dl
jne 0x1413c00a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413c01ad
add dl, dl
jne 0x1413c00b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413c00c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413c00d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413c00dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413c00ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1413c007e
mov eax, 1
add dl, dl
jne 0x1413c0106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413c0113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413c00fb
sub eax, ebx
mov ebx, 1
jne 0x1413c014c
mov ecx, 1
add dl, dl
jne 0x1413c012e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413c013b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413c0123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413c007e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1413c0168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413c0175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413c015d
cmp eax, 0x7d00
jae 0x1413c019b
cmp eax, 0x500
jb 0x1413c0196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413c007e
cmp eax, 0x7f
ja 0x1413c019e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413c007e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413c01d2
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 0x1413c007e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x474ad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x474b60
cmp r10, r11
jb 0x474bd6
cmp r10, rdx
ja 0x474bea
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x474b62
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x474b40
jmp 0x474bc4
ja 0x474b6a
mov r11, r10
cmp rax, r8
jne 0x474b04
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x474ba0
mov rdi, r8
sub ecx, edx
jns 0x474bbb
jmp 0x474bc6
cmp r8, rsi
je 0x474bfb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x474bc6
xor al, 1
cmp rdi, rsi
jne 0x474b80
jmp 0x474bc6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.library_core_src_unicode_printable.rs
mov rcx, r11
mov rdx, r10
call fcn.00475310
ud2
lea r8, str.library_core_src_unicode_printable.rs
mov rcx, r10
call fcn.00474d50
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_winapi_util_0.1.9_src_win.rs
lea r8, str.library_core_src_unicode_printable.rs
mov edx, 0x2b
call fcn.00473ab0
ud2