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

Disassembly:
push ebp
sub esp, 0x81c
lea ebp, [esp - 4]
mov eax, dword [0x44ad18]
xor eax, ebp
mov dword [ebp + 0x81c], eax
push 0x40
mov eax, 0x43acef
call fcn.004267ff
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x108]
cmp eax, edi
je 0x4188f0
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.00412393
test al, al
je 0x4189bd
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.00405965
mov dword [ebp - 4], edi
cmp dword [esi + 0x120], edi
je 0x418948
push 0xffffffffffffffff
push edi
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp]
call fcn.00405eb9
jmp 0x418964
push str.Empty_URL
lea eax, [ebp]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408dda
add esp, 0xc
mov dword [ebp - 0x10], 1
test byte [ebp - 0x10], 1
je 0x418975
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00405621
push str._r_n_Do_you_want_to_continue_
lea ecx, [ebp]
call fcn.004064c6
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x41898e
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 0x4189a6
xor bl, bl
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp]
call fcn.00405621
test bl, bl
je 0x418b1c
cmp byte [esi + 0x16a], 0
jne 0x418a43
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.0040cf9f
push 0x1d20
push dword [esi - 0x38]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x418b25
lea eax, [ebp - 0x30]
lea edi, [esi + 0x188]
push eax
mov ecx, edi
call fcn.00405e93
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.00405e73
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00405e73
push dword [ebx + 4]
mov ecx, dword [ebp - 0x10]
push dword [ebx]
mov edx, fcn.0042860f
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x14]
push dword [eax + 4]
push dword [eax]
call fcn.004181dd
push str.openasfile
mov ecx, edi
call fcn.004132ea
test eax, eax
jne 0x418ac9
lea eax, [esi + 0x88]
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x18], 0x43e424
jb 0x418ab6
mov eax, dword [eax + 4]
jmp 0x418ab9
add eax, 4
push 0
push eax
push dword [esi - 0x38]
lea ecx, [ebp - 0x18]
call fcn.004086bf
jmp 0x418b18
push str.alwaysrunas
mov ecx, edi
call fcn.004132ea
test eax, eax
lea eax, [esi + 0x16c]
setne dl
cmp dword [eax + 0x18], 8
jb 0x418aeb
mov eax, dword [eax + 4]
jmp 0x418aee
add eax, 4
lea ecx, [esi + 0x88]
cmp dword [ecx + 0x18], 8
jb 0x418aff
mov ecx, dword [ecx + 4]
jmp 0x418b02
add ecx, 4
xor edi, edi
test dl, dl
setne dl
push edi
movzx edx, dl
push edx
push edi
push edi
push edi
mov edx, eax
call fcn.00406f81
push 1
jmp 0x418b1d
push edi
lea ecx, [esi - 0x40]
call fcn.0040d2c9
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.004267f0
add ebp, 0x820
leave
ret 4