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

Disassembly:
sub esp, 0x50
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
je 0x67b57a49
xor eax, eax
pop esi
add esp, 0x50
ret 0x14
push ebx
push ebp
push edi
call sub.MFC80U.DLL_Ordinal_1115
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 8]
mov ebx, dword [esp + 0x68]
lea edi, [esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call sub.MFC80U.DLL_Ordinal_2366
mov ecx, dword [ebx + 0x20]
mov ebp, dword [sym.imp.USER32.dll_UpdateWindow]
push ecx
call ebp
mov eax, dword [esp + 0x74]
test eax, eax
je 0x67b57a96
mov edx, dword [eax + 0x20]
push edx
call ebp
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.67b57070
mov eax, dword [esp + 0x70]
sub eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x6c]
sub ebp, dword [esp + 0x68]
push 0
push 0
mov dword [esp + 0x18], eax
push 0
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x78], 0
call dword [sym.imp.USER32.dll_GetMessageW]
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call sub.MFC80U.DLL_Ordinal_2366
cmp eax, ebx
jne 0x67b57c9b
jmp 0x67b57b20
mov eax, dword [esp + 0x48]
cmp eax, 0x202
ja 0x67b57ced
je 0x67b57b47
cmp eax, 0x100
je 0x67b57c54
cmp eax, 0x200
jne 0x67b57cf8
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], ecx
je 0x67b57b73
movsx edx, word [esp + 0x50]
sub edx, ebp
mov dword [eax], edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x67b57b8b
mov ecx, dword [esp + 0x50]
shr ecx, 0x10
movsx edx, cx
sub edx, dword [esp + 0x10]
mov dword [eax], edx
mov eax, dword [esp + 0x64]
cmp eax, 8
jne 0x67b57ba7
mov ecx, dword [edi]
add ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0xc]
add edx, dword [esp + 0x20]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 4]
mov ecx, esi
call eax
xor ecx, ecx
cmp dword [esp + 0x48], 0x202
push edi
sete cl
lea edx, [esp + 0x38]
push edx
mov dword [esi + 0x44], ecx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x67b57bd8
cmp dword [esi + 0x44], 0
je 0x67b57c1f
cmp dword [esp + 0x68], 0
je 0x67b57bf9
mov ecx, dword [esp + 0x74]
mov eax, dword [esi]
mov eax, dword [eax]
push ebx
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
mov dword [esi + 0x40], 1
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x48], 0x202
je 0x67b57c19
mov dword [esp + 0x68], 1
cmp dword [esi + 0x44], 0
jne 0x67b57c9b
push edi
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x67b57c41
mov edx, dword [esi]
mov edx, dword [edx]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x74]
push ebx
push eax
push edi
mov ecx, esi
call edx
mov eax, dword [ebx + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x67b57d03
cmp dword [esp + 0x4c], 0x1b
jne 0x67b57d03
cmp dword [esp + 0x68], 0
je 0x67b57c80
mov ecx, dword [esp + 0x74]
mov eax, 1
push ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
push edi
mov ecx, esi
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor ebx, ebx
push ebx
call sub.MFC80U.DLL_Ordinal_1192
cmp dword [esp + 0x68], ebx
jne 0x67b57cca
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
push edi
lea edx, [esp + 0x28]
push edx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
call dword [sym.imp.USER32.dll_EqualRect]
pop edi
neg eax
pop ebp
sbb eax, eax
pop ebx
add eax, 1
pop esi
add esp, 0x50
ret 0x14
cmp eax, 0x204
je 0x67b57c5f
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call sub.MFC80U.DLL_Ordinal_2366
cmp eax, ebx
je 0x67b57b20
jmp 0x67b57c9b