Function at 0x42f510
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574796
mov eax, dword fs:[0]
push eax
sub esp, 0x92c
mov eax, dword [0x5e9750]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
xor ebx, ebx
mov dword [ebp - 0x938], ecx
mov byte [ebp - 0x931], bl
cmp eax, ebx
je 0x42f89b
mov ecx, dword [eax]
mov esi, dword [ecx]
cmp esi, ecx
je 0x42f89b
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f888
mov ecx, dword [esi + 8]
push 0xfffffffffffffff0
push ecx
mov byte [ebp - 0x931], 1
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x400
lea edx, [ebp - 0x810]
push ebx
push edx
mov dword [esi + 0x14], eax
call fcn.005474c0
mov ecx, dword [esi + 8]
add esp, 0xc
push 0x400
lea eax, [ebp - 0x810]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov edi, eax
cmp edi, ebx
jle 0x42f732
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x42f5d3
push eax
call fcn.0044663b
add esp, 4
mov dword [esi + 0x18], ebx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00446646
add esp, 4
mov dword [esi + 0x18], eax
cmp eax, ebx
je 0x42f604
lea ecx, [ebp - 0x810]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Button
lea edx, [ebp - 0x810]
push edx
call edi
test eax, eax
jne 0x42f671
mov eax, dword [esi + 0x14]
mov ecx, eax
and ecx, 7
cmp cl, 7
jne 0x42f635
mov dword [esi + 0x10], 2
jmp 0x42f732
mov edx, eax
and edx, 9
cmp dl, 9
jne 0x42f64b
mov dword [esi + 0x10], 4
jmp 0x42f732
mov ecx, eax
and ecx, 3
cmp cl, 3
je 0x42f665
test al, 2
jne 0x42f665
mov dword [esi + 0x10], 1
jmp 0x42f732
mov dword [esi + 0x10], 3
jmp 0x42f732
push str.ComboBox
lea edx, [ebp - 0x810]
push edx
call edi
test eax, eax
jne 0x42f68f
mov dword [esi + 0x10], 5
jmp 0x42f732
push 0x58cbb8
lea eax, [ebp - 0x810]
push eax
call edi
test eax, eax
jne 0x42f6ad
mov dword [esi + 0x10], 6
jmp 0x42f732
push str.Static
lea ecx, [ebp - 0x810]
push ecx
call edi
test eax, eax
jne 0x42f6c8
mov dword [esi + 0x10], 7
jmp 0x42f732
push str.SysDateTimePick32
lea edx, [ebp - 0x810]
push edx
call edi
test eax, eax
jne 0x42f6e3
mov dword [esi + 0x10], 8
jmp 0x42f732
push 0x58cb68
lea eax, [ebp - 0x810]
push eax
call edi
test eax, eax
jne 0x42f6fe
mov dword [esi + 0x10], 9
jmp 0x42f732
push 0x58cb58
lea ecx, [ebp - 0x810]
push ecx
call edi
test eax, eax
jne 0x42f719
mov dword [esi + 0x10], 0xa
jmp 0x42f732
push str.ComboBoxEx32
lea edx, [ebp - 0x810]
push edx
call edi
test eax, eax
jne 0x42f732
mov dword [esi + 0x10], 0xb
push 0x400
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.005474c0
mov edx, dword [esi + 8]
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
jle 0x42f888
lea ecx, [ebp - 0x810]
lea eax, [ebp - 0x92c]
push ecx
mov dword [ebp - 0x930], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x80
lea edx, [ebp - 0x92c]
lea edi, [eax + 1]
push edx
lea eax, [ebp - 0x930]
push edi
push eax
call fcn.00423f78
mov edx, dword [ebp - 0x930]
lea eax, [edi + edi]
push eax
lea ecx, [ebp - 0x810]
push ecx
push eax
push edx
call fcn.00545b11
add esp, 0x20
cmp eax, 0x50
ja case.0x42f7c5.1
movzx eax, byte [eax + 0x42f8d8]
jmp dword [eax*4 + 0x42f8c8]
mov edx, dword [ebp - 0x930]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], cx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42f7f3
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x82c]
call fcn.00418f80
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x82c]
push edx
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.00418e30
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [esi + 0x54]
call fcn.00418e30
cmp dword [ebp - 0x818], 8
jb 0x42f84f
mov ecx, dword [ebp - 0x82c]
push ecx
call fcn.0044663b
add esp, 4
mov eax, dword [ebp - 0x930]
xor edx, edx
lea ecx, [ebp - 0x92c]
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], dx
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x42f888
push eax
call fcn.00546078
add esp, 4
mov edx, dword [ebp - 0x938]
mov esi, dword [esi]
mov eax, dword [edx + 8]
cmp esi, dword [eax]
jne 0x42f563
mov al, byte [ebp - 0x931]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545559
mov esp, ebp
pop ebp
ret
call fcn.00446fd6
call fcn.0044700e
nop
int3