joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b0fc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
xor r9d, r9d
mov edx, 0x40000000
mov qword [rax - 0x18], rbp
mov dword [rax - 0x20], ebp
lea esi, [rbp + 1]
mov r8d, esi
mov dword [rax - 0x28], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r9, [rsp + 0x58]
lea rdx, [0x140a32320]
cmp rax, 0xffffffffffffffff
movzx ebx, bpl
mov r8d, 0xe7eb9c
mov rcx, rax
mov rdi, rax
mov qword [rsp + 0x20], rbp
cmove ebx, ebp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
cmp eax, ebp
cmovne ebx, esi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14000b188
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400f8968]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.1400781b0
mov r9d, 1
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 0x22]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, str.ckq
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [rsp + 0x20]
call fcn.14000b0fc
lea rcx, [0x1408fe120]
mov edx, 0x134200
call fcn.14000aad0
mov rbx, rax
test rax, rax
je 0x14000b224
lea rdx, [0x1418b0ebc]
mov rcx, rax
call fcn.14000a8c8
test rax, rax
je 0x14000b21c
call rax
mov rcx, rbx
call fcn.14000a86c
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140077fc0
add rsp, 0x140
pop rbx
ret

Function at 0x140010f48
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 0x140010f87
cmp dword [rcx + 0xa8], 0
jne 0x140010f87
movzx eax, dx
mov dword [rcx + 0xa8], eax
call fcn.1400292b8
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.140010eec
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 0x140013300
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 0x14001333e
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1400133f2
call fcn.14000eb80
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14001335d
mov ecx, 0x80004005
call fcn.140001d58
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
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.14007ab20
test eax, eax
je 0x1400133c5
cmp eax, 0xc
je 0x1400133bf
cmp eax, 0x16
je 0x1400133b9
cmp eax, 0x22
je 0x1400133b9
cmp eax, 0x50
je 0x1400133c5
call fcn.14000e72c
int3
call fcn.14000e72c
int3
call fcn.14000e6e4
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 0x1400133f0
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 0x140013a0c
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14001e220
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.14003f504
mov rsi, rax
test rax, rax
je 0x14001e29c
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14001e297
cmp dword [rbx], 0x40
jb 0x14001e297
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 0x14001e297
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14001e2a0
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 0x140026898
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 0x140026900
call fcn.1400292b8
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 0x140026900
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140026922
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.1400262b0
mov esi, eax
test rdi, rdi
je 0x140026920
test rbx, rbx
je 0x140026920
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 0x14002ab28
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
and dword [rcx + 0x20], 0
and qword [rcx + 0x18], 0
lea rax, vtable.CInternetSession.0
mov qword [rcx], rax
mov edi, r9d
mov r10, rdx
mov rbx, rcx
mov qword [rcx + 8], r8
test rdx, rdx
jne 0x14002ab60
call fcn.1400292b8
mov r10, qword [rax + 0x20]
mov eax, dword [rsp + 0x70]
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, edi
mov rcx, r10
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdi, rax
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14002ab95
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.14002aa70
int3
lea rcx, [0x1418b4758]
call fcn.140029f5c
lea rcx, [0x1418b4720]
mov rdx, rdi
call fcn.140040884
lea rcx, [0x1418b4758]
mov qword [rax], rbx
mov rax, qword [0x1418b4758]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14002d194
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r12
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov r12, r9
mov rbx, r8
mov rbp, rdx
mov rdi, rcx
mov rax, qword [rsp + 0x98]
mov qword [r11 - 0x48], rax
movzx r9d, word [rsp + 0xa0]
call fcn.14002d018
nop
lea rax, vtable.CFtpConnection.0
mov qword [rdi], rax
call fcn.14000eb80
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002d204
mov ecx, 0x80004005
call fcn.140001d58
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rdi + 0x30], rax
test rbx, rbx
jne 0x14002d21e
xor eax, eax
jmp 0x14002d226
mov rcx, rbx
call fcn.1400780f0
mov r8d, eax
mov rdx, rbx
lea rcx, [rdi + 0x30]
call fcn.140001b68
neg dword [rsp + 0xa8]
sbb edx, edx
and edx, 0x8000000
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], 1
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9, r12
movzx r8d, word [rsp + 0xa0]
mov rdx, rbx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x14002d29d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, qword [rdi + 0x10]
call fcn.14002aa70
int3
mov rbx, qword [rdi + 0x18]
lea rcx, [0x1418b4758]
call fcn.140029f5c
mov rdx, rsi
lea rcx, [0x1418b4720]
call fcn.140040884
mov qword [rax], rbx
lea rcx, [0x1418b4758]
mov rax, qword [0x1418b4758]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
nop
mov rax, rdi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x14002d2ec
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov rax, qword [rsp + 0x88]
mov qword [r11 - 0x38], rax
movzx r9d, word [rsp + 0x90]
call fcn.14002d018
nop
lea rax, vtable.CGopherConnection.0
mov qword [rbp], rax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, rdi
movzx r8d, word [rsp + 0x90]
mov rdx, rsi
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rdi, rax
mov qword [rbp + 8], rax
test rax, rax
jne 0x14002d393
xor edx, edx
mov rcx, qword [rbp + 0x10]
call fcn.14002aa70
int3
mov rbx, qword [rbp + 0x18]
lea rcx, [0x1418b4758]
call fcn.140029f5c
mov rdx, rdi
lea rcx, [0x1418b4720]
call fcn.140040884
mov qword [rax], rbx
lea rcx, [0x1418b4758]
mov rax, qword [0x1418b4758]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
nop
mov rax, rbp
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14002d63c
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
movzx ebx, r9w
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov rax, qword [rsp + 0x90]
mov qword [r11 - 0x38], rax
call fcn.14002d018
nop
lea rax, vtable.CHttpConnection.0
mov qword [rdi], rax
call fcn.14000eb80
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002d6a5
mov ecx, 0x80004005
call fcn.140001d58
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rdi + 0x30], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
movzx r8d, bx
mov rdx, rsi
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x14002d70a
xor edx, edx
mov rcx, qword [rdi + 0x10]
call fcn.14002aa70
int3
mov rbx, qword [rdi + 0x18]
lea rcx, [0x1418b4758]
call fcn.140029f5c
mov rdx, rsi
lea rcx, [0x1418b4720]
call fcn.140040884
mov qword [rax], rbx
lea rcx, [0x1418b4758]
mov rax, qword [0x1418b4758]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x14002d758
Capabilities:
Connect to http server

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov ebp, r9d
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rsp + 0x98]
mov qword [r11 - 0x38], rax
movzx r9d, word [rsp + 0x80]
call fcn.14002d018
nop
lea rax, vtable.CHttpConnection.0
mov qword [rdi], rax
call fcn.14000eb80
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14002d7c9
mov ecx, 0x80004005
call fcn.140001d58
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rdi + 0x30], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], 3
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x88]
movzx r8d, word [rsp + 0x80]
mov rdx, rbx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov rsi, rax
mov qword [rdi + 8], rax
test rax, rax
jne 0x14002d832
xor edx, edx
mov rcx, qword [rdi + 0x10]
call fcn.14002aa70
int3
mov rbx, qword [rdi + 0x18]
lea rcx, [0x1418b4758]
call fcn.140029f5c
mov rdx, rsi
lea rcx, [0x1418b4720]
call fcn.140040884
mov qword [rax], rbx
lea rcx, [0x1418b4758]
mov rax, qword [0x1418b4758]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
nop
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140030a38
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 0x140030aaa
call fcn.1400292b8
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140030aaa
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x140030af7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x140030ad7
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 0x140030ad7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x140030af5
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 0x140036294
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.140001818
nop
cmp rbx, 0xffffffff80000000
jne 0x140036320
call fcn.140027fc0
cmp eax, 1
jne 0x140036320
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.140005b6c
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001c3c
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140036319
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rbx, 0xffffffff80000001
mov r9, rdi
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140036357
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 0x14003636c
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, r9
mov esi, r8d
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.140001818
nop
cmp rbx, 0xffffffff80000000
jne 0x1400363f8
call fcn.140027fc0
cmp eax, 1
jne 0x1400363f8
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.140005b6c
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001c3c
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400363f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, esi
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140036437
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14003644c
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.140001818
nop
cmp rbx, 0xffffffff80000000
jne 0x1400364c8
call fcn.140027fc0
cmp eax, 1
jne 0x1400364c8
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x50]
call fcn.140005b6c
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001c3c
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400364c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rbx, 0xffffffff80000001
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400364f9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140048588
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xa8], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x1400485ff
call fcn.140048514
mov rsi, rax
test rax, rax
jne 0x1400485bb
mov eax, edi
jmp 0x140048615
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x1400485b7
mov r9, qword [rcx + 0xd0]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14007c95c
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.14008e9ac
nop
cmp dword [0x1418b4dd8], 1
je 0x14007c908
mov dword [0x1418b4dd4], 1
mov byte [0x1418b4dd0], r12b
test ebx, ebx
jne 0x14007c8f4
mov rcx, qword [0x1418b70d8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14007c8e1
mov rcx, qword [0x1418b70d0]
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 0x14007c880
call fcn.140083b78
cmp qword [rdi], rax
jne 0x14007c880
jmp 0x14007c866
cmp rdi, rsi
jb 0x14007c8e1
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140083b78
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1418b70d8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1418b70d0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14007c8bf
cmp r13, rax
je 0x14007c8df
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 0x14007c866
lea rdx, [0x1400b5538]
lea rcx, [0x1400b5520]
call fcn.14007c620
lea rdx, [0x1400b5548]
lea rcx, [0x1400b5540]
call fcn.14007c620
nop
test r12d, r12d
je 0x14007c917
mov ecx, 8
call fcn.14008e88c
test r12d, r12d
jne 0x14007c942
mov dword [0x1418b4dd8], 1
lea ecx, [r12 + 8]
call fcn.14008e88c
mov ecx, r15d
call fcn.14007c5b4
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 0x14007c7d0

Function at 0x14007c968
Capabilities:
Terminate process

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

Disassembly:
cmp rcx, qword [0x1400f8968]
jne 0x140077fda
rol rcx, 0x10
test cx, 0xffff
jne 0x140077fd6
repz ret
ror rcx, 0x10
jmp 0x140080440
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1418b4e80]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1418b4f78]
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 0x1400804c5
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, [0x1418b4e80]
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 0x1400804e7
mov rax, qword [rsp + 0x88]
mov qword [0x1418b4f78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1418b4f18], rax
mov rax, qword [0x1418b4f78]
mov qword [0x1418b4df0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1418b4f00], rax
mov dword [0x1418b4de0], 0xc0000409
mov dword [0x1418b4de4], 1
mov rax, qword [0x1400f8968]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400f8970]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1418b4e78], eax
mov ecx, 1
call fcn.140083b68
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400c79c8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1418b4e78], 0
jne 0x14008056e
mov ecx, 1
call fcn.140083b68
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret