Function at 0x4ac4a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x620033
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8a0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], esi
mov al, byte [esi + 0x2b8]
mov dword [ebp - 4], 0
test al, al
jne 0x4acad6
mov eax, dword [esi + 0x1c0]
push 0x104
test eax, eax
je 0x4ac51f
mov ecx, dword [esi + 0x1bc]
lea eax, [ebp - 0x4ac]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4acad6
lea edi, [esi + 0xb0]
lea edx, [ebp - 0x4ac]
push edx
mov ecx, edi
call fcn.00402410
jmp 0x4ac551
mov ecx, dword [esi + 0x1bc]
lea eax, [ebp - 0x3a8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4acad6
lea edi, [esi + 0xb0]
lea edx, [ebp - 0x3a8]
push 0
push edx
mov ecx, edi
call fcn.00402e00
mov eax, dword [edi]
test eax, eax
jne 0x4ac55a
lea eax, [edi + 4]
push 0x2a
push eax
call fcn.005e77bb
add esp, 8
test eax, eax
jne 0x4ac579
mov eax, dword [esi + 0xac]
mov ecx, edi
mov eax, dword [eax]
push eax
call fcn.00402410
xor ecx, ecx
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
jge 0x4acad6
mov edx, dword [esi + 0x68]
lea ebx, [ecx + ecx*2]
shl ebx, 4
xor edi, edi
mov dword [ebp - 0x28], ebx
lea eax, [ebx + edx]
mov edx, dword [ebx + edx + 0x10]
cmp edx, edi
je 0x4acaca
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x1c], di
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
add eax, 0x54
mov ecx, dword [eax]
cmp ecx, edi
je 0x4ac5c4
mov eax, ecx
jmp 0x4ac5c7
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.005e7f83
lea eax, [ebp - 0x2a4]
push eax
call fcn.005e71bf
add esp, 0x18
cmp word [ebp + eax*2 - 0x2a6], 0x5c
mov dword [ebp - 0x14], 0x6d1c9c
je 0x4ac60e
mov dword [ebp - 0x14], 0x6a115c
mov eax, dword [esi + 0xb0]
cmp eax, edi
mov edi, eax
jne 0x4ac620
lea edi, [esi + 0xb4]
mov ecx, str._s_s_s_s
test ecx, ecx
je 0x4ac7c4
lea edx, [ebp - 0x44]
test edx, edx
je 0x4ac7c4
lea eax, [ebp - 0x2a4]
test eax, eax
je 0x4ac7c4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4ac7c4
test edi, edi
je 0x4ac7c4
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.0040e580
lea edx, [ebp - 0x2a4]
lea ecx, [ebp - 0x74]
push edx
mov byte [ebp - 4], 2
call fcn.0040e580
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.0040e580
push edi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.0040e580
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00401070
push str._s_s_s_s
lea ecx, [ebp - 0x5c]
call fcn.00402380
mov edi, dword [ebp - 0x54]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.00402400
push eax
call fcn.005e71bf
add esp, 4
lea ecx, [ebp - 0x68]
mov ebx, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esp, 4
lea ecx, [ebp - 0x74]
add ebx, eax
call fcn.00402400
push eax
call fcn.005e71bf
mov dword [ebp - 0x24], ebx
mov ebx, eax
add esp, 4
lea ecx, [ebp - 0x8c]
add ebx, edi
call fcn.00402400
push eax
call fcn.005e71bf
mov ecx, dword [ebp - 0x24]
add ebx, ecx
lea ebx, [eax + ebx + 5]
lea edi, [ebx + ebx]
push edi
call fcn.005ffe3f
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x20], edx
je 0x4ac782
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x80]
call fcn.00402400
push eax
lea ecx, [ebp - 0x68]
call fcn.00402400
push eax
lea ecx, [ebp - 0x74]
call fcn.00402400
push eax
lea ecx, [ebp - 0x8c]
call fcn.00402400
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402400
push eax
mov eax, dword [ebp - 0x20]
push ebx
push eax
call fcn.005e714f
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005e71bf
add esp, 0x20
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 ebx, dword [ebp - 0x28]
mov edx, dword [esi + 0x68]
xor ecx, ecx
push ecx
mov eax, dword [ebx + edx + 0x2c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x38], cx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402e00
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 7
test eax, eax
je 0x4ac7f1
mov dword [ebp - 0x14], eax
jmp 0x4ac7f7
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4ac9c0
mov ecx, 0x6a8284
test ecx, ecx
je 0x4ac9c0
test eax, eax
je 0x4ac9c0
push eax
push ecx
call fcn.005e77e4
add esp, 8
test eax, eax
je 0x4ac9c0
mov edx, dword [ebp - 0x20]
push 0x6a8284
push edx
call fcn.005e7a20
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4ac862
push 0x6a8284
inc ebx
call fcn.005e71bf
lea eax, [edi + eax*2]
push 0x6a8284
push eax
call fcn.005e7a20
add esp, 0xc
mov edi, eax
jmp 0x4ac83e
test ebx, ebx
je 0x4ac9c0
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x50]
push eax
call fcn.0040e580
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 8
push esi
call fcn.005e71bf
push 0x6a8284
mov edi, eax
call fcn.005e71bf
add esp, 8
cmp edi, eax
jbe 0x4ac8e2
lea ecx, [ebp - 0x20]
call fcn.00401070
lea ecx, [ebp - 0x50]
call fcn.00402400
push eax
call fcn.005e71bf
push esi
mov edi, eax
call fcn.005e71bf
push 0x6a8284
mov esi, eax
call fcn.005e71bf
sub esi, eax
imul esi, ebx
add edi, esi
lea ecx, [edi + edi + 2]
push ecx
call fcn.005ffe3f
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x20], ebx
jne 0x4ac8e5
jmp 0x4ac9b1
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x50]
call fcn.00402400
mov edi, eax
push 0x6a8284
push edi
mov dword [ebp - 0x24], edi
call fcn.005e7a20
add esp, 8
mov dword [ebp - 0x28], eax
test eax, eax
je 0x4ac975
sub eax, edi
mov esi, edi
sar eax, 1
shl eax, 1
mov ecx, eax
mov edi, ebx
mov edx, ecx
add ebx, eax
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.005e71bf
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.005e71bf
push 0x6a8284
lea ebx, [ebx + eax*2]
call fcn.005e71bf
mov edx, dword [ebp - 0x28]
push 0x6a8284
lea eax, [edx + eax*2]
push eax
mov dword [ebp - 0x24], eax
call fcn.005e7a20
mov edi, dword [ebp - 0x24]
add esp, 0x14
mov dword [ebp - 0x28], eax
jmp 0x4ac903
push edi
call fcn.005e71bf
mov ecx, eax
mov esi, edi
shl ecx, 1
mov eax, ecx
mov edi, ebx
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 - 0x24]
push ecx
call fcn.005e71bf
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.005e71bf
add esp, 0xc
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.00401070
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x60]
push 0
lea edi, [ebx + ebx*2]
shl edi, 4
mov ecx, dword [edi + eax + 0x18]
lea eax, [ebp - 0x20]
push ecx
mov ecx, dword [0x6d219c]
push edx
push eax
call fcn.00489590
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4ac9f0
lea eax, [ebp - 0x1c]
mov ecx, dword [esi + 0x68]
push eax
mov ecx, dword [edi + ecx + 8]
call fcn.005b1f20
mov edx, dword [esi + 0x68]
lea ecx, [ebp - 0xa4]
push ecx
push 0xffffffffffffffff
mov eax, dword [edi + edx + 8]
push 0x100d
mov byte [eax + 0x18e], 1
mov edx, dword [esi + 0x198]
push edx
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0x9c], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jl 0x4acaaf
mov eax, dword [0x6d2358]
test eax, eax
je 0x4aca6d
mov eax, dword [0x6d21c0]
test eax, eax
mov ecx, eax
jne 0x4aca55
mov ecx, 0x6d21c4
mov eax, dword [0x6d21d0]
test eax, eax
jne 0x4aca63
mov eax, 0x6d21d4
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0043e560
mov eax, dword [0x6d235c]
test eax, eax
je 0x4aca94
mov ecx, 0x6d21a0
call fcn.00402400
push eax
mov ecx, 0x6d21b0
call fcn.00402400
push eax
lea ecx, [ebp - 0x20]
call fcn.0043e560
lea ecx, [ebp - 0x20]
call fcn.00402400
push eax
mov eax, dword [esi + 0x198]
push edi
push 4
push eax
call fcn.0044f770
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]
inc ecx
jmp 0x4ac57b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret