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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x3480
call fcn.1007bf80
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov word [esp + 0x350], bx
mov ecx, 0x4a
lea edi, [esp + 0x352]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x350]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.10048f20
test eax, eax
jne 0x10049909
lea ecx, [esi + 0x1d7c]
call sub.MFC71U.DLL_COleControlSite::SetFocus
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0xe
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov word [esp + 0x480], bx
mov ecx, 0x400
lea edi, [esp + 0x482]
rep stosd dword es:[edi], eax
mov word [esp + 0x2488], bx
mov ecx, 0x400
lea edi, [esp + 0x248a]
rep stosd dword es:[edi], eax
mov eax, dword [0x100ac268]
mov ecx, dword [0x100ac26c]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [0x100ac270]
mov dword [edx + 4], ecx
mov ecx, dword [0x100ac274]
mov dword [edx + 8], eax
mov dword [esp + 0x40], 0x38
mov dword [edx + 0xc], ecx
call fcn.10002f70
mov dword [esp + 0x3c], eax
mov word [esp + 0x1498], bx
xor eax, eax
mov ecx, 0x3ff
lea edi, [esp + 0x149a]
rep stosd dword es:[edi], eax
add esp, 0x10
add esi, 0x4d4
push 0x800
lea edx, [esp + 0x148c]
push edx
mov ecx, esi
stosw word es:[edi], ax
mov dword [esp + 0x24], esi
call sub.MFC71U.DLL_COleControlSite::GetWindowTextW
mov ecx, esi
xor ebp, ebp
call sub.MFC71U.DLL_CWnd::GetInterfaceMap
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebp
jle 0x10049bb3
mov ecx, esi
call sub.MFC71U.DLL_CWnd::GetInterfaceMap
mov edx, dword [eax]
push 1
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push eax
call dword [edx + 0x18]
mov ecx, 4
lea edi, [esp + 0x38]
mov esi, 0x100ad468
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x10049b90
mov esi, dword [esp + 0x34]
test esi, esi
jl 0x10049abd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x4f4]
push edx
push edx
push 0xe
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, eax
jge 0x10049abd
cmp ebx, esi
jge 0x10049abd
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x480]
rep stosd dword es:[edi], eax
sub esi, ebx
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCR71.dll_wcsncpy]
push esi
lea edx, [esp + ebx*2 + 0x148c]
push edx
lea eax, [esp + 0x488]
push eax
call edi
mov esi, dword [sym.imp.MSVCR71.dll_wcslen]
lea ecx, [esp + 0x48c]
push ecx
call esi
add esp, 0x10
test eax, eax
jbe 0x10049ac3
lea edx, [esp + 0x480]
push edx
call esi
add eax, ebp
add esp, 4
cmp eax, 0x800
jae 0x10049ac3
lea eax, [esp + 0x480]
push eax
call esi
push eax
lea ecx, [esp + 0x488]
push ecx
lea edx, [esp + ebp*2 + 0x2494]
push edx
call edi
lea eax, [esp + 0x490]
push eax
call esi
add esp, 0x14
add ebp, eax
jmp 0x10049ac3
mov esi, dword [sym.imp.MSVCR71.dll_wcslen]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov word [esp + 0x148], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x14a]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x78]
add ebx, 1
stosw word es:[edi], ax
call fcn.10018070
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x10049b10
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x54]
lea ecx, [esp + 0x78]
call fcn.10018090
test eax, eax
je 0x10049b3c
test edi, edi
je 0x10049b57
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
push 0x104
lea eax, [esp + 0x14c]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x58]
jmp 0x10049b57
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x14c]
push str._emid:_d_
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0xc
lea ecx, [esp + 0x148]
push ecx
call esi
lea edx, [eax + ebp]
add esp, 4
cmp edx, 0x800
jge 0x10049b90
lea ecx, [eax + eax]
mov eax, ecx
shr ecx, 2
lea edi, [esp + ebp*2 + 0x2488]
lea esi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, edx
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jl 0x100499d3
mov edi, dword [esp + 0x10]
mov edx, dword [edi + 0x4f4]
push 0
push 0
push 0xe
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, eax
cmp ebx, edx
jge 0x10049c5e
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x480]
rep stosd dword es:[edi], eax
sub edx, ebx
stosw word es:[edi], ax
push edx
lea eax, [esp + ebx*2 + 0x148c]
mov ebx, dword [sym.imp.MSVCR71.dll_wcsncpy]
push eax
lea ecx, [esp + 0x488]
push ecx
call ebx
mov edi, dword [sym.imp.MSVCR71.dll_wcslen]
lea edx, [esp + 0x48c]
push edx
call edi
add esp, 0x10
test eax, eax
jbe 0x10049c5a
lea eax, [esp + 0x480]
push eax
call edi
add eax, ebp
add esp, 4
cmp eax, 0x800
jae 0x10049c5a
lea ecx, [esp + 0x480]
push ecx
call edi
push eax
lea edx, [esp + 0x488]
push edx
lea eax, [esp + ebp*2 + 0x2494]
push eax
call ebx
lea ecx, [esp + 0x490]
push ecx
call edi
add esp, 0x14
add ebp, eax
mov edi, dword [esp + 0x10]
test ebp, ebp
jne 0x10049c71
mov ecx, esi
call sub.MFC71U.DLL_COleControlSite::SetFocus
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x100d0e08
call fcn.10001df0
mov ebx, eax
test ebx, ebx
je 0x10049d0e
mov ecx, dword [edi + 0x2140]
push 0
lea edx, [edi + 0x2144]
push edx
mov edx, dword [esp + 0x2c]
push ebp
lea eax, [esp + 0x2494]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.10038620
test eax, eax
je 0x10049ce7
mov ecx, dword [edi + 0x4f4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xe
push ecx
call ebp
push eax
push 0
mov ecx, esi
call sub.MFC71U.DLL_CPropertySection::SetSectionName
mov edx, dword [edi + 0x4f4]
push 0x100abfb0
push 0
push 0xc2
push edx
call ebp
mov ecx, esi
call sub.MFC71U.DLL_COleControlSite::SetFocus
mov ecx, dword [edi + 0x10d4]
lea eax, [esp + 0x68]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x68]
push edx
push 1
mov ecx, ebx
call fcn.1003a150
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret