Function at 0x498bf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ad6cb
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x174], eax
push ebx
push edi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esi + 0x30], ebx
je 0x498d7e
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push 0xffffffffffffffff
push ebx
push ebx
push ebx
mov ecx, esi
call edx
mov dword [0x4edfa0], 1
call fcn.0047f120
mov eax, dword [esi + 0x34]
push eax
call fcn.00489640
add esp, 4
cmp dword [0x4ddb08], ebx
je 0x498c7e
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 0x34]
push edx
call fcn.0047e910
add esp, 8
push esi
call fcn.00498a60
mov eax, dword [esi + 0x34]
mov edi, dword [eax + 0x130]
sub edi, dword [eax + 0x12c]
xor ecx, ecx
sar edi, 2
mov eax, edi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042dbdc
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
call fcn.00414b50
mov dword [esp + 0x190], ebx
test edi, edi
je 0x498cf6
lea esp, [esp]
mov ecx, dword [esi + 0x34]
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.00415540
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov dword [eax + ebx*8], ecx
mov edx, dword [esp + 0x3c]
mov dword [eax + ebx*8 + 4], edx
inc ebx
cmp ebx, edi
jb 0x498cd0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x2c]
test ebx, ebx
je 0x498d49
test edi, edi
je 0x498d3b
lea eax, [ecx + 0xc]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
push eax
mov dword [eax], ecx
mov eax, dword [ecx + 8]
push 0x491e80
push eax
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], 0xd
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], edi
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
push ebx
call edi
add esp, 4
jmp 0x498d4f
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov dword [esp + 0x190], 0xffffffff
mov eax, dword [esp + 0x40]
test eax, eax
je 0x498d70
push eax
call edi
add esp, 4
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x498d7e
push eax
call edi
add esp, 4
cmp dword [esi + 0x30], 0
je 0x498ddf
mov edx, dword [esi + 4]
push 0x12c
lea ecx, [esp + 0x50]
push ecx
push edx
mov dword [esi + 0x30], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp dword [esi + 0x30], 1
mov ecx, esi
jne 0x498dca
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov byte [esp + 0x4c], 0x2a
call edx
lea edx, [eax + 0x20]
mov eax, 0x12b
lea ecx, [esp + 0x4d]
call fcn.004a0810
lea eax, [esp + 0x4c]
jmp 0x498dd4
mov edx, dword [esi]
mov eax, dword [edx + 4]
call eax
add eax, 0x20
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 0x44]
and eax, 1
cmp al, 1
jne 0x498dfc
cmp dword [0x4dd270], 0
je 0x498dfc
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
jmp 0x498e01
mov edx, dword [esi]
mov eax, dword [edx + 0x44]
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret