Function at 0x461bb0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x78], ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
sub eax, 0
je 0x461c45
sub eax, 1
je 0x461c36
sub eax, 1
jne 0x461f85
cmp dword [ebp + 0xc], 8
jne 0x461f85
mov eax, dword [edi + 0x74]
xor esi, esi
test eax, eax
je 0x461c11
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [edi + 0x50]
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov esi, eax
push 0
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
push 1
push ebx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
jmp 0x461f75
mov ebx, dword [ebp + 0xc]
cmp ebx, 1
jne 0x461d87
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [ebp + 0x10]
push ebx
call fcn.00425890
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcA]
lea ebx, [edi + 0x50]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x18], ecx
mov ecx, ebx
mov dword [ebp - 0x80], eax
mov dword [ebx + 0x14], str.SysMonthCal32
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], 2
call fcn.0042ac50
movzx eax, ax
mov dword [ebp - 0x84], eax
test ax, ax
je 0x461cb5
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x461cfa
call fcn.00503a66
mov dword [ebx + 0x10], eax
test eax, eax
jne 0x461cfa
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push eax
call esi
push 1
push eax
push 0x30
push dword [ebx]
call esi
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov byte [edi + 0x4c], 0
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
push 0
push 0
push eax
call fcn.00503b65
lea esi, [ebx + 4]
test esi, esi
je 0x461f9a
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x5b7124
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5b713c]
mov dword [esi + 8], eax
push 0x5b7124
mov dword [0x5b713c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x5b7150]
mov eax, dword [0x5b7158]
mov ecx, dword [0x5b714c]
sub eax, edx
push 0
push dword [0x5c899c]
push 0
push dword [ebp - 0x80]
push eax
mov eax, dword [0x5b7154]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x84]
push edx
push ecx
push 0x80800000
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
jmp 0x461cb5
cmp ebx, 2
jne 0x461dbb
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x461dad
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x461dad
mov dword [edi + 0x50], 0
mov ecx, dword [ebp - 0x78]
mov dword [ecx], 0
jmp 0x461f6b
cmp ebx, 0x2b
jne 0x461e05
mov eax, dword [edi + 0x24]
cmp eax, dword [esi + 0x14]
jne 0x461de4
mov eax, dword [esi + 0x10]
and eax, 1
shl eax, 9
or eax, 1
push eax
push 3
lea eax, [esi + 0x1c]
push eax
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov ecx, dword [ebp - 0x78]
mov eax, 1
mov dword [ecx], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x111
jne 0x461f32
mov eax, dword [ebp + 0x10]
xor ecx, ecx
shr eax, 0x10
cmp cx, ax
jne 0x461f68
push 0x40
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x3f
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041dd10
push 7
push 0
lea eax, [ebp - 0x94]
xorps xmm0, xmm0
push eax
push eax
movups xmmword [ebp - 0x64], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x461e86
movsd xmm0, qword [ebp - 0x8c]
lea eax, [ebp - 0x64]
push eax
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
cmp word [ebp - 0x64], 0
jne 0x461e97
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x64]
push eax
push 0
push 0x1002
push dword [edi + 0x50]
call esi
lea eax, [ebp - 0x54]
push eax
push 0
push 0x1009
push dword [edi + 0x50]
call esi
lea eax, [ebp - 0x74]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x68]
lea eax, [ebp - 0x54]
push dword [ebp - 0x74]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
sub eax, edx
mov ecx, dword [ebp - 0x54]
push 0x40
push eax
mov eax, dword [ebp - 0x4c]
sub eax, ecx
push eax
push edx
push ecx
push 0xffffffffffffffff
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x78]
mov eax, 1
mov dword [ecx], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x4e
jne 0x461f68
cmp dword [esi + 8], 0xfffffd16
jne 0x461f68
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [ebp + 0x10]
call fcn.0045eb50
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
lea eax, [ebx - 0x4d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0x78]
push 0
push ecx
push esi
push dword [ebp + 0x10]
mov ecx, edi
push ebx
push dword [ebp + 8]
call fcn.004288d0
test eax, eax
jne 0x461ce2
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18
push 1
push 0xc0000005
call fcn.0041a790
int3