Function at 0x46fda8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x194
mov eax, dword [0xaba010]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov ebx, ecx
lea edi, [esp + 0x28]
mov ecx, dword [ebp + 8]
push 2
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x14]
lea esi, [ecx + 0x1c]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x14], eax
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.GDI32.dll_GetCurrentObject]
mov esi, eax
push esi
call edi
push 6
push esi
mov dword [esp + 0x2c], eax
call edi
push 1
push esi
mov dword [esp + 0x28], eax
call edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 4]
cmp ecx, dword [ebx + 0xb0]
jne 0x46fe66
push pe_nt_image_headers32
push 4
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawFrameControl]
lea esi, [esp + 0x28]
lea edi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x38]
push 0xfffffffffffffffe
push 0xfffffffffffffffe
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebx + 0x154]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0045a289
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
jmp 0x46fe80
test byte [edi + 0xc], 1
je 0x46fe80
push dword [ebx + 0x154]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0045a289
mov eax, dword [ebx + 0xac]
or ecx, 0xffffffff
cmp eax, dword [edi + 4]
jne 0x46fe94
mov ecx, dword [ebx + 0x15c]
test byte [edi + 0x10], 1
je 0x46fea4
push pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x46fef8
push ecx
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 6
push 6
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push esi
call dword [sym.imp.GDI32.dll_RoundRect]
test edi, edi
je 0x46fef4
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [esp + 0xc]
mov eax, dword [ebx + 0xfc]
neg eax
push eax
mov eax, dword [ebx + 0xf8]
neg eax
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test byte [ebx + 0x44], 0x20
jne 0x46ff67
mov eax, dword [edi + 4]
mov ecx, 0xd4
cmp eax, dword [ebx + 0xb0]
mov eax, dword [esp + 0x2c]
push 3
push 0
push 0
push 0x14
lea edx, [ecx + 4]
cmove ecx, edx
add eax, 2
push 0x14
push dword [ecx + ebx]
push eax
push dword [esp + 0x44]
push esi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [ebx + 0x128]
mov ecx, dword [esp + 0x28]
add eax, dword [ebx + 0x11c]
add ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x46ff6b
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x68]
push 0x12c
push 0
push eax
sub edi, ecx
call fcn.004f1a90
add esp, 0xc
lea eax, [esp + 0x68]
push 0x12c
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00470884
push edi
push dword [ebx + 0xbc]
lea eax, [esp + 0x40]
mov ecx, ebx
push pe_nt_image_headers32
push dword [esp + 0x18]
push dword [esp + 0x20]
push eax
call fcn.004707c6
mov eax, dword [esp + 0x28]
push dword [ebx + 0x144]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
push esi
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebx + 0xbc]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [sym.imp.USER32.dll_DrawTextA]
lea eax, [esp + 0x48]
push pe_nt_image_headers32
push eax
push dword [esp + 0x14]
push dword [esp + 0x1c]
push esi
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push dword [ebx + 0xc0]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
inc ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x40]
add eax, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x38]
push esi
mov dword [esp + 0x6c], eax
call ebx
push 0x810
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x24]
push esi
call edi
push dword [esp + 0x1c]
push esi
call ebx
push dword [esp + 0x20]
push esi
call ebx
push dword [esp + 0x24]
push esi
call ebx
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004efcea
mov esp, ebp
pop ebp
ret 4