Function at 0x474a60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4e3ec8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.USER32.dll_SetRect]
push edi
push 0
push 0
push 0
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x208], eax
mov eax, dword [ebp + 0x14]
push 0
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x200], edx
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 0x22d], 0
call esi
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x228]
push edx
call esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
cmp edi, dword [ebp + 0x20]
jne 0x474ae7
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
push ebx
mov esi, edi
xor ebx, ebx
lea esp, [esp]
push 0x1f3
lea eax, [ebp - 0x1f8]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x1f8]
push ecx
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
push 0
push 0x4c4a00
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc100.dll_Ordinal_4144]
lea ecx, [ebp - 0x22c]
test eax, eax
jns 0x474b80
push 0
push str.outlook
call dword [sym.imp.mfc100.dll_Ordinal_4144]
lea ecx, [ebp - 0x22c]
test eax, eax
jns 0x474b9f
push 0
push str.internet
call dword [sym.imp.mfc100.dll_Ordinal_4144]
test eax, eax
jns 0x474b99
push esi
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x22c]
mov esi, eax
call dword [sym.imp.mfc100.dll_Ordinal_901]
test esi, esi
je 0x474ba5
inc ebx
cmp ebx, 0xa
jl 0x474af0
jmp 0x474ba5
call dword [sym.imp.mfc100.dll_Ordinal_901]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e770
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea edx, [ebp - 0x218]
push edx
push edi
call fcn.00473980
lea eax, [ebp - 0x228]
push eax
push 0
call fcn.00473980
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x210]
mov esi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x220]
mov ebx, edx
sub ebx, eax
sub ebx, esi
add ebx, ecx
mov dword [ebp - 0x22c], ebx
fild dword [ebp - 0x22c]
sub ecx, esi
mov dword [ebp - 0x22c], ecx
fidiv dword [ebp - 0x22c]
sub eax, edx
add esp, 0x10
fmul qword [0x4b0c28]
fstp dword [ebp - 0x22c]
cmp eax, 0x32
jl 0x474c21
mov ecx, dword [ebp - 0x20c]
sub ecx, dword [ebp - 0x214]
cmp ecx, 0x32
jge 0x474c29
fldz
fstp dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x208]
mov eax, dword [ebp - 0x200]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp + 0x1c]
cdq
sub eax, edx
sar eax, 1
sar esi, 1
sub esi, eax
mov eax, dword [ebp - 0x1fc]
add ecx, esi
mov dword [ebp - 0x208], ecx
mov ecx, dword [ebp - 0x204]
sub eax, ecx
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ebp + 0x18]
cdq
sub eax, edx
sar eax, 1
sar esi, 1
lea edx, [ebp - 0x208]
sub esi, eax
push edx
add ecx, esi
push edi
mov dword [ebp - 0x204], ecx
call fcn.004738f0
add esp, 8
test al, al
je 0x474ca0
fld dword [0x4b6f58]
fcomp dword [ebp - 0x22c]
fnstsw ax
mov al, 1
test ah, 5
jnp 0x474ca6
mov al, byte [ebp - 0x22d]
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0048e770
mov esp, ebp
pop ebp
ret