Function at 0x418b1e
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, 0x43bb6b
call fcn.0042779a
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x108]
cmp eax, edi
je 0x418b66
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.004123c5
test al, al
je 0x418c33
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.004059cf
mov dword [ebp - 4], edi
cmp dword [esi + 0x120], edi
je 0x418bbe
push 0xffffffffffffffff
push edi
lea eax, [esi + 0x10c]
push eax
lea ecx, [ebp]
call fcn.00405f03
jmp 0x418bda
push str.Empty_URL
lea eax, [ebp]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00408da2
add esp, 0xc
mov dword [ebp - 0x10], 1
test byte [ebp - 0x10], 1
je 0x418beb
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.00405695
push str._r_n_Do_you_want_to_continue_
lea ecx, [ebp]
call fcn.00406510
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x418c04
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 0x418c1c
xor bl, bl
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp]
call fcn.00405695
test bl, bl
je 0x418d99
cmp byte [esi + 0x16b], 0
mov byte [esi + 0x16a], 1
jne 0x418cc0
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.0040cf39
push 0x1d20
push dword [esi - 0x38]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x418da2
lea eax, [ebp - 0x30]
lea edi, [esi + 0x188]
push eax
mov ecx, edi
call fcn.00405edd
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.00408a99
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00408a99
push dword [ebx + 4]
mov ecx, dword [ebp - 0x10]
push dword [ebx]
mov edx, fcn.0042956c
push dword [ecx + 4]
push dword [ecx]
lea ecx, [ebp - 0x14]
push dword [eax + 4]
push dword [eax]
call fcn.00418436
push str.openasfile
mov ecx, edi
call fcn.004132da
test eax, eax
jne 0x418d46
lea eax, [esi + 0x88]
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x18], 0x43f434
jb 0x418d33
mov eax, dword [eax + 4]
jmp 0x418d36
add eax, 4
push 0
push eax
push dword [esi - 0x38]
lea ecx, [ebp - 0x18]
call fcn.0040863b
jmp 0x418d95
push str.alwaysrunas
mov ecx, edi
call fcn.004132da
test eax, eax
lea eax, [esi + 0x16c]
setne dl
cmp dword [eax + 0x18], 8
jb 0x418d68
mov eax, dword [eax + 4]
jmp 0x418d6b
add eax, 4
lea ecx, [esi + 0x88]
cmp dword [ecx + 0x18], 8
jb 0x418d7c
mov ecx, dword [ecx + 4]
jmp 0x418d7f
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.00406f2c
push 1
jmp 0x418d9a
push edi
lea ecx, [esi - 0x40]
call fcn.0040d263
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.0042778b
add ebp, 0x820
leave
ret 4