Function at 0x46ede0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583953
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8a0
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov al, byte [edi + 0x494]
mov dword [ebp - 0x30], edi
test al, al
mov dword [ebp - 4], ebx
jne 0x46f37f
mov ecx, dword [edi + 0x450]
lea eax, [ebp - 0x4ac]
push 0x104
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x46f37f
lea esi, [edi + 0xb0]
lea edx, [ebp - 0x4ac]
push edx
mov ecx, esi
call fcn.00402b60
mov eax, dword [esi]
cmp eax, ebx
jne 0x46ee5a
lea eax, [esi + 4]
push 0x2a
push eax
call fcn.0054e48b
add esp, 8
test eax, eax
jne 0x46ee79
mov eax, dword [edi + 0xac]
mov ecx, esi
mov eax, dword [eax]
push eax
call fcn.00402b60
xor ecx, ecx
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
jge 0x46f37f
mov edx, dword [edi + 0x68]
lea esi, [ecx + ecx*2]
shl esi, 4
mov dword [ebp - 0x24], esi
lea eax, [edx + esi]
mov edx, dword [edx + esi + 0x10]
cmp edx, ebx
je 0x46f373
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x1c], bx
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
add eax, 0x54
mov ecx, dword [eax]
cmp ecx, ebx
je 0x46eec2
mov eax, ecx
jmp 0x46eec5
add eax, 4
lea ecx, [ebp - 0x6ac]
lea edx, [ebp - 0x8ac]
push ecx
push edx
lea ecx, [ebp - 0x2a4]
lea edx, [ebp - 0x44]
push ecx
push edx
push eax
call fcn.0054fba9
lea eax, [ebp - 0x2a4]
push eax
call fcn.0054e46e
add esp, 0x18
cmp word [ebp + eax*2 - 0x2a6], 0x5c
mov dword [ebp - 0x14], 0x63e044
je 0x46ef0c
mov dword [ebp - 0x14], 0x615f1c
mov eax, dword [edi + 0xb0]
cmp eax, ebx
mov ebx, eax
jne 0x46ef1e
lea ebx, [edi + 0xb4]
mov ecx, str._s_s_s_s
test ecx, ecx
je 0x46f0ab
lea edx, [ebp - 0x44]
test edx, edx
je 0x46f0ab
lea eax, [ebp - 0x2a4]
test eax, eax
je 0x46f0ab
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46f0ab
test ebx, ebx
je 0x46f0ab
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.004034d0
lea edx, [ebp - 0x2a4]
lea ecx, [ebp - 0x74]
push edx
mov byte [ebp - 4], 2
call fcn.004034d0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.004034d0
push ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.004034d0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00401070
push str._s_s_s_s
lea ecx, [ebp - 0x5c]
call fcn.00403500
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.00403580
push eax
call fcn.0054e46e
add esp, 4
lea ecx, [ebp - 0x68]
mov ebx, eax
call fcn.00403580
push eax
call fcn.0054e46e
add esp, 4
lea ecx, [ebp - 0x74]
add ebx, eax
call fcn.00403580
push eax
call fcn.0054e46e
mov dword [ebp - 0x28], ebx
mov ebx, eax
add esp, 4
lea ecx, [ebp - 0x8c]
add ebx, esi
call fcn.00403580
push eax
call fcn.0054e46e
mov ecx, dword [ebp - 0x28]
add ebx, ecx
add eax, ebx
lea edx, [eax + eax + 2]
push edx
call fcn.0056649c
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x46f069
lea ecx, [ebp - 0x80]
call fcn.00403580
push eax
lea ecx, [ebp - 0x68]
call fcn.00403580
push eax
lea ecx, [ebp - 0x74]
call fcn.00403580
push eax
lea ecx, [ebp - 0x8c]
call fcn.00403580
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403580
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0054e46e
add esp, 0x1c
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.00401070
mov esi, dword [ebp - 0x24]
mov edx, dword [edi + 0x68]
xor eax, eax
push eax
lea ecx, [ebp - 0x3c]
mov esi, dword [edx + esi + 0x2c]
mov dword [ebp - 0x3c], eax
push esi
mov dword [ebp - 0x34], eax
mov word [ebp - 0x38], ax
call fcn.004024c0
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 7
test eax, eax
je 0x46f0d8
mov dword [ebp - 0x14], eax
jmp 0x46f0de
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov ecx, 0x61b3f8
test ecx, ecx
je 0x46f298
test eax, eax
je 0x46f298
push eax
push ecx
call fcn.0054e52b
add esp, 8
test eax, eax
je 0x46f298
mov edx, dword [ebp - 0x20]
push 0x61b3f8
push edx
call fcn.0054e877
add esp, 8
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x46f13e
push 0x61b3f8
inc ebx
call fcn.0054e46e
lea eax, [esi + eax*2]
push 0x61b3f8
push eax
call fcn.0054e877
add esp, 0xc
mov esi, eax
jmp 0x46f11a
test ebx, ebx
je 0x46f298
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x50]
push eax
call fcn.004034d0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 8
push esi
call fcn.0054e46e
push 0x61b3f8
mov edi, eax
call fcn.0054e46e
add esp, 8
cmp edi, eax
jbe 0x46f1be
lea ecx, [ebp - 0x20]
call fcn.00401070
lea ecx, [ebp - 0x50]
call fcn.00403580
push eax
call fcn.0054e46e
push esi
mov edi, eax
call fcn.0054e46e
push 0x61b3f8
mov esi, eax
call fcn.0054e46e
sub esi, eax
imul esi, ebx
add edi, esi
lea ecx, [edi + edi + 2]
push ecx
call fcn.0056649c
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x20], ebx
jne 0x46f1c1
jmp 0x46f289
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x50]
call fcn.00403580
mov esi, eax
push 0x61b3f8
push esi
mov dword [ebp - 0x28], esi
call fcn.0054e877
add esp, 8
mov dword [ebp - 0x24], eax
test eax, eax
je 0x46f24f
sub eax, esi
mov edi, ebx
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x14]
push esi
call fcn.0054e46e
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0054e46e
push 0x61b3f8
lea ebx, [ebx + eax*2]
call fcn.0054e46e
mov edx, dword [ebp - 0x24]
push 0x61b3f8
lea eax, [edx + eax*2]
push eax
mov dword [ebp - 0x28], eax
call fcn.0054e877
mov esi, dword [ebp - 0x28]
add esp, 0x14
mov dword [ebp - 0x24], eax
jmp 0x46f1df
push esi
call fcn.0054e46e
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0054e46e
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.0054e46e
add esp, 0xc
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00401070
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov eax, dword [edi + 0x68]
mov edx, dword [edi + 0x60]
push 0
lea esi, [esi + esi*2]
shl esi, 4
mov ecx, dword [eax + esi + 0x18]
lea eax, [ebp - 0x20]
push ecx
mov ecx, dword [0x63e3c8]
push edx
push eax
call fcn.00454930
mov ebx, dword [edi + 0x68]
lea ecx, [ebp - 0x20]
add ebx, esi
call fcn.00403580
mov ecx, dword [ebx + 8]
push eax
call fcn.005225b0
mov ecx, dword [edi + 0x68]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ecx + esi + 8]
lea ecx, [ebp - 0xa4]
push ecx
push 0xffffffffffffffff
mov byte [edx + 0x16e], 1
push 0x100d
lea ecx, [edi + 0x410]
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0x9c], eax
call fcn.0043ad10
mov esi, eax
test esi, esi
jl 0x46f356
mov eax, dword [0x63e51c]
test eax, eax
je 0x46f33b
mov ecx, 0x63e3d0
call fcn.00403580
push eax
mov ecx, 0x63e3e0
call fcn.00403580
push eax
lea ecx, [ebp - 0x20]
call fcn.00429df0
lea ecx, [ebp - 0x20]
call fcn.00403580
mov edx, dword [edi + 0x42c]
push eax
push esi
push 4
push edx
call fcn.004315d0
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0x2c]
xor ebx, ebx
inc ecx
jmp 0x46ee7b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret