Function at 0x4a9420
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x58cb83
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x284]
mov dword [esp + 0x18], eax
mov eax, dword [0x7e2178]
test al, 1
jne 0x4a94a1
or eax, 1
mov dword [0x7e2178], eax
mov dword [esp + 0x270], 0
call fcn.004175a0
push 0x59fdc0
call fcn.00565027
add esp, 4
mov dword [esp + 0x270], 0xffffffff
cmp byte [0x7e2305], 0
jne 0x4a9a26
mov eax, dword [esp + 0x27c]
cmp eax, 1
jne 0x4a9584
mov eax, dword [edi + 0x1d0]
cmp eax, 1
ja 0x4a94d5
mov ecx, edi
call fcn.004ac1b0
jmp 0x4a9a26
dec eax
mov dword [esp + 0x34], 0
mov dword [edi + 0x1d0], eax
xor eax, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov dword [esp + 0x270], 1
lea eax, [esp + 0x24]
push dword [edi + 0x1d0]
push 0x5b9dbc
push eax
call fcn.004b0200
add esp, 0xc
lea eax, [esp + 0x24]
cmp dword [esp + 0x38], 8
cmovae eax, dword [esp + 0x24]
push eax
push 0x3f2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x270], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x4a9568
push dword [esp + 0x24]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
jmp 0x4a9a26
cmp eax, 2
jne 0x4a99fc
mov ecx, dword [edi + 0x1dc]
test ecx, ecx
je 0x4a9643
call fcn.0041a880
test al, al
je 0x4a9a1c
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x270], 2
lea ecx, [esp + 0x24]
mov eax, dword [edi + 0x1dc]
add eax, 4
push eax
call fcn.0040fd80
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp esi, ebx
je 0x4a961d
jmp 0x4a9600
push esi
lea ecx, [edi + 0x1a4]
call fcn.00414250
add esi, 0xc0
mov byte [eax + 0xc2], 1
cmp esi, ebx
jne 0x4a9600
mov ecx, edi
call fcn.004abea0
mov ecx, dword [edi + 0x1dc]
test ecx, ecx
je 0x4a9634
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x1dc], 0
jmp 0x4a99e6
cmp byte [edi + 0x1d9], 0
je 0x4a969b
mov ecx, dword [edi + 0x1a4]
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
cmp eax, ecx
je 0x4a968e
lea esp, [esp]
cmp byte [eax + 0xd5], 0
je 0x4a9679
cmp byte [eax + 0xd6], 0
jne 0x4a9679
mov byte [eax + 0xd5], 0
lea ecx, [esp + 0x1c]
call fcn.0040cc20
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0x1a4]
jne 0x4a9660
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4a9a1c
mov esi, dword [edi + 0x1a4]
lea ebp, [edi + 0x1a4]
or ebx, 0xffffffff
mov dword [esp + 0x1c], ebx
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x4a9a1c
lea esp, [esp]
cmp byte [eax + 0xd5], 0
je 0x4a96d9
cmp byte [eax + 0xd6], 0
jne 0x4a96d9
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x20]
call fcn.0040cc20
mov eax, dword [esp + 0x20]
cmp eax, esi
jne 0x4a96c0
cmp ebx, 0xffffffff
je 0x4a9a1c
xor eax, eax
push 0x208
push eax
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5e]
push eax
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x54]
push 0x104
push eax
push 0x417
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x40]
call fcn.00403a70
mov dword [esp + 0x270], 3
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x4a9763
lea edx, [esp + 0x3c]
mov ecx, 0x26
call fcn.00411f00
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x4a9787
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4a9787
push 0x5a87e8
lea ecx, [esp + 0x40]
call fcn.00403b70
lea ecx, [esp + 0x3c]
call fcn.004b3080
test al, al
jne 0x4a979d
lea ecx, [esp + 0x3c]
call fcn.004b3760
lea ecx, [esp + 0x3c]
call fcn.004b3080
test al, al
je 0x4a97c2
lea ecx, [edi + 0x1b4]
lea eax, [esp + 0x3c]
cmp ecx, eax
je 0x4a97c2
push 0xffffffffffffffff
push 0
push eax
call fcn.00404960
mov dword [esp + 0x270], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00403b40
push 0x80
call fcn.0056590a
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x270], 4
test esi, esi
je 0x4a9819
push 0x80
push 0
push esi
call fcn.0056cbb0
add esp, 0xc
mov ecx, esi
push dword [edi + 0x1a0]
call fcn.00419210
mov ecx, eax
jmp 0x4a981b
xor ecx, ecx
mov dword [esp + 0x270], 0xffffffff
sub esp, 0x18
mov al, byte [edi + 0x1cc]
mov dword [edi + 0x1dc], ecx
mov byte [ecx + 0x13], al
mov eax, esp
mov dword [esp + 0x38], esp
mov ecx, edi
push eax
call fcn.004a45d0
mov dword [esp + 0x288], 5
mov dword [esp + 0x288], 0xffffffff
mov ecx, dword [edi + 0x1dc]
call fcn.004a3fc0
mov eax, dword [edi + 0x1dc]
xorps xmm0, xmm0
mov cl, byte [edi + 0x1ac]
movq qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 0
mov byte [eax + 0x10], cl
mov eax, dword [edi + 0x1dc]
mov cl, byte [edi + 0x1ad]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov byte [eax + 0x11], cl
mov eax, dword [edi + 0x1dc]
mov cl, byte [edi + 0x1ae]
mov dword [esp + 0x2c], 0
mov byte [eax + 0x12], cl
mov eax, dword [edi + 0x1dc]
mov cl, byte [edi + 0x1b0]
mov byte [eax + 0x15], cl
mov eax, dword [edi + 0x1dc]
mov cl, byte [edi + 0x1b1]
mov byte [eax + 0x16], cl
mov eax, dword [edi + 0x1dc]
mov cl, byte [edi + 0x1af]
mov byte [eax + 0x14], cl
mov dword [esp + 0x270], 6
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.00414250
push eax
lea ecx, [esp + 0x28]
call fcn.0040bf30
mov ecx, edi
call fcn.004acc20
push str.zhineng
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
call fcn.00414250
lea ecx, [eax + 0x1c]
call fcn.0040d430
test eax, eax
je 0x4a994c
push str.zhinengoffice
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
call fcn.00414250
lea ecx, [eax + 0x1c]
call fcn.0040d430
test eax, eax
jne 0x4a99cb
mov eax, dword [ebp]
mov esi, dword [eax]
mov dword [esp + 0x20], esi
cmp esi, eax
je 0x4a99cb
lea esp, [esp]
push 0xa
lea ecx, [esi + 0x30]
push str.2345pcsafe
push dword [ecx + 0x10]
push ecx
call fcn.0040d0c0
test eax, eax
je 0x4a9988
push str.pcsafeoffice
lea ecx, [esi + 0x30]
call fcn.0040d430
test eax, eax
jne 0x4a99a3
cmp byte [esi + 0xd5], 0
jne 0x4a99a3
cmp byte [esi + 0xd7], 0
je 0x4a99b7
cmp byte [esi + 0xd8], 0
jne 0x4a99b7
lea ecx, [esp + 0x20]
call fcn.0040cc20
mov esi, dword [esp + 0x20]
cmp esi, dword [ebp]
jne 0x4a9960
jmp 0x4a99cb
mov byte [esi + 0xd5], 1
lea ecx, [esp + 0x24]
add esi, 0x14
push esi
call fcn.0040bf30
mov ecx, dword [edi + 0x1dc]
lea eax, [esp + 0x24]
push eax
call fcn.004196b0
mov ecx, dword [edi + 0x1dc]
call fcn.00419830
mov dword [esp + 0x270], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0040fd30
jmp 0x4a9a1c
cmp eax, 0x4da
jne 0x4a9a1c
mov ecx, edi
call fcn.004ad190
test al, al
je 0x4a9a1c
push 0x4da
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esp + 0x18]
mov dword [eax], 0
xor eax, eax
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00564de8
add esp, 0x260
ret 0x10