Function at 0x46b2d0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x410
push esi
mov esi, ecx
push edi
mov edx, dword [esi + 0x179e4]
cmp eax, edx
jne 0x46b41f
mov eax, dword [esp + 0x41c]
shr eax, 0x10
cmp eax, 5
je 0x46b312
cmp eax, 0x300
jne 0x46b41f
push 0
call fcn.0046f9c0
jmp 0x46b41f
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x103
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xa1
call fcn.004afb70
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0xc]
push eax
push ecx
call edi
add esp, 0xc
test eax, eax
je 0x46b3a3
push 0xa2
call fcn.004afb70
lea edx, [esp + 0xc]
push eax
push edx
call edi
add esp, 0xc
test eax, eax
je 0x46b3a3
push 0xa3
call fcn.004afb70
push eax
lea eax, [esp + 0x10]
push eax
call edi
add esp, 0xc
test eax, eax
je 0x46b3a3
push 0xa4
call fcn.004afb70
lea ecx, [esp + 0xc]
push eax
push ecx
call edi
add esp, 0xc
test eax, eax
jne 0x46b41f
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], 0
rep stosd dword es:[edi], eax
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcschr]
lea edx, [esp + 0xc]
push 0x28
push edx
stosw word es:[edi], ax
call ebx
mov edi, eax
lea eax, [esp + 0x14]
push 0x29
push eax
call ebx
add esp, 0x10
test edi, edi
pop ebx
je 0x46b41f
test eax, eax
je 0x46b41f
add edi, 2
lea ecx, [esp + 0x210]
push edi
push 0x4ed128
push 0x103
push ecx
mov word [eax], 0
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esi + 0x179e4]
add esp, 0x10
lea edx, [esp + 0x210]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [esp + 0x41c]
and edi, 0xffff
lea eax, [edi - 0x89]
cmp eax, 0x1d
ja case.0x46b443.149
xor ecx, ecx
mov cl, byte [eax + 0x46b5e0]
jmp dword [ecx*4 + 0x46b5ac]
mov ecx, esi
call fcn.0046b280
push 0
push 1
push edi
lea ecx, [esi + 0x16618]
call fcn.004d09d0
push 0
mov ecx, esi
call fcn.0046c0e0
pop edi
pop esi
add esp, 0x410
ret 8
mov ecx, esi
call fcn.0046b280
push 0
push 1
push edi
lea ecx, [esi + 0x16618]
call fcn.004d09d0
push 1
mov ecx, esi
call fcn.0046c0e0
pop edi
pop esi
add esp, 0x410
ret 8
mov ecx, esi
call fcn.0046b280
push 0
push 1
push edi
lea ecx, [esi + 0x16618]
call fcn.004d09d0
push 2
mov ecx, esi
call fcn.0046c0e0
pop edi
pop esi
add esp, 0x410
ret 8
mov ecx, esi
call fcn.0046b280
push 0
push 1
push edi
lea ecx, [esi + 0x16618]
call fcn.004d09d0
push 3
mov ecx, esi
call fcn.0046c0e0
pop edi
pop esi
add esp, 0x410
ret 8
mov edx, dword [esi + 4]
push 0
push 0
push 0x1402
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
add esp, 0x410
ret 8
push 0
mov ecx, esi
call fcn.0046e890
pop edi
pop esi
add esp, 0x410
ret 8
push 1
mov ecx, esi
call fcn.0046e890
pop edi
pop esi
add esp, 0x410
ret 8
push 2
mov ecx, esi
call fcn.0046e890
pop edi
pop esi
add esp, 0x410
ret 8
mov ecx, esi
call fcn.0046f6e0
cmp dword [esi + 0x19d20], 4
jne case.0x46b443.149
push 1
mov ecx, esi
call fcn.0046ddd0
pop edi
pop esi
add esp, 0x410
ret 8
push 0
mov ecx, esi
call fcn.0046f970
pop edi
pop esi
add esp, 0x410
ret 8
mov ecx, dword [0x717344]
test ecx, ecx
je case.0x46b443.145
mov eax, dword [ecx]
call dword [eax + 0x34]
push 1
mov ecx, esi
call fcn.0046f970
pop edi
pop esi
add esp, 0x410
ret 8