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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary
mov dword [rsp + 0x2c], 0xffffffff
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x1a0]
call qword [rax + reloc.mfc90u.dll_CScrollView::CScrollView]
and eax, 0xa000
test eax, eax
je 0x14011558d
mov dword [rsp + 0x168], 1
jmp 0x140115598
mov dword [rsp + 0x168], 0
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + reloc.mfc90u.dll_CGopherLocator::CGopherLocator]
mov qword [rsp + 0x20], rax
cmp dword [rsp + 0x24], 0
jge 0x1401155bf
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x10e0], 0
jne 0x1401155de
mov dword [rsp + 0x16c], 1
jmp 0x1401155e9
mov dword [rsp + 0x16c], 0
cmp dword [rsp + 0x16c], 0
jne 0x140115627
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10e0]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 1
jne 0x14011564e
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x12d8], 0
je 0x14011564e
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov dword [rsp + 0x2c], 0
jmp 0x140115c01
cmp dword [rsp + 0x28], 0
je 0x140115a55
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x1a0]
call qword [rax + 0x670]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x50], rax
jmp 0x1401156ba
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x50], 0
je 0x140115799
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x1401156e3
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x64]
mov dword [rsp + 0xe8], eax
cmp dword [rsp + 0xe8], 0
jne 0x140115794
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x7c]
mov dword [rsp + 0xec], eax
cmp dword [rsp + 0xec], 0
je 0x140115794
lea rdi, [rsp + 0x158]
mov rsi, qword [rsp + 0x60]
add rsi, 0x48
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x68]
lea rsi, [rsp + 0x158]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x44], 0
jle 0x140115783
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x6c], eax
jle 0x140115783
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x6c]
sub eax, ecx
mov dword [rsp + 0x58], eax
jmp 0x140115799
lea rdi, [rsp + 0x30]
lea rsi, [rsp + 0x68]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x1401156af
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x1a0]
call qword [rax + 0x670]
mov ecx, eax
add ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x24]
cdq
idiv ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x50], rax
jmp 0x140115804
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x50], 0
je 0x140115a0e
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jne 0x14011582d
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x64]
mov dword [rsp + 0x100], eax
cmp dword [rsp + 0x100], 0
jne 0x140115a09
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x7c]
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x140115a09
lea rdi, [rsp + 0x148]
mov rsi, qword [rsp + 0x78]
add rsi, 0x48
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x80]
lea rsi, [rsp + 0x148]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x44], 0
jle 0x1401158d6
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x84], eax
jl 0x1401158d6
mov eax, dword [rsp + 0x48]
add eax, 1
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jle 0x140115919
lea rsi, [rsp + 0x30]
mov rdi, qword [rsp + 0x1b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x1b0]
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 8]
mov dword [rdx], eax
mov eax, dword [rsp + 0x44]
sub eax, 1
mov dword [rsp + 0x2c], eax
jmp 0x140115a0e
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jne 0x1401159f5
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x20], eax
jge 0x140115972
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x2c], eax
lea rsi, [rsp + 0x80]
mov rdi, qword [rsp + 0x1b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x1b0]
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax]
mov dword [rdx + 8], eax
jmp 0x140115a0e
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x20], eax
jg 0x1401159f5
lea rsi, [rsp + 0x80]
mov rdi, qword [rsp + 0x1b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x80]
mov edx, dword [rsp + 0x20]
sub edx, eax
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x88]
sub eax, ecx
cmp edx, eax
jle 0x1401159d6
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x1b0]
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 8]
mov dword [rcx], eax
jmp 0x1401159f3
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x1b0]
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax]
mov dword [rcx + 8], eax
jmp 0x140115a0e
lea rdi, [rsp + 0x30]
lea rsi, [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x1401157f9
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x140115a50
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jne 0x140115a50
lea rsi, [rsp + 0x30]
mov rdi, qword [rsp + 0x1b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x1b0]
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 8]
mov dword [rdx], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x2c], eax
jmp 0x140115c01
mov dword [rsp + 0x90], 0
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10d0]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x98], rax
jmp 0x140115a9a
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
cmp qword [rsp + 0x98], 0
je 0x140115c01
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 0
jne 0x140115ac9
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xb0], rax
lea rdi, [rsp + 0x138]
mov rsi, qword [rsp + 0xb0]
add rsi, 0x48
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0xa0]
lea rsi, [rsp + 0x138]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0xa4]
cmp dword [rsp + 0x24], eax
jge 0x140115b71
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x2c], eax
lea rsi, [rsp + 0xa0]
mov rdi, qword [rsp + 0x1b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x1b0]
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 4]
mov dword [rdx + 0xc], eax
jmp 0x140115c01
mov eax, dword [rsp + 0xac]
cmp dword [rsp + 0x24], eax
jg 0x140115bfc
lea rsi, [rsp + 0xa0]
mov rdi, qword [rsp + 0x1b0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0xa4]
mov edx, dword [rsp + 0x24]
sub edx, eax
mov ecx, dword [rsp + 0x24]
mov eax, dword [rsp + 0xac]
sub eax, ecx
cmp edx, eax
jle 0x140115bd9
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x1b0]
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 0xc]
mov dword [rcx + 4], eax
jmp 0x140115bfa
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x1b0]
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 4]
mov dword [rcx + 0xc], eax
jmp 0x140115c01
jmp 0x140115a89
cmp dword [rsp + 0x2c], 0
jl 0x140115e29
mov dword [rsp + 0xb8], 6
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x12d8], 0
je 0x140115cd2
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10e0]
mov qword [rsp + 0x118], rax
movsxd rax, dword [rsp + 0x2c]
cmp rax, qword [rsp + 0x118]
jne 0x140115cd2
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10e0]
mov qword [rsp + 0x120], rax
mov eax, dword [rsp + 0x120]
sub eax, 1
test eax, eax
jge 0x140115c9f
mov dword [rsp + 0x170], 0
jmp 0x140115cc7
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10e0]
mov qword [rsp + 0x128], rax
mov eax, dword [rsp + 0x128]
sub eax, 1
mov dword [rsp + 0x170], eax
mov eax, dword [rsp + 0x170]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x28], 0
je 0x140115d83
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax]
sub eax, 3
cmp dword [rsp + 0xc0], eax
jle 0x140115d03
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x174], eax
jmp 0x140115d17
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax]
sub eax, 3
mov dword [rsp + 0x174], eax
mov rcx, qword [rsp + 0x1b0]
mov eax, dword [rsp + 0x174]
mov dword [rcx], eax
mov rax, qword [rsp + 0x1b0]
mov ecx, dword [rax]
add ecx, 6
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 8], ecx
mov rcx, qword [rsp + 0x1b0]
mov eax, dword [rsp + 0xc8]
cmp dword [rcx + 8], eax
jle 0x140115d7e
mov rcx, qword [rsp + 0x1b0]
mov eax, dword [rsp + 0xc8]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x1b0]
mov ecx, dword [rax + 8]
sub ecx, 6
mov rax, qword [rsp + 0x1b0]
mov dword [rax], ecx
jmp 0x140115e29
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 4]
sub eax, 3
cmp dword [rsp + 0xc4], eax
jle 0x140115daa
mov eax, dword [rsp + 0xc4]
mov dword [rsp + reloc.mfc90u.dll_CDialog::CDialog], eax
jmp 0x140115dbf
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 4]
sub eax, 3
mov dword [rsp + reloc.mfc90u.dll_CDialog::CDialog], eax
mov rcx, qword [rsp + 0x1b0]
mov eax, dword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x1b0]
mov ecx, dword [rax + 4]
add ecx, 6
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 0xc], ecx
mov rcx, qword [rsp + 0x1b0]
mov eax, dword [rsp + 0xcc]
cmp dword [rcx + 0xc], eax
jle 0x140115e29
mov rcx, qword [rsp + 0x1b0]
mov eax, dword [rsp + 0xcc]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x1b0]
mov ecx, dword [rax + 0xc]
sub ecx, 6
mov rax, qword [rsp + 0x1b0]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x12d8], 0
je 0x140115e77
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10e0]
mov qword [rsp + 0x130], rax
movsxd rax, dword [rsp + 0x2c]
cmp rax, qword [rsp + 0x130]
jne 0x140115e77
mov dword [rsp + 0x2c], 0xffffffff
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [rsp + 0x2c]
add rsp, reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary
pop rdi
pop rsi
ret