Function at 0x410bb0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5fb0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
cmp dword [0x678ef4], 0
mov ebp, dword [esp + 0x44]
jne 0x410bf5
xor eax, eax
jmp 0x4111e0
cmp dword [0x678f00], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x410c2c
push 0
push 1
push 0xf0
push 0x4c5
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
neg eax
sbb eax, eax
neg eax
mov dword [ebp + 0x994], eax
jmp 0x410c32
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf0
push 0x4ed
push esi
call ebx
push eax
call edi
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x4ca
neg eax
push esi
mov dword [ebp + 0x950], eax
call ebx
push eax
call edi
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x425
neg eax
push esi
mov dword [ebp + 0x960], eax
call ebx
push eax
call edi
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x43c
neg eax
push esi
mov dword [ebp + 0x964], eax
call ebx
push eax
call edi
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x43d
neg eax
push esi
mov dword [ebp + 0x98c], eax
call ebx
push eax
call edi
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x4d0
neg eax
push esi
mov dword [ebp + 0x990], eax
call ebx
push eax
call edi
test eax, eax
je 0x410d19
mov dword [ebp + 0x968], 1
mov eax, dword [0x67a838]
mov dword [ebp + 0x970], eax
mov ecx, dword [0x67a834]
mov dword [ebp + 0x96c], ecx
mov edx, dword [0x67a83c]
mov dword [ebp + 0x974], edx
jmp 0x410d23
mov dword [ebp + 0x968], 0
push 0
push 1
push 0xf0
push 0x4c8
push esi
call ebx
push eax
call edi
push 0
push 1
neg eax
push 0xf0
sbb eax, eax
push 0x48c
neg eax
push esi
mov dword [ebp + 0x978], eax
call ebx
push eax
call edi
test eax, eax
je 0x410d96
xor eax, eax
push 3
mov word [esp + 0x18], ax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
lea eax, [esp + 0x18]
push eax
push 0x4d3
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x14]
push ecx
call fcn.005d3c34
add esp, 4
mov dword [ebp + 0x97c], eax
jmp 0x410da0
mov dword [ebp + 0x97c], 0xffffffff
push 0
push 1
push 0xf0
push 0x503
push esi
call ebx
push eax
call edi
test eax, eax
je 0x410e59
push 9
xor eax, eax
lea edx, [esp + 0x20]
push edx
push 0x4ef
push esi
mov word [esp + 0x2c], ax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov word [esp + 0x3e], ax
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, 0x625e04
lea eax, [esp + 0x1c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410e1d
test dx, dx
je 0x410e19
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410e1d
add eax, 4
add ecx, 4
test dx, dx
jne 0x410df7
xor eax, eax
jmp 0x410e22
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x410e3a
push 1
lea eax, [esp + 0x20]
push 0x6198d8
push eax
call fcn.005d31ba
add esp, 0xc
mov ax, word [esp + 0x1c]
cmp ax, 0x4e00
jb 0x410e4b
cmp ax, 0x9fa5
jbe 0x410e62
test ax, ax
je 0x410e62
mov word [ebp + 0x988], ax
jmp 0x410e62
mov word [ebp + 0x988], 0
push 0
push 1
push 0xf0
push 0x404
push esi
call ebx
push eax
call edi
test eax, eax
je 0x410e92
mov dword [ebp + 0x980], 1
mov ecx, dword [0x67a84c]
mov dword [ebp + 0x984], ecx
jmp 0x410e9c
mov dword [ebp + 0x980], 0
push 0
push 1
push 0xf0
push 0x515
push esi
call ebx
push eax
call edi
test eax, eax
je 0x410ec0
mov dword [ebp + 0x92c], 1
jmp 0x410f06
push 0
push 1
push 0xf0
push 0x516
push esi
call ebx
push eax
call edi
test eax, eax
je 0x410ee4
mov dword [ebp + 0x92c], 2
jmp 0x410f06
push 0
push 1
push 0xf0
push 0x517
push esi
call ebx
push eax
call edi
test eax, eax
je 0x410f06
mov dword [ebp + 0x92c], 3
push 0
push 0
push 0xf0
push 0x4cb
push esi
call ebx
push eax
call edi
push 0
push 0
neg eax
push 0xf0
sbb eax, eax
push 0x4cd
neg eax
push esi
mov dword [ebp + 0x8e4], eax
call ebx
push eax
call edi
push 0
push 0
neg eax
push 0xf0
sbb eax, eax
push 0x4cc
neg eax
push esi
mov dword [ebp + 0x9a0], eax
call ebx
push eax
call edi
push 0
push 0
neg eax
push 0xf0
sbb eax, eax
push 0x48d
neg eax
push esi
mov dword [ebp + 0xd90], eax
call ebx
push eax
call edi
test eax, eax
je 0x410f8a
mov dword [ebp + 0x468], 1
jmp 0x410f94
mov dword [ebp + 0x468], 0
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
push 0x56c
push esi
mov dword [esp + 0x44], 0
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
mov eax, dword [edi - 8]
mov edx, 1
sub edx, dword [edi - 4]
sub eax, ecx
or eax, edx
mov dword [esp + 0x14], ecx
jge 0x410feb
lea eax, [esp + 0x10]
call fcn.00403540
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ecx
push edi
push 0x56c
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test edi, edi
jne 0x411004
xor eax, eax
jmp 0x411025
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x411010
sub eax, edx
sar eax, 1
js 0x4110ed
cmp eax, dword [edi - 8]
jg 0x4110ed
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
mov ecx, dword [ebp + 0x468]
push ecx
push 0x56c
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp + 0x468]
push edx
push 0x4d2
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 0x468]
push eax
push 0x56e
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi - 0xc]
test ecx, ecx
mov dword [esp + 0x14], 1
je 0x411104
xor eax, eax
test ecx, ecx
jle 0x4110bb
test eax, eax
jl 0x4110ed
cmp eax, ecx
jg 0x4110ed
movzx edx, word [edi + eax*2]
movzx edx, dx
cmp dx, 0x30
jb 0x411104
cmp eax, ecx
jg 0x4110ed
movzx edx, word [edi + eax*2]
movzx edx, dx
cmp dx, 0x39
ja 0x411104
add eax, 1
cmp eax, ecx
jl 0x41108e
push edi
call fcn.005d3c34
lea ecx, [eax - 1]
add esp, 4
mov edx, 0x13
cmp edx, ecx
sbb ecx, ecx
neg ecx
cmp eax, 1
mov dword [esp + 0x14], ecx
jle 0x4110f7
cmp eax, 0x14
jl 0x4110e5
mov eax, 0x14
mov dword [ebp + 0x46c], eax
jmp 0x41110e
push 0x80070057
call fcn.00403650
mov eax, 1
mov dword [ebp + 0x46c], eax
jmp 0x41110e
mov dword [ebp + 0x46c], 0x14
mov eax, dword [ebp + 0x46c]
push eax
push 0x625d28
lea edi, [esp + 0x18]
call fcn.0040ac80
mov edi, dword [esp + 0x18]
add esp, 8
push edi
push 0x56c
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esp + 0x14], 0
je 0x411159
push 0xffffffffffffffff
push 0
push 0xb1
push 0x56c
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x67a824]
mov dword [ebp + 0x95c], ecx
mov edx, dword [0x67a878]
mov dword [ebp + 0x9b0], edx
mov eax, dword [0x67a87c]
mov dword [ebp + 0x9b4], eax
mov ecx, dword [0x67a880]
mov dword [ebp + 0x9b8], ecx
mov edx, dword [0x67a8bc]
mov dword [ebp + 0x9f4], edx
mov eax, dword [0x67a8c0]
mov dword [ebp + 0x9f8], eax
mov ecx, dword [0x67a8c4]
mov dword [ebp + 0x9fc], ecx
mov edx, dword [0x67a8c8]
lea eax, [edi - 0x10]
mov dword [ebp + 0xa00], edx
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4111db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005d28b3
add esp, 0x30
ret