joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x41], rax
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
lea r13, vtable.CVolMem.0
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x11], 0x40
mov qword [rbp - 0x19], r12
mov rbx, qword [0x1402a0e30]
test rbx, rbx
jne 0x1400049e7
lea r8d, [r12 + 0x30]
lea rdx, [rbp - 1]
lea rcx, [0x1400143b0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ebx, r12d
test rax, rax
cmovne rbx, qword [rbp + 7]
mov edx, 0x1f5
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140004a57
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140004a50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140004a47
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov qword [rbp - 0x19], r12
mov rdx, r15
lea rcx, [rbp - 0x41]
call fcn.140015060
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rsi, vtable.CVolObject.0
mov r8d, 0x3b
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.140004c10
mov dword [rbp - 0x49], 1
mov qword [rbp - 0x41], r13
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x140004a96
mov rax, qword [rbp - 0x41]
mov r8, qword [rax + 0x18]
cmp rax, r13
jne 0x140004aca
lea rcx, [0x1402a0c68]
call fcn.1400158d0
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x41], rsi
mov rax, rdi
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x41]
call r8
jmp 0x140004a96
Function at 0x140004da0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
xor ebx, ebx
mov r14, r8
mov qword [r8 + 0x28], rbx
mov rsi, rdx
test rdx, rdx
jne 0x140004dc6
lea eax, [rdx + 1]
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rdi
mov rdi, qword [rcx + 0x1d0]
test rdi, rdi
jne 0x140004dfe
lea r8d, [rdi + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x1400143b0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
mov rdi, rbx
cmovne rdi, qword [rsp + 0x28]
movzx edx, si
mov r8d, 0xa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140004e79
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140004e79
mov rcx, rax
mov qword [rsp + 0x80], r15
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140004e68
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r15
mov qword [r14 + 0x28], rbx
mov r8d, eax
mov rcx, r14
call fcn.140015060
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r15, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
mov rax, rbx
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret

Function at 0x14000c870
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x1c8], 0
mov ebx, edx
mov rdi, rcx
jne 0x14000c898
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14001caec
test ebx, ebx
jne 0x14000c8b3
mov qword [0x140293490], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1402a0a7c], eax
cmp qword [0x140293490], 0
je 0x14000c8e1
mov edx, ebx
mov rcx, rdi
call fcn.14001caec
movsxd rcx, eax
mov qword [0x140293490], rcx
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ebx, 2
jl 0x14000c8d1
lea rcx, [0x1402a0d30]
call fcn.140015b20
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rdi + 0x1c8]
lea rdx, vtable.rg_n1::rg_n6772.0
sub eax, dword [0x1402a0a7c]
mov r8, qword [rcx]
cmp r8, rdx
jne 0x14000c92c
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, eax
call qword [r8 + LoadRegTypeLib]
jmp 0x14000c921
Function at 0x14000f2a0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x3f], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
xor esi, esi
mov dword [rbp - 0x69], esi
lea rcx, [0x1402a0c98]
call fcn.140013200
test rax, rax
jne 0x14000f2fe
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x59], rcx
lea r14, vtable.CVolObject.0
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], rsi
mov qword [rbp - 0x49], rsi
lea rax, vtable.CWString.0
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x39], rcx
mov qword [rbp - 0x39], r14
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rsi
lea r15, vtable.CVolMem.0
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x11], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 9], 0x40
mov qword [rbp - 0x41], rsi
mov qword [rbp - 9], 0xfe
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x11], rsi
mov qword [rbp - 0x19], rsi
mov edx, 0x20a
lea rcx, [rbp - 0x39]
call fcn.140014d00
mov rdx, rax
lea rcx, str.76440000EC4E8DE56FDF987FC813230392245614D7F75960282E97295599C6BDA6F63E95A3E69FF8DF9E765D9AE45A702E1D99EB581B05403F60E00EB4D0B71A818EB21FF9F86971E05719D8651FE3EA7C887340FA9B6E58FC558552983F99F64010F9F4D0DEDE76786D234679158CA82FE84413BC9959C438211A94642BAF32BD01
mov eax, 4
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rax, 1
jne 0x14000f3a0
mov rax, qword [rcx]
mov qword [rdx], rax
movzx eax, word [rcx + 8]
mov word [rdx + 8], ax
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 7]
call fcn.14000ea20
mov rbx, rax
mov edi, 1
mov dword [rbp - 0x69], edi
lea rcx, [rbp - 0x39]
call fcn.140005ec0
nop
mov qword [rbp - 0x59], r14
mov rcx, rbx
call fcn.140002820
cmp eax, edi
sete bl
and edi, 0xfffffffe
mov dword [rbp - 0x69], edi
mov qword [rbp + 7], r15
mov rdx, qword [rbp + 0x1f]
test rdx, rdx
je 0x14000f45f
mov rax, qword [rbp + 7]
mov r8, qword [rax + 0x18]
cmp rax, r15
jne 0x14000f478
lea rcx, [0x1402a0c68]
call fcn.1400158d0
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 7], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rbp + 7]
call r8
jmp 0x14000f45f
Function at 0x140012a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r8
mov ebx, edx
test r8, r8
je 0x140012c19
mov rdi, qword [rcx + 0x1d0]
xor r12d, r12d
test rdi, rdi
jne 0x140012ae6
lea r8d, [rdi + 0x30]
lea rdx, [rax - 0x48]
lea rcx, [0x1400143b0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, r12d
test rax, rax
cmovne rdi, qword [rsp + 0x58]
test ebx, ebx
je 0x140012b1f
cmp ebx, 3
je 0x140012b1f
sub ebx, 1
je 0x140012b0e
cmp ebx, 1
jne 0x140012c19
movzx edx, si
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x140012c1b
movzx edx, si
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x140012c1b
movzx edx, si
mov r8d, 0xa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140012c19
mov rsi, r12
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbp, rax
test rax, rax
je 0x140012c19
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140012be8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x48], r12
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
test eax, eax
je 0x140012bc1
mov rdx, r15
lea rcx, [rsp + 0x28]
call fcn.14000fe50
test rax, rax
je 0x140012bc1
mov rsi, qword [rsp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x48], r12
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140012be8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov qword [rsp + 0x48], r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeResource]
test rsi, rsi
je 0x140012c19
cmp ebx, 3
jne 0x140012c14
mov rcx, rsi
call fcn.140012530
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x140012c1b
mov rax, rsi
jmp 0x140012c1b
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140012ce0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r15
sub rsp, 0x50
xor ebx, ebx
mov rbp, r9
mov qword [r8 + 0x28], rbx
mov r15, r8
mov rsi, rdx
test rdx, rdx
jne 0x140012d15
lea eax, [rdx + 1]
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop rsi
pop rbp
ret
mov qword [rsp + 0x70], rdi
mov rdi, qword [rcx + 0x1d0]
test rdi, rdi
jne 0x140012d48
lea r8d, [rdi + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x1400143b0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
mov rdi, rbx
cmovne rdi, qword [rsp + 0x28]
movzx edx, si
mov r8, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x140012dba
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140012dba
mov rcx, rax
mov qword [rsp + 0x78], r14
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x140012dac
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r14
mov qword [r15 + 0x28], rbx
mov r8d, eax
mov rcx, r15
call fcn.140015060
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop rsi
pop rbp
ret
Function at 0x140013fd0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rbx, rcx
test rcx, rcx
je 0x140014195
cmp word [rcx], 0
je 0x140014195
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x50]
call fcn.1401ba590
mov dword [rbp - 0x50], 0x68
or dword [rbp - 0x14], 1
xor edi, edi
mov word [rbp - 0x10], di
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x50], rax
lea r14, vtable.CVolObject.0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea rsi, vtable.CVolMem.0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], 0x40
cmp word [rbx], di
jne 0x1400140af
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
sub rax, rbx
cmp rax, 2
jl 0x14001409b
mov rax, qword [rsp + 0x68]
mov word [rax + rbx], di
add qword [rsp + 0x78], 2
jmp 0x1400140e1
lea rdx, [rbx + 2]
lea rcx, [rsp + 0x50]
call fcn.140014d00
mov word [rax + rbx], di
jmp 0x1400140e1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
lea r8, [r8 + 1]
cmp word [rbx + r8*2], 0
jne 0x1400140c0
lea r8, [r8*2 + 2]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140015060
mov rdx, qword [rsp + 0x68]
cmp qword [rsp + 0x78], 0
cmove rdx, rdi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14001412b
mov rbx, rdi
jmp 0x140014153
mov edx, 0x1f4
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov qword [rsp + 0x50], rsi
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14001417c
mov rax, qword [rsp + 0x50]
mov r8, qword [rax + 0x18]
cmp rax, rsi
jne 0x1400141b4
lea rcx, [0x1402a0c68]
call fcn.1400158d0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x50], r14
mov rax, rbx
jmp 0x140014197
xor eax, eax
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rsp + 0x50]
call r8
jmp 0x14001417c
Function at 0x1400141c0
Capabilities:
Get common file path
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402928c0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
test rcx, rcx
je 0x140014380
cmp word [rcx], 0
je 0x140014380
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x20], rcx
lea r14, vtable.CVolObject.0
mov qword [rsp + 0x20], r14
xor esi, esi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rsi
lea rax, vtable.CWString.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rax, vtable.CVolMem.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x70], 0xfe
mov ebx, esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x1400142bd
test ax, ax
je 0x1400142fc
cmp word [rdi + 2], 0x3a
jne 0x1400142fc
cmp word [rdi + 4], 0x5c
jne 0x1400142fc
mov edx, 0x5c
mov rcx, rdi
call fcn.1401b9d98
test rax, rax
je 0x1400142f7
cmp rax, rdi
jbe 0x1400142e0
lea rcx, [rax - 2]
cmp word [rcx], 0x3a
cmovne rax, rcx
sub rax, rdi
lea r8, [rax + 2]
sar r8, 1
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140016c00
mov rbx, qword [rsp + 0x38]
test rbx, rbx
jne 0x14001431b
cmp qword [rsp + 0x68], rbx
jne 0x140014311
lea rbx, [0x140245c50]
jmp 0x14001431b
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140014348
cmp word [rbx], 0
je 0x140014348
lea rdx, [rbp - 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140014348
cmp word [rbx], 0
je 0x140014343
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rsi, rsi
je 0x14001436b
cmp word [rbp - 0x70], 0
je 0x14001436b
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
lea rcx, [rsp + 0x40]
call fcn.140005ec0
nop
mov qword [rsp + 0x20], r14
mov rax, rbx
jmp 0x140014382
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1401b84e0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14001ac18
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 r14
push r15
sub rsp, 0x30
xor edi, edi
xor ebx, ebx
mov r15, r9
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
je 0x14001ac8a
call fcn.140025eb8
mov r8d, 0xf0
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14001ac8a
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14001acdf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov esi, 1
test rdi, rdi
je 0x14001acbe
mov rcx, qword [r12]
mov r9, r15
mov r8, rdi
mov rdx, rbp
mov rax, qword [rcx + 0x40]
mov rcx, r12
call qword [case.0x14004b692.0]
mov esi, eax
test rbx, rbx
je 0x14001acbe
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14001acdd
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r15
call qword [case.0x14004b692.0]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x14001f184
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x14001f1ec
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x14001f1d6
cmp qword [rcx + 0x18], 0
jne 0x14001f1d1
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14001f1f2
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], 0x40
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14001f1ec
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.1400770f4
call fcn.14002446c
int3
call fcn.14002446c
int3

Function at 0x14001f93c
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 + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14001f9b7
xor r8d, r8d
call fcn.14001fc04
mov rsi, rax
test rax, rax
je 0x14001f9b3
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14001f9b3
mov eax, dword [rsp + 0x30]
jmp 0x14001f9cd
mov eax, edi
jmp 0x14001f9cd
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140020584
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400205eb
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400205ff
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400205ff
mov rcx, qword [rbx]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call qword [case.0x14004b692.0]
jmp 0x140020604
cmp dword [rcx + 8], 0
je 0x1400205ff
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140020604
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14002361c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140023642
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140020584
jmp 0x1400236ad
cmp byte [0x1402991c0], 0
jne 0x140023686
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140023676
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402991b8], rax
jmp 0x14002367d
mov rax, qword [0x1402991b8]
mov byte [0x1402991c0], 1
jmp 0x14002368d
mov rax, qword [0x1402991b8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400236a7
mov r8d, dword [rbx + 8]
xor r9d, r9d
call qword [case.0x14004b692.0]
jmp 0x1400236ad
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400236b8
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x1400239b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x1400239fa
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret