Function at 0x14000be1c
Capabilities:
Inspect load icon resource

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r13
push r15
sub rsp, 0x30
mov eax, dword [0x140023608]
mov r15d, 0x65
mov rbp, rcx
bt eax, 9
mov byte [0x140023bf4], 0
lea r13d, [r15 - 0x64]
jb 0x14000bee2
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
lea ecx, [r15 - 0x33]
mov rsi, rax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [r15 - 0x34]
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
and dword [rsp + 0x28], 0
mov r9d, ebx
mov r8d, r13d
mov rdx, r15
mov rcx, rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_LoadImageW]
mov rcx, qword [rbp + 8]
lea edi, [r15 + 0x1b]
mov rbx, rax
test rax, rax
mov r9, rsi
mov r8, r13
mov edx, edi
cmove rbx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 8]
mov r9, rbx
xor r8d, r8d
mov edx, edi
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x140023608]
bt eax, 0xe
jae 0x14000bf74
mov rcx, qword [rbp + 8]
mov edx, 0x4b2
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, qword [rbp + 8]
mov edx, 0x4b2
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov esi, 0xfffffff0
mov edx, esi
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov edx, esi
mov rcx, rdi
bts rax, 7
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rbp + 8]
mov edi, 0x4b5
mov edx, edi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, qword [rbp + 8]
mov edx, edi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, esi
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov edx, esi
mov rcx, rdi
bts rax, 7
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rbp + 8]
mov rdi, qword [rbp + 0x20]
mov edx, 0x4b2
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
call fcn.14000585c
mov rdx, qword [rbp + 0x18]
mov rcx, rbp
call fcn.14000b3a0
mov eax, dword [rbp + 0x10]
and eax, 3
je 0x14000c052
sub eax, r13d
je 0x14000c026
sub eax, r13d
je 0x14000bfed
cmp eax, r13d
jne 0x14000c086
mov ecx, 0x19
call fcn.1400027a0
mov edx, 0x4b3
mov rcx, rbp
mov r8, rax
call fcn.14000ac5c
mov ecx, 0x1a
jmp 0x14000c071
mov ecx, 0x1a
call fcn.1400027a0
mov edx, 0x4b4
mov rcx, rbp
mov r8, rax
call fcn.14000ac5c
xor r8d, r8d
mov edx, 0x4b3
mov rcx, rbp
call fcn.140009fa0
mov edx, 0x4b4
mov rcx, rbp
call fcn.140009d90
jmp 0x14000c086
mov ecx, 0x19
call fcn.1400027a0
mov edx, 0x4b3
mov rcx, rbp
mov r8, rax
call fcn.14000ac5c
xor r8d, r8d
mov edx, 0x4b4
mov rcx, rbp
call fcn.140009fa0
jmp 0x14000c086
mov ecx, 0x1b
call fcn.1400027a0
mov edx, 0x4b3
mov rcx, rbp
mov r8, rax
call fcn.14000ac5c
mov ecx, 0x1c
call fcn.1400027a0
mov edx, 0x4b4
mov rcx, rbp
mov r8, rax
call fcn.14000ac5c
cmp dword [rbp + 0x50], 0
je 0x14000c13a
mov rcx, qword [rbp + 8]
mov edi, 5
mov edx, edi
call qword [sym.imp.USER32.dll_GetWindow]
lea esi, [rdi - 3]
jmp 0x14000c0b9
mov rcx, rbx
call fcn.14000585c
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
mov rbx, rax
jne 0x14000c0a6
mov rcx, qword [rbp + 8]
mov edx, edi
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
mov rbx, rax
je 0x14000c0fd
mov rcx, rbx
call fcn.140003d9c
test rax, rax
je 0x14000c0ea
mov rcx, qword [rbp + 8]
mov edx, edi
jmp 0x14000c0ef
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
mov rbx, rax
jne 0x14000c0d5
mov rcx, qword [rbp + 8]
mov edx, edi
jmp 0x14000c112
mov rcx, rbx
call fcn.140002554
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
test rax, rax
mov rbx, rax
jne 0x14000c105
test byte [0x140023608], 8
jne 0x14000c1f6
mov rcx, rbp
call fcn.14000a5e0
jmp 0x14000c1f6
mov eax, dword [rbp + 0x10]
and eax, 0x1c
cmp eax, 4
je 0x14000c177
cmp eax, 8
je 0x14000c170
cmp eax, 0xc
je 0x14000c169
cmp eax, 0x10
je 0x14000c162
cmp eax, 0x14
jne 0x14000c1bc
mov edx, 0x7f03
xor ecx, ecx
jmp 0x14000c185
mov edx, 0x7f04
jmp 0x14000c15e
mov edx, 0x7f01
jmp 0x14000c15e
mov edx, 0x7f02
jmp 0x14000c15e
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
test rax, rax
mov rbx, rax
je 0x14000c1bc
mov rcx, qword [rbp + 8]
mov edx, 0x4b1
mov dword [rbp + 0x44], r13d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9, rbx
mov r8, r13
mov rcx, rax
mov edx, 0x172
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14000c1d0
and dword [rbp + 0x44], 0
xor r8d, r8d
mov edx, 0x4b1
mov rcx, rbp
call fcn.140009fa0
test byte [0x140023608], 8
jne 0x14000c1e1
mov rcx, rbp
call fcn.14000a5e0
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x50]
mov r11, qword [rbp]
mov rcx, rbp
call qword [r11 + 0x48]
mov rcx, rbp
call fcn.140009f24
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x30
pop r15
pop r13
pop rdi
ret