Function at 0x4949d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55b1e1
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5b3940]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0x80]
mov eax, dword [eax + 0x2c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x20], esi
jge 0x494a7c
lea ebx, [ebx]
mov eax, dword [esi + 0x80]
add eax, 1
mov ecx, dword [esi + 0xf8]
js 0x494a50
cmp eax, dword [ecx + 0x2c]
jge 0x494a50
mov edx, dword [ecx + 0x28]
lea eax, [edx + eax*4]
mov eax, dword [eax]
jmp 0x494a52
xor eax, eax
mov edx, dword [eax + 0x84]
cmp edx, dword [0x5b4d48]
jl 0x494a7c
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [esi + 0xf8]
mov edx, dword [esi + 0x80]
mov eax, dword [ecx + 0x2c]
inc edx
cmp edx, eax
jl 0x494a30
mov eax, dword [esi + 0x100]
call fcn.0044d400
push eax
push 0x5679bc
call fcn.004f9663
xor edi, edi
add esp, 8
cmp eax, edi
je 0x494aa7
mov ebx, dword [eax + 0xe8]
mov dword [esp + 0x14], ebx
jmp 0x494aad
mov dword [esp + 0x14], edi
mov ebx, edi
mov eax, dword [esi + 0x100]
cmp dword [eax + 0x104], edi
jne 0x494acd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x184]
call eax
cmp eax, edi
jne 0x494ab3
jmp 0x494ae0
mov eax, dword [eax + 0x104]
cmp eax, edi
je 0x494ae0
cmp dword [eax + 0x5c], edi
jne 0x494d3f
cmp ebx, edi
je 0x494d3f
mov edi, dword [esi + 0x80]
or dword [esi + 0xd0], 1
push 0
push 0
push 0x229
inc edi
push ebx
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x30], eax
test eax, eax
je 0x494b3e
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [eax - 0x8000]
cmp ecx, 0x2e
ja 0x494b2e
mov dword [0x5b4d48], 0x8000
dec eax
cmp eax, 0x2d
ja 0x494b3e
mov dword [0x5b4d48], 1
mov ebx, dword [0x5b4d48]
mov edx, dword [esp + 0x14]
push ebx
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x18], eax
test eax, eax
je 0x494d45
jmp 0x494b66
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x494d14
mov ecx, dword [esp + 0x18]
push pe_nt_image_headers32
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x5c0474]
mov eax, dword [esi + 0xf8]
push 1
neg edx
push edi
sbb edx, edx
push 0x574340
and edx, 0xa
push ebx
inc edx
push edx
push eax
call fcn.00445930
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
mov ebx, eax
call fcn.00402df0
mov dword [esp + 0x248], 0
sub edi, dword [esi + 0x80]
lea edx, [esp + 0x2c]
push edi
push edx
lea edi, [esp + 0x2c]
call fcn.00494890
add esp, 8
mov ecx, eax
mov byte [esp + 0x248], 1
call fcn.00405840
push eax
call fcn.0048ef00
lea ecx, [esp + 0x2c]
call fcn.00407f90
mov ecx, edi
mov dword [esp + 0x248], 0xffffffff
call fcn.00407f90
mov ecx, dword [esi + 0x80]
mov eax, dword [ebx]
mov eax, dword [eax + 0x5c]
inc ecx
xor edx, edx
cmp dword [esp + 0x10], ecx
mov ecx, ebx
sete dl
push edx
call eax
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp dword [esp + 0x30], ecx
sete al
cmp dword [ebx + 0xa0], eax
je 0x494c53
push 1
mov esi, ebx
mov dword [ebx + 0xa0], eax
call fcn.0048ec10
mov esi, dword [esp + 0x20]
mov dword [ebx + 0xd4], 8
mov dword [ebx + 0x8c], 0xef1f
test byte [esi + 0xd4], 0x80
je 0x494c87
mov edx, dword [esi + 0x80]
inc edx
cmp dword [esp + 0x10], edx
jne 0x494c87
mov dword [ebx + 0xd4], 0x88
lea ecx, [esp + 0x1c]
call fcn.00401410
push 0x44fa50
mov ecx, 0x5c0744
mov dword [esp + 0x24c], 2
call fcn.004fc731
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x494d33
mov edx, dword [eax]
mov edx, dword [edx + 8]
push 0xef1f
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call edx
lea ecx, [esp + 0x1c]
call fcn.00405840
mov esi, eax
call fcn.0048edb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x10], eax
sub eax, dword [ecx + 0x80]
lea ecx, [esp + 0x1c]
cmp eax, 9
jg 0x494d38
mov dword [esp + 0x248], 0xffffffff
call fcn.00407f90
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc ebx
push ebx
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x494b62
jmp 0x494d45
call fcn.004dcd9a
call fcn.00407f90
jmp 0x494d45
mov dword [esi + 0xd0], edi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0050bb49
mov esp, ebp
pop ebp
ret 4