Function at 0x14017a480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.USER32.dll_SetRectEmpty]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdi, [rsp + 0x20]
lea rsi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x478]
mov eax, dword [rsp + 0x24]
add eax, ecx
cmp eax, dword [rsp + 0x3c]
jge 0x14017a515
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 0x478]
mov eax, dword [rsp + 0x24]
add eax, ecx
mov dword [rsp + 0x90], eax
jmp 0x14017a520
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
add eax, 9
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
add eax, 7
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x500]
add eax, 3
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
jmp 0x14017a583
mov eax, dword [rsp + 0x48]
add eax, 1
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0xc0]
add rcx, 0x518
call fcn.14016b690
cmp dword [rsp + 0x48], eax
jge 0x14017a74b
mov rcx, qword [rsp + 0xc0]
add rcx, 0x518
mov edx, dword [rsp + 0x48]
call fcn.14016b900
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0xffffffff
je 0x14017a720
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0xc0]
add rcx, 0x518
mov edx, dword [rsp + 0x4c]
call fcn.14016ada0
mov rdx, rax
lea rcx, [rsp + 0x58]
call qword [0x1403f4480]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CDocObjectServer::XOleObject::GetExtent]
mov edi, eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
lea r9, [rsp + 0x80]
mov r8d, edi
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x70], rdx
mov eax, dword [rsp + 0x70]
add eax, 0x34
mov dword [rsp + 0x50], eax
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x64]
add eax, ecx
cmp eax, dword [rsp + 0x2c]
jge 0x14017a673
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x94], eax
jmp 0x14017a67e
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x94], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x6c], eax
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x60]
add eax, ecx
cmp eax, dword [rsp + 0x28]
jge 0x14017a6ac
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x60]
add eax, ecx
mov dword [rsp + 0x98], eax
jmp 0x14017a6b7
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0xc8]
cmp dword [rsp + 0x40], eax
jne 0x14017a6fc
lea rsi, [rsp + 0x60]
mov rdi, qword [rsp + 0xd0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x78], eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x78]
jmp 0x14017a750
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
add eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc90u.dll_CView::CView]
mov eax, dword [rsp + 0x20]
add eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
add eax, 0xa
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], eax
jmp 0x14017a578
mov eax, 0xffffffff
add rsp, 0xa8
pop rdi
pop rsi
ret