Function at 0x404bd0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x471f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x48dd78]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48dd78]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 4]
xor eax, eax
push 8
lea ecx, [esp + 0x284]
push ecx
push edx
mov word [esp + 0x28c], ax
xor ebp, ebp
mov dword [esp + 0x28e], eax
mov dword [esp + 0x292], eax
mov dword [esp + 0x296], eax
mov word [esp + 0x29a], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x404cd3
push 0x475724
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404cd3
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call edi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x404c90
mov edx, dword [esi + 4]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call edi
and eax, 0xff
cmp eax, 3
je 0x404ccf
cmp eax, 4
je 0x404ccf
cmp eax, 5
je 0x404ccf
cmp eax, 6
je 0x404ccf
cmp eax, 7
je 0x404ccf
cmp eax, 8
je 0x404ccf
cmp eax, 9
je 0x404ccf
cmp eax, 0xd
je 0x404ccf
cmp eax, 0xe
je 0x404ccf
cmp eax, 0xf
jne 0x404cd3
and byte [esi + 0x58], 0xfe
mov ecx, dword [0x48d004]
mov edx, dword [section..data]
mov eax, dword [0x48f834]
push 0x48d088
push 0x48d008
push 0x20
push 0x20
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateCursor]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x404d8f
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push ebp
push ebp
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x34], eax
cmp eax, ebp
jne 0x404d2f
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebp
je 0x404d8f
cmp dword [esi + 0x30], ebp
jne 0x404d8f
push 0x58
lea edx, [esp + 0x28]
push ebp
push edx
mov dword [esp + 0x2c], ebp
call fcn.0043e9f0
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov ecx, dword [esi + 0x54]
and ecx, 0x30
cmp cl, 0x30
jne 0x404d72
mov dword [esp + 0x30], 0x2bc
jmp 0x404d7d
test byte [esi + 0x54], 1
jne 0x404d7d
mov byte [esp + 0x35], 1
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
push ebp
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ebp
push ebp
push ebp
push ecx
mov dword [eax], ebp
mov eax, esp
mov dword [eax], ebp
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], esp
lea edi, [esi + 0x48]
push eax
mov ecx, edi
call fcn.004035d0
cmp dword [esi + 0x24], ebp
jne 0x404e22
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebp
jle 0x404e22
mov dword [esp + 0x7c], ebp
lea ebx, [eax + 1]
push ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x2a0], ebp
call fcn.00404200
mov ebp, eax
test ebp, ebp
je 0x404dff
mov edx, dword [esi + 4]
push ebx
push ebp
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x404dff
push ebp
mov ecx, esi
call fcn.004045a0
lea eax, [esp + 0x80]
mov dword [esp + 0x29c], 0xffffffff
cmp dword [esp + 0x7c], eax
je 0x404e20
lea ecx, [esp + 0x7c]
call fcn.00402400
xor ebp, ebp
mov ecx, esi
call fcn.00404340
cmp dword [esi + 0x28], ebp
jne 0x404e4a
mov ecx, dword [esi + 0x54]
shr ecx, 2
test cl, 1
jne 0x404e4a
mov eax, dword [esi + 0x24]
cmp eax, ebp
je 0x404e86
push eax
mov ecx, esi
call fcn.00404aa0
jmp 0x404e86
mov edx, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 1
push 0x401
push edx
call ebx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 4]
push ebp
push eax
lea eax, [esi + 0x38]
push eax
push 1
push ecx
push ebp
lea ecx, [esp + 0x38]
call fcn.004021f0
mov eax, dword [edi]
lea edx, [esp + 0x20]
push edx
push ebp
push 0x432
push eax
call ebx
test byte [esi + 0x58], 1
je 0x404f67
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebp
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x404f67
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov word [esp + 0x36], ax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
xor edx, edx
mov ebx, 0xc
push str.Anchor_Color
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], edi
mov word [esp + 0x2c], dx
mov dword [esp + 0x20], ebx
call fcn.00401640
test eax, eax
jne 0x404f27
lea edx, [esp + 0x20]
push edx
call fcn.00403630
add esp, 4
cmp eax, 0xffffffff
je 0x404f27
mov dword [esi + 0x4c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0x475680
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.00401640
test eax, eax
jne 0x404f5c
lea edx, [esp + 0x20]
push edx
call fcn.00403630
add esp, 4
cmp eax, 0xffffffff
je 0x404f5c
mov dword [esi + 0x50], eax
cmp edi, ebp
je 0x404f67
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x27c]
xor ecx, esp
call fcn.0043e9e1
add esp, 0x28c
ret