Function at 0x40347f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2218
call fcn.004d9200
mov eax, dword [0x577014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
mov dword [ebp - 0x2214], eax
mov ebx, edx
push 0x208
mov dword [ebp - 0x2210], eax
mov dword [ebp - 0x2214], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebx + 0x20], esi
call fcn.004d9f30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x20c]
push eax
lea edi, [ebx + 4]
call fcn.004ddaa2
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00406efb
push 0x2000
lea eax, [ebp - 0x220c]
push 0
push eax
call fcn.004d9f30
add esp, 0xc
lea eax, [ebp - 0x220c]
mov esi, 0x1000
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x220c], 0
jne 0x403546
lea eax, [ebp - 0x220c]
push eax
push esi
push 0xd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x220c]
push eax
call fcn.004ddaa2
pop ecx
push eax
lea eax, [ebp - 0x220c]
push eax
lea ecx, [ebx + 8]
call fcn.00406efb
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebx + 0x1c], eax
test eax, 0x40000000
je 0x403584
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebx + 0xc], eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
push dword [edi]
test eax, eax
push str.Button
setne al
mov byte [ebx], al
call fcn.004e3849
pop ecx
pop ecx
test eax, eax
je 0x403612
push dword [edi]
push str.TNewCheckBox
call fcn.004e3849
pop ecx
pop ecx
test eax, eax
je 0x403612
push dword [edi]
push str.TNewRadioButton
call fcn.004e3849
pop ecx
pop ecx
test eax, eax
je 0x403612
push dword [edi]
push str.TButton
call fcn.004e3849
pop ecx
pop ecx
test eax, eax
je 0x403612
push dword [edi]
push str.TRadioButton
call fcn.004e3849
pop ecx
pop ecx
test eax, eax
je 0x403612
push dword [edi]
push str.TCheckbox
call fcn.004e3849
pop ecx
pop ecx
test eax, eax
je 0x403612
push dword [edi]
push str.TTntCheckBox.UnicodeClass
call fcn.004e3849
pop ecx
pop ecx
test eax, eax
jne 0x403658
push 0
push 0
push 0xf0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x1c]
and ecx, 0xf
mov dword [ebx + 0x10], eax
dec ecx
sub ecx, 1
je 0x40364c
sub ecx, 1
je 0x40364c
sub ecx, 1
je 0x40364c
sub ecx, 1
je 0x40364c
sub ecx, 1
je 0x40364c
sub ecx, 3
jne 0x403650
mov byte [ebx + 0x14], 1
test eax, eax
je 0x403658
mov byte [ebx + 0x14], 1
push dword [edi]
push 0x53cfe0
call fcn.004e3849
pop ecx
pop ecx
test eax, eax
jne 0x40367d
push eax
push eax
push 0x408
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x18], eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4036af
push 0x3a1
push 0x80070578
push ecx
mov ecx, esp
call fcn.0040687a
mov ecx, dword [ebp - 0x2210]
call fcn.00406620
mov eax, dword [ebp - 0x2210]
jmp 0x4036c6
mov esi, dword [ebp - 0x2210]
and dword [esi], 0
lea ecx, [esi + 8]
and dword [esi + 4], 0
call fcn.0040687a
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d818b
leave
ret