Function at 0x47f710
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x950
cmp dword [edi + 0x104], 0
push ebx
push esi
jne 0x47fa35
mov eax, dword [edi + 0xf4]
add eax, dword [edi + 0xb8]
mov ebx, dword [edi + 0xf0]
add ebx, dword [edi + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x188]
mov ecx, dword [eax + 4]
mov dword [esp + 8], ecx
lea esi, [edi + 0xd4]
mov ecx, esi
mov dword [esp + 0xc], 0
call fcn.00405560
test al, al
je 0x47f82f
mov eax, dword [esp + 8]
push 0x80
lea edx, [esp + 0x5c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x30
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.0049d120
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x5c]
push eax
push 0
mov dword [esp + 0x34], 0x30
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
je 0x47f7c4
mov esi, dword [esp + 0x54]
test esi, esi
jne 0x47f7f5
mov ecx, dword [esp + 8]
push 0
push 0
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x47f7f5
mov edx, dword [esp + 8]
push eax
push 1
push 0x7f
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x47f8c2
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 8]
push 3
push 0
push 0
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push eax
push esi
push ecx
push ebx
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x47f8be
mov ecx, esi
call fcn.00401cb0
mov esi, eax
call fcn.0047a990
lea ecx, [esp + 0xc]
push ecx
push 1
push 1
push esi
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
call fcn.0047b660
mov esi, eax
test esi, esi
je 0x47f889
cmp dword [esp + 0xc], 0
je 0x47f889
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], 1
cmp dword [eax + 0x10], 0
je 0x47f889
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
push esi
call fcn.004845b0
mov ecx, esi
call fcn.0042d070
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00426b70
cmp dword [esi + 8], 0
mov dword [esp + 0xc], eax
jbe 0x47f8be
cmp dword [esi + 0xc], 0
jbe 0x47f8be
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
push 0
push eax
push ebx
push ecx
mov eax, esi
call fcn.00484040
add ebx, dword [esp + 0x10]
mov edx, dword [esp + 8]
add ebx, dword [edi + 0x100]
push 0
push 0xf060
push 0
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
test al, 3
mov esi, dword [edi + 0x184]
push 2
mov ecx, esi
je 0x47f907
call fcn.0042cf90
test eax, eax
je 0x47f93f
and dword [esi + 0x18], 0xfffffffd
lea eax, [esi + 4]
mov dword [esp + 8], eax
jmp 0x47f91b
call fcn.0042cf90
test eax, eax
jne 0x47f93f
or dword [esi + 0x18], 2
lea ecx, [esi + 4]
mov dword [esp + 8], ecx
push 0x80
mov ecx, esi
call fcn.0042cf90
test eax, eax
je 0x47f93f
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x47f93f
mov eax, dword [esp + 8]
mov esi, dword [esi]
push 0
call fcn.0047e100
mov edx, dword [ebp + 8]
push 1
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [edi + 0x188]
cmp dword [ecx + 0x88], 0
mov eax, dword [edi + 0x80]
mov dword [esp + 8], eax
jne 0x47f96e
mov edx, dword [edi + 0x84]
mov dword [esp + 8], edx
lea esi, [edi + 0x20]
mov ecx, esi
call fcn.00405560
test al, al
je 0x47f9c9
push 0x7fe
lea eax, [esp + 0x15e]
push 0
push eax
mov word [esp + 0x164], 0
call fcn.0049d120
mov edx, dword [edi + 0x188]
mov eax, dword [edx + 4]
add esp, 0xc
push 0x400
lea ecx, [esp + 0x15c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x158]
push ecx
mov ecx, esi
call fcn.00401cd0
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 0xbc]
mov eax, dword [esp + 0xc]
test eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jg 0x47f9ef
mov eax, 0x14
add eax, ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.00427910
mov ebx, eax
mov esi, dword [ebx]
push 0x40024
lea ecx, [edi + 0x20]
add esi, 0xc
call fcn.00426b70
push eax
lea ecx, [edi + 0x20]
call fcn.00401cb0
mov ecx, dword [edi + 0x178]
mov edx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
mov edx, dword [esi]
push eax
mov ecx, ebx
call edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4