Function at 0x403070
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4168db
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x41e5f4]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41e5f4]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x27e], eax
mov dword [esp + 0x282], eax
mov dword [esp + 0x286], eax
mov word [esp + 0x28a], ax
push 8
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x280]
push eax
xor ebp, ebp
push ecx
mov word [esp + 0x288], bp
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x403173
push str.static
lea edx, [esp + 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403173
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push eax
call edi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x403130
push ecx
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call edi
and eax, 0xff
cmp eax, 3
je 0x40316f
cmp eax, 4
je 0x40316f
cmp eax, 5
je 0x40316f
cmp eax, 6
je 0x40316f
cmp eax, 7
je 0x40316f
cmp eax, 8
je 0x40316f
cmp eax, 9
je 0x40316f
cmp eax, 0xd
je 0x40316f
cmp eax, 0xe
je 0x40316f
cmp eax, 0xf
jne 0x403173
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 0x403212
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push ebp
push ebp
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebp
mov dword [esi + 0x34], eax
jne 0x4031b3
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov edi, dword [esi + 0x34]
cmp edi, ebp
je 0x403212
cmp dword [esi + 0x30], ebp
jne 0x403212
push 0x58
lea ecx, [esp + 0x24]
push ebp
push ecx
mov dword [esp + 0x28], ebp
call fcn.0040ba20
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0x5c
push edi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x4031f5
mov dword [esp + 0x2c], 0x2bc
jmp 0x403200
test byte [esi + 0x54], 1
jne 0x403200
mov byte [esp + 0x31], 1
lea ecx, [esp + 0x1c]
push ecx
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 + 0x20], esp
push ebp
push ebp
push ebp
push ecx
mov dword [eax], ebp
mov eax, esp
mov dword [eax], ebp
mov edx, dword [esi + 4]
mov dword [esp + 0x30], esp
lea edi, [esi + 0x48]
push edx
mov ecx, edi
call fcn.004021d0
cmp dword [esi + 0x24], ebp
jne 0x40329f
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebp
jle 0x40329f
mov dword [esp + 0x78], ebp
lea ebx, [eax + 1]
push ebx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x29c], ebp
call fcn.00402600
mov ebp, eax
test ebp, ebp
je 0x40327f
mov ecx, dword [esi + 4]
push ebx
push ebp
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x40327f
push ebp
mov ecx, esi
call fcn.00402990
lea edx, [esp + 0x7c]
cmp dword [esp + 0x78], edx
mov dword [esp + 0x298], 0xffffffff
je 0x40329d
lea ecx, [esp + 0x78]
call fcn.00405b10
xor ebp, ebp
mov ecx, esi
call fcn.00402730
cmp dword [esi + 0x28], ebp
jne 0x4032c6
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x4032c6
mov eax, dword [esi + 0x24]
cmp eax, ebp
je 0x403302
push eax
mov ecx, esi
call fcn.00402a90
jmp 0x403302
mov ecx, dword [edi]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 1
push 0x401
push ecx
call ebx
mov eax, dword [esi + 0x28]
push ebp
push eax
mov eax, dword [esi + 4]
lea edx, [esi + 0x38]
push edx
push 1
push eax
push ebp
lea ecx, [esp + 0x34]
call fcn.00401ae0
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0x432
push edx
call ebx
test byte [esi + 0x58], 1
je 0x4033d5
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebp
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocStringLen
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x4033d5
mov edi, dword [esp + 0x14]
xor eax, eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, 0xc
push str.Anchor_Color
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edi
mov word [esp + 0x28], bp
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov word [esp + 0x3e], ax
mov dword [esp + 0x20], ebx
call fcn.004017f0
test eax, eax
jne 0x403395
lea eax, [esp + 0x1c]
push eax
call fcn.00402280
add esp, 4
cmp eax, 0xffffffff
je 0x403395
mov dword [esi + 0x4c], eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x418494
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.004017f0
test eax, eax
jne 0x4033ca
lea eax, [esp + 0x1c]
push eax
call fcn.00402280
add esp, 4
cmp eax, 0xffffffff
je 0x4033ca
mov dword [esi + 0x50], eax
cmp edi, ebp
je 0x4033d5
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0040ba0c
add esp, 0x288
ret