Function at 0x46a800
Capabilities:
Get graphical window text
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x53c160]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x14], esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ecx
sub eax, 0
je 0x46a945
sub eax, 1
je 0x46a936
sub eax, 1
jne 0x46a9ff
mov eax, dword [ebp + 0xc]
cmp eax, 0x100
jne 0x46a877
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
push ecx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.0046acc0
cmp dword [esp + 0xc], 0
mov dword [esi], eax
jmp 0x46a9f9
cmp eax, 8
jne 0x46a8cd
mov eax, dword [edi + 0x74]
mov dword [esp + 0xc], 0
test eax, eax
je 0x46a8a4
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_CallWindowProcW]
mov dword [esp + 0xc], eax
push 0
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x202
jne 0x46a9ff
mov eax, dword [edi + 0x74]
mov dword [esp + 0xc], 0
test eax, eax
je 0x46a900
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_CallWindowProcW]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push ecx
push 0xd
push ecx
mov ecx, edi
call fcn.0046acc0
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
push 1
push esi
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
jmp 0x46a9ed
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cmp edx, 1
jne 0x46aaa2
movups xmm0, xmmword [0x53cbf0]
mov eax, dword [edi + 4]
lea esi, [edi + 0x50]
mov dword [esp + 0x1c], eax
mov ecx, esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
movups xmmword [esp + 0x20], xmm0
mov dword [esi + 0x14], str.LISTBOX
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 2
call fcn.00471cd0
movzx eax, ax
mov dword [esp + 0x10], eax
test ax, ax
je 0x46a9b1
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x46aa14
call fcn.004c3932
mov dword [esi + 0x10], eax
test eax, eax
jne 0x46aa14
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_SendMessageW]
push 0
push 0
push 0x31
push eax
call esi
push 1
push eax
push 0x30
push dword [edi + 0x50]
call esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [esi], 0
mov eax, dword [ebp + 0x10]
push 0
push esi
push ecx
push eax
push edx
push dword [ebp + 8]
mov ecx, edi
call fcn.00470160
test eax, eax
jne 0x46abc5
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
push 0
push 0
push eax
call fcn.004c3a34
lea eax, [esi + 4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x46aca6
mov dword [eax], esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov esi, dword [esp + 0x14]
push 0x53d110
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [0x53d128]
mov dword [esi + 8], eax
push 0x53d110
mov dword [0x53d128], esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sub eax, edx
mov ecx, dword [esp + 0x20]
push 0
push dword [0x54795c]
push 0
push dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
push eax
mov eax, dword [esp + 0x28]
push edx
push ecx
push 0x80a00000
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x46a9b1
cmp edx, 2
jne 0x46aad5
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46a9d7
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x46a9d7
mov dword [edi + 0x50], 0
jmp 0x46a9d7
cmp edx, 0x102
jne 0x46ab96
push 0xfffffffffffffff0
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [edi + 0x50]
and eax, 0x10000000
je 0x46ab27
push dword [esp + 0xc]
push dword [ebp + 0x10]
push 0x102
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
mov ax, word [ebp + 0x10]
mov word [esp + 0xc], ax
xor eax, eax
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push 0x18f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x46abbf
push 0
push eax
push 0x186
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push ecx
push 0xd
push ecx
mov ecx, edi
call fcn.0046acc0
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x2b
jne 0x46abdd
mov eax, dword [edi + 0x24]
cmp eax, dword [ecx + 0x14]
jne 0x46abbf
mov eax, dword [ecx + 0x10]
and eax, 1
shl eax, 9
or eax, 1
push eax
push 3
lea eax, [ecx + 0x1c]
push eax
push dword [ecx + 0x18]
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x111
jne 0x46a9e7
shr eax, 0x10
mov dword [esp + 0x10], 0
cmp word [esp + 0x10], ax
jne 0x46a9e4
cmp dword [edi + 0x78], 0
jne 0x46ac52
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1a1
push dword [edi + 0x50]
call esi
push 0
mov edi, eax
mov eax, dword [esp + 0x18]
push 0
push 0x18b
push dword [eax + 0x50]
call esi
mov esi, eax
push 6
imul esi, edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [esp + 0x14]
lea ecx, [esi + eax*2]
mov esi, dword [esp + 0x18]
mov eax, 0x8c
cmp ecx, eax
cmovl eax, ecx
mov dword [edi + 0x78], eax
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movaps xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub eax, ecx
push 0x40
push dword [edi + 0x78]
push eax
push dword [esp + 0x38]
push ecx
push 0xffffffffffffffff
push dword [edi + 0x50]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop edi
mov dword [esi], 0
pop esi
xor ecx, esp
call fcn.004c3ba1
mov esp, ebp
pop ebp
ret 0x18
push 1
push 0xc0000005
call fcn.00409e40
int3