Function at 0x420c40
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4a777b
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4cdbb4]
xor eax, esp
mov dword [esp + 0x27c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cdbb4]
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 0x420d43
push str.static
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x420d43
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 0x420d00
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 0x420d3f
cmp eax, 4
je 0x420d3f
cmp eax, 5
je 0x420d3f
cmp eax, 6
je 0x420d3f
cmp eax, 7
je 0x420d3f
cmp eax, 8
je 0x420d3f
cmp eax, 9
je 0x420d3f
cmp eax, 0xd
je 0x420d3f
cmp eax, 0xe
je 0x420d3f
cmp eax, 0xf
jne 0x420d43
and byte [esi + 0x58], 0xfe
push 0x7f89
push ebp
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x420de3
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 0x420d83
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebp
je 0x420de3
cmp dword [esi + 0x30], ebp
jne 0x420de3
push 0x58
lea edx, [esp + 0x28]
push ebp
push edx
mov dword [esp + 0x2c], ebp
call fcn.00487ce0
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 0x420dc6
mov dword [esp + 0x30], 0x2bc
jmp 0x420dd1
test byte [esi + 0x54], 1
jne 0x420dd1
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.00419000
cmp dword [esi + 0x24], ebp
jne 0x420e76
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebp
jle 0x420e76
mov dword [esp + 0x7c], ebp
lea ebx, [eax + 1]
push ebx
lea ecx, [esp + 0x80]
mov dword [esp + 0x2a0], ebp
call fcn.0041a030
mov ebp, eax
test ebp, ebp
je 0x420e53
mov edx, dword [esi + 4]
push ebx
push ebp
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x420e53
push ebp
mov ecx, esi
call fcn.00420410
lea eax, [esp + 0x80]
mov dword [esp + 0x29c], 0xffffffff
cmp dword [esp + 0x7c], eax
je 0x420e74
lea ecx, [esp + 0x7c]
call fcn.00434c60
xor ebp, ebp
mov ecx, esi
call fcn.0041a940
cmp dword [esi + 0x28], ebp
jne 0x420e9e
mov ecx, dword [esi + 0x54]
shr ecx, 2
test cl, 1
jne 0x420e9e
mov eax, dword [esi + 0x24]
cmp eax, ebp
je 0x420eda
push eax
mov ecx, esi
call fcn.0041aba0
jmp 0x420eda
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.00418010
mov eax, dword [edi]
lea edx, [esp + 0x20]
push edx
push ebp
push 0x432
push eax
call ebx
test byte [esi + 0x58], 1
je 0x420fbb
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebp
push str.SoftwareMicrosoftInternet_ExplorerSettings
push reloc.WS2_32.dll_accept
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 0x420fbb
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.00417300
test eax, eax
jne 0x420f7b
lea edx, [esp + 0x20]
push edx
call fcn.00418d20
add esp, 4
cmp eax, 0xffffffff
je 0x420f7b
mov dword [esi + 0x4c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push str.Anchor_Color_Visited
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.00417300
test eax, eax
jne 0x420fb0
lea edx, [esp + 0x20]
push edx
call fcn.00418d20
add esp, 4
cmp eax, 0xffffffff
je 0x420fb0
mov dword [esi + 0x50], eax
cmp edi, ebp
je 0x420fbb
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.004874cc
add esp, 0x28c
ret