Function at 0x533824
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x434], edx
mov dword [ebp - 0x438], edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x533ea4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x533e5b
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [0x54a85d], 0
je 0x5338a6
mov ecx, 0x533ebc
mov edx, 0x533ec8
mov eax, dword [ebp - 4]
call fcn.005374b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533e79
mov byte [0x54a85d], 1
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x533e4a
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowThreadProcessId
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00532e68
cmp dword [ebp - 0x10], 0
je 0x533e4a
push 0x401
lea eax, [ebp - 0x421]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x421]
call fcn.0040dbf4
push 0x401
lea eax, [ebp - 0x421]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x421]
call fcn.0040dbf4
mov eax, dword [0x54514c]
mov eax, dword [eax]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0x10]
call fcn.0049fcb4
test al, al
jne 0x533953
mov eax, dword [0x54514c]
mov eax, dword [eax]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x10]
call fcn.0049fcb4
test al, al
jne 0x533982
lea eax, [ebp - 0x10]
mov edx, 0x533ef0
call fcn.004050f4
lea eax, [ebp - 0x14]
mov edx, 0x533f00
call fcn.004050f4
lea eax, [ebp - 0x18]
call fcn.0040505c
lea eax, [ebp - 0x1c]
call fcn.0040505c
jmp 0x533cd3
mov eax, dword [0x544d98]
cmp byte [eax], 0
je 0x5339bb
lea eax, [ebp - 0x10]
mov edx, 0x533f14
call fcn.004050f4
lea eax, [ebp - 0x14]
mov edx, 0x533f14
call fcn.004050f4
lea eax, [ebp - 0x18]
call fcn.0040505c
lea eax, [ebp - 0x1c]
call fcn.0040505c
jmp 0x533cd3
mov eax, dword [ebp - 0x14]
mov edx, 0x533f28
call fcn.00405468
je 0x533a3d
mov eax, dword [ebp - 0x14]
mov edx, 0x533f3c
call fcn.00405468
je 0x533a3d
mov eax, dword [ebp - 0x14]
mov edx, 0x533f58
call fcn.00405468
je 0x533a3d
mov eax, dword [ebp - 0x14]
mov edx, 0x533f74
call fcn.00405468
je 0x533a3d
mov eax, dword [ebp - 0x14]
mov edx, 0x533f94
call fcn.00405468
je 0x533a3d
mov edx, dword [ebp - 0x14]
mov eax, 0x533fc4
call fcn.00405660
test eax, eax
jg 0x533a3d
mov edx, dword [ebp - 0x14]
mov eax, 0x533fd4
call fcn.00405660
test eax, eax
jg 0x533a3d
mov edx, dword [ebp - 0x14]
mov eax, 0x533fe4
call fcn.00405660
test eax, eax
jle 0x533bc8
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0052bc90
cmp dword [ebp - 0x1c], 0
jne 0x533a6c
mov eax, dword [ebp - 0x14]
mov edx, 0x533f28
call fcn.00405468
jne 0x533a6c
lea ecx, [ebp - 0x1c]
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0052bc90
mov edx, dword [ebp - 0x14]
mov eax, 0x533fd4
call fcn.00405660
test eax, eax
jle 0x533add
cmp dword [ebp - 0x1c], 0
je 0x533a9f
mov eax, dword [0x54548c]
cmp dword [eax], 0
je 0x533add
lea eax, [ebp - 0x18]
mov edx, dword [0x54548c]
mov edx, dword [edx]
call fcn.004050f4
jmp 0x533add
mov eax, dword [0x5451f0]
cmp dword [eax], 0
jne 0x533ab3
mov eax, dword [0x54505c]
cmp dword [eax], 0
je 0x533add
lea eax, [ebp - 0x1c]
mov edx, dword [0x5451f0]
mov edx, dword [edx]
call fcn.004050f4
mov eax, dword [0x54505c]
cmp dword [eax], 0
je 0x533add
lea eax, [ebp - 0x18]
mov edx, dword [0x54505c]
mov edx, dword [edx]
call fcn.004050f4
mov edx, dword [ebp - 0x14]
mov eax, 0x533f28
call fcn.00405660
test eax, eax
jg 0x533aff
mov edx, dword [ebp - 0x14]
mov eax, 0x533fe4
call fcn.00405660
test eax, eax
jle 0x533b72
cmp dword [ebp - 0x1c], 0
jne 0x533b15
lea eax, [ebp - 0x1c]
mov edx, dword [0x5451f0]
mov edx, dword [edx]
call fcn.004050f4
mov eax, dword [ebp - 0x18]
call fcn.0040531c
mov ebx, eax
cmp ebx, 8
jl 0x533b5f
lea eax, [ebp - 0x20]
push eax
mov edx, ebx
sub edx, 7
mov ecx, 8
mov eax, dword [ebp - 0x18]
call fcn.0040557c
mov eax, dword [ebp - 0x20]
mov edx, 0x533ff4
call fcn.00405468
jne 0x533b5f
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
sub ecx, 8
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040557c
cmp dword [ebp - 0x1c], 0
jne 0x533b72
lea eax, [ebp - 0x1c]
mov edx, 0x534008
call fcn.004050f4
mov edx, dword [ebp - 0x14]
mov eax, 0x533fc4
call fcn.00405660
test eax, eax
jle 0x533b99
cmp dword [ebp - 0x1c], 0
jne 0x533b99
lea eax, [ebp - 0x1c]
mov edx, dword [0x5451f0]
mov edx, dword [edx]
call fcn.004050f4
mov eax, dword [ebp - 0x14]
mov edx, 0x533f94
call fcn.00405468
jne 0x533c53
cmp dword [ebp - 0x1c], 0
jne 0x533c53
lea eax, [ebp - 0x1c]
mov edx, 0x534008
call fcn.004050f4
jmp 0x533c53
xor eax, eax
push ebp
push 0x533beb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00528aa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533c31
cmp dword [ebp - 0x1c], 0
je 0x533c53
lea eax, [ebp - 0x42c]
call fcn.00528224
cmp dword [ebp - 0x42c], 0
je 0x533c53
lea eax, [ebp - 0x18]
call fcn.00528224
mov edx, dword [ebp - 0x14]
mov eax, 0x533fc4
call fcn.00405660
test eax, eax
jle 0x533cd3
cmp dword [ebp - 0x1c], 0
jne 0x533cd3
xor eax, eax
push ebp
push 0x533c8d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00528aa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533cd3
mov eax, dword [0x54a81c]
mov edx, dword [ebp - 0x10]
call fcn.00405468
jne 0x533d00
mov eax, dword [0x54a820]
mov edx, dword [ebp - 0x14]
call fcn.00405468
jne 0x533d00
mov eax, dword [0x54a824]
mov edx, dword [ebp - 0x18]
call fcn.00405468
je 0x533d5a
mov eax, dword [0x544f8c]
cmp byte [eax], 0
jne 0x533d33
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x534060
call fcn.0040f55c
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00532f18
jmp 0x533d5a
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x53406c
call fcn.0040f55c
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00532f18
mov eax, dword [0x54a81c]
mov edx, dword [ebp - 0x10]
call fcn.00405468
jne 0x533e4a
mov eax, dword [0x54a820]
mov edx, dword [ebp - 0x14]
call fcn.00405468
jne 0x533e4a
mov eax, dword [0x54a824]
mov edx, dword [ebp - 0x18]
call fcn.00405468
jne 0x533e4a
mov eax, dword [0x54a82c]
mov edx, dword [ebp - 0x1c]
call fcn.00405468
je 0x533e4a
cmp dword [0x54a82c], 0
je 0x533e4a
cmp dword [ebp - 0x1c], 0
je 0x533e4a
lea edx, [ebp - 0x434]
mov eax, dword [ebp - 0x1c]
call fcn.00533708
mov eax, dword [ebp - 0x434]
push eax
lea edx, [ebp - 0x438]
mov eax, dword [0x54a82c]
call fcn.00533708
mov edx, dword [ebp - 0x438]
pop eax
call fcn.00405468
jne 0x533e4a
mov eax, dword [0x544f8c]
cmp byte [eax], 0
jne 0x533e23
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x534060
call fcn.0040f55c
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00532f18
jmp 0x533e4a
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0x53406c
call fcn.0040f55c
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00532f18
mov byte [0x54a85d], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x533e79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533eab
lea eax, [ebp - 0x438]
mov edx, 5
call fcn.00405080
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00405080
ret