Function at 0x43f61c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1e]
mov word [ebp - 0x20], ax
mov esi, ecx
stosd dword es:[edi], eax
push 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20]
push eax
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetClassNameW]
xor ebx, ebx
test eax, eax
je 0x43f6b5
push 0x404670
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43f6b5
push ebx
push 0x100
push ebx
mov ecx, edi
call fcn.0043fa9d
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff
cmp eax, 3
je 0x43f6b1
cmp eax, 4
je 0x43f6b1
cmp eax, 5
je 0x43f6b1
cmp eax, 6
je 0x43f6b1
cmp eax, 7
je 0x43f6b1
cmp eax, 8
je 0x43f6b1
cmp eax, 9
je 0x43f6b1
cmp eax, 0xd
je 0x43f6b1
cmp eax, 0xe
je 0x43f6b1
cmp eax, 0xf
jne 0x43f6b5
and byte [esi + 0x5c], 0xfe
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [esi + 0x5c], 1
mov dword [esi + 0x2c], eax
je 0x43f762
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x34], eax
test eax, eax
jne 0x43f6f3
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
cmp dword [esi + 0x34], ebx
je 0x43f762
cmp dword [esi + 0x30], ebx
jne 0x43f762
push 0x58
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], ebx
push ebx
push eax
call fcn.0042d1b5
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0x5c
push dword [esi + 0x34]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x58]
and eax, 0x30
cmp al, 0x30
jne 0x43f73d
mov dword [ebp - 0x84], 0x2bc
jmp 0x43f74e
test byte [esi + 0x58], 1
movzx eax, byte [ebp - 0x7f]
push 1
pop ecx
cmove eax, ecx
mov byte [ebp - 0x7f], al
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x5c], 8
mov dword [esi + 0x30], eax
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push ebx
mov dword [eax], ebx
push ecx
mov eax, esp
mov dword [eax], ebx
lea ebx, [esi + 0x48]
push dword [edi]
mov ecx, ebx
call fcn.0043e3fe
cmp dword [esi + 0x24], 0
jne 0x43f7df
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x43f7df
and dword [ebp - 0x298], 0
lea ecx, [ebp - 0x298]
inc eax
push eax
mov dword [ebp - 4], eax
call fcn.0043dd2b
mov ebx, eax
test ebx, ebx
je 0x43f7c3
push dword [ebp - 4]
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x43f7c3
push ebx
mov ecx, esi
call fcn.00441ee2
lea eax, [ebp - 0x294]
cmp dword [ebp - 0x298], eax
je 0x43f7dc
lea ecx, [ebp - 0x298]
call fcn.0042fc3a
lea ebx, [esi + 0x48]
mov ecx, esi
call fcn.0043e167
cmp dword [esi + 0x28], 0
jne 0x43f808
mov eax, dword [esi + 0x58]
shr eax, 2
test al, 1
jne 0x43f808
cmp dword [esi + 0x24], 0
je 0x43f834
push dword [esi + 0x24]
mov ecx, esi
call fcn.00441e44
jmp 0x43f834
push 0
xor eax, eax
inc eax
push eax
push 0x401
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
push eax
lea eax, [esi + 0x38]
push eax
mov eax, dword [esi + 0x28]
push ecx
mov edx, esp
mov ecx, ebx
mov dword [edx], eax
push dword [edi]
call fcn.0043dcf0
test byte [esi + 0x5c], 1
je 0x43f8da
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
push 0x2001f
push 0x404680
push SysReAllocString
call fcn.004307de
test eax, eax
jne 0x43f8d2
mov word [ebp - 0x38], ax
lea edi, [ebp - 0x36]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x10]
push 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
pop edi
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], edi
push eax
push 0x4046dc
call fcn.00441c3e
test eax, eax
jne 0x43f8a4
lea eax, [ebp - 0x38]
push eax
call fcn.00442452
pop ecx
cmp eax, 0xffffffff
je 0x43f8a4
mov dword [esi + 0x4c], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x38]
push eax
push 0x4046f8
lea ecx, [ebp - 0x10]
call fcn.00441c3e
test eax, eax
jne 0x43f8d2
lea eax, [ebp - 0x38]
push eax
call fcn.00442452
pop ecx
cmp eax, 0xffffffff
je 0x43f8d2
mov dword [esi + 0x50], eax
lea ecx, [ebp - 0x10]
call fcn.0042f85e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret