Function at 0x41e050
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x950
cmp dword [esi + 0x104], 0
push ebx
push edi
jne 0x41e340
mov eax, dword [esi + 0xf4]
add eax, dword [esi + 0xb8]
mov ebx, dword [esi + 0xf0]
add ebx, dword [esi + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x18c]
mov ecx, dword [eax + 4]
mov dword [esp + 8], ecx
lea edi, [esi + 0xd4]
mov ecx, edi
mov dword [esp + 0xc], 0
call fcn.00401d20
test al, al
je 0x41e16f
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.0042d5f0
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 0x41e104
mov edi, dword [esp + 0x54]
test edi, edi
jne 0x41e135
mov ecx, dword [esp + 8]
push 0
push 0
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x41e135
mov edx, dword [esp + 8]
push eax
push 1
push 0x7f
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
je 0x41e1fb
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 edi
push ecx
push ebx
push edx
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x41e1f7
mov ecx, edi
call fcn.004059e0
mov edi, eax
call fcn.0041f590
lea ecx, [esp + 0xc]
push ecx
push 1
push 1
push eax
mov ecx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
call fcn.00420370
mov edi, eax
test edi, edi
je 0x41e1ca
cmp dword [esp + 0xc], 0
je 0x41e1ca
mov eax, dword [esp + 0x10]
mov dword [edi + 0x18], 1
cmp dword [eax + 0x10], 0
je 0x41e1ca
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
push edi
call fcn.00426bc0
cmp dword [edi + 8], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jbe 0x41e1f7
cmp dword [edi + 0xc], 0
jbe 0x41e1f7
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push 0
push edx
push ebx
push eax
mov eax, edi
call fcn.00426610
add ebx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
add ebx, dword [esi + 0x100]
push 0
push 0xf060
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
test al, 3
mov edi, dword [esi + 0x188]
mov ecx, edi
je 0x41e237
call fcn.004163d0
test eax, eax
je 0x41e24d
and dword [edi + 0x18], 0xfffffffd
jmp 0x41e244
call fcn.004163d0
test eax, eax
jne 0x41e24d
or dword [edi + 0x18], 2
push 0
mov ecx, edi
call fcn.00413660
mov edx, dword [ebp + 8]
push 1
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esi + 0x18c]
cmp dword [ecx + 0x88], 0
mov eax, dword [esi + 0x80]
mov dword [esp + 8], eax
jne 0x41e27c
mov edx, dword [esi + 0x84]
mov dword [esp + 8], edx
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.00401d20
test al, al
je 0x41e2d7
push 0x7fe
lea eax, [esp + 0x15e]
push 0
push eax
mov word [esp + 0x164], 0
call fcn.0042d5f0
mov edx, dword [esi + 0x18c]
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, edi
call fcn.00409e70
mov edx, dword [esi + 0xc]
sub edx, dword [esi + 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 0x41e2fd
mov eax, 0x14
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + 0x24]
mov ebx, dword [edi]
push 0x40024
lea ecx, [esi + 0x20]
add ebx, 0xc
call fcn.00405a90
push eax
lea ecx, [esi + 0x20]
call fcn.004059e0
mov edx, dword [esi + 0x17c]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebx]
push eax
push ecx
mov ecx, edi
call edx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4