Function at 0x46a510
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c28d4
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
lea edi, [ebp - 0x54]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x51197c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov esi, esp
push 0x4ceb2b
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 4], 0
mov esi, esp
push 0x4ceb62
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
cmp esi, esp
call fcn.004b81e1
mov byte [ebp - 4], 1
push 0x4ceb63
lea ecx, [ebp - 0x30]
call fcn.0046a880
mov byte [ebp - 4], 2
cmp dword [ebp + 0x14], 0
je 0x46a5ab
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041bcd0
jmp 0x46a5f5
cmp dword [ebp + 0x18], 0
je 0x46a5f5
mov esi, esp
push 0x104
mov edi, esp
push 0x104
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_2468]
cmp edi, esp
call fcn.004b81e1
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp esi, esp
call fcn.004b81e1
mov esi, esp
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
cmp esi, esp
call fcn.004b81e1
cmp dword [ebp + 8], 0
je 0x46a679
mov esi, esp
push 0x4cec10
lea ecx, [ebp - 0x44]
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
cmp esi, esp
call fcn.004b81e1
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.0041aa60
add esp, 0xc
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 4
mov esi, esp
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
cmp esi, esp
call fcn.004b81e1
mov byte [ebp - 4], 3
mov esi, esp
lea ecx, [ebp - 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov byte [ebp - 4], 2
mov esi, esp
lea ecx, [ebp - 0x44]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
cmp dword [ebp + 0xc], 0
je 0x46a695
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
cmp esi, esp
call fcn.004b81e1
cmp dword [ebp + 0x10], 0xc0000000
jne 0x46a6a9
mov edx, dword [ebp + 0x1c]
or edx, 0x10
mov dword [ebp + 0x1c], edx
jmp 0x46a6cf
cmp dword [ebp + 0x10], 0x80000000
jne 0x46a6bd
mov eax, dword [ebp + 0x1c]
or eax, 0x30
mov dword [ebp + 0x1c], eax
jmp 0x46a6cf
cmp dword [ebp + 0x10], 0x40000000
jne 0x46a6cf
mov ecx, dword [ebp + 0x1c]
or ecx, 0x40
mov dword [ebp + 0x1c], ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00409410
mov byte [ebp - 4], 5
mov esi, esp
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
cmp esi, esp
call fcn.004b81e1
movzx eax, al
test eax, eax
je 0x46a71b
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
mov esi, esp
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp esi, esp
call fcn.004b81e1
push eax
call sub.MFC80U.DLL_Ordinal_1118
mov dword [ebp - 0x10], eax
jmp 0x46a75b
mov esi, esp
mov edx, dword [ebp + 0x1c]
push edx
mov edi, esp
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp edi, esp
call fcn.004b81e1
push eax
mov edi, esp
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp edi, esp
call fcn.004b81e1
push eax
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004095c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004095c0
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov eax, dword [ebp - 0x4c]
push edx
mov ecx, ebp
push eax
lea edx, [0x46a7d8]
call fcn.004b8204
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret