Function at 0x42d660
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4b5f79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
mov eax, dword [esp + 0x254]
push ebx
push ebp
mov ebp, dword [esp + 0x264]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0x21
sub ebp, eax
call esi
push 0x1f
mov ebx, eax
call esi
add ebx, eax
push 0x10
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x42d6e3
lea ecx, [esp + 0x14]
mov dword [esi], 0x4bc4d0
push ecx
push eax
push 0x26200a
push eax
push ebx
push ebp
mov dword [esp + 0x2c], eax
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov edx, dword [esp + 0x14]
mov edi, esi
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov dword [esp + 0x28], edi
jmp 0x42d6e9
mov dword [esp + 0x28], eax
mov edi, eax
push 8
call sub.gdiplus.dll_GdipAlloc
mov dword [esp + 0x20], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x258], esi
je 0x42d70b
push edi
mov ecx, eax
call fcn.0042dfa0
mov esi, eax
mov eax, dword [esi]
push 4
push eax
mov dword [esp + 0x260], 0xffffffff
call sub.gdiplus.dll_GdipSetSmoothingMode
push eax
mov ecx, esi
call fcn.00417410
mov eax, dword [0x4e28a8]
test eax, eax
je 0x42d74c
mov eax, dword [eax + 4]
mov ecx, dword [esi]
push ebx
push 0x76
push 0
push 0
push eax
push ecx
call sub.gdiplus.dll_GdipDrawImageRectI
push eax
mov ecx, esi
call fcn.00417410
mov eax, dword [0x4e28b8]
test eax, eax
je 0x42d85a
lea edx, [ebp - 0xec]
push 0
mov dword [esp + 0x14], edx
push 0
fild dword [esp + 0x18]
mov eax, dword [eax + 4]
push 0
push 2
push 0x41d00000
fstp dword [esp + 0x48]
fild dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
push 0x3f800000
push 0
push 0x42f40000
fst dword [esp + 0x3c]
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
push ecx
push edx
push 0
push 0x42ec0000
push eax
mov eax, dword [esi]
push eax
call sub.gdiplus.dll_GdipDrawImageRectRect
push eax
mov ecx, esi
call fcn.00417410
mov edi, dword [0x4e28b8]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0
mov edx, dword [edi + 4]
push edx
call sub.gdiplus.dll_GdipGetImageWidth
push eax
mov ecx, edi
call fcn.004290a0
mov edx, dword [esp + 0x14]
lea eax, [ebp - 0x76]
mov dword [esp + 0x10], eax
mov eax, dword [0x4e28b8]
fild dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add edx, 0xffffff82
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 0
fstp dword [esp + 0x2c]
fild qword [esp + 0x20]
test eax, eax
mov dword [esp + 0x38], ecx
fstp dword [esp + 0x10]
je 0x42d819
mov eax, dword [eax + 4]
jmp 0x42d81b
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
push 0
push 0
push 0
push 2
push 0x41d00000
push ecx
mov ecx, dword [esp + 0x44]
push 0
push 0x42fe0000
push edx
mov edx, dword [esi]
push 0x42ee0000
push 0
push ecx
push eax
push edx
call sub.gdiplus.dll_GdipDrawImageRectRect
push eax
mov ecx, esi
call fcn.00417410
mov edi, dword [esp + 0x28]
mov eax, dword [0x4e28b4]
test eax, eax
je 0x42db39
mov edi, eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
mov ecx, dword [edi + 4]
push ecx
call sub.gdiplus.dll_GdipGetImageHeight
push eax
mov ecx, edi
call fcn.004290a0
mov edx, dword [esp + 0x14]
mov edi, ebx
mov ebx, dword [0x4e28b4]
sub edi, edx
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 4]
push edx
push eax
shr edi, 1
call sub.gdiplus.dll_GdipGetImageHeight
push eax
mov ecx, ebx
call fcn.004290a0
mov eax, dword [esp + 0x278]
lea ecx, [ebp - 0x35]
cmp eax, 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
jne 0x42d8da
mov eax, ecx
lea edx, [edi + 1]
inc eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], eax
mov ebx, dword [0x4e28b0]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0
mov ecx, dword [ebx + 4]
push ecx
call sub.gdiplus.dll_GdipGetImageHeight
push eax
mov ecx, ebx
call fcn.004290a0
mov eax, dword [esp + 0x278]
lea edx, [ebp - 0x25]
cmp eax, 2
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edi
jne 0x42d923
mov eax, edx
inc eax
mov dword [esp + 0x40], eax
lea eax, [edi + 1]
mov dword [esp + 0x44], eax
mov ebx, dword [0x4e28ac]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0
mov edx, dword [ebx + 4]
push edx
call sub.gdiplus.dll_GdipGetImageHeight
push eax
mov ecx, ebx
call fcn.004290a0
mov eax, dword [esp + 0x278]
add ebp, 0xffffffeb
cmp eax, 3
mov ebx, edi
jne 0x42d95c
inc ebp
lea ebx, [edi + 1]
mov al, byte [esp + 0x27c]
test al, al
je 0x42da44
mov edi, dword [0x4e28b4]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
mov ecx, dword [edi + 4]
push ecx
call sub.gdiplus.dll_GdipGetImageHeight
push eax
mov ecx, edi
call fcn.004290a0
mov eax, dword [0x4e28b4]
test eax, eax
je 0x42d99d
mov eax, dword [eax + 4]
jmp 0x42d99f
xor eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
push 0
push 0
mov edi, dword [esp + 0x34]
push 0
push 2
push edx
mov edx, dword [esp + 0x44]
push 0xb
push 0
push 0x13
push ecx
push 0xb
push edx
push edi
push eax
mov eax, dword [esi]
push eax
call sub.gdiplus.dll_GdipDrawImageRectRectI
push eax
mov ecx, esi
call fcn.00417410
mov eax, dword [0x4e28b0]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x24], eax
mov edx, dword [eax + 4]
mov dword [esp + 0x14], 0
push edx
call sub.gdiplus.dll_GdipGetImageHeight
mov ecx, dword [esp + 0x20]
push eax
call fcn.004290a0
mov eax, dword [0x4e28b0]
test eax, eax
je 0x42da0b
mov eax, dword [eax + 4]
jmp 0x42da0d
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0
push 2
push ecx
mov ecx, dword [esp + 0x58]
push 0xb
push 0
push 0x13
push edx
mov edx, dword [esp + 0x64]
push 0xb
push ecx
push edx
push eax
mov eax, dword [esi]
push eax
call sub.gdiplus.dll_GdipDrawImageRectRectI
push eax
mov ecx, esi
call fcn.00417410
jmp 0x42da48
mov edi, dword [esp + 0x2c]
mov eax, dword [0x4e28ac]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x24], eax
mov edx, dword [eax + 4]
mov dword [esp + 0x14], 0
push edx
call sub.gdiplus.dll_GdipGetImageHeight
mov ecx, dword [esp + 0x20]
push eax
call fcn.004290a0
mov eax, dword [0x4e28ac]
test eax, eax
je 0x42da7f
mov eax, dword [eax + 4]
jmp 0x42da81
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 2
push ecx
push 0xb
push 0
push 0x13
push edx
push 0xb
push ebx
push ebp
push eax
mov eax, dword [esi]
push eax
call sub.gdiplus.dll_GdipDrawImageRectRectI
push eax
mov ecx, esi
call fcn.00417410
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + ecx]
lea ecx, [edi + 0xb]
push eax
push ecx
push edx
push edi
mov edi, dword [sym.imp.USER32.dll_SetRect]
push 0x4e2898
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
add eax, edx
mov edx, dword [esp + 0x40]
push eax
lea ecx, [edx + 0xb]
push ecx
mov ecx, dword [esp + 0x4c]
push ecx
push edx
push 0x4e2888
call edi
mov edx, dword [esp + 0x14]
lea ecx, [ebp + 0xb]
lea eax, [ebx + edx]
push eax
push ecx
push ebx
push ebp
push 0x4e2878
call edi
mov edi, dword [esp + 0x268]
mov ebx, dword [esp + 0x264]
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
push edi
push ebx
push 0x4e2898
call ebp
push edi
push ebx
push 0x4e2888
call ebp
push edi
push ebx
push 0x4e2878
call ebp
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x260]
lea eax, [esp + 0x50]
push 0xff
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebx - 0x10]
push 0
cdq
push 0
push 2
sub eax, edx
push esi
push 0xb
push 0xffffff
sar eax, 1
push eax
lea edx, [esp + 0x6c]
push 0x19
push edx
call fcn.0042d290
mov eax, dword [esp + 0x298]
add esp, 0x24
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov eax, dword [eax + 4]
push ecx
push eax
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
test edi, edi
mov dword [esp + 0x258], 1
je 0x42dbb4
mov eax, dword [edi + 4]
jmp 0x42dbb6
xor eax, eax
push 0
push 0
push eax
push ebx
call sub.gdiplus.dll_GdipDrawImageI
test eax, eax
je 0x42dbc9
mov dword [esp + 0x24], eax
test edi, edi
je 0x42dbd5
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
test esi, esi
je 0x42dbe7
mov eax, dword [esi]
push eax
call sub.gdiplus.dll_GdipDeleteGraphics
push esi
call sub.gdiplus.dll_GdipFree
push ebx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24c
ret