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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a3c9a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0xc24]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x1009
push eax
call esi
mov ecx, dword [ebp + 0xe84]
push edi
push edi
push 0x130b
mov ebx, 1
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
call esi
test eax, eax
je 0x10050e10
mov edx, dword [ebp + 0xe84]
push edi
push edi
push 0x130b
push edx
call esi
cmp eax, 2
jne 0x10050df8
mov dword [esp + 0x1c], ebx
jmp 0x10050e0c
mov eax, dword [ebp + 0xe84]
push edi
push edi
push 0x130b
push eax
call esi
cmp eax, ebx
jne 0x10050e10
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x54]
call fcn.10069630
mov dword [esp + 0x58], eax
mov byte [eax + 0x15], bl
mov eax, dword [esp + 0x58]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x58]
mov dword [eax], eax
mov eax, dword [esp + 0x58]
mov dword [eax + 8], eax
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], edi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [ebp + 0xf9c]
mov byte [esp + 0x70], bl
call sub.MFC71U.DLL_CWnd::GetWindowTextW
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_4]
mov eax, dword [ebp + 0x4cc]
mov esi, dword [eax]
cmp esi, eax
mov byte [esp + 0x6c], 2
je 0x10051045
mov bl, 6
jmp 0x10050e80
cmp byte [esi + 0x21], 0
mov edi, dword [esi + 0x18]
jne 0x10050ec7
mov eax, dword [esi + 8]
cmp byte [eax + 0x21], 0
jne 0x10050eac
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x21], 0
jne 0x10050ec7
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x21], 0
je 0x10050ea0
jmp 0x10050ec7
mov eax, dword [esi + 4]
cmp byte [eax + 0x21], 0
jne 0x10050ec5
cmp esi, dword [eax + 8]
jne 0x10050ec5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x21], 0
je 0x10050eb5
mov esi, eax
test edi, edi
je 0x10051037
cmp dword [esp + 0x18], 0
jne 0x10050f00
cmp dword [esp + 0x1c], 0
je 0x10050ef6
mov edx, dword [edi + 4]
mov eax, dword [edi]
push edx
push eax
mov ecx, ebp
call fcn.1004ecc0
cmp eax, 0xffffffff
je 0x10051037
jmp 0x10050f00
cmp byte [edi + 0x34], 0x1e
jb 0x10051037
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x100ac36c
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0x10
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Find]
cmp eax, 0xffffffff
je 0x10050f9a
push edi
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
lea eax, [esp + 0x3c]
push eax
call fcn.1004efc0
add esp, 0xc
mov edi, eax
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 3
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 4
call fcn.100500c0
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x34]
jmp 0x1005102c
lea ecx, [edi + 8]
push ecx
lea ecx, [esp + 0x14]
call dword [0x100ab7e8]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_CDC::LPtoHIMETRIC]
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Find]
cmp eax, 0xffffffff
je 0x10051037
push edi
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
lea eax, [esp + 0x44]
push eax
call fcn.1004efc0
add esp, 0xc
mov edi, eax
push edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 5
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_5]
mov ecx, dword [edi + 4]
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], bl
call fcn.100500c0
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 2
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp esi, dword [ebp + 0x4cc]
jne 0x10050e80
xor edi, edi
mov eax, dword [esp + 0x58]
mov esi, dword [eax]
cmp esi, eax
je 0x100510ad
lea ebx, [ebp + 0xc04]
mov eax, dword [esi + 0x10]
push ebx
push eax
mov ecx, ebp
call fcn.1004deb0
cmp byte [esi + 0x15], 0
jne 0x100510a7
mov eax, dword [esi + 8]
cmp byte [eax + 0x15], 0
jne 0x1005108c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
jne 0x100510a7
lea ebx, [ebx]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
je 0x10051080
jmp 0x100510a7
mov eax, dword [esi + 4]
cmp byte [eax + 0x15], 0
jne 0x100510a5
cmp esi, dword [eax + 8]
jne 0x100510a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x10051095
mov esi, eax
cmp esi, dword [esp + 0x58]
jne 0x10051055
push 5
lea ecx, [ebp + 0xc04]
call fcn.1004a7e0
push edi
lea ecx, [ebp + 0x744]
call fcn.1004a7e0
push edi
lea ecx, [ebp + 0x4d4]
call fcn.1004a7e0
push edi
lea ecx, [ebp + 0x9a4]
call fcn.1004a7e0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xffffffff
call fcn.10050740
mov edx, dword [esp + 0x58]
push edx
call sub.MFC71U.DLL_CNoTrackObject::operator_new
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret