Function at 0x450f10
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 0x451232
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.0042e0c0
test al, al
je 0x45102f
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.00472c50
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 0x450fc4
mov esi, dword [esp + 0x54]
test esi, esi
jne 0x450ff5
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 0x450ff5
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 0x4510c2
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 0x4510be
mov ecx, esi
call fcn.0041ba20
mov esi, eax
call fcn.0044b040
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.0044bd70
mov esi, eax
test esi, esi
je 0x451089
cmp dword [esp + 0xc], 0
je 0x451089
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], 1
cmp dword [eax + 0x10], 0
je 0x451089
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.004559e0
mov ecx, esi
call fcn.00432140
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00432120
cmp dword [esi + 8], 0
mov dword [esp + 0xc], eax
jbe 0x4510be
cmp dword [esi + 0xc], 0
jbe 0x4510be
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
push 0
push eax
push ebx
push ecx
mov eax, esi
call fcn.00455470
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 0x451107
call fcn.00435170
test eax, eax
je 0x45113f
and dword [esi + 0x18], 0xfffffffd
lea eax, [esi + 4]
mov dword [esp + 8], eax
jmp 0x45111b
call fcn.00435170
test eax, eax
jne 0x45113f
or dword [esi + 0x18], 2
lea ecx, [esi + 4]
mov dword [esp + 8], ecx
push 0x80
mov ecx, esi
call fcn.00435170
test eax, eax
je 0x45113f
mov esi, dword [esi + 0x3c]
test esi, esi
je 0x45113f
mov eax, dword [esp + 8]
mov esi, dword [esi]
push 0
call fcn.0044f900
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 0x45116e
mov edx, dword [edi + 0x84]
mov dword [esp + 8], edx
lea esi, [edi + 0x20]
mov ecx, esi
call fcn.0042e0c0
test al, al
je 0x4511c9
push 0x7fe
lea eax, [esp + 0x15e]
push 0
push eax
mov word [esp + 0x164], 0
call fcn.00472c50
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.0041b9f0
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 0x4511ef
mov eax, 0x14
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x3c]
mov ebx, dword [eax + 0x24]
mov esi, dword [ebx]
push 0x40024
lea ecx, [edi + 0x20]
add esi, 0xc
call fcn.00432120
push eax
lea ecx, [edi + 0x20]
call fcn.0041ba20
mov edx, dword [edi + 0x178]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [esi]
push eax
push ecx
mov ecx, ebx
call edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4