Function at 0x425930
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x964
mov eax, dword [0x5e8f64]
xor eax, esp
mov dword [esp + 0x960], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x14], eax
push esi
push edi
cmp dword [ebx + 0xf0], 0
jne 0x425c61
mov eax, dword [ebx + 0xe0]
add eax, dword [ebx + 0xa8]
mov edi, dword [ebx + 0xdc]
add edi, dword [ebx + 0xa4]
cmp dword [ebx + 0xd4], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x164]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0
mov esi, dword [eax + 4]
mov dword [esp + 0x18], esi
jne 0x425a65
push 0x80
lea eax, [esp + 0x6c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x30
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0055dd80
add esp, 0xc
mov dword [esp + 0x28], 0x30
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
je 0x4259f8
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x425a25
push 0
push 0
push 0x7f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x425a25
push eax
push 1
push 0x7f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x20], eax
test eax, eax
je 0x425afd
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov edi, eax
call esi
mov esi, dword [esp + 0x10]
push 3
push 0
push 0
push eax
push edi
push dword [esp + 0x34]
mov dword [esp + 0x2c], eax
push dword [esp + 0x3c]
push esi
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_DrawIconEx]
add esi, edi
mov dword [esp + 0x10], esi
mov edi, esi
jmp 0x425af9
cmp dword [ebx + 0xd8], 8
lea esi, [ebx + 0xc4]
jb 0x425a76
mov esi, dword [esi]
call fcn.0041f660
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
push ecx
push ecx
push 1
push esi
mov ecx, eax
mov dword [esp + 0x24], 0
call fcn.004203d0
mov esi, eax
test esi, esi
je 0x425ac5
cmp dword [esp + 0x14], 0
je 0x425ac5
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], 1
cmp dword [eax + 0x10], 0
je 0x425ac5
push dword [eax + 0xc]
mov ecx, esi
push dword [eax + 8]
push dword [eax + 4]
call fcn.004277b0
cmp dword [esi + 8], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jbe 0x425af7
cmp dword [esi + 0xc], 0
jbe 0x425af7
push ecx
push 0
push ecx
push dword [esp + 0x30]
mov ecx, esi
push edi
push dword [esp + 0x30]
call fcn.00427220
mov eax, dword [esp + 0x10]
add edi, eax
mov esi, dword [esp + 0x18]
add edi, dword [ebx + 0xec]
push 0
push 0xf060
push 0
push esi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
test al, 3
je 0x425b51
mov edx, dword [ebx + 0x160]
mov ecx, dword [edx + 0x18]
mov eax, ecx
shr eax, 1
not eax
test al, 1
jne 0x425b63
and ecx, 0xfffffffd
mov dword [edx + 0x18], ecx
test cl, cl
jns 0x425b63
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x425b63
mov ecx, dword [ecx]
lea eax, [edx + 4]
push 0
push eax
call fcn.00424450
jmp 0x425b63
push ecx
push dword [ebx + 0x168]
mov ecx, dword [ebx + 0x160]
call fcn.00421d80
push 1
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [ebx + 0x164]
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x88], 0
jne 0x425b8c
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x30], 0
jne 0x425c00
push 0x800
lea eax, [esp + 0x16c]
push 0
push eax
call fcn.0055dd80
add esp, 0xc
lea eax, [esp + 0x168]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x168], 0
jne 0x425bce
xor edx, edx
jmp 0x425bef
lea edx, [esp + 0x168]
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x425be0
sub edx, ecx
sar edx, 1
push edx
lea eax, [esp + 0x16c]
lea ecx, [ebx + 0x20]
push eax
call fcn.00404cf0
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 0xac]
mov edx, dword [esp + 0x14]
test edx, edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, 0x14
cmovg eax, edx
mov dword [esp + 0x5c], ecx
add eax, ecx
mov dword [esp + 0x58], edi
cmp dword [ebx + 0x34], 8
lea ecx, [ebx + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x38]
mov edx, dword [eax + 0x24]
jb 0x425c3e
mov ecx, dword [ecx]
mov eax, dword [edx]
push 0x40024
push dword [ebx + 0x30]
push ecx
lea ecx, [esp + 0x64]
push ecx
push dword [ebx + 0x154]
mov ecx, edx
push dword [esp + 0x2c]
push dword [esp + 0x34]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x96c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055ab0a
mov esp, ebp
pop ebp
ret 4