Function at 0x51841c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff58
push esi
push edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
push eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push eax
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [eax + 0xc]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.0050881c
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_BeginPaint
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call fcn.00549360
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5186c2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5186d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00554c34
movsx eax, word [eax + 0x98]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov ecx, 0x5186ec
pop edx
call fcn.0056466c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov edx, dword [ebp - 0x10]
call fcn.0055e270
test al, al
je 0x51868c
mov eax, dword [ebp - 0xc]
call fcn.0042d930
call fcn.00429320
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
xor edx, edx
xor eax, eax
call fcn.004076f8
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x5b], 1
lea eax, [ebp - 0x7c]
push eax
mov dx, 0x22
xor eax, eax
call fcn.004087b4
push eax
mov eax, dword [0x5a69b4]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x8c]
imul edx, dword [ebp - 0x10], 0xd
lea eax, [eax + edx*4]
push eax
lea eax, [ebp - 0xa0]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00557d34
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x8c]
imul edx, dword [ebp - 0x10], 0xd
lea eax, [eax + edx*4 + 0xc]
xor edx, edx
call fcn.00557870
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x8c]
imul edx, dword [ebp - 0x10], 0xd
movsx eax, word [eax + edx*4 + 0x1e]
inc eax
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
pop edx
sub eax, edx
xor edx, edx
call fcn.0042fc50
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x8c]
imul edx, dword [ebp - 0x10], 0xd
lea eax, [eax + edx*4 + 0xc]
xor edx, edx
call fcn.0055783c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x8c]
imul edx, dword [ebp - 0x10], 0xd
movsx eax, word [eax + edx*4 + 0x1c]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
pop edx
sub eax, edx
xor edx, edx
call fcn.0042fc50
lea ecx, [ebp - 0xa8]
pop edx
call fcn.00407714
lea edx, [ebp - 0xa8]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.004ee2a8
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0042d930
call fcn.00429320
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5186c9
lea eax, [ebp - 0xc]
call fcn.0041025c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_ReleaseDC
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_EndPaint
ret