Function at 0x4280b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b30fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xe4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 7
je 0x42811a
call fcn.00403910
mov ecx, eax
test ecx, ecx
je 0x42866c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
or ebx, 0xffffffff
jmp 0x42856c
call fcn.00403910
mov ecx, eax
test ecx, ecx
je 0x42866c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x42866c
mov ebx, dword [ebp + 0x18]
mov ecx, ebx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42816e
test dx, dx
je 0x42816a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42816e
add ecx, 4
add eax, 4
test dx, dx
jne 0x428148
xor eax, eax
jmp 0x428173
sbb eax, eax
or eax, 1
test eax, eax
je 0x4282f6
cmp dword [ebx - 0xc], 0
je 0x4282f6
push ecx
mov edi, esp
lea ecx, [ebx - 0x10]
mov dword [ebp - 0x10], edi
call fcn.00402c30
add eax, 0x10
mov dword [edi], eax
call fcn.00428a30
test al, al
je 0x428214
push ecx
mov edi, esp
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.00402c30
add eax, 0x10
mov dword [edi], eax
call fcn.00428690
test al, al
je 0x428214
mov edx, dword [ebp + 0x18]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x428214
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x428205
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x428205
call fcn.00402c30
or edi, 0xffffffff
mov dword [ebp - 0x10], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4281fd
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x428217
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.00402d80
mov esi, dword [ebp - 0x14]
or edi, 0xffffffff
mov eax, dword [esi - 0xc]
test eax, eax
je 0x428270
cmp eax, 0x1e
jle 0x428270
push 0x1b
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00428fd0
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00403230
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42825e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 3
push 0x4a1a60
lea ecx, [ebp - 0x14]
call fcn.00429120
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
mov ecx, esi
call fcn.00402c30
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [ecx], eax
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42829a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp + 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4282bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4282d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x428655
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x428655
push ecx
mov edi, esp
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402c30
add eax, 0x10
mov dword [edi], eax
call fcn.00428a30
test al, al
je 0x4285c8
push ecx
mov edi, esp
mov dword [ebp - 0x18], edi
mov ecx, dword [ebp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00402c30
add eax, 0x10
mov dword [edi], eax
call fcn.00428690
test al, al
je 0x4285c8
call fcn.00403910
mov ecx, eax
test ecx, ecx
je 0x42866c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4284f0
lea ebx, [eax + 1]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x42838b
push ebx
lea ecx, [ebp - 0x18]
call fcn.00402d20
mov edi, dword [ebp - 0x18]
cmp ebx, dword [edi - 8]
jg 0x428680
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
cmp dword [edi - 4], 1
jle 0x4283b1
push dword [edi - 0xc]
lea ecx, [ebp - 0x18]
call fcn.00402ee0
mov edi, dword [ebp - 0x18]
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
lea eax, [edi - 0x10]
mov ebx, esp
mov dword [ebp - 0x10], ebx
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00402c30
add eax, 0x10
mov dword [ebx], eax
call fcn.00428a30
test al, al
je 0x428517
push ecx
mov ebx, esp
lea ecx, [edi - 0x10]
mov dword [ebp - 0x20], ebx
call fcn.00402c30
add eax, 0x10
mov dword [ebx], eax
call fcn.00428690
test al, al
je 0x428517
lea ebx, [esi - 0x10]
lea ecx, [edi - 0x10]
cmp ecx, ebx
je 0x428450
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x428441
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x428441
call fcn.00402c30
mov dword [ebp - 0x10], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x428439
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x428450
push dword [edi - 0xc]
lea ecx, [ebp - 0x14]
push edi
call fcn.00402d80
mov esi, dword [ebp - 0x14]
push 0x2d
push esi
call fcn.0046c069
add esp, 8
test eax, eax
je 0x4284f0
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4284f0
mov ecx, dword [esi - 0xc]
lea ebx, [eax + 2]
cmp ecx, ebx
jle 0x4284f0
add eax, 1
js 0x428680
cmp eax, ecx
jg 0x428680
cmp word [esi + eax*2], 0x20
jne 0x4284f0
test ebx, ebx
js 0x428680
movzx eax, word [esi + ebx*2]
push eax
call fcn.00478a48
add esp, 4
test eax, eax
je 0x4284f0
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x14]
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00428fd0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.00403230
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4284ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428217
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x428217
call fcn.00403910
mov ecx, eax
test ecx, ecx
je 0x428676
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
or ebx, 0xffffffff
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428551
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42856c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp + 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42858d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4285a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x428655
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x428655
call fcn.00403910
mov ecx, eax
test ecx, ecx
je 0x42866c
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov dword [ecx], eax
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x428602
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp + 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x428623
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42863d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x428655
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xe0
push 0x80004005
call fcn.004036e0
push 0x80004005
call fcn.004036e0
push 0x80070057
call fcn.004036e0
int3