Function at 0x4453ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, 0x51322c
mov esi, 1
push 1
mov eax, dword [edi + 0xc]
inc eax
push eax
call fcn.00401278
add esp, 8
test eax, eax
je 0x4453d5
mov byte [eax], 0
mov edx, dword [edi + 0xc]
push edx
call fcn.00401318
pop ecx
cmp eax, 8
jbe 0x445930
push 0x20
mov ecx, dword [edi + 0xc]
push ecx
call fcn.00401278
add esp, 8
test eax, eax
je 0x445930
inc eax
cmp byte [eax], 0
je 0x445930
mov dword [edi + 0xc], eax
test ebx, ebx
je 0x44541c
test ebx, ebx
je 0x445429
cmp byte [ebx + 0x4cc], 2
jne 0x445429
test byte [0x4f9f4c], 0x20
jne 0x445930
test ebx, ebx
je 0x44555c
cmp dword [0x4fb7f4], 0
je 0x44544a
push 1
push 5
push 0x4f3dd4
call fcn.004ca178
mov esi, eax
test esi, esi
je 0x44553c
push ebx
call fcn.004e8a54
test eax, eax
je 0x44553c
xor eax, eax
mov dword [0x4fb760], eax
mov dword [0x4fb764], 2
mov dword [0x4fb768], 1
mov dword [0x4fb76c], 1
mov dword [0x4fb770], 1
mov dword [0x4fb774], 1
mov edx, dword [0x4f29c8]
mov dword [0x4f9160], edx
mov ecx, dword [ebx]
mov dword [0x4f9170], ecx
cmp dword [0x4f9178], 0
je 0x445520
mov eax, dword [edi]
push eax
push 0x4f3ddc
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
test byte [0x4f9178], 2
je 0x4454e6
push 0x4f3de3
push 0x51382c
call fcn.0040123c
add esp, 8
test byte [0x4f9178], 4
je 0x445501
push 0x4f3de6
push 0x51382c
call fcn.0040123c
add esp, 8
mov edx, dword [edi + 8]
push edx
push 0x51382c
call fcn.0040123c
add esp, 8
mov ecx, dword [0x4f29e0]
mov dword [0x4f9160], ecx
jmp 0x445535
mov eax, dword [edi]
push eax
push 0x4f3de9
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.0048b968
cmp dword [0x4fb7f4], 0
je 0x445930
push 0
push 5
push 0x4f3def
call fcn.004ca178
jmp 0x445930
cmp dword [0x4fb09c], 0
je 0x44560e
cmp dword [0x4fb7f4], 0
je 0x445582
push 1
push 5
push 0x4f3df7
call fcn.004ca178
mov esi, eax
test esi, esi
je 0x4455ee
push 0
call fcn.0048ee90
xor eax, eax
mov dword [0x4fb760], eax
mov dword [0x4fb764], 2
mov dword [0x4fb768], 1
mov dword [0x4fb76c], 1
mov dword [0x4fb770], 1
mov dword [0x4fb774], 1
mov edx, dword [0x4f29c8]
mov dword [0x4f9160], edx
mov ecx, dword [edi]
push ecx
push 0x4f3dff
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.0048b968
cmp dword [0x4fb7f4], 0
je 0x445930
push 0
push 5
push 0x4f3e05
call fcn.004ca178
jmp 0x445930
cmp dword [0x4fb0dc], 0
je 0x4456ed
mov eax, dword [0x4fd9f8]
push eax
call fcn.004eae80
mov ebx, eax
test ebx, ebx
je 0x4456ed
cmp byte [ebx + 0x4cc], 1
jne 0x4456ed
cmp dword [0x4fb7f4], 0
je 0x445656
push 1
push 5
push 0x4f3e0d
call fcn.004ca178
mov esi, eax
test esi, esi
je 0x4456cd
push ebx
call fcn.004e8a54
test eax, eax
je 0x4456cd
xor eax, eax
mov dword [0x4fb760], eax
mov dword [0x4fb764], 2
mov dword [0x4fb768], 1
mov dword [0x4fb76c], 1
mov dword [0x4fb770], 1
mov dword [0x4fb774], 1
mov edx, dword [0x4f29d0]
mov dword [0x4f9160], edx
mov ecx, dword [ebx]
mov dword [0x4f9170], ecx
mov eax, dword [edi]
push eax
push 0x4f3e15
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.0048b968
cmp dword [0x4fb7f4], 0
je 0x445930
push 0
push 5
push 0x4f3e1b
call fcn.004ca178
jmp 0x445930
cmp dword [0x4fb7f4], 0
je 0x445721
xor edx, edx
mov dword [0x4f5358], edx
push 1
push 0x29
push 0x4f3e23
call fcn.004ca178
test eax, eax
jne 0x445712
xor esi, esi
xor eax, eax
mov dword [0x4f5358], eax
test esi, esi
je 0x445930
mov edx, dword [edi]
push esi
push edi
mov esi, 0x51382c
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
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]
pop edi
pop esi
push 0x51382c
call fcn.004eae20
mov ebx, eax
test ebx, ebx
je 0x445764
mov eax, dword [ebx]
mov dword [0x4f9170], eax
jmp 0x445784
push 0
push 1
push 2
push 0x51382c
call fcn.004ee374
mov ebx, eax
mov dword [0x4f9170], ebx
test ebx, ebx
je 0x445930
mov eax, dword [0x4f9170]
push eax
call fcn.004eae80
mov ebx, eax
test ebx, ebx
je 0x4457f8
push ebx
call fcn.0048ef90
cmp byte [ebx + 0x4cc], 2
jne 0x4457f8
cmp byte [ebx + 0x4cd], 1
jne 0x4457f8
push 0x513c45
push 0x641
call fcn.0041f178
push 0x64
push 0x513c45
call fcn.00401318
pop ecx
add eax, 0x513c45
push eax
mov eax, dword [ebx]
push eax
call sub.USER32.dll_GetWindowTextA
push 0x40
push 0x513c45
call fcn.00401278
add esp, 8
test eax, eax
je 0x4457f8
push 0
push 0x513c45
push ebx
call fcn.0049ab0c
cmp dword [0x4fb084], 0
je 0x445836
push 0x51382c
mov edx, dword [edi]
push edx
mov ecx, dword [0x4f9170]
push ecx
call fcn.0048b58c
mov eax, dword [edi]
push eax
push 0x4f3e29
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0x51382c
call fcn.004efb4c
cmp dword [0x4fb0a8], 0
je 0x445875
cmp dword [0x4fb100], 1
jne 0x445856
mov edx, dword [0x4fb0b4]
push edx
call fcn.0041f778
jmp 0x445875
cmp dword [0x4fb100], 2
jne 0x445875
push 1
push 0x513c45
push 0
push 0
call fcn.0045a910
push eax
call fcn.004d74c0
cmp dword [0x4fb7f4], 0
je 0x44589b
xor ecx, ecx
mov dword [0x4f5358], ecx
push 0
push 0x29
push 0x4f3e34
call fcn.004ca178
xor eax, eax
mov dword [0x4f5358], eax
cmp dword [0x4fb7f4], 0
je 0x4458b4
push 1
push 5
push 0x4f3e3a
call fcn.004ca178
mov esi, eax
test esi, esi
je 0x445919
xor eax, eax
mov dword [0x4fb760], eax
mov dword [0x4fb764], 2
mov dword [0x4fb768], 1
mov dword [0x4fb76c], 1
mov dword [0x4fb770], 1
mov dword [0x4fb774], 1
mov edx, dword [0x4f29c8]
mov dword [0x4f9160], edx
mov ecx, dword [edi]
push ecx
push 0x4f3e42
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.0048b968
cmp dword [0x4fb7f4], 0
je 0x445930
push 0
push 5
push 0x4f3e48
call fcn.004ca178
pop edi
pop esi
pop ebx
pop ebp
ret 4