Function at 0x4199f2
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
sub esp, 0x81c
lea ebp, [esp - 4]
mov eax, dword [0x44bd78]
xor eax, ebp
mov dword [ebp + 0x81c], eax
push 0x40
mov eax, 0x43c6f3
call fcn.0042816e
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x108]
cmp eax, edi
je 0x419a3a
mov edx, dword [esi - 0x38]
mov ebx, dword [eax]
push edi
mov ecx, 0x3e8
push ecx
push edi
push ecx
push edx
push eax
call dword [ebx + 0x24]
mov ecx, dword [esi + 0xa4]
mov byte [esi - 3], 0
mov bl, 1
call fcn.0041315e
test al, al
je 0x419b07
mov eax, dword [esi - 0x38]
push 0x400
lea ecx, [ebp + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push str.Cannot_download_file_from:_r_n
lea ecx, [ebp]
call fcn.0040594d
mov dword [ebp - 4], edi
cmp dword [esi + 0x120], edi
je 0x419a92
push 0xffffffffffffffff
push edi
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp]
call fcn.00405e81
jmp 0x419aae
push str.Empty_URL
lea eax, [ebp]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040ac20
add esp, 0xc
mov dword [ebp - 0x10], 1
test byte [ebp - 0x10], 1
je 0x419abf
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00405613
push str._r_n_Do_you_want_to_continue_
lea ecx, [ebp]
call fcn.0040648e
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x419ad8
lea ecx, [ebp + 4]
mov eax, dword [esi - 0x38]
push 4
lea edx, [ebp + 0x1c]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x419af0
xor bl, bl
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp]
call fcn.00405613
test bl, bl
je 0x419c6f
cmp byte [esi + 0x16b], 0
mov byte [esi + 0x16a], 1
jne 0x419b94
mov eax, dword [esi - 0x38]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x37
push eax
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov eax, dword [esi - 0x38]
push 0
push 0x32
push eax
call ebx
push eax
call edi
mov eax, dword [esi - 0x38]
push 0
push 0x33
push eax
call ebx
push eax
call edi
mov eax, dword [esi - 0x38]
push 5
push 0x9a
push eax
call ebx
push eax
call edi
mov eax, dword [esi - 0x38]
push 5
push 0x99
push eax
call ebx
push eax
call edi
push 9
push dword [esi - 0x38]
call edi
push dword [esi - 0x38]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esi - 0x40]
call fcn.0040f655
push 0x1d20
push dword [esi - 0x38]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x419c78
lea eax, [ebp - 0x30]
lea edi, [esi + 0x188]
push eax
mov ecx, edi
call fcn.00405e5b
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0040a917
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.0040a917
push dword [ebx + 4]
mov ecx, dword [ebp - 0x10]
push dword [ebx]
mov edx, fcn.00429ca2
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x14]
push dword [eax + 4]
push dword [eax]
call fcn.0041932a
push str.openasfile
mov ecx, edi
call fcn.0041410c
test eax, eax
jne 0x419c1a
lea eax, [esi + 0x88]
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x18], 0x43f58c
jb 0x419c07
mov eax, dword [eax + 4]
jmp 0x419c0a
add eax, 4
push 0
push eax
push dword [esi - 0x38]
lea ecx, [ebp - 0x18]
call fcn.0040a4e5
jmp 0x419c6b
push str.alwaysrunas
mov ecx, edi
call fcn.0041410c
test eax, eax
lea eax, [esi + 0x16c]
setne dl
cmp dword [eax + 0x18], 8
jb 0x419c3c
mov eax, dword [eax + 4]
jmp 0x419c3f
add eax, 4
lea ecx, [esi + 0x88]
cmp dword [ecx + 0x18], 8
jb 0x419c50
mov ecx, dword [ecx + 4]
jmp 0x419c53
add ecx, 4
xor edi, edi
test dl, dl
push 1
setne dl
push edi
movzx edx, dl
push edx
push edi
push edi
push edi
mov edx, eax
call fcn.00408b33
push 1
jmp 0x419c70
push edi
lea ecx, [esi - 0x40]
call fcn.0040f97f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x81c]
xor ecx, ebp
call fcn.0042815f
add ebp, 0x820
leave
ret 4