Function at 0x413b40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x1c], eax
cmp dword [0x5fe5b4], 0
push ebp
mov ebp, dword [esp + 0x28]
jne 0x413b6e
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005787fd
add esp, 0x20
ret
cmp dword [0x5fe5c0], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x413ba5
push 0
push 1
push 0xf0
push 0x4c5
push esi
call edi
push eax
call ebx
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0x984], eax
push 0
push 1
push 0xf0
push 0x4ed
push esi
call edi
push eax
call ebx
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x501
neg eax
push esi
mov dword [ebp + 0x93c], eax
call edi
push eax
call ebx
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x4ca
neg eax
push esi
mov dword [ebp + 0x948], eax
call edi
push eax
call ebx
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x425
neg eax
push esi
mov dword [ebp + 0x94c], eax
call edi
push eax
call ebx
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x43c
neg eax
push esi
mov dword [ebp + 0x950], eax
call edi
push eax
call ebx
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x43d
neg eax
push esi
mov dword [ebp + 0x97c], eax
call edi
push eax
call ebx
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x4d0
neg eax
push esi
mov dword [ebp + 0x980], eax
call edi
push eax
call ebx
test eax, eax
je 0x413cac
mov dword [ebp + 0x954], 1
mov eax, dword [0x5ff074]
mov dword [ebp + 0x95c], eax
mov ecx, dword [0x5ff070]
mov dword [ebp + 0x958], ecx
mov edx, dword [0x5ff078]
mov dword [ebp + 0x960], edx
jmp 0x413cb6
mov dword [ebp + 0x954], 0
push 0
push 1
push 0xf0
push 0x4c8
push esi
call edi
push eax
call ebx
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x48c
neg eax
push esi
mov dword [ebp + 0x964], eax
call edi
push eax
call ebx
test eax, eax
je 0x413d29
xor eax, eax
push 3
mov word [esp + 0x10], ax
mov dword [esp + 0x12], eax
mov word [esp + 0x16], ax
lea eax, [esp + 0x10]
push eax
push 0x4d3
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0xc]
push ecx
call fcn.005796ae
add esp, 4
mov dword [ebp + 0x968], eax
jmp 0x413d33
mov dword [ebp + 0x968], 0xffffffff
push 0
push 1
push 0xf0
push 0x503
push esi
call edi
push eax
call ebx
test eax, eax
je 0x413df2
push 9
xor eax, eax
lea edx, [esp + 0x18]
push edx
push 0x4ef
push esi
mov word [esp + 0x24], ax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
call edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0x5bddb8
lea eax, [esp + 0x14]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x413db6
test dx, dx
je 0x413db2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x413db6
add eax, 4
add ecx, 4
test dx, dx
jne 0x413d90
xor eax, eax
jmp 0x413dbb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x413dd3
push 1
lea eax, [esp + 0x18]
push 0x5bd000
push eax
call fcn.0057a8a1
add esp, 0xc
mov ax, word [esp + 0x14]
cmp ax, 0x4e00
jb 0x413de4
cmp ax, 0x9fa5
jbe 0x413dfb
test ax, ax
je 0x413dfb
mov word [ebp + 0x978], ax
jmp 0x413dfb
mov word [ebp + 0x978], 0
push 0
push 1
push 0xf0
push 0x502
push esi
call edi
push eax
call ebx
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x404
neg eax
push esi
mov dword [ebp + 0x96c], eax
call edi
push eax
call ebx
test eax, eax
je 0x413e4b
mov dword [ebp + 0x970], 1
mov ecx, dword [0x5ff08c]
mov dword [ebp + 0x974], ecx
jmp 0x413e55
mov dword [ebp + 0x970], 0
push 0
push 1
push 0xf0
push 0x515
push esi
call edi
push eax
call ebx
test eax, eax
je 0x413e79
mov dword [ebp + 0x918], 1
jmp 0x413ebf
push 0
push 1
push 0xf0
push 0x516
push esi
call edi
push eax
call ebx
test eax, eax
je 0x413e9d
mov dword [ebp + 0x918], 2
jmp 0x413ebf
push 0
push 1
push 0xf0
push 0x517
push esi
call edi
push eax
call ebx
test eax, eax
je 0x413ebf
mov dword [ebp + 0x918], 3
push 0
push 0
push 0xf0
push 0x4cb
push esi
call edi
push eax
call ebx
push 0
push 0
neg eax
push 0xf0
sbb eax, eax
push 0x4cd
neg eax
push esi
mov dword [ebp + 0x8d4], eax
call edi
push eax
call ebx
mov ecx, dword [esp + 0x28]
neg eax
sbb eax, eax
neg eax
pop edi
mov dword [ebp + 0x98c], eax
pop ebx
pop ebp
xor ecx, esp
mov eax, 1
call fcn.005787fd
add esp, 0x20
ret