Function at 0x41a8b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58991b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov ebx, dword [ebp + 0xc]
lea eax, [esp + 0x40]
push eax
push ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x1f], 0
mov dword [esp + 0x48], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x40]
cmp eax, dword [ebp + 8]
je 0x41a926
xor al, al
jmp 0x41aa3b
push 1
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov dword [esp + 0x258], eax
push 0x1fe
push eax
mov word [esp + 0x4c], ax
lea eax, [esp + 0x4e]
push eax
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x44]
push 0xff
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x44], 0
jne 0x41a996
xor ecx, ecx
jmp 0x41a9af
lea ecx, [esp + 0x44]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a9a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
call fcn.00404a80
push 7
push 0
push 0x5a9708
lea ecx, [esp + 0x34]
call fcn.00404390
cmp eax, 0xffffffff
je 0x41aa61
push 2
push 0
push 0x5a9718
lea ecx, [esp + 0x34]
call fcn.00404390
cmp eax, 0xffffffff
je 0x41aa61
push 0
push 0
push 0xbd8
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov bl, byte [esp + 0x17]
mov dword [esp + 0x258], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x41aa22
push dword [esp + 0x28]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
mov al, bl
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00564de8
mov esp, ebp
pop ebp
ret 8
push 9
push 0
push 0x5a9720
lea ecx, [esp + 0x34]
call fcn.00404390
cmp eax, 0xffffffff
je 0x41aad0
push 2
push 0
push 0x5a9718
lea ecx, [esp + 0x34]
call fcn.00404390
cmp eax, 0xffffffff
je 0x41aad0
push 0x5a9720
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov esi, eax
push 0
push 0
push 0xbd8
push ebx
call edi
push 0
push 0
push 0x7f0
push esi
call edi
push 0
push 0
push 0x7f0
push ebx
call edi
jmp 0x41aa00
push 0xa
push 0
push 0x5a9734
lea ecx, [esp + 0x34]
call fcn.00404390
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
cmp eax, 0xffffffff
je 0x41ab49
push 0
push 0x5a9718
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41ab49
push 0x5a974c
push 0
push 0
push ebx
call esi
test eax, eax
je 0x41ab49
push 0x5a974c
push 0
push 0
push ebx
call esi
test eax, eax
je 0x41aa00
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x7f0
push eax
call esi
push 0
push 0
push 0x7f0
push ebx
call esi
jmp 0x41aa00
push 6
push 0
push 0x5a976c
lea ecx, [esp + 0x34]
call fcn.00404390
cmp eax, 0xffffffff
je 0x41ab8f
push 0
push 0x5a9718
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41ab8f
push 0x5a977c
push 0
push 0
push ebx
call esi
push 0
push 0
push 0x7f0
jmp 0x41a9f9
push 9
push 0
push 0x5a9794
lea ecx, [esp + 0x34]
call fcn.00404390
cmp eax, 0xffffffff
je 0x41ac24
push 0
push 0x5a9718
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41ac24
push 0x5a97a8
push 0
push 0
push ebx
call esi
test eax, eax
je 0x41ac24
push 0x5a97a8
push 0
push 0
push ebx
call esi
test eax, eax
je 0x41aa00
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 1
push 0x7d0
push 0x7f1
push ebx
call esi
cmp byte [edi + 0x11], 0
je 0x41ac04
cmp byte [edi + 0x45], 0
jne 0x41ac04
push 1
jmp 0x41ac06
push 0
push 0x7d1
push 0x7f1
push ebx
call esi
push 0
push 0
push 0x7f0
push ebx
call esi
jmp 0x41aa00
push 9
push 0
push 0x5a9794
lea ecx, [esp + 0x34]
call fcn.00404390
cmp eax, 0xffffffff
je 0x41acba
push 0x5a97a8
push 0
push 0
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov esi, eax
push 1
push 0x7d3
test esi, esi
push 0xbd9
cmove esi, ebx
push esi
call edi
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x11], 0
je 0x41ac71
push 1
jmp 0x41ac73
push 0
push 0x7d2
push 0xbd9
push esi
call edi
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x10], 0
je 0x41ac8e
push 1
jmp 0x41ac90
push 0
push 0x7d5
push 0xbd9
push esi
call edi
push 0
push 0
push 0xbd8
push ebx
call edi
push 0
push 0
push 0xbd8
push esi
call edi
jmp 0x41aa00
push 0
push 0x5a97c4
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41ad6e
push 0
push 0x5a9718
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41ad6e
push 0x5a97d8
push 0
push 0
push ebx
call esi
test eax, eax
je 0x41ad6e
push 0x5a97d8
push 0
push 0
push ebx
call esi
mov esi, eax
test esi, esi
je 0x41aa00
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push 1
push 0x7d0
push 0x7f1
push esi
call edi
mov ebx, dword [esp + 0x18]
cmp byte [ebx + 0x11], 0
je 0x41ad35
push 1
jmp 0x41ad37
push 0
push 0x7d2
push 0x7f1
push esi
call edi
cmp byte [ebx + 0x10], 0
je 0x41ad4e
push 1
jmp 0x41ad50
push 0
push 0x7d4
push 0x7f1
push esi
call edi
push 0
push 0
push 0x7f0
push esi
call edi
jmp 0x41aa00
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41aa00
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41aa00
mov esi, dword [0x7e18a0]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042a640
cmp dword [eax], esi
jne 0x41aa00
cmp byte [edi + 0x45], 0
je 0x41aee0
push 0
push 0x5a9794
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41aee0
push 0
push 0x5a9718
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41aee0
push 0
push 0x5a97f4
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
jne 0x41aee0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push 0x5a94ec
push 0
push ebx
call esi
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41aee6
push 0x5a97fc
push 0x4b3
push dword [esp + 0x20]
call fcn.0041b0f0
cmp byte [edi + 0x11], 0
mov byte [esp + 0x17], al
jne 0x41ae8e
push 0x5a9808
push 0x4b4
push dword [esp + 0x20]
call fcn.0041b0f0
test al, al
je 0x41ae6d
mov byte [esp + 0x17], 1
jmp 0x41ae8e
push 0x5a9808
push str.RC::RCPackagesInstall::AutoClickWindow
push str._s_error:_AutoClickBtn__s_Failed.
push 1
push 1
call fcn.004c3cc0
push eax
call fcn.004c4520
add esp, 0x18
cmp byte [edi + 0x10], 0
jne 0x41aecc
push 0x5a98b0
push 0x4b5
push dword [esp + 0x20]
call fcn.0041b0f0
test al, al
jne 0x41aed3
push 0x5a98b0
push str.RC::RCPackagesInstall::AutoClickWindow
push str._s_error:_AutoClickBtn__s_Failed.
push 1
push 1
call fcn.004c3cc0
push eax
call fcn.004c4520
add esp, 0x18
cmp byte [esp + 0x17], 0
je 0x41aee6
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41aee6
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
cmp byte [edi + 0x46], 0
je 0x41afaa
push 0
push 0x5a9794
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41afaa
push 0
push 0x5a9718
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41afaa
push 0
push 0x5a97f4
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
jne 0x41afaa
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x5a94ec
push 0
push ebx
call esi
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41afaa
push 0x5a97fc
push 0x4b3
push dword [esp + 0x20]
call fcn.0041b0f0
cmp byte [edi + 0x11], 0
mov byte [esp + 0x17], al
je 0x41af80
cmp byte [edi + 0x45], 0
je 0x41af9b
push 0x5a9808
push 0x4b5
push dword [esp + 0x20]
call fcn.0041b0f0
test al, al
jne 0x41af9f
mov al, byte [esp + 0x17]
test al, al
je 0x41afaa
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [edi + 0x44], 0
je 0x41b0ba
push 0
push 0x5a976c
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41b0ba
push 0
push 0x5a9718
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
je 0x41b0ba
push 0xff
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040bc40
push 0
push 0x5a97f4
lea ecx, [esp + 0x30]
call fcn.0042a580
cmp eax, 0xffffffff
jne 0x41b0ba
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x5a94ec
push 0
push ebx
call esi
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b063
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41b063
push eax
push 0x5a94ec
push eax
push ebx
call esi
mov esi, eax
jmp 0x41b067
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41b0ba
cmp byte [edi + 0x10], 0
jne 0x41b0ba
push 0x5a98b8
push 0x4b1
push esi
call fcn.0041b0f0
test al, al
je 0x41b099
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41b0ba
push 0x5a98b8
push str.RC::RCPackagesInstall::AutoClickWindow
push str._s_error:_2345
push 1
push 1
call fcn.004c3cc0
push eax
call fcn.004c4520
add esp, 0x18
movzx eax, byte [0x7e1a4d]
push eax
lea eax, [esp + 0x20]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0042af50
push 0
push 0
push 0xf5
push 1
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov bl, 1
jmp 0x41aa04