Function at 0x1400f5090
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 0x1400f50ed
mov dword [rsp + 0x168], 1
jmp 0x1400f50f8
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 0x1400f511f
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x10e0], 0
jne 0x1400f513e
mov dword [rsp + 0x16c], 1
jmp 0x1400f5149
mov dword [rsp + 0x16c], 0
cmp dword [rsp + 0x16c], 0
jne 0x1400f5187
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x10e0]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 1
jne 0x1400f51ae
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x12d8], 0
je 0x1400f51ae
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 0x1400f5761
cmp dword [rsp + 0x28], 0
je 0x1400f55b5
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 0x1400f521a
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x50], 0
je 0x1400f52f9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x1400f5243
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 0x1400f52f4
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x7c]
mov dword [rsp + 0xec], eax
cmp dword [rsp + 0xec], 0
je 0x1400f52f4
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 0x1400f52e3
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x6c], eax
jle 0x1400f52e3
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x6c]
sub eax, ecx
mov dword [rsp + 0x58], eax
jmp 0x1400f52f9
lea rdi, [rsp + 0x30]
lea rsi, [rsp + 0x68]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x1400f520f
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 0x1400f5364
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
cmp qword [rsp + 0x50], 0
je 0x1400f556e
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jne 0x1400f538d
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 0x1400f5569
mov rax, qword [rsp + 0x78]
mov eax, dword [rax + 0x7c]
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
je 0x1400f5569
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 0x1400f5436
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x84], eax
jl 0x1400f5436
mov eax, dword [rsp + 0x48]
add eax, 1
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jle 0x1400f5479
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 0x1400f556e
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jne 0x1400f5555
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x20], eax
jge 0x1400f54d2
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 0x1400f556e
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x20], eax
jg 0x1400f5555
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 0x1400f5536
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 0x1400f5553
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 0x1400f556e
lea rdi, [rsp + 0x30]
lea rsi, [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x1400f5359
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x1400f55b0
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x48], eax
jne 0x1400f55b0
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 0x1400f5761
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 0x1400f55fa
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
cmp qword [rsp + 0x98], 0
je 0x1400f5761
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x110], rax
cmp qword [rsp + 0x110], 0
jne 0x1400f5629
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 0x1400f56d1
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 0x1400f5761
mov eax, dword [rsp + 0xac]
cmp dword [rsp + 0x24], eax
jg 0x1400f575c
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 0x1400f5739
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 0x1400f575a
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 0x1400f5761
jmp 0x1400f55e9
cmp dword [rsp + 0x2c], 0
jl 0x1400f5989
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 0x1400f5832
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 0x1400f5832
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 0x1400f57ff
mov dword [rsp + 0x170], 0
jmp 0x1400f5827
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 0x1400f58e3
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax]
sub eax, 3
cmp dword [rsp + 0xc0], eax
jle 0x1400f5863
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x174], eax
jmp 0x1400f5877
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 0x1400f58de
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 0x1400f5989
mov rax, qword [rsp + 0x1b0]
mov eax, dword [rax + 4]
sub eax, 3
cmp dword [rsp + 0xc4], eax
jle 0x1400f590a
mov eax, dword [rsp + 0xc4]
mov dword [rsp + reloc.mfc90u.dll_CDialog::CDialog], eax
jmp 0x1400f591f
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 0x1400f5989
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 0x1400f59d7
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 0x1400f59d7
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