Function at 0x404951
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436fd6
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x4432c4]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4432c4]
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 + 0x110], bl
mov word [esp + 0x1a0], bx
call fcn.0041a5f0
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 0x404a1e
push 0x26
lea ecx, [esp + 0x90]
call fcn.0040328f
cmp dword [esp + 0xa4], ebx
pop ecx
je 0x404a4a
mov edi, dword [esp + 0xa0]
dec edi
lea eax, [esp + 0x8c]
call fcn.0040cdb9
cmp word [eax], 0x5c
je 0x404a4a
push 0x43aa78
lea eax, [esp + 0x90]
push eax
call fcn.00401053
lea eax, [esp + 0x8c]
push eax
call fcn.0040e270
test al, al
pop ecx
jne 0x404a68
lea ecx, [esp + 0x8c]
call fcn.0040e38e
lea eax, [esp + 0x8c]
push eax
call fcn.0040e270
test al, al
pop ecx
jne 0x404ac1
push ebx
push 0x43ab3c
push 0x43ad24
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 0x40538d
lea eax, [esi + 0x114]
push 0xffffffffffffffff
mov dword [esp + 0x1c], eax
push eax
xor ebx, ebx
lea eax, [esp + 0x94]
call fcn.00401276
mov esi, dword [esp + 0x14]
call fcn.004046c6
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.0040328f
pop ecx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
lea eax, [esp + 0xa8]
lea ebx, [esi + 0x198]
push eax
mov edi, ebx
mov byte [esp + 0x5c4], 2
call fcn.0040e0aa
mov eax, dword [esp + 0xc0]
test eax, eax
pop ecx
je 0x404b7b
lea edi, [eax - 1]
lea eax, [esp + 0xa8]
call fcn.0040cdb9
cmp word [eax], 0x5c
je 0x404b7b
push 0x43aa78
lea eax, [esp + 0xac]
push eax
call fcn.00401053
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x404bad
lea edi, [eax - 1]
lea eax, [esp + 0xc4]
call fcn.0040cdb9
cmp word [eax], 0x5c
je 0x404bad
push 0x43aa78
lea eax, [esp + 0xc8]
push eax
call fcn.00401053
lea esi, [esp + 0xa8]
call fcn.0040cb4d
lea esi, [esp + 0xc4]
call fcn.0040cb4d
lea ecx, [esp + 0xa8]
mov eax, esi
call fcn.00402f2b
test al, al
jne 0x404f0c
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x54]
call fcn.00401a93
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.0040328f
pop ecx
mov eax, esi
push eax
call fcn.0040caf2
pop ecx
lea eax, [esp + 0x70]
push eax
call fcn.0040caf2
pop ecx
mov esi, 0x43ab34
push esi
lea eax, [esp + 0x58]
call fcn.0040ca83
pop ecx
push esi
lea eax, [esp + 0x74]
call fcn.0040ca83
pop ecx
lea eax, [esp + 0x54]
push eax
call fcn.0040caf2
pop ecx
lea eax, [esp + 0x70]
push eax
call fcn.0040caf2
pop ecx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x70]
call fcn.0040c915
test al, al
je 0x404c74
lea eax, [esp + 0x54]
call fcn.0040648e
cmp dword [ebx + 0x18], 8
jb 0x404c7f
mov eax, dword [ebx + 4]
jmp 0x404c82
lea eax, [ebx + 4]
cmp dword [esp + 0x6c], 8
mov ecx, dword [esp + 0x58]
jae 0x404c91
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 0x404eea
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x22], 0
mov ecx, 0x43ac14
jne 0x404cc2
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404ccd
mov eax, dword [ebx + 4]
jmp 0x404cd0
lea eax, [ebx + 4]
push eax
push ecx
push 0x43ac18
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x23], 0
mov ecx, 0x43ac14
jne 0x404cee
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404cf9
mov eax, dword [ebx + 4]
jmp 0x404cfc
lea eax, [ebx + 4]
push eax
push ecx
push 0x43ac30
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x21], 0
mov ecx, 0x43ac14
jne 0x404d1a
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404d25
mov eax, dword [ebx + 4]
jmp 0x404d28
lea eax, [ebx + 4]
push eax
push ecx
push str.HaoZip
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x26], 0
mov ecx, 0x43ac14
jne 0x404d46
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404d51
mov eax, dword [ebx + 4]
jmp 0x404d54
lea eax, [ebx + 4]
push eax
push ecx
push 0x43ac50
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x27], 0
mov ecx, 0x43ac14
jne 0x404d72
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404d7d
mov eax, dword [ebx + 4]
jmp 0x404d80
lea eax, [ebx + 4]
push eax
push ecx
push str.Safe
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x24], 0
mov ecx, 0x43ac14
jne 0x404d9e
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404da9
mov eax, dword [ebx + 4]
jmp 0x404dac
lea eax, [ebx + 4]
push eax
push ecx
push str.Desk
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x25], 0
mov ecx, 0x43ac14
jne 0x404dca
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404dd5
mov eax, dword [ebx + 4]
jmp 0x404dd8
lea eax, [ebx + 4]
push eax
push ecx
push str.Movie
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x28], 0
mov ecx, 0x43ac14
jne 0x404df6
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404e01
mov eax, dword [ebx + 4]
jmp 0x404e04
lea eax, [ebx + 4]
push eax
push ecx
push str.IEHome
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x29], 0
mov ecx, 0x43ac14
jne 0x404e22
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404e2d
mov eax, dword [ebx + 4]
jmp 0x404e30
lea eax, [ebx + 4]
push eax
push ecx
push str.AsDefault
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2a], 0
mov ecx, 0x43ac14
jne 0x404e4e
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404e59
mov eax, dword [ebx + 4]
jmp 0x404e5c
lea eax, [ebx + 4]
push eax
push ecx
push str.IEFav
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2b], 0
mov ecx, 0x43ac14
jne 0x404e7a
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404e85
mov eax, dword [ebx + 4]
jmp 0x404e88
lea eax, [ebx + 4]
push eax
push ecx
push str.IESearch
push edi
call esi
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2c], 0
mov ecx, 0x43ac14
jne 0x404ea6
mov ecx, 0x43ac2c
cmp dword [ebx + 0x18], 8
jb 0x404eb1
mov eax, dword [ebx + 4]
jmp 0x404eb4
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, 0x43ac2c
jne 0x404ed2
mov eax, 0x43ac14
cmp dword [ebx + 0x18], 8
jb 0x404edd
mov ebx, dword [ebx + 4]
jmp 0x404ee0
add ebx, 4
push ebx
push eax
push str.HideProgress
push edi
call esi
push 0
push 1
lea esi, [esp + 0x78]
call fcn.00401197
push 0
push 1
lea esi, [esp + 0x5c]
mov byte [esp + 0x5c8], 2
call fcn.00401197
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 + 0x7c], edi
je 0x404f54
push 0x43ad74
lea eax, [esp + 0x140]
push eax
call fcn.00401053
push 0xffffffffffffffff
push edi
lea eax, [ebx + 0x68]
lea esi, [esp + 0x144]
call fcn.00401315
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.0040328f
cmp byte [ebx + 0x2a], 0
pop ecx
je 0x405327
cmp dword [esp + 0x110], edi
je 0x405327
mov eax, 0x43ad78
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.0040dea7
push edi
push 1
lea esi, [esp + 0x78]
call fcn.00401197
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.0040df30
test al, al
jne 0x405016
lea eax, [esp + 0xe0]
call fcn.0040648e
cmp dword [esp + 0xf4], edi
je 0x405303
lea eax, [esp + 0x118]
call fcn.0040e9d4
push 1
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x120]
push eax
mov byte [esp + 0x5cc], 0xb
call fcn.0040ea73
test al, al
je 0x4052ee
push str._DEFAULT__r_n
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], edi
call fcn.00402022
mov byte [esp + 0x5c0], 0xc
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x40507f
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040eba1
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.00401315
mov ebx, 0x43ada0
push ebx
mov eax, esi
push eax
call fcn.00401053
push edi
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.0040d999
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x5cc], 0xe
call fcn.004020fc
push edi
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c8], 0xd
call fcn.004021ab
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x405112
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040eba1
push str._InternetShortcut__r_n
lea ecx, [esp + 0x58]
call fcn.0040218e
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x405146
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040eba1
mov eax, str.URL
lea esi, [esp + 0x70]
call fcn.004010b5
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x144]
call fcn.00401315
push ebx
mov eax, esi
push eax
call fcn.00401053
push edi
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.0040d999
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x5cc], 0xf
call fcn.004020fc
push edi
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c8], 0xd
call fcn.004021ab
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x4051c8
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040eba1
push str.IconFilehttp:__www.2345.com_favicon.ico_r_n
lea ecx, [esp + 0x58]
call fcn.0040218e
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x4051fc
lea eax, [esp + 0x58]
push edi
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040eba1
push str.IconIndex1_r_n
lea ecx, [esp + 0x58]
call fcn.0040218e
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x405230
lea eax, [esp + 0x58]
push 0
push dword [esp + 0x6c]
lea esi, [esp + 0x20]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0040eba1
lea esi, [esp + 0x118]
call fcn.0040dd6b
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.0040db92
pop ecx
pop ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x100]
push ecx
xor ebx, ebx
mov byte [esp + 0x5c8], 0x11
call fcn.00401276
push ebx
push 1
lea esi, [esp + 0x40]
call fcn.00401197
push ebx
push 1
lea esi, [esp + 0x24]
mov byte [esp + 0x5c8], 0xd
call fcn.00401197
lea edi, [esp + 0xfc]
lea ebx, [esp + 0xe0]
call fcn.0040e025
push 0
push 1
lea esi, [esp + 0x78]
call fcn.00401197
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.004021ab
mov ebx, dword [esp + 0x14]
xor edi, edi
lea eax, [esp + 0x118]
push eax
mov byte [esp + 0x5c4], 0xa
call fcn.0040ef93
push edi
push 1
lea esi, [esp + 0xe8]
call fcn.00401197
lea eax, [esp + 0x158]
push eax
mov byte [esp + 0x5c4], 6
call fcn.0040def3
cmp byte [ebx + 0x2b], 0
je 0x405341
mov ecx, SysReAllocString
call fcn.004053c1
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004053c1
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.00401197
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [esp + 0x144]
call fcn.00401197
push edi
push ebx
lea esi, [esp + 0xb0]
call fcn.00401197
push edi
push ebx
lea esi, [esp + 0xcc]
call fcn.00401197
push edi
push ebx
lea esi, [esp + 0x94]
call fcn.00401197
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.00419c60
mov esp, ebp
pop ebp
ret 4