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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov dword [rsp + 0x3c], 0
jmp 0x140254f9b
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x1e0]
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x3c]
cmp rax, qword [rsp + 0x88]
jge 0x14025506d
movsxd rax, dword [rsp + 0x3c]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x100]
add rax, 0x1d0
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0xa0], 0
jl 0x14025502b
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x10]
cmp qword [rsp + 0xa0], rax
jge 0x14025502b
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0xa0]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x90], rax
jmp 0x140255030
call sub.mfc90u.dll_AfxOleUnregisterServerClass
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x100]
mov rdx, qword [rdx + 0x48]
mov rcx, qword [rsp + 0xb0]
call qword [rax + CFile::CFile]
jmp 0x140254f90
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x100]
call qword [rax + 0xf0]
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x100]
call qword [rax + CAsyncSocket::Accept]
test eax, eax
je 0x1402550cb
mov rcx, qword [rsp + 0x108]
mov rax, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rsp + 0x108]
jmp 0x140255517
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x100]
call qword [rax + 0x380]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x74], 0
jne 0x140255110
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x70], 0
je 0x14025535a
lea rax, [0x1404f79c0]
cmp dword [rax + reloc.mfc90u.dll_CPaintDC::CPaintDC], 0
je 0x14025513a
lea rax, [0x1404f79c0]
movsd xmm0, qword [rax + 0x2e0]
movsd qword [rsp + 0xb8], xmm0
jmp 0x14025514b
movsd xmm0, qword [0x140417d88]
movsd qword [rsp + 0xb8], xmm0
movsd xmm0, qword [rsp + 0xb8]
ucomisd xmm0, qword [0x140417d88]
jp 0x140255160
je 0x14025517f
mov dword [rsp + 0x48], 3
mov dword [rsp + 0x4c], 2
lea rax, [rsp + 0x48]
mov qword [rsp + 0xc0], rax
jmp 0x14025519c
mov dword [rsp + 0x50], 3
mov dword [rsp + 0x54], 3
lea rax, [rsp + 0x50]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x100]
call qword [rax + 0x418]
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jne 0x140255202
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x24], eax
jne 0x140255202
mov dword [rsp + 0xc8], 1
jmp 0x14025520d
mov dword [rsp + 0xc8], 0
cmp dword [rsp + 0xc8], 0
je 0x140255355
mov dword [rsp + 0x68], reloc.WS2_32.dll_recv
mov dword [rsp + 0x6c], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea rax, [0x1404f79c0]
cmp dword [rax + reloc.mfc90u.dll_CPaintDC::CPaintDC], 0
je 0x14025525f
lea rax, [0x1404f79c0]
movsd xmm0, qword [rax + 0x2e0]
movsd qword [rsp + 0xd0], xmm0
jmp 0x140255270
movsd xmm0, qword [0x140417d88]
movsd qword [rsp + 0xd0], xmm0
movsd xmm0, qword [rsp + 0xd0]
ucomisd xmm0, qword [0x140417d88]
jp 0x140255289
je 0x140255355
lea rax, [0x1404f79c0]
cmp dword [rax + reloc.mfc90u.dll_CPaintDC::CPaintDC], 0
je 0x1402552b3
lea rax, [0x1404f79c0]
movsd xmm0, qword [rax + 0x2e0]
movsd qword [rsp + 0xd8], xmm0
jmp 0x1402552c4
movsd xmm0, qword [0x140417d88]
movsd qword [rsp + 0xd8], xmm0
movd xmm0, dword [rsp + 0x20]
cvtdq2pd xmm0, xmm0
movsd xmm1, qword [rsp + 0xd8]
mulsd xmm1, xmm0
movsd xmm0, qword [0x14042f710]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [rsp + 0x20], eax
lea rax, [0x1404f79c0]
cmp dword [rax + reloc.mfc90u.dll_CPaintDC::CPaintDC], 0
je 0x140255319
lea rax, [0x1404f79c0]
movsd xmm0, qword [rax + 0x2e0]
movsd qword [rsp + 0xe0], xmm0
jmp 0x14025532a
movsd xmm0, qword [0x140417d88]
movsd qword [rsp + 0xe0], xmm0
movd xmm0, dword [rsp + 0x24]
cvtdq2pd xmm0, xmm0
movsd xmm1, qword [rsp + 0xe0]
mulsd xmm1, xmm0
movsd xmm0, qword [0x14042f710]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [rsp + 0x24], eax
jmp 0x14025543d
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x100]
call qword [rax + CToolBarCtrl::~CToolBarCtrl]
test eax, eax
je 0x1402553b1
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0xfc]
add eax, 0xf
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7c], 5
lea rax, [rsp + 0x78]
mov qword [rsp + 0xe8], rax
jmp 0x1402553d7
mov dword [rsp + 0x80], 3
mov dword [rsp + 0x84], 3
lea rax, [rsp + 0x80]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x100]
call qword [rax + 0x418]
mov rcx, qword [rsp + 0x100]
call fcn.140259e80
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0xcc]
mov dword [rsp + 0xac], eax
cmp dword [rsp + 0xac], 0
je 0x14025543d
mov eax, dword [rsp + 0x28]
add eax, 6
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x100]
call qword [rax + AFX_MODULE_THREAD_STATE::AFX_MODULE_THREAD_STATE]
test eax, eax
je 0x1402554b8
mov rax, qword [rsp + 0x100]
cmp dword [rax + 0x124], 0
je 0x140255496
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x130]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [rsp + 0x30]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x38], eax
jmp 0x1402554b8
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x130]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [rsp + 0x30]
sub eax, ecx
sub eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x100]
mov ecx, dword [rax + 0x130]
mov eax, dword [rsp + 0x20]
lea eax, [rax + rcx*2]
add eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x100]
mov ecx, dword [rax + 0x134]
mov eax, dword [rsp + 0x24]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x108]
mov eax, dword [rsp + 0x2c]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x108]
mov eax, dword [rsp + 0x34]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x108]
add rsp, 0xf8
ret