Function at 0x10054d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101477df
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x101900e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f0], ecx
push 0x108
push 0x1015beb4
push 0x3a
push 0x1015bf08
call fcn.10059450
add esp, 8
add eax, 0x1015becc
push eax
push 0x1015bf44
lea ecx, [ebp - 0x150]
call fcn.1001eab0
lea ecx, [ebp - 0x150]
call fcn.100b7260
call fcn.100acb70
test eax, eax
je 0x10054d8b
mov al, 1
jmp 0x10054fdf
lea ecx, [ebp - 0x1ec]
call fcn.1005a0d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.10055940
add esp, 8
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1ac], ecx
mov ecx, dword [ebp - 0x1ac]
call fcn.1005ca20
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1ac]
call fcn.1005ca40
mov dword [ebp - 0x1b8], eax
jmp 0x10054df2
mov edx, dword [ebp - 0x1a8]
add edx, 4
mov dword [ebp - 0x1a8], edx
mov eax, dword [ebp - 0x1a8]
cmp eax, dword [ebp - 0x1b8]
je 0x10054e76
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], ecx
push 0x100
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x110]
push edx
lea ecx, [ebp - 0x128]
call fcn.10015950
mov byte [ebp - 4], 1
push str.Gothic_II___2.6__fix_
lea ecx, [ebp - 0x128]
call fcn.1005d050
test eax, eax
jne 0x10054e62
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax]
push ecx
call fcn.100acb40
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.10015b70
jmp 0x10054de3
push 0x12f
push 0x1015bf68
push 0x3a
push 0x1015bfbc
call fcn.10059450
add esp, 8
add eax, 0x1015bf80
push eax
push 0x1015bff8
lea ecx, [ebp - 0x178]
call fcn.1001eab0
mov dword [ebp - 0x1bc], eax
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], eax
push str.injectWindow:
mov ecx, dword [ebp - 0x1c4]
call fcn.1002df00
mov dword [ebp - 0x1cc], eax
call fcn.100acb30
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
push ecx
mov ecx, dword [ebp - 0x1cc]
call fcn.10051640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x178]
call fcn.100b7260
push 0x130
push str.HookApp::findGameWindow
push 0x3a
push 0x1015c068
call fcn.10059450
add esp, 8
add eax, 0x1015c02c
push eax
push 0x1015c0a4
lea ecx, [ebp - 0x1a0]
call fcn.1001eab0
mov dword [ebp - 0x1d0], eax
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
push str.graphicsWindow:
mov ecx, dword [ebp - 0x1d8]
call fcn.1002df00
mov dword [ebp - 0x1e0], eax
call fcn.100acb70
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
push ecx
mov ecx, dword [ebp - 0x1e0]
call fcn.10051640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.100b7260
call fcn.100acb70
test eax, eax
je 0x10054fb1
mov dword [ebp - 0x1b4], 1
jmp 0x10054fbb
mov dword [ebp - 0x1b4], 0
mov dl, byte [ebp - 0x1b4]
mov byte [ebp - 0x1a1], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1ec]
call fcn.1005abf0
mov al, byte [ebp - 0x1a1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e6bb9
mov esp, ebp
pop ebp
ret