Function at 0x4134a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41bec7
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x42cf18]
xor eax, esp
mov dword [esp + 0x938], eax
push ebx
push esi
push edi
mov eax, dword [0x42cf18]
xor eax, esp
push eax
lea eax, [esp + 0x950]
mov dword fs:[0], eax
mov eax, ecx
mov ebx, dword [eax + 8]
xor cl, cl
test ebx, ebx
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], cl
je 0x4138e2
mov ecx, dword [ebx + 4]
mov esi, dword [ecx]
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 8]
cmp ebx, eax
mov edi, dword [eax + 4]
mov dword [esp + 0x1c], esi
je 0x413514
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, edi
je 0x4138dc
cmp esi, dword [ebx + 4]
jne 0x413527
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
push eax
call dword [0x41d784]
test eax, eax
je 0x4138c6
cmp esi, dword [ebx + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov byte [esp + 0x17], 1
jne 0x413552
call edi
cmp esi, dword [ebx + 4]
jne 0x413552
call edi
mov ecx, dword [esi + 8]
push 0xfffffffffffffff0
push ecx
call dword [0x41d718]
push 0x400
lea edx, [esp + 0x148]
push 0
push edx
mov dword [esi + 0x14], eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp esi, dword [ebx + 4]
jne 0x41357f
call edi
mov ecx, dword [esi + 8]
push 0x400
lea eax, [esp + 0x148]
push eax
push ecx
call dword [0x41d71c]
mov edi, eax
test edi, edi
jle 0x413800
cmp esi, dword [ebx + 4]
jne 0x4135ab
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0
je 0x4135da
cmp esi, dword [ebx + 4]
jne 0x4135bc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x18]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp esi, dword [ebx + 4]
jne 0x4135d3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x18], 0
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
cmp esi, dword [ebx + 4]
mov edi, eax
jne 0x413603
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x18], edi
cmp esi, dword [ebx + 4]
jne 0x413611
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0
je 0x413634
cmp esi, dword [ebx + 4]
jne 0x413622
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x144]
push eax
push ecx
call dword [0x41d0fc]
mov edi, dword [0x41d068]
push str.Button
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x4136f4
cmp esi, dword [ebx + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x41365e
call edi
mov eax, dword [esi + 0x14]
and eax, 7
cmp al, 7
jne 0x41367b
cmp esi, dword [ebx + 4]
jne 0x41366f
call edi
mov dword [esi + 0x10], 2
jmp 0x413800
cmp esi, dword [ebx + 4]
jne 0x413682
call edi
mov ecx, dword [esi + 0x14]
and ecx, 9
cmp cl, 9
lea ecx, [esp + 0x18]
jne 0x4136a2
call fcn.00412f30
mov dword [eax + 8], 4
jmp 0x413800
call fcn.00412f30
mov edx, dword [eax + 0xc]
and edx, 3
cmp dl, 3
je 0x4136df
lea ecx, [esp + 0x18]
call fcn.00412f30
test byte [eax + 0xc], 2
jne 0x4136df
lea ecx, [esp + 0x18]
call fcn.00412f30
lea ecx, [esp + 0x18]
call fcn.00412f30
mov dword [eax + 8], 1
jmp 0x413800
lea ecx, [esp + 0x18]
call fcn.00412f30
mov dword [eax + 8], 3
jmp 0x413800
push str.ComboBox
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x41371e
cmp esi, dword [ebx + 4]
jne 0x413712
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x10], 5
jmp 0x413800
push str.Edit
lea ecx, [esp + 0x148]
push ecx
call edi
test eax, eax
jne 0x413746
lea ecx, [esp + 0x18]
call fcn.00412f30
mov dword [eax + 8], 6
jmp 0x413800
push str.Static
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x41376e
lea ecx, [esp + 0x18]
call fcn.00412f30
mov dword [eax + 8], 7
jmp 0x413800
push str.SysDateTimePick32
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x413793
lea ecx, [esp + 0x18]
call fcn.00412f30
mov dword [eax + 8], 8
jmp 0x413800
push str.SysListView32
lea ecx, [esp + 0x148]
push ecx
call edi
test eax, eax
jne 0x4137b8
lea ecx, [esp + 0x18]
call fcn.00412f30
mov dword [eax + 8], 9
jmp 0x413800
push str.ListBox
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x4137dd
lea ecx, [esp + 0x18]
call fcn.00412f30
mov dword [eax + 8], 0xa
jmp 0x413800
push 0x422b5c
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x413800
lea ecx, [esp + 0x18]
call fcn.00412f30
mov dword [eax + 8], 0xb
push 0x400
lea ecx, [esp + 0x148]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp esi, dword [ebx + 4]
jne 0x413822
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
push 0x400
lea edx, [esp + 0x148]
push edx
push eax
call dword [0x41d720]
test eax, eax
jle 0x4138c6
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x44]
call fcn.00401b10
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x95c], 0
call dword [0x41d4c4]
mov edi, eax
cmp esi, dword [ebx + 4]
mov byte [esp + 0x958], 1
jne 0x41387f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
lea ecx, [esi + 0x38]
call dword [0x41d4cc]
push edi
lea ecx, [esi + 0x54]
call dword [0x41d4cc]
lea ecx, [esp + 0x24]
mov byte [esp + 0x958], 0
call dword [0x41d4b8]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
cmp eax, edx
mov dword [esp + 0x958], 0xffffffff
je 0x4138c6
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp esi, dword [ebx + 4]
jne 0x4138d1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
mov eax, dword [esp + 0x20]
jmp 0x413500
mov al, byte [esp + 0x17]
jmp 0x4138e4
mov al, cl
mov ecx, dword [esp + 0x950]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x938]
xor ecx, esp
call fcn.0041648c
mov esp, ebp
pop ebp
ret