Function at 0x418bb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dcf1
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x48d814]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 4]
xor eax, eax
push 8
lea ecx, [ebp - 0x20]
push ecx
push edx
mov word [ebp - 0x20], ax
xor ebx, ebx
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x418c86
push str.static
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x418c86
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 0x418c43
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 0x418c82
cmp eax, 4
je 0x418c82
cmp eax, 5
je 0x418c82
cmp eax, 6
je 0x418c82
cmp eax, 7
je 0x418c82
cmp eax, 8
je 0x418c82
cmp eax, 9
je 0x418c82
cmp eax, 0xd
je 0x418c82
cmp eax, 0xe
je 0x418c82
cmp eax, 0xf
jne 0x418c86
and byte [esi + 0x58], 0xfe
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x418d42
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x34], eax
cmp eax, ebx
jne 0x418cc6
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebx
je 0x418d42
cmp dword [esi + 0x30], ebx
jne 0x418d42
push 0x58
lea edx, [ebp - 0xa4]
push ebx
push edx
mov dword [ebp - 0xa8], ebx
call fcn.00451390
add esp, 0xc
mov dword [ebp - 0x2b0], edi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xa8]
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 0x418d1a
mov dword [ebp - 0x98], 0x2bc
jmp 0x418d27
test byte [esi + 0x54], 1
jne 0x418d27
mov byte [ebp - 0x93], 1
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x48f204]
mov eax, dword [esi + 4]
mov edx, dword [0x48c010]
push ebx
push ecx
mov ecx, dword [0x48c004]
push ebx
push eax
mov eax, dword [0x48c008]
sub edx, eax
push edx
mov edx, dword [0x48c00c]
sub edx, ecx
push edx
push eax
push ecx
push ebx
push ebx
push 0x474930
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x48], eax
cmp dword [esi + 0x24], ebx
jne 0x418dee
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
jle 0x418dee
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 4], 1
lea ebx, [eax + 1]
push ebx
lea ecx, [ebp - 0x2ac]
call fcn.00417670
mov edi, eax
test edi, edi
je 0x418dcc
mov ecx, dword [esi + 4]
push ebx
push edi
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x418dcc
push edi
mov ecx, esi
call fcn.00418550
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x2a8]
cmp dword [ebp - 0x2ac], edx
je 0x418dec
lea ecx, [ebp - 0x2ac]
call fcn.0040f1c0
xor ebx, ebx
mov ecx, esi
call fcn.00417700
cmp dword [esi + 0x28], ebx
jne 0x418e15
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x418e15
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x418e51
push eax
mov ecx, esi
call fcn.00418650
jmp 0x418e51
mov ecx, dword [esi + 0x48]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push 1
push 0x401
push ecx
call edi
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 4]
push ebx
push ecx
lea eax, [esi + 0x38]
push eax
push 1
push edx
push ebx
lea ecx, [ebp - 0x4c]
call fcn.00416eb0
mov eax, dword [esi + 0x48]
lea edx, [ebp - 0x4c]
push edx
push ebx
push 0x432
push eax
call edi
test byte [esi + 0x58], 1
je 0x418f5f
xor edi, edi
mov dword [ebp - 0x2b8], edi
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2b0]
push ecx
push 0x2001f
push ebx
push str.SoftwareMicrosoftInternet_ExplorerSettings
push closesocket
mov dword [ebp - 0x2b0], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x418f41
mov edi, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b8], edi
xor eax, eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x2b4], ebx
xor edx, edx
mov ebx, 0xc
push str.Anchor_Color
lea ecx, [ebp - 0x2b8]
mov word [ebp - 0x38], dx
mov dword [ebp - 0x2b0], ebx
call fcn.00416e30
test eax, eax
jne 0x418f06
lea edx, [ebp - 0x38]
push edx
call fcn.00417510
add esp, 4
cmp eax, 0xffffffff
je 0x418f06
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x4749b4
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2b0], ebx
call fcn.00416e30
test eax, eax
jne 0x418f3f
lea edx, [ebp - 0x38]
push edx
call fcn.00417510
add esp, 4
cmp eax, 0xffffffff
je 0x418f3f
mov dword [esi + 0x50], eax
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x418f59
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2b8], ebx
mov dword [ebp - 0x2b4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045075f
mov esp, ebp
pop ebp
ret