Function at 0x43fc58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 1
push 1
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
inc edx
push edx
call fcn.0051833c
add esp, 8
test eax, eax
je 0x43fc81
mov byte [eax], 0
mov ecx, dword [esi]
push dword [ecx + 0xc]
call fcn.005183dc
pop ecx
cmp eax, 8
jbe 0x44030a
push 0x20
mov eax, dword [esi]
push dword [eax + 0xc]
call fcn.0051833c
add esp, 8
test eax, eax
je 0x44030a
inc eax
cmp byte [eax], 0
je 0x44030a
mov edx, dword [esi]
mov dword [edx + 0xc], eax
test ebx, ebx
je 0x43fccc
test ebx, ebx
je 0x43fcd9
cmp byte [ebx + 0x638], 2
jne 0x43fcd9
test byte [0x5321e4], 0x20
jne 0x44030a
test ebx, ebx
je 0x43fe73
cmp dword [0x534d3c], 0
je 0x43fcfb
push 1
push 5
push 0x52b964
push esi
call fcn.004d67d1
mov edi, eax
test edi, edi
je 0x43fe03
push ebx
call fcn.004f7de3
test eax, eax
je 0x43fe03
xor eax, eax
mov dword [0x534c34], eax
mov dword [0x534c38], 2
mov dword [0x534c3c], 1
mov dword [0x534c40], 1
mov dword [0x534c44], 1
mov dword [0x534c48], 1
mov edx, dword [0x52a374]
mov dword [0x53138c], edx
mov ecx, dword [ebx]
mov dword [0x53139c], ecx
cmp dword [esi + 0x404], 0
je 0x43fddc
mov eax, dword [esi]
push dword [eax]
push 2
push ebx
call fcn.00424462
push eax
push 0x52b96c
push 0x55319c
call sub.USER32.dll_wsprintfA
add esp, 0xc
test byte [esi + 0x404], 2
je 0x43fda1
push 0x52b973
push 0x55319c
call fcn.00518300
add esp, 8
test byte [esi + 0x404], 4
je 0x43fdbc
push 0x52b976
push 0x55319c
call fcn.00518300
add esp, 8
mov edx, dword [esi]
push dword [edx + 8]
push 0x55319c
call fcn.00518300
add esp, 8
mov ecx, dword [0x52a38c]
mov dword [0x53138c], ecx
jmp 0x43fdfb
mov eax, dword [esi]
push dword [eax]
push 2
push ebx
call fcn.00424462
push eax
push 0x52b979
push 0x55319c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
push esi
call fcn.0048f4e6
push ebx
call fcn.004f7de3
test eax, eax
je 0x43fe52
cmp byte [ebx + 0x638], 1
jne 0x43fe35
cmp dword [0x5282c0], 0
je 0x43fe52
push 1
push ebx
call fcn.00406da8
test eax, eax
je 0x43fe52
push 2
push esi
call fcn.004070df
jmp 0x43fe52
cmp dword [0x5282e4], 0
je 0x43fe52
push 2
push ebx
call fcn.00406da8
test eax, eax
je 0x43fe52
push 4
push esi
call fcn.004070df
cmp dword [0x534d3c], 0
je 0x44030a
push 0
push 5
push 0x52b97f
push esi
call fcn.004d67d1
jmp 0x44030a
cmp dword [0x533f68], 0
je 0x43ff7e
cmp dword [0x534d3c], 0
je 0x43fe9a
push 1
push 5
push 0x52b987
push esi
call fcn.004d67d1
mov edi, eax
test edi, edi
je 0x43ff35
push 0
call fcn.00492ffd
push 1
push 0x55319c
push dword [esi + 0x3f8]
push dword [0x537448]
call fcn.004f9c59
push eax
push esi
call fcn.004930fb
xor eax, eax
mov dword [0x534c34], eax
mov dword [0x534c38], 2
mov dword [0x534c3c], 1
mov dword [0x534c40], 1
mov dword [0x534c44], 1
mov dword [0x534c48], 1
mov edx, dword [0x52a374]
mov dword [0x53138c], edx
mov ecx, dword [esi]
push dword [ecx]
push 2
push 0
call fcn.00424462
push eax
push 0x52b98f
push 0x55319c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
push esi
call fcn.0048f4e6
cmp dword [0x5282e4], 0
je 0x43ff5d
push 2
push dword [0x53139c]
call fcn.004f9c59
push eax
call fcn.00406da8
test eax, eax
je 0x43ff5d
push 4
push esi
call fcn.004070df
cmp dword [0x534d3c], 0
je 0x44030a
push 0
push 5
push 0x52b995
push esi
call fcn.004d67d1
jmp 0x44030a
cmp dword [0x533fa8], 0
je 0x440088
push dword [0x53742c]
call fcn.004f9c59
mov ebx, eax
test ebx, ebx
je 0x440088
cmp byte [ebx + 0x638], 1
jne 0x440088
cmp dword [0x534d3c], 0
je 0x43ffc7
push 1
push 5
push 0x52b99d
push esi
call fcn.004d67d1
mov edi, eax
test edi, edi
je 0x44004a
push ebx
call fcn.004f7de3
test eax, eax
je 0x44004a
xor eax, eax
mov dword [0x534c34], eax
mov dword [0x534c38], 2
mov dword [0x534c3c], 1
mov dword [0x534c40], 1
mov dword [0x534c44], 1
mov dword [0x534c48], 1
mov edx, dword [0x52a38c]
mov dword [0x53138c], edx
mov ecx, dword [ebx]
mov dword [0x53139c], ecx
mov eax, dword [esi]
push dword [eax]
push 1
push 0
call fcn.00424462
push eax
push 0x52b9a5
push 0x55319c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
push esi
call fcn.0048f4e6
cmp dword [0x5282e4], 0
je 0x440067
push 2
push ebx
call fcn.00406da8
test eax, eax
je 0x440067
push 4
push esi
call fcn.004070df
cmp dword [0x534d3c], 0
je 0x44030a
push 0
push 5
push 0x52b9ab
push esi
call fcn.004d67d1
jmp 0x44030a
cmp dword [0x534d3c], 0
je 0x4400bd
xor edx, edx
mov dword [0x52d134], edx
push 1
push 0x2b
push 0x52b9b3
push esi
call fcn.004d67d1
test eax, eax
jne 0x4400ae
xor edi, edi
xor eax, eax
mov dword [0x52d134], eax
test edi, edi
je 0x44030a
mov edx, dword [esi]
mov ecx, dword [edx]
push esi
push edi
mov edi, ecx
mov esi, 0x55319c
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 0x55319c
call fcn.004f9bfc
mov ebx, eax
test ebx, ebx
je 0x440102
mov eax, dword [ebx]
mov dword [0x53139c], eax
jmp 0x440122
push 0
push 1
push 2
push 0x55319c
call fcn.004fd21f
mov ebx, eax
mov dword [0x53139c], ebx
test ebx, ebx
je 0x44030a
push dword [0x53139c]
call fcn.004f9c59
mov ebx, eax
test ebx, ebx
je 0x4401a6
push 1
push 0x55319c
push dword [esi + 0x3f8]
push ebx
push esi
call fcn.004930fb
cmp byte [ebx + 0x638], 2
jne 0x4401a6
cmp byte [ebx + 0x639], 1
jne 0x4401a6
push 0x5535b5
push 0x641
call fcn.00415c87
push 0x104
push 0x5535b5
call fcn.005183dc
pop ecx
add eax, 0x5535b5
push eax
push dword [ebx]
call sub.USER32.dll_GetWindowTextA
push 0x40
push 0x5535b5
call fcn.0051833c
add esp, 8
test eax, eax
je 0x4401a6
push 0
push 0x5535b5
push ebx
call fcn.0049f901
cmp dword [0x533f50], 0
je 0x4401e5
push 0x55319c
mov eax, dword [esi]
push dword [eax]
push dword [0x53139c]
call fcn.0048f12e
mov edx, dword [esi]
push dword [edx]
push 0x52b9b9
push 0x55319c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0x55319c
call fcn.004fe9da
cmp dword [0x533f74], 0
je 0x440223
cmp dword [0x53427c], 1
jne 0x440204
push dword [0x533f80]
call fcn.00415bb8
jmp 0x440223
cmp dword [0x53427c], 2
jne 0x440223
push 1
push 0x5535b5
push 0
push 0
call fcn.004595a0
push eax
call fcn.004e4326
cmp dword [0x534d3c], 0
je 0x44024a
xor ecx, ecx
mov dword [0x52d134], ecx
push 0
push 0x2b
push 0x52b9c4
push esi
call fcn.004d67d1
xor eax, eax
mov dword [0x52d134], eax
cmp dword [0x534d3c], 0
je 0x440264
push 1
push 5
push 0x52b9ca
push esi
call fcn.004d67d1
mov edi, eax
test edi, edi
je 0x4402d5
xor eax, eax
mov dword [0x534c34], eax
mov dword [0x534c38], 2
mov dword [0x534c3c], 1
mov dword [0x534c40], 1
mov dword [0x534c44], 1
mov dword [0x534c48], 1
mov edx, dword [0x52a374]
mov dword [0x53138c], edx
mov ecx, dword [esi]
push dword [ecx]
push 2
push 0
call fcn.00424462
push eax
push 0x52b9d2
push 0x55319c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
push esi
call fcn.0048f4e6
cmp dword [0x5282e4], 0
je 0x4402f2
push 2
push ebx
call fcn.00406da8
test eax, eax
je 0x4402f2
push 4
push esi
call fcn.004070df
cmp dword [0x534d3c], 0
je 0x44030a
push 0
push 5
push 0x52b9d8
push esi
call fcn.004d67d1
pop edi
pop esi
pop ebx
pop ebp
ret 8