Function at 0x500ed64e
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x934
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax + 8]
cmp eax, 0xffffff33
push ebx
push esi
push edi
jne 0x500ed67a
push 0x2c35b
push 1
call fcn.50056f5f
jmp 0x500ed933
cmp eax, 0xffffff36
mov ebx, 0xffffff37
je 0x500ed691
cmp eax, ebx
je 0x500ed691
xor eax, eax
jmp 0x500ed936
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x104
lea eax, [ebp - 0x21c]
push eax
mov edi, 0x4a6
push edi
push dword [ebp + 0x78]
call esi
push eax
call dword [sym.imp.vsansi.dll_GetWindowTextW]
mov eax, dword [ebp + 0x7c]
cmp dword [eax + 8], ebx
jne 0x500ed7be
lea ecx, [ebp - 0x6bc]
call fcn.500a785c
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x6bc]
call fcn.500a6ec8
push edi
push dword [ebp + 0x78]
mov ebx, 0x80004005
call esi
xor edi, edi
cmp word [ebp - 0x21c], di
mov dword [ebp + 0x7c], eax
jne 0x500ed742
mov esi, 0x34f5
push esi
call fcn.5005698e
shr eax, 0x10
test ax, ax
push esi
je 0x500ed793
call fcn.5005698e
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + ecx + 2]
add eax, 3
and eax, 0xfffffffc
call fcn.50260700
mov edi, esp
push esi
call fcn.5005698e
push eax
push edi
call fcn.5024c7db
xor edi, edi
jmp 0x500ed798
lea eax, [ebp - 0x6bc]
push eax
call fcn.50272bbe
mov ebx, eax
cmp ebx, edi
jge 0x500ed75b
mov esi, 0x3545
jmp 0x500ed6fc
lea eax, [ebp - 0x6bc]
push eax
call fcn.50272bbe
mov ebx, eax
cmp ebx, edi
jl 0x500ed6f7
xor ebx, ebx
neg ebx
sbb ebx, ebx
and ebx, 2
push ebx
push edi
push dword [ebp + 0x78]
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea ecx, [ebp - 0x6bc]
call fcn.501b7afc
mov eax, ebx
jmp 0x500ed936
call fcn.5005698e
push edi
push 0x30
push eax
push edi
call fcn.5004c00f
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_SetFocus]
push 0xffffffffffffffff
push edi
push 0xb1
push dword [ebp + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x500ed76f
mov edi, dword [ebp + 0x78]
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x13e
push edi
call esi
push eax
push 0x5000b714
xor ebx, ebx
push ebx
mov dword [0x502898a0], eax
call fcn.500eb73a
push 0x4a3
push edi
call esi
push eax
push 0x5000b6fc
push ebx
mov dword [0x502898a4], eax
call fcn.500eb73a
push 0x1137
push edi
call esi
test eax, eax
je 0x500ed80c
xor eax, eax
inc eax
jmp 0x500ed81b
push 0x1138
push edi
call esi
neg eax
sbb eax, eax
and eax, 2
push eax
push 0x5000b7bc
push ebx
mov dword [0x5028fe60], eax
call fcn.500eb73a
mov esi, 0x50298198
mov ecx, esi
call fcn.500a70fc
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR70.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x500ed933
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.500a6ec8
push 0x50298198
call fcn.50272bbe
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x502985b8
call fcn.500a6ec8
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x502989d8
call fcn.500a6ec8
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x50298df8
call fcn.500a6ec8
mov esi, dword [sym.imp.vsansi.dll_wsprintfW]
mov dword [ebp + 0x78], 5
mov edi, 0x50008cac
mov ebx, 0x50011b28
mov eax, dword [ebp + 0x78]
dec eax
push eax
push edi
mov dword [ebp + 0x7c], eax
lea eax, [ebp - 0x29c]
push ebx
push eax
call esi
push dword [ebp + 0x78]
lea eax, [ebp - 0x10]
push edi
push ebx
push eax
call esi
add esp, 0x20
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0x29c]
push eax
push 0x50008c84
call fcn.50272bbe
test eax, eax
je 0x500ed904
lea eax, [ebp - 0x8c4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x50008c84
call fcn.50272bbe
mov eax, dword [ebp + 0x7c]
cmp eax, 1
mov dword [ebp + 0x78], eax
jg 0x500ed8b2
push edi
lea eax, [ebp - 0x10]
push 0x50011b14
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x50008c84
call fcn.50272bbe
xor eax, eax
inc eax
lea esp, [ebp - 0x8d0]
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8