Function at 0x403129
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x288
lea ebp, [esp - 4]
mov eax, dword [0x48d158]
xor eax, ebp
mov dword [ebp + 0x288], eax
push 8
mov eax, 0x46637e
call fcn.0044ae06
xor eax, eax
xor ebx, ebx
mov word [ebp + 0x278], bx
lea edi, [ebp + 0x27a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 8
mov esi, ecx
lea eax, [ebp + 0x278]
push eax
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4031e6
push str.static
lea eax, [ebp + 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4031e6
push ebx
push 0x100
push ebx
mov ecx, edi
call fcn.00401997
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff
cmp eax, 3
je 0x4031e2
cmp eax, 4
je 0x4031e2
cmp eax, 5
je 0x4031e2
cmp eax, 6
je 0x4031e2
cmp eax, 7
je 0x4031e2
cmp eax, 8
je 0x4031e2
cmp eax, 9
je 0x4031e2
cmp eax, 0xd
je 0x4031e2
cmp eax, 0xe
je 0x4031e2
cmp eax, 0xf
jne 0x4031e6
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 0x40329c
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, ebx
mov dword [esi + 0x34], eax
jne 0x403224
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x34]
cmp eax, ebx
je 0x40329c
cmp dword [esi + 0x30], ebx
jne 0x40329c
push 0x58
lea eax, [ebp + 0x208]
push ebx
push eax
mov dword [ebp + 0x204], ebx
call fcn.0044aed0
mov eax, dword [esi + 0x34]
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
lea ecx, [ebp + 0x204]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x403277
mov dword [ebp + 0x214], 0x2bc
jmp 0x403284
test byte [esi + 0x54], 1
jne 0x403284
mov byte [ebp + 0x219], 1
lea eax, [ebp + 0x204]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
or dword [ebp - 4], 0xffffffff
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], ebx
push dword [edi]
lea ecx, [esi + 0x48]
call fcn.00402453
cmp dword [esi + 0x24], ebx
jne 0x403317
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
jle 0x403317
mov dword [ebp], ebx
mov dword [ebp - 4], 1
inc eax
push eax
lea ecx, [ebp]
mov dword [ebp - 0x10], eax
call fcn.00402712
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x403303
push dword [ebp - 0x10]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x403303
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0040299c
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x403317
lea ecx, [ebp]
call fcn.00401d88
mov ecx, esi
call fcn.004027c1
cmp dword [esi + 0x28], ebx
jne 0x40333e
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x40333e
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x40336a
push eax
mov ecx, esi
call fcn.00402a37
jmp 0x40336a
push ebx
push 1
push 0x401
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
lea eax, [esi + 0x38]
push eax
mov eax, dword [esi + 0x28]
push ecx
mov ecx, esp
mov dword [ecx], eax
mov dword [ebp - 0x10], esp
push dword [edi]
lea ecx, [esi + 0x48]
call fcn.00402483
test byte [esi + 0x58], 1
je 0x40342a
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 2
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.0040123f
cmp eax, ebx
jne 0x40341e
xor eax, eax
mov word [ebp + 0x260], bx
lea edi, [ebp + 0x262]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc
stosw word es:[edi], ax
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x260]
push eax
push str.Anchor_Color
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
call fcn.00401274
test eax, eax
jne 0x4033ea
lea eax, [ebp + 0x260]
push eax
call fcn.004024bc
cmp eax, 0xffffffff
pop ecx
je 0x4033ea
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x260]
push eax
push 0x46e92c
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
call fcn.00401274
cmp eax, ebx
jne 0x40341e
lea eax, [ebp + 0x260]
push eax
call fcn.004024bc
cmp eax, 0xffffffff
pop ecx
je 0x40341e
mov dword [esi + 0x50], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401228
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x288]
xor ecx, ebp
call fcn.0044adf7
add ebp, 0x28c
leave
ret