Function at 0x140248a60
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, 0x228
mov rax, qword [rsp + 0x240]
mov dword [rax + CGdiObject::Attach], 0
mov rax, qword [rsp + 0x240]
mov dword [rax + 0xa4], 0
mov rax, qword [rsp + 0x240]
mov dword [rax + 0xa8], 0
mov rdx, qword [rsp + 0x250]
mov rax, qword [rsp + 0x250]
mov ecx, dword [rax + 4]
mov eax, dword [rdx + 0xc]
sub eax, ecx
mov dword [rsp + 0x124], eax
mov rdx, qword [rsp + 0x250]
mov rax, qword [rsp + 0x250]
mov ecx, dword [rax]
mov eax, dword [rdx + 8]
sub eax, ecx
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x124]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x240]
cmp qword [rax + 0x28], 0
je 0x140248b4d
mov r8d, 1
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x240]
mov rcx, qword [rcx + 0x28]
call fcn.14023f6b0
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x24], 0
jmp 0x140248b72
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x240]
mov rax, qword [rax + reloc.mfc90u.dll_CAsyncSocket::Bind]
mov qword [rsp + 0x128], rax
movsxd rax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x128]
jge 0x140248efa
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x240]
add rax, 0x558
mov qword [rsp + 0x138], rax
cmp qword [rsp + 0x140], 0
jl 0x140248c02
mov rax, qword [rsp + 0x138]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x140], rax
jge 0x140248c02
mov rcx, qword [rsp + 0x138]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x140]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x130], rax
jmp 0x140248c07
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x240]
mov eax, dword [rax + 0x538]
cmp dword [rsp + 0x24], eax
jne 0x140248c33
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x58]
call qword [rax + CMultiLock::CMultiLock]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [rax + 0xa0]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x40]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov r8, qword [rsp + 0x248]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0xb0]
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0xa4], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x40], eax
jne 0x140248ce5
mov eax, dword [rsp + 0x9c]
cmp dword [rsp + 0x44], eax
jne 0x140248ce5
mov dword [rsp + 0x210], 1
jmp 0x140248cf0
mov dword [rsp + 0x210], 0
cmp dword [rsp + 0x210], 0
je 0x140248d6b
mov dword [rsp + 0xa8], 0
mov dword [rsp + 0xac], 0
mov dword [rsp + 0xb0], 0
mov dword [rsp + 0xb4], 0
lea rdi, [rsp + 0xe0]
lea rsi, [rsp + 0xa8]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movaps xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile], xmm0
mov rdi, qword [rsp + 0x58]
lea rsi, [rsp + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
add rdi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140248b67
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x140248dc3
mov rdx, qword [rsp + 0x250]
mov rax, qword [rsp + 0x250]
mov ecx, dword [rax]
mov eax, dword [rdx + 8]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x240]
cmp dword [rax + 0x4d4], 0
je 0x140248dc3
lea rcx, [rsp + 0xb8]
call fcn.1400fcc80
mov rcx, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rcx + 0xc0], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 4]
add eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x240]
add eax, dword [rcx + 0xa8]
mov dword [rsp + reloc.mfc90u.dll_CBrush::CBrush], eax
mov rax, qword [rsp + 0x250]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x240]
add eax, dword [rcx + 0xa4]
mov dword [rsp + 0x148], eax
mov eax, dword [rsp + 0x148]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + reloc.mfc90u.dll_CBrush::CBrush]
mov dword [rsp + 0xd4], eax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0xc0]
mov eax, dword [rsp + 0xc8]
add eax, ecx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0xcc]
mov dword [rsp + 0x4c], eax
mov ecx, dword [rsp + 0xc4]
mov eax, dword [rsp + 0xcc]
add eax, ecx
mov dword [rsp + 0x54], eax
lea rdi, [rsp + 0xf0]
lea rsi, [rsp + 0x48]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movaps xmm0, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x1f0], xmm0
mov rdi, qword [rsp + 0x58]
lea rsi, [rsp + 0x1f0]
add rdi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x3c], eax
jle 0x140248ed1
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x214], eax
jmp 0x140248edc
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x214], eax
mov eax, dword [rsp + 0x214]
mov dword [rsp + 0x3c], eax
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x140248b67
mov dword [rsp + 0x24], 0
jmp 0x140248f0f
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x240]
mov rax, qword [rax + reloc.mfc90u.dll_CAsyncSocket::Bind]
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
movsxd rax, dword [rsp + 0x24]
cmp rax, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
jge 0x140249070
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x240]
add rax, 0x558
mov qword [rsp + 0x160], rax
cmp qword [rsp + 0x168], 0
jl 0x140248f9f
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x168], rax
jge 0x140248f9f
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x168]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x158], rax
jmp 0x140248fa4
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x158]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
lea rdi, [rsp + 0x1e0]
mov rsi, qword [rsp + 0x70]
add rsi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x1e0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
cmp dword [rsp + 0x38], 0
jle 0x140249048
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x140249048
mov r8d, dword [rsp + 0x38]
neg r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_OffsetRect]
lea rdi, [rsp + 0x100]
lea rsi, [rsp + 0x60]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movaps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x1d0], xmm0
mov rdi, qword [rsp + 0x70]
lea rsi, [rsp + 0x1d0]
add rdi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x250]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x6c], eax
jle 0x14024906b
mov rax, qword [rsp + 0x240]
mov dword [rax + CGdiObject::Attach], 1
jmp 0x140248f04
mov rax, qword [rsp + 0x240]
cmp dword [rax + 0x4d4], 0
je 0x1402490c8
call fcn.1400012b8
mov qword [rsp + 0x218], rax
lea rcx, [rsp + 0xd8]
call fcn.1400fcc80
mov rdi, rax
mov rax, qword [rsp + 0x218]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x218]
call qword [rax + CFtpFileFind::FindFile]
mov edx, eax
mov eax, dword [rdi]
lea ecx, [rax + rdx*2]
mov eax, dword [rsp + 0x3c]
add eax, ecx
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x240]
mov eax, dword [rsp + 0x3c]
mov dword [rcx + 0x9c], eax
mov rcx, qword [rsp + 0x250]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1402492a4
mov dword [rsp + 0x24], 0
jmp 0x140249105
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x240]
mov rax, qword [rax + reloc.mfc90u.dll_CAsyncSocket::Bind]
mov qword [rsp + 0x180], rax
movsxd rax, dword [rsp + 0x24]
cmp rax, qword [rsp + 0x180]
jge 0x1402492a4
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x240]
add rax, 0x558
mov qword [rsp + 0x190], rax
cmp qword [rsp + 0x198], 0
jl 0x140249195
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0x198], rax
jge 0x140249195
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x198]
lea rax, [rcx + rax*8]
mov qword [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary], rax
jmp 0x14024919a
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + reloc.mfc90u.dll_CDynLinkLibrary::CDynLinkLibrary]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
lea rdi, [rsp + 0x1c0]
mov rsi, qword [rsp + 0x88]
add rsi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x78]
lea rsi, [rsp + 0x1c0]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x14024927e
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x78]
add eax, ecx
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x28], 0
jle 0x14024923e
call fcn.14025afb0
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call sub.mfc90u.dll_CWnd::GetTopLevelFrame
test eax, eax
je 0x14024923e
mov rax, qword [rsp + 0x240]
mov eax, dword [rax + 0xa4]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, dword [rsp + 0x78]
add eax, ecx
mov dword [rsp + 0x78], eax
lea rdi, [rsp + 0x110]
lea rsi, [rsp + 0x78]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
movaps xmm0, xmmword [rsp + 0x110]
movdqa xmmword [rsp + 0x1b0], xmm0
mov rdi, qword [rsp + 0x88]
lea rsi, [rsp + 0x1b0]
add rdi, 0x34
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x88]
call qword [rax + ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >]
jmp 0x1402490fa
lea rdi, [rsp + 0x1a0]
mov rsi, qword [rsp + 0x250]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x240]
lea rsi, [rsp + 0x1a0]
add rdi, 0x10
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x240]
mov ecx, dword [rax + 0x14]
add ecx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x240]
mov ecx, dword [rax + 0x10]
mov rax, qword [rsp + 0x240]
add ecx, dword [rax + 0x9c]
mov rax, qword [rsp + 0x240]
mov dword [rax + 0x18], ecx
add rsp, 0x228
pop rdi
pop rsi
ret