joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18021eb90
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov r14, qword [rsp + 0xa8]
cmp dword [rsp + 0xb0], 0
jne 0x18021ed96
cmp r8d, 0x102
jne 0x18021ec4f
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
cmp r9w, 0x1b
je 0x18021ec1e
cmp r9w, 0xd
je 0x18021ec22
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x18021ec35
mov rax, qword [rcx + 0x18]
mov qword [r11 - 0x58], rax
mov r9, qword [rcx + 0x10]
mov r8d, dword [rcx + 8]
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x18021ec35
mov byte [rcx + 0x48], 1
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
xor edi, edi
mov qword [r14], rdi
mov rcx, qword [rbx + 0x30]
cmp dword [rcx + 0x34], edi
je 0x18021ed96
lea eax, [rdi + 1]
jmp 0x18021ed98
cmp r8d, 8
jne 0x18021ed43
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0x38]
call fcn.180207b30
mov rsi, rax
lea rbp, [rbx + 0x60]
xor edi, edi
cmp rbp, rax
je 0x18021eca6
mov rcx, rbp
call fcn.180004e20
movups xmm0, xmmword [rsi]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x18021eceb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18021ece6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18021ece6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], di
xor edx, edx
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [rbx + 0x48], 0
jne 0x18021ed2f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x660
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [r14], rdi
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x34], 0
je 0x18021ed96
mov eax, 1
jmp 0x18021ed98
cmp r8d, 0x20
jne 0x18021ed96
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
mov eax, dword [0x1804deb54]
test al, 1
jne 0x18021ed7d
or eax, 1
mov dword [0x1804deb54], eax
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [0x1804deb58], rax
jmp 0x18021ed84
mov rax, qword [0x1804deb58]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov qword [r14], 1
jmp 0x18021ed32
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1802235f0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov rsi, qword [rsp + 0x2b8]
cmp dword [rsp + 0x2c0], 0
jne 0x180223836
cmp r8d, 0x20
jne 0x1802236b1
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
mov eax, dword [0x1804deb88]
test al, 1
jne 0x180223671
or eax, 1
mov dword [0x1804deb88], eax
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [0x1804deb80], rax
jmp 0x180223678
mov rax, qword [0x1804deb80]
test rax, rax
je 0x18022368d
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edi, 1
jmp 0x180223696
mov rcx, qword [rbx + 0x30]
xor edi, edi
mov dword [rcx + 0x34], edi
mov qword [rsi], rdi
mov rcx, qword [rbx + 0x30]
cmp dword [rcx + 0x34], 0
je 0x180223836
mov eax, 1
jmp 0x180223838
cmp r8d, 7
jne 0x180223726
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
lea rdx, [rcx + 0x48]
cmp qword [rdx + 0x18], 8
jb 0x1802236d0
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
movsxd r8, dword [rbx + 0x58]
mov r9, r8
mov edx, 0xb1
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx + 0x30]
xor edi, edi
mov dword [rax + 0x34], edi
mov qword [rsi], rdi
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x34], edi
je 0x180223836
lea eax, [rdi + 1]
jmp 0x180223838
cmp r8d, 8
jne 0x1802237d2
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x105
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x180223790
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.180004ea0
nop
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180223910
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x34], edi
mov qword [rsi], rdi
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x34], 0
je 0x180223836
mov eax, 1
jmp 0x180223838
cmp r8d, 0x2133
jne 0x180223804
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov rdx, qword [rsp + 0x20]
call fcn.180223ba0
mov qword [rsi], rax
jmp 0x1802237c1
cmp r8d, 0x2138
jne 0x180223836
mov rax, qword [rcx + 0x30]
mov dword [rax + 0x34], 1
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov rdx, qword [rsp + 0x20]
call fcn.180223ba0
mov qword [rsi], rax
jmp 0x1802237c1
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1802276a0
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0xb0
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp qword [rcx + 0x10], 0
movzx edi, r8b
mov rbp, rdx
mov rbx, rcx
je 0x1802278b5
cmp qword [rcx + 0x18], 8
mov rax, rcx
jb 0x1802276df
mov rax, qword [rcx]
mov r9d, 0x2c
mov qword [rsp + 0x20], rax
mov r8, rbp
lea rdx, str.WindowPlacement
lea rcx, str.Placement
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStructW]
test eax, eax
je 0x1802278b5
test dil, dil
jne 0x180227718
mov eax, 1
jmp 0x1802278b7
movss xmm0, dword [rbx + 0x24]
mulss xmm0, dword [0x1803e7480]
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xa8], r14
addss xmm0, dword [0x1803e71c0]
mov qword [rsp + 0xa0], r15
movaps xmmword [rsp + 0x90], xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si edx, xmm0
lea rcx, [rbp + 0x1c]
mov r8d, edx
call qword [sym.imp.USER32.dll_OffsetRect]
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [rsp + 0x38]
mov edx, 2
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x58], 0x28
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov rcx, rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x1802277c6
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_CopyRect]
jmp 0x1802277d9
xor edx, edx
lea r8, [rsp + 0x48]
xor r9d, r9d
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
movss xmm6, dword [rbx + 0x24]
mov r14d, dword [rsp + 0x40]
movaps xmm0, xmm6
mulss xmm0, dword [0x1803e74e4]
mov r15d, dword [rsp + 0x44]
mov edi, dword [rsp + 0x38]
sub r14d, edi
mov esi, dword [rsp + 0x3c]
sub r15d, esi
addss xmm0, dword [0x1803e71c0]
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
mov eax, dword [rsp + 0x50]
cvttss2si ecx, xmm0
sub eax, ecx
cmp edi, eax
jg 0x18022782e
mov eax, dword [rsp + 0x54]
sub eax, ecx
cmp esi, eax
jg 0x18022782e
test edi, edi
js 0x18022782e
test esi, esi
jns 0x180227854
mulss xmm6, dword [0x1803e7458]
addss xmm6, dword [0x1803e71c0]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si edi, xmm0
mov dword [rsp + 0x38], edi
mov esi, edi
mov dword [rsp + 0x3c], edi
lea eax, [r14 + rdi]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x38]
lea eax, [r15 + rsi]
lea rcx, [rbp + 0x1c]
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_CopyRect]
mov rdx, rbp
mov byte [rbx + 0x21], 1
mov rcx, rbx
call fcn.180227640
movaps xmm6, xmmword [rsp + 0x90]
mov eax, 1
mov r15, qword [rsp + 0xa0]
mov r14, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xe0]
mov byte [rbx + 0x21], 0
jmp 0x1802278b7
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0xb0
pop rdi
pop rbp
pop rbx
ret
Function at 0x180235cb0
Capabilities:
Enumerate gui resources

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rsp + 0x38], xmm1
xor eax, eax
mov word [rsp + 0x28], ax
movdqu xmmword [rsp + 0x48], xmm0
mov qword [r11 - 0x20], rax
lea rax, [r11 - 0x50]
cmp rax, rcx
je 0x180235d22
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x180235d14
mov rdx, qword [rcx]
mov r8, qword [rcx + 0x10]
lea rcx, [rsp + 0x28]
call fcn.180004ea0
lea rdx, [rsp + 0x28]
lea rcx, [0x180235bf0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov r8, qword [rsp + 0x50]
mov rax, r8
mov rdx, qword [rsp + 0x48]
sub rax, rdx
sar rax, 3
test rax, rax
setne bl
lea rax, [rsp + 0x48]
cmp rdi, rax
je 0x180235d61
mov rcx, rdi
call fcn.180066f50
nop
lea rcx, [rsp + 0x48]
call fcn.180008690
nop
lea rcx, [rsp + 0x28]
call fcn.180004e20
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1803868f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x18023c050
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 8], rax
test rcx, rcx
je 0x18023c243
cmp r8d, 0x80
jb 0x18023c243
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x10], r14
mov r14d, 5
mov dword [rsp], 0x35343332
mov dword [rsp + 4], 0x30636970
nop word [rax + rax]
lea r8d, [r14 - 5]
lea rax, [r8 + rcx]
mov edx, r8d
and edx, 7
movzx ebp, byte [rsp + rdx]
xor byte [rax], bpl
lea eax, [r14 - 4]
mov edx, eax
and edx, 7
movzx esi, byte [rsp + rdx]
xor byte [rax + rcx], sil
lea eax, [r14 - 3]
mov edx, eax
and edx, 7
movzx edi, byte [rsp + rdx]
xor byte [rax + rcx], dil
lea eax, [r14 - 2]
mov edx, eax
and edx, 7
movzx ebx, byte [rsp + rdx]
lea edx, [r14 - 1]
xor byte [rax + rcx], bl
lea eax, [r8 - 4]
and eax, 7
movzx r11d, byte [rsp + rax]
lea eax, [r8 - 3]
and eax, 7
xor byte [rdx + rcx], r11b
mov edx, r14d
movzx r10d, byte [rsp + rax]
lea eax, [r8 - 2]
and eax, 7
xor byte [rdx + rcx], r10b
lea edx, [r14 + 1]
movzx r9d, byte [rsp + rax]
lea eax, [r8 - 1]
and eax, 7
xor byte [rdx + rcx], r9b
lea edx, [r14 + 2]
movzx r8d, byte [rsp + rax]
lea eax, [r14 + 3]
xor byte [rax + rcx], bpl
lea eax, [r14 + 4]
xor byte [rax + rcx], sil
lea eax, [r14 + 5]
xor byte [rax + rcx], dil
lea eax, [r14 + 6]
xor byte [rax + rcx], bl
lea eax, [r14 + 7]
xor byte [rax + rcx], r11b
lea eax, [r14 + 8]
xor byte [rax + rcx], r10b
lea eax, [r14 + 9]
xor byte [rax + rcx], r9b
lea eax, [r14 + 0xa]
xor byte [rax + rcx], r8b
lea eax, [r14 + 0xb]
xor byte [rax + rcx], bpl
lea eax, [r14 + 0xc]
xor byte [rax + rcx], sil
lea eax, [r14 + 0xd]
xor byte [rax + rcx], dil
lea eax, [r14 + 0xe]
xor byte [rax + rcx], bl
lea eax, [r14 + 0xf]
xor byte [rax + rcx], r11b
lea eax, [r14 + 0x10]
xor byte [rax + rcx], r10b
lea eax, [r14 + 0x11]
xor byte [rax + rcx], r9b
lea eax, [r14 + 0x12]
xor byte [rax + rcx], r8b
lea eax, [r14 + 0x13]
xor byte [rax + rcx], bpl
lea eax, [r14 + 0x14]
xor byte [rax + rcx], sil
lea eax, [r14 + 0x15]
xor byte [rax + rcx], dil
lea eax, [r14 + 0x16]
xor byte [rdx + rcx], r8b
xor byte [rax + rcx], bl
lea eax, [r14 + 0x17]
xor byte [rax + rcx], r11b
lea eax, [r14 + 0x18]
xor byte [rax + rcx], r10b
lea eax, [r14 + 0x19]
xor byte [rax + rcx], r9b
lea eax, [r14 + 0x1a]
xor byte [rax + rcx], r8b
add r14d, 0x20
lea eax, [r14 - 5]
cmp eax, 0x80
jb 0x18023c0b0
mov r14, qword [rsp + 0x10]
mov al, 1
mov rdi, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0x28
ret
xor al, al
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0x28
ret
Function at 0x18023d950
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0xa8
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x70]
call fcn.1801ff2d0
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x30]
call fcn.180004a70
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18015a940
nop
lea rcx, [rsp + 0x30]
call fcn.1800049c0
lea rcx, [rsp + 0x50]
call fcn.180004980
mov r9, rax
mov r8d, dword [rsp + 0xb0]
lea rdx, str.Status
lea rcx, str.Matting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.1800049c0
nop
lea rcx, [rsp + 0x70]
call fcn.1800049c0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0xa8
ret

Function at 0x18023e270
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x350
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x340], rax
lea rcx, [rsp + 0x70]
call fcn.1801ff390
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x90]
call fcn.180004a70
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18015a940
nop
lea rcx, [rsp + 0x90]
call fcn.1800049c0
lea rcx, [rsp + 0x50]
call fcn.1801559c0
movzx eax, al
test eax, eax
jne 0x18023e312
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
call fcn.1800049c0
nop
lea rcx, [rsp + 0x70]
call fcn.1800049c0
movzx eax, byte [rsp + 0x30]
jmp 0x18023e446
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x50]
call fcn.180004980
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x130]
lea r8, [0x1803bf568]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, str.Application
lea rcx, [rsp + 0xb0]
call fcn.180004a70
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.18015a940
nop
lea rcx, [rsp + 0xb0]
call fcn.1800049c0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xd0]
call fcn.180004a70
nop
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x110]
call fcn.18015a940
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x360]
call fcn.1800049e0
nop
lea rcx, [rsp + 0x110]
call fcn.1800049c0
nop
lea rcx, [rsp + 0xd0]
call fcn.1800049c0
mov rcx, qword [rsp + 0x360]
call fcn.180155880
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0xf0]
call fcn.1800049c0
nop
lea rcx, [rsp + 0x50]
call fcn.1800049c0
nop
lea rcx, [rsp + 0x70]
call fcn.1800049c0
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0x350
pop rdi
ret
Function at 0x18023e670
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0xa8
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x70]
call fcn.1801ff2d0
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x30]
call fcn.180004a70
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18015a940
nop
lea rcx, [rsp + 0x30]
call fcn.1800049c0
lea rcx, [rsp + 0x50]
call fcn.180004980
mov r9, rax
mov r8d, dword [rsp + 0xb0]
lea rdx, str.Status
lea rcx, [0x1803d5bb0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.1800049c0
nop
lea rcx, [rsp + 0x70]
call fcn.1800049c0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0xa8
ret

Function at 0x18023ef80
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x350
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x340], rax
lea rcx, [rsp + 0x70]
call fcn.1801ff4c0
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x90]
call fcn.180004a70
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18015a940
nop
lea rcx, [rsp + 0x90]
call fcn.1800049c0
lea rcx, [rsp + 0x50]
call fcn.1801559c0
movzx eax, al
test eax, eax
jne 0x18023f022
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
call fcn.1800049c0
nop
lea rcx, [rsp + 0x70]
call fcn.1800049c0
movzx eax, byte [rsp + 0x30]
jmp 0x18023f156
lea rax, [rsp + 0x130]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x50]
call fcn.180004980
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x130]
lea r8, [0x1803bf568]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, str.Application
lea rcx, [rsp + 0xb0]
call fcn.180004a70
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xf0]
call fcn.18015a940
nop
lea rcx, [rsp + 0xb0]
call fcn.1800049c0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xd0]
call fcn.180004a70
nop
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x110]
call fcn.18015a940
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x360]
call fcn.1800049e0
nop
lea rcx, [rsp + 0x110]
call fcn.1800049c0
nop
lea rcx, [rsp + 0xd0]
call fcn.1800049c0
mov rcx, qword [rsp + 0x360]
call fcn.180155880
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0xf0]
call fcn.1800049c0
nop
lea rcx, [rsp + 0x50]
call fcn.1800049c0
nop
lea rcx, [rsp + 0x70]
call fcn.1800049c0
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0x350
pop rdi
ret
Function at 0x18023f320
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0xa8
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x70]
call fcn.1801ff2d0
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x30]
call fcn.180004a70
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18015a940
nop
lea rcx, [rsp + 0x30]
call fcn.1800049c0
lea rcx, [rsp + 0x50]
call fcn.180004980
mov r9, rax
mov r8d, dword [rsp + 0xb0]
lea rdx, str.Status
lea rcx, str.PicDesigner
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.1800049c0
nop
lea rcx, [rsp + 0x70]
call fcn.1800049c0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0xa8
ret
Function at 0x180252110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1802521e3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.180252210
nop
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov edx, eax
mov rcx, rdi
call fcn.18016b220
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x18025218e
xor sil, sil
jmp 0x1802521a2
mov r8, rsi
mov rdx, rax
mov rcx, qword [rdi]
call sub.VCRUNTIME140.dll_memcpy
test esi, esi
setne sil
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1802521df
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x1802521df
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1802521df
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + 8]
movzx eax, sil
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180259a00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8f0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x98]
call fcn.180004ab0
nop
mov dword [rsp + 0x4c], 0
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov dword [rsp + 0x44], 0x400
lea rax, [rsp + 0x4e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov dword [rsp + 0x48], 0x400
mov dl, 1
mov rax, qword [rsp + 0x900]
mov rcx, qword [rax + 0x20]
call fcn.1802035b0
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x910]
mov rdx, qword [rsp + 0x908]
mov rax, qword [rsp + 0x900]
mov rcx, qword [rax + 0x20]
call fcn.180202930
movzx eax, al
test eax, eax
jne 0x180259b02
mov rcx, qword [rsp + 0x908]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x98]
call fcn.1800049c0
movzx eax, byte [rsp + 0x40]
jmp 0x180259c68
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x4e0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0xe0]
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x180259c38
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x98]
call fcn.18000d5a0
lea rcx, [rsp + 0x98]
call fcn.180004970
movzx eax, al
test eax, eax
jne 0x180259bdf
lea rcx, [rsp + 0x98]
call fcn.180154910
lea r8, [rsp + 0x4e0]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xb8]
call fcn.18025d220
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x918]
call fcn.18025d270
nop
lea rax, [rsp + 0xb8]
mov rcx, rax
call fcn.1800049c0
mov dword [rsp + 0x44], 0x400
mov dword [rsp + 0x48], 0x400
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xe0]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x70]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x48]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x4e0]
mov rdi, rcx
xor eax, eax
mov rcx, qword [rsp + 0x78]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x180259b02
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x908]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x41], 1
lea rcx, [rsp + 0x98]
call fcn.1800049c0
movzx eax, byte [rsp + 0x41]
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0x8f0
pop rdi
ret