Function at 0x404871
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4368b0
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x4422c4]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4422c4]
xor eax, esp
push eax
lea eax, [esp + 0x5b8]
mov dword fs:[0], eax
xor ebx, ebx
push 0x410
mov esi, ecx
lea eax, [esp + 0x19a]
push ebx
push eax
mov dword [esp + 0x20], esi
mov byte [esi + 0x10c], bl
mov word [esp + 0x1a0], bx
call fcn.00419f90
add esp, 0xc
push 0x41a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x104
lea ecx, [esp + 0x198]
push ecx
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x194]
lea ecx, [esp + 0x8c]
call fcn.0040102d
mov dword [esp + 0x5c0], ebx
cmp dword [esp + 0xa0], ebx
jne 0x40493e
push 0x26
lea ecx, [esp + 0x90]
call fcn.004032f7
cmp dword [esp + 0xa4], ebx
pop ecx
je 0x40496a
mov edi, dword [esp + 0xa0]
dec edi
lea eax, [esp + 0x8c]
call fcn.00401071
cmp word [eax], 0x5c
je 0x40496a
push 0x439a68
lea eax, [esp + 0x90]
push eax
call fcn.00401053
lea eax, [esp + 0x8c]
push eax
call fcn.0040dbba
test al, al
pop ecx
jne 0x404988
lea ecx, [esp + 0x8c]
call fcn.0040dcd8
lea eax, [esp + 0x8c]
push eax
call fcn.0040dbba
test al, al
pop ecx
jne 0x4049e1
push ebx
push 0x439b2c
push 0x439cf0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push ebx
push 0xb1
push dword [esp + 0x24]
call esi
push ebx
push ebx
push 0xb7
push dword [esp + 0x24]
call esi
push ebx
push 1
jmp 0x40523b
lea eax, [esi + 0x110]
push 0xffffffffffffffff
mov dword [esp + 0x1c], eax
push eax
xor ebx, ebx
lea eax, [esp + 0x94]
call fcn.00401296
mov esi, dword [esp + 0x14]
call fcn.00404628
push 7
pop edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebx
mov word [esp + 0xc8], bx
push 0x10
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5c4], 1
call fcn.004032f7
pop ecx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
lea eax, [esp + 0xa8]
lea ebx, [esi + 0x194]
push eax
mov edi, ebx
mov byte [esp + 0x5c4], 2
call fcn.0040d9f4
mov eax, dword [esp + 0xc0]
test eax, eax
pop ecx
je 0x404a9b
lea edi, [eax - 1]
lea eax, [esp + 0xa8]
call fcn.00401071
cmp word [eax], 0x5c
je 0x404a9b
push 0x439a68
lea eax, [esp + 0xac]
push eax
call fcn.00401053
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x404acd
lea edi, [eax - 1]
lea eax, [esp + 0xc4]
call fcn.00401071
cmp word [eax], 0x5c
je 0x404acd
push 0x439a68
lea eax, [esp + 0xc8]
push eax
call fcn.00401053
lea esi, [esp + 0xa8]
call fcn.0040c4b7
lea esi, [esp + 0xc4]
call fcn.0040c4b7
lea ecx, [esp + 0xa8]
mov eax, esi
call fcn.00402f99
test al, al
jne 0x404dd4
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x54]
call fcn.00401ab3
and dword [esp + 0x84], 0
and word [esp + 0x74], 0
mov dword [esp + 0x88], 7
push 0x26
lea ecx, [esp + 0x74]
mov byte [esp + 0x5c4], 4
call fcn.004032f7
pop ecx
mov eax, esi
push eax
call fcn.0040c45c
pop ecx
lea eax, [esp + 0x70]
push eax
call fcn.0040c45c
pop ecx
mov esi, 0x439b24
push esi
lea eax, [esp + 0x58]
call fcn.0040c3ed
pop ecx
push esi
lea eax, [esp + 0x74]
call fcn.0040c3ed
pop ecx
lea eax, [esp + 0x54]
push eax
call fcn.0040c45c
pop ecx
lea eax, [esp + 0x70]
push eax
call fcn.0040c45c
pop ecx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x70]
call fcn.0040c27f
test al, al
je 0x404b94
lea eax, [esp + 0x54]
call fcn.0040617c
cmp dword [ebx + 0x18], 8
jb 0x404b9f
mov eax, dword [ebx + 4]
jmp 0x404ba2
lea eax, [ebx + 4]
cmp dword [esp + 0x6c], 8
mov ecx, dword [esp + 0x58]
jae 0x404bb1
lea ecx, [esp + 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
push ecx
push str.Path
mov edi, str.Config
push edi
call esi
test eax, eax
je 0x404db2
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x22], 0
mov ecx, 0x439c04
jne 0x404be2
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404bed
mov eax, dword [ebx + 4]
jmp 0x404bf0
lea eax, [ebx + 4]
push eax
push ecx
push 0x439c08
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x21], 0
mov ecx, 0x439c04
jne 0x404c0e
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404c19
mov eax, dword [ebx + 4]
jmp 0x404c1c
lea eax, [ebx + 4]
push eax
push ecx
push 0x439c20
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x25], 0
mov ecx, 0x439c04
jne 0x404c3a
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404c45
mov eax, dword [ebx + 4]
jmp 0x404c48
lea eax, [ebx + 4]
push eax
push ecx
push 0x439c30
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x26], 0
mov ecx, 0x439c04
jne 0x404c66
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404c71
mov eax, dword [ebx + 4]
jmp 0x404c74
lea eax, [ebx + 4]
push eax
push ecx
push str.Safe
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x23], 0
mov ecx, 0x439c04
jne 0x404c92
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404c9d
mov eax, dword [ebx + 4]
jmp 0x404ca0
lea eax, [ebx + 4]
push eax
push ecx
push str.Desk
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x24], 0
mov ecx, 0x439c04
jne 0x404cbe
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404cc9
mov eax, dword [ebx + 4]
jmp 0x404ccc
lea eax, [ebx + 4]
push eax
push ecx
push str.Movie
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x27], 0
mov ecx, 0x439c04
jne 0x404cea
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404cf5
mov eax, dword [ebx + 4]
jmp 0x404cf8
lea eax, [ebx + 4]
push eax
push ecx
push str.IEHome
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x28], 0
mov ecx, 0x439c04
jne 0x404d16
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404d21
mov eax, dword [ebx + 4]
jmp 0x404d24
lea eax, [ebx + 4]
push eax
push ecx
push str.AsDefault
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x29], 0
mov ecx, 0x439c04
jne 0x404d42
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404d4d
mov eax, dword [ebx + 4]
jmp 0x404d50
lea eax, [ebx + 4]
push eax
push ecx
push str.IEFav
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2a], 0
mov ecx, 0x439c04
jne 0x404d6e
mov ecx, 0x439c1c
cmp dword [ebx + 0x18], 8
jb 0x404d79
mov eax, dword [ebx + 4]
jmp 0x404d7c
lea eax, [ebx + 4]
push eax
push ecx
push str.PCMgr
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x20], 0
mov eax, 0x439c1c
jne 0x404d9a
mov eax, 0x439c04
cmp dword [ebx + 0x18], 8
jb 0x404da5
mov ebx, dword [ebx + 4]
jmp 0x404da8
add ebx, 4
push ebx
push eax
push str.HideProgress
push edi
call esi
push 0
push 1
lea esi, [esp + 0x78]
call fcn.004011b7
push 0
push 1
lea esi, [esp + 0x5c]
mov byte [esp + 0x5c8], 2
call fcn.004011b7
mov eax, str.http:__www.2345.com_
lea ecx, [esp + 0x13c]
call fcn.0040102d
mov ebx, dword [esp + 0x14]
xor edi, edi
mov byte [esp + 0x5c0], 5
cmp dword [ebx + 0x78], edi
je 0x404e1c
push 0x439d40
lea eax, [esp + 0x140]
push eax
call fcn.00401053
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x64]
lea esi, [esp + 0x144]
call fcn.00401335
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], edi
mov word [esp + 0x100], di
push 6
lea ecx, [esp + 0x100]
mov byte [esp + 0x5c4], 6
call fcn.004032f7
cmp byte [ebx + 0x29], 0
pop ecx
je 0x4051ef
cmp dword [esp + 0x110], edi
je 0x4051ef
mov eax, 0x439d44
lea ecx, [esp + 0x70]
call fcn.0040102d
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x15c]
push eax
mov byte [esp + 0x5c8], 7
call fcn.0040d7f1
push edi
push 1
lea esi, [esp + 0x78]
call fcn.004011b7
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], edi
mov word [esp + 0xe4], di
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x15c]
mov byte [esp + 0x5c4], 0xa
call fcn.0040d87a
test al, al
jne 0x404ede
lea eax, [esp + 0xe0]
call fcn.0040617c
cmp dword [esp + 0xf4], edi
je 0x4051cb
lea eax, [esp + 0x118]
call fcn.0040e31e
push 1
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x120]
push eax
mov byte [esp + 0x5cc], 0xb
call fcn.0040e3c2
test al, al
je 0x4051b6
push str._DEFAULT__r_n
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], edi
call fcn.0040203d
mov byte [esp + 0x5c0], 0xc
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x404f47
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040e4f0
mov eax, str.BASEURL
lea ecx, [esp + 0x70]
call fcn.0040102d
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x144]
lea esi, [esp + 0x78]
mov byte [esp + 0x5c8], 0xd
call fcn.00401335
mov ebx, 0x439d6c
push ebx
mov eax, esi
push eax
call fcn.00401053
push edi
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.0040d2e3
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x5cc], 0xe
call fcn.00402117
push edi
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c8], 0xd
call fcn.004021c6
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x404fda
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040e4f0
push str._InternetShortcut__r_n
lea ecx, [esp + 0x58]
call fcn.004021a9
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x40500e
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040e4f0
mov eax, str.URL
lea esi, [esp + 0x70]
call fcn.004010d5
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x144]
call fcn.00401335
push ebx
mov eax, esi
push eax
call fcn.00401053
push edi
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.0040d2e3
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x5cc], 0xf
call fcn.00402117
push edi
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c8], 0xd
call fcn.004021c6
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x405090
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040e4f0
push str.IconFilehttp:__www.2345.com_favicon.ico_r_n
lea ecx, [esp + 0x58]
call fcn.004021a9
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x4050c4
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040e4f0
push str.IconIndex1_r_n
lea ecx, [esp + 0x58]
call fcn.004021a9
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x4050f8
lea eax, [esp + 0x58]
push 0
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040e4f0
lea esi, [esp + 0x118]
call fcn.0040d6b5
mov eax, str.2345.url
lea ecx, [esp + 0x1c]
call fcn.0040102d
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x100]
push eax
lea ebx, [esp + 0x40]
mov byte [esp + 0x5c8], 0x10
call fcn.0040d4dc
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x100]
push ecx
xor ebx, ebx
mov byte [esp + 0x5c8], 0x11
call fcn.00401296
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.004011b7
push ebx
push 1
lea esi, [esp + 0x24]
mov byte [esp + 0x5c8], 0xd
call fcn.004011b7
lea edi, [esp + 0xfc]
lea ebx, [esp + 0xe0]
call fcn.0040d96f
push 0
push 1
lea esi, [esp + 0x78]
call fcn.004011b7
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.004021c6
mov ebx, dword [esp + 0x14]
xor edi, edi
lea eax, [esp + 0x118]
push eax
mov byte [esp + 0x5c4], 0xa
call fcn.0040e328
push edi
push 1
lea esi, [esp + 0xe8]
call fcn.004011b7
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x5c4], 6
call fcn.0040d83d
movzx eax, word [ebp + 8]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push edi
push 1
lea esi, [esp + 0x104]
call fcn.004011b7
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [esp + 0x144]
call fcn.004011b7
push edi
push ebx
lea esi, [esp + 0xb0]
call fcn.004011b7
push edi
push ebx
lea esi, [esp + 0xcc]
call fcn.004011b7
push edi
push ebx
lea esi, [esp + 0x94]
call fcn.004011b7
xor eax, eax
mov ecx, dword [esp + 0x5b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5a0]
xor ecx, esp
call fcn.00419556
mov esp, ebp
pop ebp
ret 4