joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400027e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rdi, rax
test rax, rax
je 0x14000282e
xor edx, edx
mov r8d, 0x82
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14000282e
mov r8, rax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_HeapSize]
xor edx, edx
mov rcx, rbx
mov r8, rax
call fcn.140030880
test rbx, rbx
je 0x1400028ab
mov edx, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, eax
test eax, eax
jne 0x14000286d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x140002860
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0x40
jb 0x1400028ab
inc eax
movsxd rcx, eax
add rcx, rcx
call fcn.1400037b0
mov rbx, rax
test rax, rax
je 0x1400028ae
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400028ab
mov rcx, rbx
call fcn.140003830
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140003340
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140003362
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.EBInitialize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x80], rax
test rax, rax
je 0x140003355
lea rdx, str.EBRelease
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x88], rax
test rax, rax
je 0x140003355
lea rdx, str.EBGetDeviceID
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x90], rax
test rax, rax
je 0x140003355
lea rdx, str.EBGetAvailableChannel
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x98], rax
test rax, rax
je 0x140003355
lea rdx, str.EBOpenChannel
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa0], rax
test rax, rax
je 0x140003355
lea rdx, str.EBCloseChannel
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa8], rax
test rax, rax
je 0x140003355
lea rdx, str.EBSend
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xb0], rax
test rax, rax
je 0x140003355
lea rdx, str.EBReceive
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xb8], rax
test rax, rax
je 0x140003355
lea rdx, str.EBGetStatus
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xc0], rax
test rax, rax
je 0x140003355
lea rdx, str.EBReceiveCancel
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x30]
xor ecx, ecx
test rax, rax
mov qword [rdi + 0xc8], rax
setne cl
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400066a0
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x2f0
mov rax, qword [0x140063cf0]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov eax, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x800
jne 0x140006712
lea r8, [0x14004a600]
lea rcx, [rsp + 0xa0]
mov edx, 4
call fcn.14002f8e0
test eax, eax
je 0x140006734
cmp eax, 0xc
je 0x14000670c
cmp eax, 0x16
je 0x140006706
cmp eax, 0x22
je 0x140006706
cmp eax, 0x50
je 0x140006734
call fcn.140005230
int3
call fcn.140005230
int3
call fcn.1400051e8
int3
mov r9d, 4
lea r8, [rsp + 0xa0]
mov ecx, eax
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x140006857
call fcn.14002fb74
mov edi, dword [rax]
call fcn.14002fb74
lea rcx, [rsp + 0xb0]
and dword [rax], 0
lea rax, [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov esi, 0x112
lea r8d, [rsi - 1]
mov rdx, rsi
call fcn.14002fb08
mov ebx, eax
call fcn.14002fb74
cmp dword [rax], 0
je 0x1400067bc
call fcn.14002fb74
cmp dword [rax], 0
je 0x1400067c3
cmp dword [rax], 0xc
je 0x1400067b1
cmp dword [rax], 0x16
je 0x1400067a6
cmp dword [rax], 0x22
je 0x1400067a6
cmp dword [rax], 0x50
je 0x1400067c3
mov ecx, 0x80004005
call fcn.140002160
int3
mov ecx, 0x80070057
call fcn.140002160
int3
mov ecx, 0x8007000e
call fcn.140002160
int3
call fcn.14002fb74
mov dword [rax], edi
cmp ebx, 0xffffffff
je 0x140006857
cmp ebx, esi
jae 0x140006857
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
mov rbx, rax
mov dword [rsp + 0x30], 0x70
call fcn.140030880
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006842
lea rdx, str.FindActCtxSectionStringW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140006842
lea rcx, [rsp + 0x30]
xor edx, edx
mov r9, rbx
mov qword [rsp + 0x20], rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call rax
mov rcx, rbx
test eax, eax
jne 0x14000684a
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x140006859
xor eax, eax
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.14002ce30
add rsp, 0x2f0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000814c
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
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x1400081be
call fcn.14000d948
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400081be
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14000820b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x1400081eb
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x1400081eb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140008209
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret

Function at 0x140010520
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 0x14001055e
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140010612
call fcn.140004c98
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14001057d
mov ecx, 0x80004005
call fcn.140002160
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.14002f964
test eax, eax
je 0x1400105e5
cmp eax, 0xc
je 0x1400105df
cmp eax, 0x16
je 0x1400105d9
cmp eax, 0x22
je 0x1400105d9
cmp eax, 0x50
je 0x1400105e5
call fcn.140005230
int3
call fcn.140005230
int3
call fcn.1400051e8
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
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 0x140010610
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 0x14001d780
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.14000f86c
mov rsi, rax
test rax, rax
je 0x14001d7fc
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14001d7f7
cmp dword [rbx], 0x40
jb 0x14001d7f7
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_SendMessageW]
bt rax, 0xd
jb 0x14001d7f7
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14001d800
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 0x140023ddc
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 0x140023e44
call fcn.14000d948
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140023e44
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140023e66
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1400237ec
mov esi, eax
test rdi, rdi
je 0x140023e64
test rbx, rbx
je 0x140023e64
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 0x1400243f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_640
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 0x14002a743
cmp dword [rcx + 0xa8], 0
jne 0x14002a743
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14000d948
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
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.14002a6a8
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 0x14002a704
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, dx
jmp method.CDialog.virtual_640
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 0x14002a743
cmp dword [rcx + 0xa8], 0
jne 0x14002a743
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.14000d948
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
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.14002a6a8
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 0x1400307c8
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.140035298
nop
cmp dword [0x1400691d8], 1
je 0x140030774
mov dword [0x1400691d4], 1
mov byte [0x1400691d0], r12b
test ebx, ebx
jne 0x140030760
mov rcx, qword [0x14006b590]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14003074d
mov rcx, qword [0x14006b588]
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 0x1400306ec
call fcn.140032894
cmp qword [rdi], rax
jne 0x1400306ec
jmp 0x1400306d2
cmp rdi, rsi
jb 0x14003074d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140032894
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14006b590]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14006b588]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14003072b
cmp r13, rax
je 0x14003074b
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 0x1400306d2
lea rdx, [0x140049c90]
lea rcx, [0x140049c78]
call fcn.14003051c
lea rdx, [0x140049ca0]
lea rcx, [0x140049c98]
call fcn.14003051c
nop
test r12d, r12d
je 0x140030783
mov ecx, 8
call fcn.140035198
test r12d, r12d
jne 0x1400307ae
mov dword [0x1400691d8], 1
lea ecx, [r12 + 8]
call fcn.140035198
mov ecx, r15d
call fcn.1400304b0
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
xor edx, edx
jmp 0x14003063c

Function at 0x1400307d4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14003063c
Function at 0x140032d8f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140063cf0]
jne 0x14002ce4a
rol rcx, 0x10
test cx, 0xffff
jne 0x14002ce46
repz ret
ror rcx, 0x10
jmp 0x140032ce8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400697c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400698b8]
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 0x140032d6d
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, [0x1400697c0]
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 0x140032d8f
mov rax, qword [rsp + 0x88]
mov qword [0x1400698b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140069858], rax
mov rax, qword [0x1400698b8]
mov qword [0x140069730], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140069840], rax
mov dword [0x140069720], 0xc0000409
mov dword [0x140069724], 1
mov rax, qword [0x140063cf0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140063cf8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400697b8], eax
mov ecx, 1
call fcn.14003c9c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400513f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400697b8], 0
jne 0x140032e16
mov ecx, 1
call fcn.14003c9c0
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 0x14003c77c
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.140032894
xor ebx, ebx
mov rdi, rax
cmp qword [0x14006a068], rbx
jne 0x14003c882
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14003c957
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003c957
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400529f0]
mov rcx, rsi
mov qword [0x14006a068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400529d8]
mov rcx, rsi
mov qword [0x14006a070], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14006a078], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14006a088], rax
test rax, rax
je 0x14003c879
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14006a080], rax
jmp 0x14003c889
mov rax, qword [0x14006a080]
jmp 0x14003c890
mov rax, qword [0x14006a080]
mov r11, qword [0x14006a088]
cmp rax, rdi
je 0x14003c8f8
cmp r11, rdi
je 0x14003c8f8
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14006a088]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14003c8f8
test rax, rax
je 0x14003c8f8
call rsi
test rax, rax
je 0x14003c8f2
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 0x14003c8f2
test byte [rsp + 0x38], 1
jne 0x14003c8f8
bts ebp, 0x15
jmp 0x14003c936
mov rcx, qword [0x14006a070]
cmp rcx, rdi
je 0x14003c936
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003c936
call rax
mov rbx, rax
test rax, rax
je 0x14003c936
mov rcx, qword [0x14006a078]
cmp rcx, rdi
je 0x14003c936
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003c936
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14006a068]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003c957
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14003c959
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 0x14007c920
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov dword [rsp + 8], 0xffffffff
mov dword [rsp + 0xc], 0
jmp 0x14007c952
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x14007c9fa
mov eax, dword [rsp + 0xc]
mov rcx, qword [rsp]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 8]
shr eax, 8
mov dword [rsp + 8], eax
mov dword [rsp + 0x14], 0
jmp 0x14007c996
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
jge 0x14007c9e5
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14007c9b2
mov dword [rsp + 0x1c], 1
jmp 0x14007c9ba
mov dword [rsp + 0x1c], 0
movzx eax, byte [rsp + 0x1c]
mov byte [rsp + 0x18], al
mov eax, dword [rsp + 0x10]
shr eax, 1
mov dword [rsp + 0x10], eax
movzx eax, byte [rsp + 0x18]
test eax, eax
je 0x14007c9e3
mov eax, dword [rsp + 0x10]
xor eax, 0xedb88320
mov dword [rsp + 0x10], eax
jmp 0x14007c98c
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x14007c948
mov eax, dword [rsp + 8]
not eax
add rsp, 0x28
ret
Function at 0x140014e00
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140014eb9
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140014e85
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x140014e9d
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x140014e9d
mov rdx, qword [rdi]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call qword [0x1400355d8]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 8], 0
je case.default.0x140014e9d
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
cmp byte [0x14004ac38], 0
jne 0x140014f04
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140014ef4
lea rdx, [0x140036e20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14004ac30], rax
mov byte [0x14004ac38], 1
jmp 0x140014f0b
mov rax, qword [0x14004ac30]
mov byte [0x14004ac38], 1
jmp 0x140014f0b
mov rax, qword [0x14004ac30]
mov rcx, qword [rbx]
mov rdx, rsi
test rax, rax
je 0x140014e8e
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [0x1400355d8]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
invalid
Function at 0x140008830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
dec rax
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
jge 0x140008905
mov rax, qword [rsp + 0x30]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
lea rax, [rax + rcx*2 - 2]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x30]
lea rcx, [rcx + rdx*2]
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x80]
call fcn.140006550
movzx eax, al
test eax, eax
je 0x1400088cf
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
lea rax, [rax + rcx*2]
mov rcx, rax
call fcn.1400066b0
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
movzx eax, word [rax]
mov word [rcx + rdx*2], ax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
jmp 0x14000886c
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x30], rax
jne 0x14000895c
mov rax, qword [rsp + 0x70]
cqo
and rax, 1
xor rax, rdx
sub rax, rdx
test rax, rax
jne 0x14000895c
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
lea rax, [rax + rcx*2 - 2]
mov rcx, rax
call fcn.1400066b0
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
movzx eax, word [rax]
mov word [rcx + rdx*2], ax
mov rax, qword [rsp + 0x70]
dec rax
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x78]
call fcn.1400066b0
movzx ecx, byte [rsp + 0x80]
mov byte [rsp + 0x20], cl
mov r9, rax
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.140008ad0
add rsp, 0x58
ret

Function at 0x14001cf80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14001ce13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001ce13
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001ce13
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001ce13
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001ce13
cmp dword [rcx + 0x84], 0xe
jbe 0x14001ce13
cmp dword [rcx + 0xf8], 0
je 0x14001ce13
mov ecx, ebx
call fcn.14001ceb4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14001cca4
cmp dword [rbp + 0x20], 0
je 0x14001ce60
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001ce68
int3
xor r8d, r8d
xor edx, edx
jmp 0x14001cdac