Function at 0x1401f9e80
Capabilities:
Inspect load icon resource

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x1c0]
add rax, 0x50
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x1c0]
add rax, 0x80
mov byte [rsp + 0x20], 1
mov r9, rax
mov rax, qword [rsp + 0x1c0]
movzx r8d, word [rax + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140150210
mov rax, qword [rsp + 0x1c0]
add rax, 0x80
mov qword [rsp + 0x68], rax
mov eax, 0x7d2
mov word [rsp + 0x38], ax
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x68]
call fcn.14000a980
mov rdx, rax
mov rcx, qword [rsp + 0x1c0]
call fcn.1401faab0
mov rax, qword [rsp + 0x1c0]
add rax, 0x80
mov qword [rsp + 0x70], rax
mov eax, 0x7d3
mov word [rsp + 0x3a], ax
lea rdx, [rsp + 0x3a]
mov rcx, qword [rsp + 0x70]
call fcn.14000a980
mov rcx, rax
call fcn.14000c690
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0x78], rax
mov r8d, 0x3ef
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x78]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rsp + 0x1c0]
add rax, 0x80
mov qword [rsp + 0x90], rax
mov eax, 0x7d1
mov word [rsp + 0x3c], ax
lea rdx, [rsp + 0x3c]
mov rcx, qword [rsp + 0x90]
call fcn.14000a980
mov rcx, rax
call fcn.14000c690
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0x98], rax
mov r8d, 2
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x98]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x1c0]
add rax, 0x80
mov qword [rsp + 0xb0], rax
mov eax, 0x7d4
mov word [rsp + 0x3e], ax
lea rdx, [rsp + 0x3e]
mov rcx, qword [rsp + 0xb0]
call fcn.14000a980
mov rcx, rax
call fcn.14000c690
mov rdx, rax
mov rcx, qword [rsp + 0xb8]
call fcn.14001f890
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0xc0], rax
mov r8d, 0x3ee
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0xc0]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0xc8], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, reloc.WSOCK32.dll_WSAGetLastError
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0xc8]
call fcn.14001f850
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1401fa281
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov r9d, 1
mov rax, qword [rsp + 0x1c0]
mov r8, qword [rax + 0x98]
mov edx, reloc.msi.dll_MsiGetDatabaseState
mov rcx, qword [rsp + 0x30]
call fcn.140015a10
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0xd0]
call fcn.140015980
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1401fa242
mov rax, qword [rsp + 0x1c0]
mov rdx, qword [rax + 0x98]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.GDI32.dll_GetTextMetricsW]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8d, 8
mov edx, dword [rsp + 0x168]
mov ecx, MsiDatabaseExportA
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x13c]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx + 3]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x138]
mov ecx, dword [rsp + 0x140]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], 1
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, dword [rsp + 0x13c]
mov edx, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0xd8], rax
mov r8d, 0x3e9
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0xd8]
call fcn.140015830
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1401fa361
cmp dword [rsp + 0x44], 0
jle 0x1401fa361
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0xe0]
call fcn.140015980
mov eax, dword [rsp + 0x13c]
mov ecx, dword [rsp + 0x144]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x138]
mov edx, dword [rsp + 0x140]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, qword [rsp + 0x1c0]
call fcn.1401faa70
mov ecx, 4
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0xe8]
call fcn.1401fab60
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0xf0], rax
mov r8d, 0x3f0
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140015830
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0xf8]
call fcn.1401fab60
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0x100], rax
mov r8d, 0x3e8
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
call fcn.140015830
mov eax, dword [rsp + 0x15c]
mov ecx, dword [rsp + 0x14c]
sub ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x50]
dec eax
mov ecx, dword [rsp + 0x148]
mov edx, dword [rsp + 0x150]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov r9d, ecx
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.1401fab90
movzx eax, byte [0x1408d0048]
test eax, eax
jne 0x1401fa4b6
mov rax, qword [rsp + 0x1c0]
add rax, 8
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x28], 1
mov eax, dword [0x1408d0058]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1408d0054]
mov r8d, dword [0x1408d0050]
mov edx, dword [0x1408d004c]
mov rcx, qword [rsp + 0x110]
call fcn.1401fab90
mov eax, 1
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x1b8
ret